Skip to content

Releases: theagentplane/chronicle

v0.3.0

Choose a tag to compare

@susheem-k susheem-k released this 24 Jul 14:23
81f768e

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_enter runs after input capture and before the wrapped function; it may raise to abort the call, or return a kwargs mapping to merge (MUTATE). on_leave runs after the attempt when on_enter completed, 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

Choose a tag to compare

@tishachawla-jg tishachawla-jg released this 24 Jul 10:37
b8a69a8

Changed

  • @boundary is now transparent: it never changes what the wrapped function returns or raises. extract_result feeds the envelope only.
  • Zero-config capture binds the real signature and records arguments by their real names (skipping self). Note: recorded graph_state shape 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 @boundary in one call (async supported).
  • Async support: async def boundaries 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.

v0.1.3

Choose a tag to compare

@susheem-k susheem-k released this 23 Jul 16:30
9dc0b80

Added

  • chronicle.wrap_llm(boundary_id, dispatch, ...) — same LIVE/stub/cut-point + on_crossing contract as @boundary(..., kind=\"llm\").

Pin: pip install \"agent-chronicle>=0.1.3\"

v0.1.2

Choose a tag to compare

@tishachawla-jg tishachawla-jg released this 22 Jul 18:35
75f8ead

updated inner architecture

v0.1.0

Choose a tag to compare

@tishachawla-jg tishachawla-jg released this 22 Jul 13:49
1f369e3

Chronicle : record and replay