@narumitw/pi-statusline 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/package.json +1 -1
- package/src/settings.ts +1 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
`@narumitw/pi-statusline` is a native [Pi coding agent](https://pi.dev) extension that replaces Pi's footer with a configurable Tokyo Night powerline statusline.
|
|
6
6
|
|
|
7
|
-
## Features
|
|
7
|
+
## ✨ Features
|
|
8
8
|
|
|
9
9
|
- Shows provider, model, thinking, directory, Git/PR state, tools, context, tokens, cost, time, and extension statuses.
|
|
10
10
|
- Uses one Starship-inspired `░▒▓` / `` Tokyo Night layout.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
- Caches Git state outside footer rendering and guards stale session results.
|
|
15
15
|
- Wraps extension statuses safely at narrow terminal widths.
|
|
16
16
|
|
|
17
|
-
## Install
|
|
17
|
+
## 📦 Install
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
pi install npm:@narumitw/pi-statusline
|
|
@@ -29,7 +29,7 @@ pi -e ./extensions/pi-statusline
|
|
|
29
29
|
|
|
30
30
|
Do not enable this together with `@narumitw/pi-starship`: both extensions own Pi's footer. Use `pi-starship` instead when you need full Starship-style format/style grammar.
|
|
31
31
|
|
|
32
|
-
## Configuration
|
|
32
|
+
## ⚙️ Configuration
|
|
33
33
|
|
|
34
34
|
The only configuration source is:
|
|
35
35
|
|
|
@@ -78,6 +78,7 @@ There are no project overrides or environment-variable overrides.
|
|
|
78
78
|
"extensionStatusIcons": {
|
|
79
79
|
"chrome-devtools": "🌐",
|
|
80
80
|
"codex-usage": "📊",
|
|
81
|
+
"usage": "📊",
|
|
81
82
|
"caffeinate": "💊",
|
|
82
83
|
"firecrawl": "🔥",
|
|
83
84
|
"github-pr": "🔎",
|
|
@@ -159,7 +160,7 @@ This structured model intentionally does not provide variables or a format langu
|
|
|
159
160
|
|
|
160
161
|
Statuses from other extensions appear below the main powerline. The linked GitHub PR status is hidden from that line when the branch segment already renders it.
|
|
161
162
|
|
|
162
|
-
## Commands
|
|
163
|
+
## 💬 Commands
|
|
163
164
|
|
|
164
165
|
| Command | Purpose |
|
|
165
166
|
| --- | --- |
|
|
@@ -169,13 +170,13 @@ Statuses from other extensions appear below the main powerline. The linked GitHu
|
|
|
169
170
|
|
|
170
171
|
Invalid or cancelled edits leave both the previous file and effective runtime configuration unchanged. The editor is TUI-only; status and help are safe in TUI, print, JSON, and RPC modes.
|
|
171
172
|
|
|
172
|
-
## Git and activity details
|
|
173
|
+
## 🌿 Git and activity details
|
|
173
174
|
|
|
174
175
|
Git status tokens are hidden for clean repositories. When present, they mean `⇡` ahead, `⇣` behind, `+` staged, `~` modified/deleted, `?` untracked, and `!` conflicts.
|
|
175
176
|
|
|
176
177
|
The tools segment distinguishes active tools, streaming/thinking, the last completed tool, and idle state. Parallel calls are summarized without running subprocesses during footer rendering.
|
|
177
178
|
|
|
178
|
-
## Package layout
|
|
179
|
+
## 🗂️ Package layout
|
|
179
180
|
|
|
180
181
|
```text
|
|
181
182
|
extensions/pi-statusline/
|
|
@@ -198,10 +199,10 @@ extensions/pi-statusline/
|
|
|
198
199
|
|
|
199
200
|
Only `src/statusline.ts` is a Pi entrypoint. Other modules are package-internal.
|
|
200
201
|
|
|
201
|
-
## Keywords
|
|
202
|
+
## 🔎 Keywords
|
|
202
203
|
|
|
203
204
|
Pi extension, Pi coding agent, configurable statusline, Tokyo Night, terminal footer, token usage, context window, model status, TypeScript Pi package.
|
|
204
205
|
|
|
205
|
-
## License
|
|
206
|
+
## 📄 License
|
|
206
207
|
|
|
207
208
|
MIT. See [`LICENSE`](./LICENSE).
|
package/package.json
CHANGED
package/src/settings.ts
CHANGED
|
@@ -27,6 +27,7 @@ const LEGACY_SETTINGS_FILE_NAME = "pi-statusline-settings.json";
|
|
|
27
27
|
export const DEFAULT_EXTENSION_STATUS_ICONS: Record<string, string> = {
|
|
28
28
|
"chrome-devtools": "🌐",
|
|
29
29
|
"codex-usage": "📊",
|
|
30
|
+
usage: "📊",
|
|
30
31
|
caffeinate: "💊",
|
|
31
32
|
firecrawl: "🔥",
|
|
32
33
|
"github-pr": "🔎",
|