Skip to main content

cmd_subscribe

Function cmd_subscribe 

Source
pub fn cmd_subscribe(
    db_path: &Path,
    args: &SubscribeArgs,
    out: &mut CliOutput<'_>,
) -> Result<()>
Expand description

ai-memory subscribe dispatch entry.

§Errors

  • The DB at db_path cannot be opened.
  • The substrate refuses the registration (missing HMAC secret, unregistered agent, malformed URL, etc.).
  • serde_json::to_string cannot serialise the envelope.