@narumitw/pi-plan-mode 0.27.0 → 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
@@ -180,7 +180,8 @@ This extension maps Codex's `ModeKind::Plan` behavior onto Pi's extension API:
180
180
  ```txt
181
181
  extensions/pi-plan-mode/
182
182
  ├── src/
183
- │ ├── plan-mode.ts # Pi entrypoint and mode state
183
+ │ ├── index.ts # Pi package entrypoint
184
+ │ ├── plan-mode.ts # Extension registration and mode state
184
185
  │ └── *.ts # Package-local prompt, policy, question, and message modules
185
186
  ├── README.md
186
187
  ├── LICENSE
@@ -188,12 +189,12 @@ extensions/pi-plan-mode/
188
189
  └── package.json
189
190
  ```
190
191
 
191
- Only `plan-mode.ts` is a Pi entrypoint; the other source modules are internal. The package exposes its Pi extension through `package.json`:
192
+ `index.ts` is the Pi entrypoint and forwards to `plan-mode.ts`; the other source modules are internal. The package exposes its Pi extension through `package.json`:
192
193
 
193
194
  ```json
194
195
  {
195
196
  "pi": {
196
- "extensions": ["./src/plan-mode.ts"]
197
+ "extensions": ["./src/index.ts"]
197
198
  }
198
199
  }
199
200
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-plan-mode",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Pi extension that adds a Codex-like read-only /plan collaboration mode.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "pi": {
21
21
  "extensions": [
22
- "./src/plan-mode.ts"
22
+ "./src/index.ts"
23
23
  ]
24
24
  },
25
25
  "scripts": {
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export { default } from "./plan-mode.js";