@narumitw/pi-statusline 0.49.9 → 0.49.11

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 CHANGED
@@ -13,6 +13,7 @@ A representative uncolored layout:
13
13
 
14
14
  ## ✨ Features
15
15
 
16
+ - **Fast package startup:** Pi's Jiti loader reads a generated split TypeScript runtime.
16
17
  - **Zero-config default:** model, thinking, workspace, Git/PR state, context use, and local time.
17
18
  - **Responsive:** removes lower-priority segments before important information gets clipped.
18
19
  - **Quiet when idle:** activity appears only while Pi is streaming or running tools.
@@ -35,13 +36,22 @@ A representative uncolored layout:
35
36
  pi install npm:@narumitw/pi-statusline
36
37
  ```
37
38
 
38
- Try the published package without installing, or load it directly from this repository:
39
+ Try the published package without installing it permanently:
39
40
 
40
41
  ```bash
41
42
  pi -e npm:@narumitw/pi-statusline
43
+ ```
44
+
45
+ Build the generated runtime and try the local package from this repository:
46
+
47
+ ```bash
48
+ npm --workspace @narumitw/pi-statusline run build
42
49
  just try statusline
43
50
  ```
44
51
 
52
+ The package declares `dist/index.ts`, so an unbuilt local checkout must run the build before Pi loads the package directory.
53
+ `just try statusline` runs that build automatically.
54
+
45
55
  For the best result, use a terminal font that includes Powerline glyphs and emoji.
46
56
 
47
57
  ## 🚀 Quick start
@@ -335,6 +345,9 @@ Put transient activity in the value and always clear the same complete key.
335
345
 
336
346
  ```text
337
347
  packages/pi-statusline/
348
+ ├── dist/ # generated split TypeScript runtime loaded by Jiti
349
+ ├── scripts/
350
+ │ └── build-runtime.mjs # deterministic runtime bundler and eager-boundary validator
338
351
  ├── src/
339
352
  │ ├── index.ts # thin entrypoint forwarding to the source runtime
340
353
  │ ├── statusline.ts # authoritative lifecycle implementation
@@ -358,8 +371,8 @@ packages/pi-statusline/
358
371
  └── package.json
359
372
  ```
360
373
 
361
- `src/` is the authoritative published implementation, and `src/index.ts` remains the sole declared
362
- Pi entrypoint.
374
+ `src/` is the authoritative implementation, and `src/index.ts` remains its thin source forwarder.
375
+ The package build emits the sole declared Pi entrypoint at `dist/index.ts` without forwarding back into `src`.
363
376
 
364
377
  ## 🔎 Keywords
365
378