Skip to content

dsh-subagent-registry 0.1.0

Latest

Choose a tag to compare

@fan56 fan56 released this 16 Aug 09:57
· 7 commits to main since this release

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 via ctx.subagents.start(spawn).
  • deep semantics: 0 = leaf (runs, cannot spawn; enforced via toolFilter deny list), >= 1 = may spawn (default 1 when 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