Skip to main content

Module subscribe

Module subscribe 

Source
Expand description

v0.7.0 ARCH-3 / FX-C3 (batch2) — ai-memory subscribe CLI subcommand.

Closes the three-surface-parity gap on memory_subscribe. The MCP tool (crate::mcp::handle_subscribe) and the HTTP route landed previously; this module wires the CLI surface so operators can register a webhook subscription from a terminal.

§DRY contract

No business logic lives here — the URL validation, HMAC secret requirement (R3-S1.HMAC v0.7.0), and registered-agent gate live in crate::mcp::handle_subscribe. The MCP, HTTP, and CLI surfaces share that one implementation.

Structs§

SubscribeArgs
CLI args for ai-memory subscribe. Mirrors the MCP memory_subscribe input_schema shape.

Functions§

cmd_subscribe
ai-memory subscribe dispatch entry.