@narumitw/pi-goal 0.52.1 → 0.52.2

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
@@ -55,6 +55,10 @@ Try this package locally from the repository root:
55
55
  pi -e ./packages/pi-goal
56
56
  ```
57
57
 
58
+ The package declares `dist/index.ts`, so an unbuilt local checkout must run `npm --workspace @narumitw/pi-goal run build` before Pi loads the package directory.
59
+
60
+ `just try goal` runs that build automatically.
61
+
58
62
  ## ⚙️ Configuration
59
63
 
60
64
  Settings are optional. When `~/.pi/agent/pi-goal.json` is absent, pi-goal uses these
@@ -321,6 +325,9 @@ This breaking contract replaces and removes `pi-goal:rpc:start`, `pi-goal:rpc:pa
321
325
 
322
326
  ```txt
323
327
  packages/pi-goal/
328
+ ├── dist/ # Generated TypeScript runtime loaded by Jiti
329
+ ├── scripts/
330
+ │ └── build-runtime.mjs # Deterministic runtime builder and boundary validator
324
331
  ├── src/
325
332
  │ ├── index.ts # Pi package entrypoint
326
333
  │ ├── goal.ts # Order-explicit extension composition root
@@ -347,11 +354,13 @@ packages/pi-goal/
347
354
  ```json
348
355
  {
349
356
  "pi": {
350
- "extensions": ["./src/index.ts"]
357
+ "extensions": ["./dist/index.ts"]
351
358
  }
352
359
  }
353
360
  ```
354
361
 
362
+ The generated runtime is built from the authoritative `src/index.ts` graph and does not import back into `src`.
363
+
355
364
  ## 🔎 Keywords
356
365
 
357
366
  Pi extension, Pi coding agent, goal mode, autonomous coding agent, AI agent workflow, task completion, agent loop, verification, TypeScript Pi package.