@narumitw/pi-statusline 0.1.3 → 0.1.10

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.
Files changed (2) hide show
  1. package/README.md +46 -18
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -1,14 +1,27 @@
1
- # pi-statusline
1
+ # pi-statusline — Rich Statusline for the Pi Coding Agent
2
2
 
3
- A public [pi](https://pi.dev) extension package that replaces Pi's footer with a beautiful, information-rich statusline.
3
+ [![npm](https://img.shields.io/npm/v/@narumitw/pi-statusline)](https://www.npmjs.com/package/@narumitw/pi-statusline) [![Pi extension](https://img.shields.io/badge/Pi-extension-blue)](https://pi.dev) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE)
4
4
 
5
- ## Install
5
+ `@narumitw/pi-statusline` is a native [Pi coding agent](https://pi.dev) extension that replaces Pi's footer with a beautiful, information-rich terminal statusline.
6
+
7
+ Use it to monitor model selection, thinking level, git branch, working directory, active tools, context usage, token totals, estimated cost, time, and statuses from other Pi extensions.
8
+
9
+ ## ✨ Features
10
+
11
+ - Replaces the default Pi footer with a compact rich statusline.
12
+ - Shows model, thinking level, git branch, project directory, active tool, context usage, tokens, cost, and clock.
13
+ - Displays statuses from other extensions, such as goal mode.
14
+ - Uses emoji-labeled segments for readability.
15
+ - Adapts to terminal width and truncates safely.
16
+ - Requires no configuration.
17
+
18
+ ## 📦 Install
6
19
 
7
20
  ```bash
8
21
  pi install npm:@narumitw/pi-statusline
9
22
  ```
10
23
 
11
- Try without installing:
24
+ Try without installing permanently:
12
25
 
13
26
  ```bash
14
27
  pi -e npm:@narumitw/pi-statusline
@@ -20,25 +33,32 @@ Try this package locally from the repository root:
20
33
  pi -e ./extensions/pi-statusline
21
34
  ```
22
35
 
23
- ## What it shows
36
+ ## 👀 What it shows
24
37
 
25
38
  The default statusline includes:
26
39
 
27
- - `π` brand marker
28
- - emoji-labeled current model
29
- - emoji-labeled thinking level
30
- - emoji-labeled git branch
31
- - emoji-labeled current project directory
32
- - emoji-labeled active or last tool
33
- - emoji-labeled context usage percentage
34
- - emoji-labeled token totals
35
- - emoji-labeled estimated cost
36
- - emoji-labeled clock
40
+ - `π` brand marker.
41
+ - 🤖 current model.
42
+ - 🧠 thinking level.
43
+ - 🌿 git branch.
44
+ - 📁 current project directory.
45
+ - 🔧 active or last tool.
46
+ - 📊 context usage percentage.
47
+ - 🔢 token totals.
48
+ - 💰 estimated cost.
49
+ - 🕒 clock.
37
50
 
38
51
  Statuses from other extensions, such as goal mode, appear on their own emoji-labeled line below the main statusline and are separated with ``.
39
- The layout adapts to terminal width and truncates safely.
40
52
 
41
- ## Package layout
53
+ ## 🧠 Use cases
54
+
55
+ - Track agent context usage during long coding sessions.
56
+ - See which model and thinking level are active.
57
+ - Monitor token totals and estimated cost.
58
+ - Keep git branch and project directory visible.
59
+ - Make Pi terminal sessions easier to scan at a glance.
60
+
61
+ ## 🗂️ Package layout
42
62
 
43
63
  ```txt
44
64
  extensions/pi-statusline/
@@ -50,7 +70,7 @@ extensions/pi-statusline/
50
70
  └── package.json
51
71
  ```
52
72
 
53
- The package exposes its extension through `package.json`:
73
+ The package exposes its Pi extension through `package.json`:
54
74
 
55
75
  ```json
56
76
  {
@@ -59,3 +79,11 @@ The package exposes its extension through `package.json`:
59
79
  }
60
80
  }
61
81
  ```
82
+
83
+ ## 🔎 Keywords
84
+
85
+ Pi extension, Pi coding agent, statusline, terminal UI, AI coding agent status, token usage, context window, model status, TypeScript Pi package.
86
+
87
+ ## 📄 License
88
+
89
+ MIT. See [`LICENSE`](./LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-statusline",
3
- "version": "0.1.3",
3
+ "version": "0.1.10",
4
4
  "description": "Pi extension that replaces the footer with an information-rich statusline.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -33,5 +33,10 @@
33
33
  "@mariozechner/pi-tui": "0.73.0",
34
34
  "@types/node": "25.6.0",
35
35
  "typescript": "6.0.3"
36
+ },
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/narumiruna/pi-extensions",
40
+ "directory": "extensions/pi-statusline"
36
41
  }
37
42
  }