Skip to content

Commit 8c82d01

Browse files
Zawwarsami16claude
andcommitted
release: bump 0.2.0 → 0.3.0 + CHANGELOG for 19 post-0.2.0 phases
bumped version in pyproject + zhub/__init__.py. CHANGELOG gets a fresh 0.3.0 section capturing every phase shipped since 0.2.0: 9.0 MCP resources + prompts surface 10.0 per-AI latency percentiles 11.0 +3 brain adapters (Together / Mistral / Cohere) + shared helper 12.0 futuristic operator dashboard with animated SVG flow 13.0 CONTRIBUTING / CHANGELOG / SECURITY + Dockerfile rewrite 14.0 docker-compose + release.yml + py.typed 15.0 per-exposure access policies (allow_publishers) 16.0 zhub status CLI + GitHub templates + full_stack_demo 17.0 hub identity + signed cross-hub peer routing 18.0 prometheus metrics format + tutorial doc + examples README 19.0 built-in browser chat client at /chat 178 pytest + 13 node:test, all CI runs green. Tag this commit with to trigger the release workflow (PyPI publish + GHCR multi-arch Docker push). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> EOF
1 parent ae3b88a commit 8c82d01

4 files changed

Lines changed: 26 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
All notable changes to zhub. Versions follow [SemVer](https://semver.org/).
44

5+
## [0.3.0] — 2026-05-10
6+
7+
### Added
8+
- **MCP resources + prompts** (Phase 9.0) — publishers declare `resources=[...]` and `prompts=[...]` in `publish()`; the MCP bridge now serves the full triple (tools + resources + prompts) so Claude Desktop / Cursor / Cline see all three surfaces. Static-only for v1; dynamic round-trip is a future phase.
9+
- **Per-AI latency percentiles** (Phase 10.0) — `/metrics` and `/api/dashboard` now include `p50_latency_ms`, `p95_latency_ms`, `p99_latency_ms` per AI, computed from a 200-sample ring buffer.
10+
- **3 more brain adapters** (Phase 11.0) — Together, Mistral, Cohere. Brings total to 8: Ollama / Groq / OpenAI / Cerebras / Anthropic / Together / Mistral / Cohere. Refactored shared OpenAI-compat helper means future adapters are ~50 LOC.
11+
- **Futuristic operator dashboard** (Phase 12.0) — animated SVG live traffic flow with particles per request, glassmorphism panels, neon HD blue/red palette, sparklines, recent-request feed, color-coded status, scanline overlay.
12+
- **Public release polish** (Phase 13.0) — `CONTRIBUTING.md`, `CHANGELOG.md`, `SECURITY.md`. Multi-stage Dockerfile with non-root user + healthcheck. `zhub` CLI script alias. Python 3.13 in classifiers.
13+
- **Distribution & ops** (Phase 14.0) — `docker-compose.yml` with optional cloudflared sidecar profile. `.github/workflows/release.yml` — tag-triggered PyPI publish + multi-arch GHCR Docker push. `py.typed` PEP 561 marker.
14+
- **Per-exposure access policies** (Phase 15.0) — `expose(allow_publishers=["zai", "claude-here"])` whitelists which AIs may invoke. Empty list `[]` is a kill switch. Policy surfaces in `/exposures` listing.
15+
- **`zhub status <hub-url>` CLI** (Phase 16.0) — pretty-print remote hub state from `/api/dashboard`. `--json` for scripting. GitHub issue/PR templates added with substrate-alignment checks. New `examples/full_stack_demo.py` runs the whole stack in one process.
16+
- **Hub identity + signed peer routing** (Phase 17.0) — each hub generates a long-lived ed25519 keypair persisted in SQLite; `GET /hub/identity` exposes the public key. Cross-hub HTTP requests sign their forwarded chain; receiving hubs verify against the originator's published identity. Backwards-compatible (unsigned still accepted unless `ZHUB_REQUIRE_VERIFIED_PEERS=1`).
17+
- **Prometheus metrics format** (Phase 18.0) — `/metrics?format=prometheus` returns OpenMetrics text exposition with per-AI counters labeled by `ai`. Drop-in for Prometheus / VictoriaMetrics / Datadog OpenMetrics agents.
18+
- **`docs/TUTORIAL.md`** (Phase 18.0) — 10-minute hands-on walkthrough from clone to "Pocket talks to your AI".
19+
- **`examples/README.md`** (Phase 18.0) — index of all 9 runnable examples.
20+
- **Built-in browser chat client at `/chat`** (Phase 19.0) — self-contained 16 KB HTML chat UI in the same dark/cyan/neon palette. Auto-detects single-publisher hubs. SSE streaming with tool-call delta visualization. Settings persist to localStorage. Anyone can chat with their zhub AI without installing Pocket / curl / openai-py.
21+
22+
### Test surface
23+
- 178 pytest, 13 node:test
24+
- 19 numbered phases shipped post-0.2.0, every CI run green
25+
- Spec + plan docs for each phase live under `docs/superpowers/specs/` and `docs/superpowers/plans/`
26+
527
## [0.2.0] — 2026-05-10
628

729
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
[![CI](https://github.com/Zawwarsami16/zhub/actions/workflows/ci.yml/badge.svg)](https://github.com/Zawwarsami16/zhub/actions/workflows/ci.yml)
88
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
99
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-3776AB.svg)](https://www.python.org/)
10-
[![Tests](https://img.shields.io/badge/tests-164%20%2B%2013-brightgreen)](#tests)
10+
[![Tests](https://img.shields.io/badge/tests-178%20%2B%2013-brightgreen)](#tests)
1111
[![Brains](https://img.shields.io/badge/brains-8-cyan)](#performance)
12-
[![Version](https://img.shields.io/badge/version-0.2.0-orange)](CHANGELOG.md)
12+
[![Version](https://img.shields.io/badge/version-0.3.0-orange)](CHANGELOG.md)
1313

1414
</div>
1515

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "zhub"
7-
version = "0.2.0"
7+
version = "0.3.0"
88
description = "WiFi for AIs — substrate that lets any AI publish a discoverable, OpenAI-compat endpoint reachable from anywhere."
99
readme = "README.md"
1010
requires-python = ">=3.10"

zhub/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
except SystemExit:
5757
_SIGNING_AVAILABLE = False
5858

59-
__version__ = "0.2.0"
59+
__version__ = "0.3.0"
6060
__all__ = [
6161
"publish",
6262
"connect",

0 commit comments

Comments
 (0)