Add an opt-in single-channel local IFC broker

Signed-off-by: Jordan Mecom <jm@squareup.com>
This commit is contained in:
Jordan Mecom
2026-09-11 12:38:00 -07:00
parent fe75084a9e
commit bebbc5cd47
9 changed files with 1359 additions and 2 deletions

View File

@@ -20,6 +20,13 @@ export BUZZ_PRIVATE_KEY="nsec1..."
buzz channels list
```
## Local broker prototype
On Unix, `buzz broker serve` holds the key for one fixed channel;
`buzz broker read` and `buzz broker reply` use its socket without a key.
This is opt-in and does not isolate the broker from other same-user processes.
See [setup and limits](src/broker/README.md).
## Usage
All output is JSON on stdout. Errors are JSON on stderr. Exit codes: 0=ok, 1=user error, 2=network, 3=auth, 4=other, 5=write conflict.