Skip to content

Commit 0981a54

Browse files
committed
feat: Add Matrix messenger support via HTTP API
Implements MatrixCliMessenger using direct Matrix Client-Server API calls. No external CLI dependency - just REST calls to homeserver endpoints. Features: - Password and access token authentication - Send/receive messages via /sync - Room alias resolution - E2EE-compatible (delegates crypto to homeserver) - Configurable sync timeout and filters Part of tier 1 CLI-based messenger support (#115)
1 parent d39657f commit 0981a54

File tree

3 files changed

+435
-1
lines changed

3 files changed

+435
-1
lines changed

crates/rustyclaw-core/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ web-tools = ["dep:scraper", "dep:html2md"]
2121
browser = ["dep:chromiumoxide"]
2222
mcp = ["dep:rmcp", "dep:schemars"]
2323
matrix = ["dep:matrix-sdk"]
24+
matrix-cli = [] # Matrix CLI messenger using HTTP API (no external deps)
2425
whatsapp = ["dep:wa-rs", "dep:wa-rs-sqlite-storage", "dep:wa-rs-tokio-transport", "dep:wa-rs-ureq-http"]
2526
# NOTE: matrix excluded from all-messengers due to matrix-sdk 0.16 recursion limit bug.
2627
# Use `--features matrix` explicitly if needed.
27-
all-messengers = ["whatsapp"]
28+
all-messengers = ["whatsapp", "matrix-cli"]
2829
full = ["web-tools", "browser", "mcp", "all-messengers"]
2930

3031
[dependencies]

0 commit comments

Comments
 (0)