@narumitw/pi-plan-mode 0.50.0 → 0.50.1

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
@@ -42,6 +42,10 @@ Try this package locally from the repository root:
42
42
  pi -e ./packages/pi-plan-mode
43
43
  ```
44
44
 
45
+ The package declares `dist/index.ts`, so an unbuilt local checkout must run `npm --workspace @narumitw/pi-plan-mode run build` before Pi loads the package directory.
46
+
47
+ `just try plan-mode` runs that build automatically.
48
+
45
49
  ## 🚀 Usage
46
50
 
47
51
  ```text
@@ -277,6 +281,9 @@ This extension maps Codex's `ModeKind::Plan` behavior onto Pi's extension API:
277
281
 
278
282
  ```txt
279
283
  packages/pi-plan-mode/
284
+ ├── dist/ # Generated TypeScript runtime loaded by Jiti
285
+ ├── scripts/
286
+ │ └── build-runtime.mjs # Deterministic runtime builder and boundary validator
280
287
  ├── src/
281
288
  │ ├── index.ts # Pi package entrypoint
282
289
  │ ├── plan-mode.ts # Extension registration, mode state, and UI loading boundary
@@ -293,11 +300,13 @@ packages/pi-plan-mode/
293
300
  ```json
294
301
  {
295
302
  "pi": {
296
- "extensions": ["./src/index.ts"]
303
+ "extensions": ["./dist/index.ts"]
297
304
  }
298
305
  }
299
306
  ```
300
307
 
308
+ The generated runtime is built from the authoritative `src/index.ts` graph and does not import back into `src`.
309
+
301
310
  ## 🔎 Keywords
302
311
 
303
312
  Pi extension, Pi coding agent, plan mode, Codex-like plan mode, AI coding workflow, read-only planning, implementation plan.