@narumitw/pi-goal 0.27.2 → 0.28.0

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
@@ -237,7 +237,8 @@ Whenever pi-goal persists canonical goal state, it emits `pi-goal:state` with `{
237
237
  ```txt
238
238
  extensions/pi-goal/
239
239
  ├── src/
240
- │ ├── goal.ts # Pi entrypoint, tool contracts, and lifecycle orchestration
240
+ │ ├── index.ts # Pi package entrypoint
241
+ │ ├── goal.ts # Tool contracts and lifecycle orchestration
241
242
  │ ├── commands.ts # Per-factory user-command and queue mutation controller
242
243
  │ ├── runtime.ts # Per-factory state, prompt ownership, budgets, and tool policy
243
244
  │ ├── safety.ts # Output normalization and no-progress fingerprint state
@@ -252,12 +253,12 @@ extensions/pi-goal/
252
253
  └── package.json
253
254
  ```
254
255
 
255
- Only `goal.ts` is a Pi entrypoint; the other source modules are internal. The package exposes its Pi extension through `package.json`:
256
+ `index.ts` is the Pi entrypoint and forwards to `goal.ts`; the other source modules are internal. The package exposes its Pi extension through `package.json`:
256
257
 
257
258
  ```json
258
259
  {
259
260
  "pi": {
260
- "extensions": ["./src/goal.ts"]
261
+ "extensions": ["./src/index.ts"]
261
262
  }
262
263
  }
263
264
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-goal",
3
- "version": "0.27.2",
3
+ "version": "0.28.0",
4
4
  "description": "Pi extension for autonomous /goal completion with opt-in experimental ordered queues.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "pi": {
22
22
  "extensions": [
23
- "./src/goal.ts"
23
+ "./src/index.ts"
24
24
  ]
25
25
  },
26
26
  "scripts": {
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export { default } from "./goal.js";