Skip to content

v4.0.9

Choose a tag to compare

@Maplemx Maplemx released this 28 Mar 16:09
· 326 commits to main since this release

v4.0.9

Features

Runtime Observation And DevTools Companion

  1. [Runtime] Added the runtime event bus and run-lineage foundation for request, model, agent-turn, action, and workflow observation.
  2. [Runtime] Added model request observation lifecycle events, including prompt build, request, streaming, retry, completion, and meta stages.
  3. [DevTools] Introduced agently-devtools as an optional companion package for local observation, evaluation, logs, and playground workflows.
  4. [DevTools] Added public integration entrypoints around ObservationBridge and create_local_observation_app.

TriggerFlow

  1. [TriggerFlow] TriggerFlow executions now emit workflow definitions so local execution graphs can display the full static flow, including branches that have not run yet.
  2. [TriggerFlow] Added chunk-level runtime scope, including signal metadata, runtime input and output payloads, and origin-chunk metadata on workflow stream and result events.
  3. [TriggerFlow] Added flow definition export and import through JSON and YAML, plus Mermaid generation for reviewable workflow assets.
  4. [TriggerFlow] Added execution state save and load support for restart-safe pause and resume workflows.
  5. [TriggerFlow] Added sub-flow support, runtime resources, and stronger contract typing, including FastAPI Helper alignment with TriggerFlow contracts.

Tools And Developer Experience

  1. [Tools] Added Playwright and PyAutoGUI-powered built-in browsing support, with fallback integration in Browse.
  2. [Skills] Published the official installable Agently skills catalog.

Updates

Request, Response, And Settings

  1. [Request] Split ModelRequest response and result handling into clearer response-side modules.
  2. [Response] Refined response reuse paths around ModelResponse and ModelResponseResult.
  3. [Settings] Added auto_load_env=True support to settings.load_settings() and to entities that expose .load_settings().
  4. [Prompt] Added save_to and encoding support to .get_json_prompt() and .get_yaml_prompt().
  5. [Output] Added Enum support in output format declarations.
  6. [Utils] Renamed RuntimeData to StateData while keeping compatibility aliases.

Session And Tooling

  1. [Session] Streamlined session resize pipeline and handler APIs, with follow-up typing and behavior fixes.
  2. [Tools] Refactored tool handlers and multi-round action flow to make tool execution paths easier to observe and maintain.

Bug Fixes

  1. [Runtime] Fixed parsed model completion payload fields in runtime observation.
  2. [TriggerFlow] Fixed cases where flow definition export or Mermaid generation could miss chunks.
  3. [Prompt] Fixed long-string handling in .load_yaml_prompt() and .load_json_prompt().
  4. [Settings] Fixed auth-header handling and preserved compatibility between options and request_options.
  5. [Data] Fixed list-at-root handling in DataLocator.
  6. [Session] Fixed chat-history mutation bugs caused by pointer behavior in session helpers.