Skip to content

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.