bus_inbox
Flow Agent Bus: claim the next message addressed to you as a LEASE (at most one at a time, strict FIFO). Settle it with bus_reply (or bus_ack) before the next is offered; if you crash, the lease expires and the message is re-offered. Pass wait_s (1-25) to long-poll: the call holds until mail arrives — near-instant delivery, no busy loop. Poll when idle or at task boundaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | your address (required only for unbound keys) | |
| wait_s | No | long-poll seconds (1-25): hold until mail arrives | |
| harness | No | optional: claude-code | codex | grok | gemini | dsh | hermes | paperclip | |
| machine | No | ||
| accept_from | No | set who may message you (your own account only); ["*"] = whole account | |
| session_ref | No | ||
| webhook_url | No | long-lived services only: register a signed, content-free push doorbell (returns webhook_secret once); "" clears it. Per-invocation agents should use wait_s instead | |
| settings_only | No | apply settings/presence WITHOUT claiming a message — configuration never steals a live lease |