mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
feat: enable permission-aware subagents
This commit is contained in:
@@ -266,7 +266,7 @@ The extractor must not throw — guard your parsing and return `undefined` on an
|
||||
#### Subagent session registration
|
||||
|
||||
In-process subagent registration is event-driven.
|
||||
`@gotgenes/pi-subagents` emits `subagents:child:session-created` before `bindExtensions()` and `subagents:child:disposed` in the run's `finally`; the permission system subscribes automatically — no service call from the spawner is required.
|
||||
A compatible in-process spawner emits `subagents:child:session-created` before `bindExtensions()` and `subagents:child:disposed` after the child closes; the permission system subscribes automatically — no service call from the spawner is required. Current publishers are `@gotgenes/pi-subagents` and the source-maintained `my-pi` fork of `tintinweb/pi-subagents`.
|
||||
See [Subagent Integration](subagent-integration.md) for details.
|
||||
|
||||
### Reload Safety
|
||||
|
||||
Reference in New Issue
Block a user