2026-04-29 21:35:55 +00:00
|
|
|
//! MCP tool dispatch and schema module.
|
|
|
|
|
//!
|
|
|
|
|
//! Agents no longer connect via an HTTP `/mcp` endpoint. Tool dispatch
|
|
|
|
|
//! is invoked directly by API-based runtimes (Gemini, OpenAI) and by
|
|
|
|
|
//! the WebSocket-based `/crdt-sync` rendezvous channel.
|
2026-03-22 19:07:07 +00:00
|
|
|
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for agent start, stop, wait, list, and inspect.
|
2026-03-22 19:07:07 +00:00
|
|
|
pub mod agent_tools;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for server logs, CRDT dump, version, and story movement.
|
2026-03-22 19:07:07 +00:00
|
|
|
pub mod diagnostics;
|
2026-04-29 21:35:55 +00:00
|
|
|
/// MCP tool dispatch — routes a tool name to the appropriate handler module.
|
|
|
|
|
pub mod dispatch;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for git operations scoped to agent worktrees.
|
2026-03-22 19:07:07 +00:00
|
|
|
pub mod git_tools;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for merge status and merge-to-master operations.
|
2026-03-22 19:07:07 +00:00
|
|
|
pub mod merge_tools;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for QA request, approve, and reject workflows.
|
2026-03-22 19:07:07 +00:00
|
|
|
pub mod qa_tools;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for running shell commands and test suites.
|
2026-03-22 19:07:07 +00:00
|
|
|
pub mod shell_tools;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for pipeline status, story todos, and triage dump.
|
2026-03-24 11:06:43 +00:00
|
|
|
pub mod status_tools;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for creating, updating, and managing stories and bugs.
|
2026-03-28 14:21:13 +00:00
|
|
|
pub mod story_tools;
|
2026-04-29 21:35:55 +00:00
|
|
|
/// MCP tool schema definitions for `tools/list`.
|
|
|
|
|
pub mod tools_list;
|
2026-04-29 10:41:32 +00:00
|
|
|
/// MCP tools for the project setup wizard.
|
2026-03-28 14:21:13 +00:00
|
|
|
pub mod wizard_tools;
|
2026-03-22 19:07:07 +00:00
|
|
|
|
2026-04-29 21:35:55 +00:00
|
|
|
// Re-export for test code in submodules that references `super::super::handle_tools_list`.
|
2026-03-22 19:07:07 +00:00
|
|
|
#[cfg(test)]
|
2026-04-29 21:35:55 +00:00
|
|
|
pub(crate) use tools_list::handle_tools_list;
|