You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
phase status table reflects current state — 0.2-0.6 retroactively marked
done (shipped before this batch), 0.7/0.8/0.9/1.0a/1.0b shipped this
batch. file-layout table expanded to cover signing, tunnel, persistence,
federation, kotlin tree, new examples, new tests. footer points future
sessions at the brainstorming spec + writing-plans plan that drove the
autonomous run.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+31-18Lines changed: 31 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,28 +59,41 @@ Tests: `pytest -v`. The e2e tests spin up the hub in-process and run the full pu
59
59
## 5. Phase status
60
60
61
61
-**Phase 0** ✅ — `zhub.publish()`, hub server, OpenAI-compat /v1/chat/completions proxy, manifest at /<name>/manifest.json, public /registry.
62
-
-**Phase 1** ✅ — `zhub.connect()`, capability registration, bidirectional invoke from publisher to connection through the hub. Connection-event delivery to publisher.
63
-
-**Phase 0.2 (next)** — Cloudflare Tunnel auto-config so publish works from a laptop without a public IP.
64
-
-**Phase 0.3** — Kotlin client lib for Loki Android. JS client for browser/Node.
65
-
-**Phase 0.4** — Streaming chat responses end-to-end (SSE through hub).
66
-
-**Phase 0.5** — Persistent registry across hub restarts. Web UI for /registry.
67
-
-**Phase 1.0** — Signed manifests, hub federation.
62
+
-**Phase 1** ✅ — `zhub.connect()`, capability registration, bidirectional invoke from publisher to connection through the hub.
63
+
-**Phase 0.2** ✅ — Cloudflare Tunnel auto-config (`--public-tunnel`). cloudflared install + usage at `docs/CLOUDFLARED.md`. Live-verified end-to-end on 2026-05-09.
**Phase 1.1+ (not started):** cross-hub call routing (route a chat to peer hub's publisher), signed peer relationships, named tunnels, real ZAI integration via `zai_publish.py` (ZAI gateway needs to be up).
68
75
69
76
## 6. File layout (what's where)
70
77
71
78
| Concern | Where |
72
79
|---|---|
73
-
| Public API surface |`zhub/__init__.py` — re-exports `publish`, `connect`, `Manifest`, `Capability`, errors. |
0 commit comments