Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/onboarding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/tokenops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

load_env()

__version__ = "0.1.0"
__version__ = "0.1.1"


def init() -> None:
Expand Down
3 changes: 2 additions & 1 deletion src/tokenops/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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")
Expand Down
Loading