Releases: theagentplane/chronicle
Releases · theagentplane/chronicle
Release list
v0.3.0
What's Changed
Added
session.on_enter/session.on_leave: pre-call and paired cleanup hooks on@boundary/wrap_llm(LIVE + live cut-point).on_enterruns after input capture and before the wrapped function; it may raise to abort the call, or return a kwargs mapping to merge (MUTATE).on_leaveruns after the attempt whenon_entercompleted, including when the function raises. Governors (e.g. TokenOps) use this for LLM-kind pre_call without a separate wrap.
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Changed
@boundaryis now transparent: it never changes what the wrapped function returns or raises.extract_resultfeeds the envelope only.- Zero-config capture binds the real signature and records arguments by their real names (skipping
self). Note: recordedgraph_stateshape changes for some call patterns, so pre-0.2 fixtures may need re-recording.
Added
chronicle.wrap(client): record every model call an OpenAI/Anthropic-style client makes, no decorators; replay returns the recorded response and makes no API call.chronicle.instrument_langgraph(nodes): wrap every LangGraph node as a@boundaryin one call (async supported).- Async support:
async defboundaries record, stub, and cut-point like sync ones. - Per-request isolation: the session is context-scoped (
ContextVar). - Failure capture: a boundary that raises records an error envelope, then re-raises.