dsh-subagent-registry 0.1.0
Register locally-defined custom agents (~/.dsh/agents/*.md) as dsh-callable subagents: the main conversation invokes any of them by name through the use_agent tool, and each runs as a real dsh subagent with its own persona.
Features
- use_agent tool: roster built from
~/.dsh/agents/*.md; frontmatter metadata + markdown body used verbatim as the child's persona viactx.subagents.start(spawn). - deep semantics:
0= leaf (runs, cannot spawn; enforced via toolFilter deny list),>= 1= may spawn (default1when absent). - config:
agentsDir/provider/toolName/leafDenyTools.
Installation
Option A — add this checkout as a dsh plugin (tui profile): dsh plugin --profile tui add ~/github/dsh-subagent-registry
Option B — npm dependency: npm i dsh-subagent-registry, then load the plugin under the stable id dsh-subagent-registry (bundle patch pattern in cordis.patch.yml).
License
MIT