@narumitw/pi-statusline 0.49.2 → 0.49.3

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
@@ -35,11 +35,11 @@ A representative uncolored layout:
35
35
  pi install npm:@narumitw/pi-statusline
36
36
  ```
37
37
 
38
- Try it without installing, or load it from this repository:
38
+ Try the published package without installing, or use the build-aware recipe from this repository:
39
39
 
40
40
  ```bash
41
41
  pi -e npm:@narumitw/pi-statusline
42
- pi -e ./extensions/pi-statusline
42
+ just try statusline
43
43
  ```
44
44
 
45
45
  For the best result, use a terminal font that includes Powerline glyphs and emoji.
@@ -335,9 +335,13 @@ Put transient activity in the value and always clear the same complete key.
335
335
 
336
336
  ```text
337
337
  extensions/pi-statusline/
338
+ ├── dist/ # generated split runtime and source maps
339
+ ├── scripts/
340
+ │ └── build-runtime.mjs # deterministic bundler and eager-import validator
338
341
  ├── src/
339
- │ ├── index.ts
340
- │ ├── statusline.ts
342
+ │ ├── index.ts # thin entrypoint forwarding to dist
343
+ │ ├── statusline.ts # authoritative lifecycle implementation
344
+ │ ├── command-contract.ts
341
345
  │ ├── render.ts
342
346
  │ ├── directory.ts
343
347
  │ ├── usage.ts
@@ -357,7 +361,8 @@ extensions/pi-statusline/
357
361
  └── package.json
358
362
  ```
359
363
 
360
- `src/index.ts` is the thin Pi entrypoint; all other modules are package-internal.
364
+ `src/` remains the authoritative implementation. The package build emits `dist/` before local
365
+ loading or packing, while `src/index.ts` remains the sole declared Pi entrypoint.
361
366
 
362
367
  ## 🔎 Keywords
363
368