diff --git a/CHANGELOG.md b/CHANGELOG.md index 536c878..2532f9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.1] - 2026-07-24 + +### Changed + +- Require `agent-chronicle>=0.2.0` (was `>=0.1.3`). +- Harden integration UX: ambient run scope and Chronicle `wrap_llm` dispatch for + `wrap_complete` / streaming paths. + +### Added + +- Onboarding guide (`docs/guides/onboarding.md`) with prereqs, FAQ, and current limits. +- Broader `wrap_complete` integration coverage for seeded policies. + ## [0.1.0] - 2026-07-23 ### Added diff --git a/docs/guides/onboarding.md b/docs/guides/onboarding.md index 13f5ace..db7a165 100644 --- a/docs/guides/onboarding.md +++ b/docs/guides/onboarding.md @@ -29,7 +29,7 @@ Chronicle records decision boundaries; TokenOps observes them for cost/governanc | Need | Notes | |------|--------| | **Python 3.10+** | Required | -| **`pip install agent-tokenops`** | Import is still `tokenops`. Pulls Chronicle ≥0.1.3, FastAPI, httpx, provider clients, etc. | +| **`pip install agent-tokenops`** | Import is still `tokenops`. Pulls Chronicle ≥0.2.0, FastAPI, httpx, provider clients, etc. | | **Control plane + shared DB** *(multi-process)* | `TOKENOPS_URL` (e.g. `http://localhost:7700`) and `TOKENOPS_DB` shared by plane + agents. Seed governance once (`make db-reset`). | | **Or embedded Store** *(single-process / tests)* | Omit `TOKENOPS_URL` or set `TOKENOPS_EMBEDDED=1`. | | **LLM API keys** | Only for real model calls — not required for TokenOps itself or offline tests. | diff --git a/pyproject.toml b/pyproject.toml index f335e4b..80f5cf3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "agent-tokenops" -version = "0.1.0" +version = "0.1.1" description = "TokenOps control plane and SDK for run-aware agent token governance" readme = "README.md" requires-python = ">=3.10" @@ -34,7 +34,7 @@ classifiers = [ "Topic :: System :: Systems Administration", ] dependencies = [ - "agent-chronicle>=0.1.3", + "agent-chronicle>=0.2.0", "openai>=1.0", "anthropic>=0.40", "pyyaml>=6.0", diff --git a/src/tokenops/__init__.py b/src/tokenops/__init__.py index 8b38030..c21eb09 100644 --- a/src/tokenops/__init__.py +++ b/src/tokenops/__init__.py @@ -4,7 +4,7 @@ load_env() -__version__ = "0.1.0" +__version__ = "0.1.1" def init() -> None: diff --git a/src/tokenops/server/app.py b/src/tokenops/server/app.py index bb65743..fca90fd 100644 --- a/src/tokenops/server/app.py +++ b/src/tokenops/server/app.py @@ -6,6 +6,7 @@ from fastapi import FastAPI +from tokenops import __version__ from tokenops.control.http import mount_run_registration from tokenops.control.store import Store @@ -23,7 +24,7 @@ def create_app(store: Store | None = None) -> FastAPI: """ store = store or Store(os.environ.get("TOKENOPS_DB", "tokenops.db")) - app = FastAPI(title="TokenOps Control Plane", version="0.1.0") + app = FastAPI(title="TokenOps Control Plane", version=__version__) app.state.store = store @app.get("/health")