module

Arcana::Mail::Notices

What the session hooks tell the agent when Arcana is the carrier, as dot-ai's hooks do, naming dot-ai's commands where it's installed (Mail.dot_ai) and Arcana's own where it isn't: at session start everything, at Stop only what this session hasn't been told of, and at each prompt only the receipts. What a session was told of is kept in $XDG_RUNTIME_DIR/arcana-mail/<session id>, so a message the agent leaves for later never loops it.

Class methods

collect(event : String, root : String, session : String | Nil) : String

Delivers the outbox (not at a prompt), then returns what to tell, empty when there's nothing.

Source