matrix: hive-matrix-mcp crate (daemon+stdio bridge) + harness wiring (#548 phase 3)
This commit is contained in:
parent
23ed124881
commit
e6c53045ad
16 changed files with 3310 additions and 35 deletions
36
hive-matrix-mcp/Cargo.toml
Normal file
36
hive-matrix-mcp/Cargo.toml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[package]
|
||||
name = "hive-matrix-mcp"
|
||||
edition.workspace = true
|
||||
version.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
futures-util.workspace = true
|
||||
matrix-sdk.workspace = true
|
||||
reqwest.workspace = true
|
||||
rmcp.workspace = true
|
||||
schemars.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
# `hive-matrix-daemon` — long-running per-agent matrix-sdk Client +
|
||||
# sync loop. Holds the unix socket the stdio MCP bridge talks to and
|
||||
# emits hyperhive wake signals on incoming room events.
|
||||
[[bin]]
|
||||
name = "hive-matrix-daemon"
|
||||
path = "src/main.rs"
|
||||
|
||||
# `hive-matrix-mcp` — thin stdio MCP bridge spawned by claude per turn.
|
||||
# Forwards every tool call to the daemon over /run/hive-matrix.sock,
|
||||
# returns the daemon's response shape to claude. No matrix-sdk dep at
|
||||
# this entrypoint — the heavy crate only loads when the daemon binary
|
||||
# is invoked.
|
||||
[[bin]]
|
||||
name = "hive-matrix-mcp"
|
||||
path = "src/bin/mcp.rs"
|
||||
Loading…
Reference in a new issue