{"_id":"@amyrsaalehi/pi-agent-team","_rev":"4-a6c2e435e1362815f23bca86b27a3962","name":"@amyrsaalehi/pi-agent-team","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@amyrsaalehi/pi-agent-team","version":"0.1.0","keywords":["pi-package","pi-extension","agents","pi-agent-team"],"author":{"name":"amyrsaalehi"},"license":"MIT","_id":"@amyrsaalehi/pi-agent-team@0.1.0","maintainers":[{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"}],"pi":{"extensions":["./extensions/pi-agent-team.ts"]},"dist":{"shasum":"8abe1f295fb64b23bf8aed15588630779cc2b6fa","tarball":"https://registry.npmjs.org/@amyrsaalehi/pi-agent-team/-/pi-agent-team-0.1.0.tgz","fileCount":11,"integrity":"sha512-wHuIvXTUCcl8PVo0N+x6j+8OPrODrbVUbSSOUPeszq9qbBsi1shA1m0JiobXz0dN2xzxBBOx0zuBCc32ilalfw==","signatures":[{"sig":"MEQCIAjLOPAEH4y42SUd7YOCBkzfu+vn8e9t6N39jhZz2nBeAiBmZY2eDjB6z9q4+rlOSrRu1fhANvJcVkQr3QdRmTe1bQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19508},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"7d70e2d2ad963c246b9acf091da5592161ec2c13","scripts":{"test":"tsx --test tests/*.test.ts","check":"npm run typecheck && npm test","typecheck":"tsc --noEmit","check:package":"node scripts/check-package.mjs","prepublishOnly":"npm run check && npm run check:package"},"_npmUser":{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"},"_npmVersion":"11.16.0","description":"Dispatcher-only specialist agent teams with a live dashboard for pi","directories":{},"_nodeVersion":"24.18.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"1.3.7","typescript":"^5.9.3","@types/node":"^22.19.0","@earendil-works/pi-tui":"0.85.1","@earendil-works/pi-coding-agent":"0.85.1"},"peerDependencies":{"typebox":"*","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-agent-team_0.1.0_1789204870020_0.2651371788673633","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@amyrsaalehi/pi-agent-team","version":"0.2.0","keywords":["pi-package","pi-extension","agents","pi-agent-team"],"author":{"name":"amyrsaalehi"},"license":"MIT","_id":"@amyrsaalehi/pi-agent-team@0.2.0","maintainers":[{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"}],"pi":{"extensions":["./extensions/pi-agent-team.ts"]},"dist":{"shasum":"b7b335f110bdb5fafcb77fdd495cdb424a2a603c","tarball":"https://registry.npmjs.org/@amyrsaalehi/pi-agent-team/-/pi-agent-team-0.2.0.tgz","fileCount":12,"integrity":"sha512-q2B0Yv3Way2vX7ERvIaz+4hQPTIRjEaZm/dyghyZ/IXGzpYyfPKZKcK0ilQ3aQtY1EtFFNnaArFp0Pw27O+s3Q==","signatures":[{"sig":"MEUCIQCEXbu+Hprx2HSEH9jgHuW6StHODXcpmccqMo/U3ljhggIgEU0sF4/b94Q9+wSHR7lHFHWWaBQPnmQLy1KBPZTXX+Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHZgaZQHTZJhVeSFLZPf4OaeyA46DRxhs9k3+TZEugIxAiAElIjmKCL6+I+O6cneDynO6ttzoAh2A5hoYUXMDe6m8A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38373},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"f7981a31110bbdd2472dc9df615687ca65d5b777","scripts":{"test":"tsx --test tests/*.test.ts","check":"npm run typecheck && npm test","typecheck":"tsc --noEmit","check:package":"node scripts/check-package.mjs","prepublishOnly":"npm run check && npm run check:package"},"_npmUser":{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"},"_npmVersion":"11.16.0","description":"Dispatcher-only specialist agent teams with a live dashboard for pi","directories":{},"_nodeVersion":"24.18.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"1.3.7","typescript":"^5.9.3","@types/node":"^22.19.0","@earendil-works/pi-tui":"0.85.1","@earendil-works/pi-coding-agent":"0.85.1"},"peerDependencies":{"typebox":"*","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-agent-team_0.2.0_1789206358145_0.3873875909741167","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@amyrsaalehi/pi-agent-team","version":"0.3.0","keywords":["pi-package","pi-extension","agents","pi-agent-team"],"author":{"name":"amyrsaalehi"},"license":"MIT","_id":"@amyrsaalehi/pi-agent-team@0.3.0","maintainers":[{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"}],"pi":{"extensions":["./extensions/pi-agent-team.ts"]},"dist":{"shasum":"1c81c8129578fe20507f5057d51e08ff88455ecc","tarball":"https://registry.npmjs.org/@amyrsaalehi/pi-agent-team/-/pi-agent-team-0.3.0.tgz","fileCount":12,"integrity":"sha512-u9fKGPjhPcUKZx/6qzxGu/qIl31yuCtPshw29EmwcWAPiwpFwFVYAb6rEatOu/aHvyBIHRl5g35DzCD5Ul8mlg==","signatures":[{"sig":"MEYCIQCN35LMpvt0S/M7oWoE0+cUYHCpsjkBU0REtfr7jg+JkgIhAPyWMDst+IJSENQ8KSAdZ7Vrsj8yuF06VzsNyw/HCiL9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIH853QrNF8zX219LHDFxhJKtmBMf9V+LkWHiRF7ZeXYLAiBHJSWbYLp9izoetd0iwuMBnpO/8k1K/KGdphAddIbNDg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39480},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"1eed296f705eba80b0c724318d15239041d41898","scripts":{"test":"tsx --test tests/*.test.ts","check":"npm run typecheck && npm test","typecheck":"tsc --noEmit","check:package":"node scripts/check-package.mjs","prepublishOnly":"npm run check && npm run check:package"},"_npmUser":{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"},"_npmVersion":"11.16.0","description":"Dispatcher-only specialist agent teams with a live dashboard for pi","directories":{},"_nodeVersion":"24.18.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"1.3.7","typescript":"^5.9.3","@types/node":"^22.19.0","@earendil-works/pi-tui":"0.85.1","@earendil-works/pi-coding-agent":"0.85.1"},"peerDependencies":{"typebox":"*","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-agent-team_0.3.0_1789207220892_0.6576650809002638","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"pi":{"extensions":["./extensions/pi-agent-team.ts"]},"_id":"@amyrsaalehi/pi-agent-team@0.4.0","dist":{"shasum":"f0e252cd9d6e41088fb14ad737bb9939f37741e8","tarball":"https://registry.npmjs.org/@amyrsaalehi/pi-agent-team/-/pi-agent-team-0.4.0.tgz","fileCount":12,"integrity":"sha512-okCf0+uplAm2aL46HWj7SI9G2BfdvFX94RJPoPExMziVLGA5eyAG14y7vWe3xiHWpHEbBiPOFSk7CDqwu6gWEA==","signatures":[{"sig":"MEQCIHliMX6u6dMi8Dz/meZFCQpucy/TR43cFsiy0SAsqmnlAiAPY93rEkAUeKnQmriI8aBESLZlrqDziKWyAnPX8SYLXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDTJv1NiAk238eH+2fhGrnIN6hrufy59MYz96LXLhwsSAiEA4xz0rTVb17CxD2W7/AObMDiqGfyln+/zXi1B0sXATo8="}],"unpackedSize":40774},"name":"@amyrsaalehi/pi-agent-team","type":"module","author":{"name":"amyrsaalehi"},"engines":{"node":">=22.19.0"},"gitHead":"3fed1ac9dc3d6d22f3404d7a6f3d8b7157672fcb","license":"MIT","scripts":{"test":"tsx --test tests/*.test.ts","check":"npm run typecheck && npm test","typecheck":"tsc --noEmit","check:package":"node scripts/check-package.mjs","prepublishOnly":"npm run check && npm run check:package"},"version":"0.4.0","_npmUser":{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"},"keywords":["pi-package","pi-extension","agents","pi-agent-team"],"_npmVersion":"11.16.0","description":"Dispatcher-only specialist agent teams with a live dashboard for pi","directories":{},"maintainers":[{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"}],"_nodeVersion":"24.18.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"1.3.7","typescript":"^5.9.3","@types/node":"^22.19.0","@earendil-works/pi-tui":"0.85.1","@earendil-works/pi-coding-agent":"0.85.1"},"peerDependencies":{"typebox":"*","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-agent-team_0.4.0_1789208178557_0.4464015083563102"}}},"time":{"created":"2026-09-12T09:21:09.765Z","modified":"2026-09-12T10:16:18.869Z","0.1.0":"2026-09-12T09:21:10.151Z","0.2.0":"2026-09-12T09:45:58.226Z","0.3.0":"2026-09-12T10:00:20.997Z","0.4.0":"2026-09-12T10:16:18.662Z"},"author":{"name":"amyrsaalehi"},"license":"MIT","keywords":["pi-package","pi-extension","agents","pi-agent-team"],"description":"Dispatcher-only specialist agent teams with a live dashboard for pi","maintainers":[{"name":"amyrsaalehi","email":"Salehi.amir9@gmail.com"}],"readme":"# @amyrsaalehi/pi-agent-team\n\nSpecialist agent teams for [pi](https://pi.dev), adapted from\n[IndyDevDan's agent-team extension](https://github.com/disler/pi-vs-claude-code).\n\nThe main agent becomes a dispatcher: it delegates through `dispatch_agent`\ninstead of reading or editing files itself. Specialists run as child pi\nprocesses, with their own sessions and a live terminal dashboard.\n\n## Install\n\nRequires Node.js >=22.19.0 and current `@earendil-works/pi-coding-agent`\n(targeted/tested version: 0.85.1). The `pi` executable must be on `PATH`.\n\nAfter the package is published:\n\n```bash\npi install npm:@amyrsaalehi/pi-agent-team\n```\n\nRestart pi, then try:\n\n```text\n/agents-list\n/agents-team\n/agents-grid 2\n\nHave scout inspect this project, builder implement the requested change,\nand reviewer check the result.\n```\n\nNo project setup is required: default agent definitions ship with the package.\nUse `pi config` to disable the extension when you want pi's normal tools back.\nDo not enable this package together with the original agent-team extension.\n\n## Commands and tool\n\n- `/agents-team`: choose the active team.\n- `/agents-list`: show active specialists and their status.\n- `/agents-grid <1-6>`: set dashboard column count.\n- `dispatch_agent({ agent, task })`: delegate a focused task to an active\n  specialist; returns its result. The model calls this tool automatically.\n\nThe extension deliberately limits the main agent's active tools to\n`dispatch_agent`. Specialist tools come from each agent's definition.\n\n## Project customization\n\nReviewed, trusted projects can provide agent Markdown files in `agents/`,\n`.claude/agents/`, or `.pi/agents/`, plus `.pi/agents/teams.yaml`.\nProject definitions override bundled defaults by name. Untrusted project\nconfiguration is ignored. Reload/restart after configuration changes.\n\nExample `.pi/agents/scout.md`:\n\n```markdown\n---\nname: scout\ndescription: Read-only project exploration\ntools: read,grep,find,ls\n---\nInspect the project. Report relevant paths and findings. Do not modify files.\n```\n\nExample `.pi/agents/teams.yaml`:\n\n```yaml\nproject:\n  - scout\n  - builder\n  - reviewer\n```\n\nKeep the simple top-level team/list syntax above. Agent tool names must be\nbuilt-in pi tools: child extensions are disabled. Agent definitions are prompt\nand tool configuration, not separately installed pi skills.\n\n## Sessions and limitations\n\n- Specialists use the dispatching project's working directory and selected\n  model. Configure provider authentication in the child pi CLI environment.\n- Child extensions are disabled to prevent recursive delegation. Providers or\n  tools registered only by other extensions are therefore unavailable.\n- Child conversations live under `.pi/pi-agent-team/sessions/`, isolated by parent\n  session. Repeated dispatches can reuse specialist context. Existing sessions\n  are not deleted on startup.\n- Add `.pi/pi-agent-team/` to your project's `.gitignore`. Session files can contain\n  prompts, code, and sensitive tool output; do not publish them.\n- Agent output is bounded. Long results are truncated rather than filling the\n  main agent's entire context.\n- Different specialists share the same checkout. Delegate independent work\n  only; this is not worktree isolation or automatic merge/conflict management.\n\n## Security\n\nExtensions and child agents run with your system permissions. Agents with\n`bash`, `write`, or `edit` can change files or execute commands. Tool allowlists\nand dispatcher prompts are not a sandbox. Review project agent definitions\nbefore trusting them. Child processes disable extensions, so permission or\nsandbox extensions loaded in the parent do **not** protect child runs. Use an\nexternal sandbox or container when isolation is required.\n\nChild model calls may incur additional provider charges. Cancellation requests\nstop child processes but cannot undo file changes or remote side effects.\n\n## Development\n\n```bash\nnpm ci --ignore-scripts\nnpm run check\nnpm run check:package\n```\n\nSource TypeScript ships directly; no compilation/build output is required.\nTests run locally without paid model calls. Runtime assets are allowlisted in\n`package.json`; development tooling and generated sessions are not published.\n\n## License\n\nMIT. Original copyright (c) 2026 IndyDevDan retained in [LICENSE](./LICENSE).\nSee [NOTICE.md](./NOTICE.md) for upstream revision and adaptation details.\n","readmeFilename":"README.md"}