|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to **anet** (PyPI: `agentnetwork`) are recorded here. |
| 4 | +The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 5 | +and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 6 | + |
| 7 | +## [1.1.0] — 2026-04-30 |
| 8 | + |
| 9 | +First public release on PyPI. |
| 10 | + |
| 11 | +### Added |
| 12 | +- **`anet.AgentNetwork`** — synchronous REST client covering the daemon's |
| 13 | + `/api/{status,peers,credits,tasks,ans,discover,dm,reputation,knowledge,topics,adp,traces,metrics}` |
| 14 | + surface (30+ verbs). Single dependency: `httpx`. |
| 15 | +- **`anet.lifecycle.Lifecycle`** — frozen 5-verb stable surface |
| 16 | + (`claim → evidence_post → bundle_json → submit → accept`) mirroring the |
| 17 | + CLI's `STABLE-v1` contract. Auto token resolution from |
| 18 | + `$ANET_TOKEN` / `$HOME/.anet/api_token`. POR-CID stash compatible with |
| 19 | + the Go CLI so SDK and CLI are interchangeable mid-workflow. |
| 20 | +- **`anet.svc.SvcClient`** — full Python client for the P2P **service |
| 21 | + gateway** (`/api/svc/*`, 11 endpoints): `register`, `unregister`, `list`, |
| 22 | + `show`, `discover`, `call`, `stream` (SSE), `ws_url`, `health`, `meta`, |
| 23 | + `audit`. Supports all 5 transport modes (`rr`, `server-stream`, `chunked`, |
| 24 | + `bidi-ws`, `bidi-mcp-stdio`). `passthrough_status` for HTTP-status-aware |
| 25 | + callers. Body auto-encoding for dict / bytes / str. |
| 26 | +- **`anet.examples.ex01-03`** — runnable demos for register / discover-and-call / |
| 27 | + stream-consume, all importable as `python -m anet.examples.ex0X_*`. |
| 28 | +- Offline unit tests under [`tests/test_svc.py`](tests/test_svc.py) using |
| 29 | + `httpx.MockTransport` — no daemon required. |
| 30 | + |
| 31 | +### Tested against |
| 32 | +- `anet` daemon **v1.1.10** (P2P Service Gateway closed-in-this-release). |
| 33 | +- CPython 3.9, 3.10, 3.11, 3.12 on macOS and Linux. |
| 34 | + |
| 35 | +[1.1.0]: https://github.com/ChatChatTech/anet-python-sdk/releases/tag/v1.1.0 |
0 commit comments