@ian-pascoe/pi-git-status-widget
Pi extension that displays the current Git worktree status in a widget.
Package details
Install @ian-pascoe/pi-git-status-widget from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ian-pascoe/pi-git-status-widget- Package
@ian-pascoe/pi-git-status-widget- Version
0.2.0- Published
- Aug 26, 2026
- Downloads
- 409/mo · 18/wk
- Author
- ianpascoe_
- License
- MIT
- Types
- extension, skill
- Size
- 10.5 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
],
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi Git Status Widget
@ian-pascoe/pi-git-status-widget displays a Git Worktree Snapshot in Pi's UI.
Requires Node >=22.19.0 and Pi >=0.84.1.
Install
pi install npm:@ian-pascoe/pi-git-status-widget
# or from this checkout
pi -e ./src/index.ts
The widget shows the branch plus ahead, behind, conflicted, untracked, and modified counts. A clean worktree shows a success indicator. A Widget Refresh runs at session start, after input and tool execution, and every two seconds. Git failures and non-worktree directories hide the widget.
git must be available on PATH. The extension intentionally permits overlapping polling and in-flight Git processes to preserve the lightweight current behavior.
This is privileged extension code: review it before installing it into an agent that can access local files, tools, or credentials.