Skip to content

feat(mcp): unified agent registry in dispatch_agents#891

Merged
JeremyDev87 merged 1 commit intomasterfrom
feat/unified-agent-registry-811
Mar 22, 2026
Merged

feat(mcp): unified agent registry in dispatch_agents#891
JeremyDev87 merged 1 commit intomasterfrom
feat/unified-agent-registry-811

Conversation

@JeremyDev87
Copy link
Copy Markdown
Owner

Summary

  • Add unified agent registry to dispatch_agents supporting 3 agent sources with override chain: inline > custom local > primary
  • Add InlineAgentDefinition type and inlineAgents parameter to dispatch_agents, get_agent_system_prompt, and prepare_parallel_agents
  • Implement resolveAgent method in AgentService that checks inline definitions first, then .codingbuddy/agents/ custom local agents, then falls back to primary builtin agents
  • Inject CustomService and ConfigService into AgentService via AgentModule
  • Full backwards compatibility maintained — all existing tests pass unchanged

Test plan

  • TDD: 7 new tests for inlineAgents passthrough and backwards compatibility
  • All 4947 tests pass (177 test files)
  • Build succeeds
  • Lint, format, typecheck, circular checks pass
  • Coverage maintained

Closes #811

- Add InlineAgentDefinition type and inlineAgents to DispatchAgentsInput
- Add inlineAgents parameter to dispatch_agents, get_agent_system_prompt,
  and prepare_parallel_agents tool schemas and handlers
- Implement resolveAgent method in AgentService with override chain:
  inline > custom local (.codingbuddy/agents/) > primary (builtin)
- Inject CustomService and ConfigService into AgentService for custom
  agent resolution
- Add TDD tests for inlineAgents passthrough and backwards compatibility

Closes #811
@JeremyDev87 JeremyDev87 added feat mcp-server apps/mcp-server labels Mar 22, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Mar 22, 2026 2:34pm

@JeremyDev87 JeremyDev87 self-assigned this Mar 22, 2026
@JeremyDev87 JeremyDev87 merged commit 85cf088 into master Mar 22, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/unified-agent-registry-811 branch March 22, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat mcp-server apps/mcp-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp): unified agent registry — support primary, custom local, and inline agents in dispatch

1 participant