feat(#2659): serve hive-matrix-mcp over persistent streamable-http, drop stdio bridge
This commit is contained in:
parent
ae8d1aaac4
commit
a66b7ab298
21 changed files with 411 additions and 856 deletions
|
|
@ -1,13 +1,12 @@
|
|||
//! Per-tool dispatch — each daemon request from the MCP bridge resolves
|
||||
//! to one of these handlers. Returns a `DaemonResponse` shaped for the
|
||||
//! wire protocol (the MCP bridge unwraps `Ok { payload }` and returns
|
||||
//! the payload to claude; `Error { message }` becomes the tool-call
|
||||
//! error message claude sees).
|
||||
//! Per-tool dispatch — each MCP tool call in [`crate::mcp`] resolves to
|
||||
//! one of these handlers. Returns a [`DaemonResponse`] which
|
||||
//! `crate::mcp::render` turns into the tool-result string claude sees
|
||||
//! (`Ok { payload }` → pretty JSON, `Error { message }` → a "matrix
|
||||
//! error: …" prefixed string).
|
||||
//!
|
||||
//! Tool surface mirrors damocles-daemon's v0 set per the operator's call:
|
||||
//! `send_message`, `send_dm`, `send_reaction`, `send_reply`, `mark_read`,
|
||||
//! `send_redact`, `list_rooms`, `list_room_members`, `read_room`. Plus a
|
||||
//! `ping` for the MCP bridge's liveness probe.
|
||||
//! `send_redact`, `list_rooms`, `list_room_members`, `read_room`.
|
||||
|
||||
use matrix_sdk::{
|
||||
Client,
|
||||
|
|
|
|||
Loading…
Reference in a new issue