Add local in-memory pubsub

This commit is contained in:
Eric Wendland 2026-05-17 18:23:51 +02:00
commit 6c85a341b8
13 changed files with 246 additions and 14 deletions

View file

@ -91,6 +91,7 @@ The bootstrap implementation provides:
`geth db status <name>`
- local SQLite-backed KV commands: `geth kv create/set/get`
- local document resource registration: `geth document create/status`
- local daemon-lifetime pubsub snapshots: `geth pubsub pub/sub`
- SSH certificate flow metadata:
- `geth ssh cert request --public-key <path> --principal <name>`
- `geth ssh cert requests`
@ -101,7 +102,7 @@ The bootstrap implementation provides:
- `geth ssh revocation list`
- `geth ssh revocation export --out <path>`
Other command groups exist as explicit stubs: `pipe`, `pubsub`, and `ssh`.
Other command groups exist as explicit stubs: `pipe` and `ssh`.
## Resource Modules
@ -111,7 +112,8 @@ Everything meaningful is modeled as a resource. Planned resource kinds are:
- `kv`: Iroh Documents backed key-value stores
- `pipe`: dumbpipe-like byte streams over Iroh
- `document`: Automerge documents over Iroh streams
- `pubsub`: lossy notifications, not authoritative storage
- `pubsub`: lossy notifications, not authoritative storage; the bootstrap
keeps only an in-memory daemon-lifetime ring buffer
- `cas`: content-addressed blob storage and distribution
- `ssh-proxy`: authorized SSH proxy/admin access over Iroh