- handlers/rfc.rs: Add handle_create, handle_get, handle_list, handle_update_status, handle_plan as standalone functions - handlers/status.rs: New module with handle_status, handle_next - handlers/worktree.rs: Already had standalone functions - handlers/mod.rs: Export status module These standalone functions can be called by both MCP server and CLI, avoiding code duplication (RFC 0061 architecture). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
871 B
Rust
33 lines
871 B
Rust
//! Tool handlers for Blue MCP
|
|
//!
|
|
//! Each module handles a specific document type or workflow.
|
|
//! Standalone functions can be called by both MCP server and CLI.
|
|
|
|
pub mod adr;
|
|
// alignment module removed per RFC 0015 - Claude orchestrates via Task tool, not MCP
|
|
pub mod audit; // Health check (blue_health_check)
|
|
pub mod audit_doc; // Audit documents (blue_audit_create, etc.)
|
|
pub mod decision;
|
|
pub mod index; // Semantic index (RFC 0010)
|
|
pub mod delete;
|
|
pub mod dialogue;
|
|
pub mod dialogue_lint;
|
|
pub mod env;
|
|
pub mod guide;
|
|
pub mod lint;
|
|
pub mod llm;
|
|
pub mod playwright;
|
|
pub mod postmortem;
|
|
pub mod pr;
|
|
pub mod prd;
|
|
pub mod realm;
|
|
pub mod release;
|
|
pub mod reminder;
|
|
pub mod resources; // MCP Resources (RFC 0016)
|
|
pub mod rfc;
|
|
pub mod runbook;
|
|
pub mod session;
|
|
pub mod spike;
|
|
pub mod staging;
|
|
pub mod status; // Project status (blue_status, blue_next)
|
|
pub mod worktree;
|