39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
[package]
|
|
name = "hive-matrix-mcp"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
futures-util.workspace = true
|
|
hive-sh4re.workspace = true
|
|
matrix-sdk.workspace = true
|
|
mime = "0.3"
|
|
mime_guess = "2"
|
|
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/socket,
|
|
# 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"
|