@narumitw/pi-subagents 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
@@ -491,7 +491,8 @@ Stateful records are stored as versioned mode-0600 JSON under `~/.pi/agent/pi-su
491
491
  ```txt
492
492
  extensions/pi-subagents/
493
493
  ├── src/
494
- │ ├── subagents.ts # Pi entrypoint and blocking tool schema
494
+ │ ├── index.ts # Pi package entrypoint
495
+ │ ├── subagents.ts # Extension registration and blocking tool schema
495
496
  │ ├── stateful.ts # Detached lifecycle registration and dispatch
496
497
  │ ├── stateful-tool-params.ts # Consolidated action schemas and validation
497
498
  │ └── *.ts # Package-local discovery, execution, rendering, and config modules
@@ -501,12 +502,12 @@ extensions/pi-subagents/
501
502
  └── package.json
502
503
  ```
503
504
 
504
- Only `subagents.ts` is a Pi entrypoint; the other source modules are internal. The package exposes its Pi extension through `package.json`:
505
+ `index.ts` is the Pi entrypoint and forwards to `subagents.ts`; the other source modules are internal. The package exposes its Pi extension through `package.json`:
505
506
 
506
507
  ```json
507
508
  {
508
509
  "pi": {
509
- "extensions": ["./src/subagents.ts"]
510
+ "extensions": ["./src/index.ts"]
510
511
  }
511
512
  }
512
513
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-subagents",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Pi extension for delegating work to specialized isolated subagents.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "pi": {
22
22
  "extensions": [
23
- "./src/subagents.ts"
23
+ "./src/index.ts"
24
24
  ]
25
25
  },
26
26
  "scripts": {
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export { default } from "./subagents.js";