Skip to content

v0.264.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 04:53
c7aad70

v0.264.0 overhauls workflow authoring. Recipes can now run Python (kind: code), call one agent tool (kind: tool), branch on conditions, and pass typed outputs between steps. The console's Workflows view becomes a Studio with Runs and Gallery tabs, a visual builder and a live Run mode. The release also fixes three desktop and console issues.

Added

  • Tool steps in workflows (#5863). A kind: tool step calls one agent tool with templated args. The call runs through execute_code's execute_code.call_tool service, so the bridge allowlist, the enforcement gate and the audit row all apply. Workflow tools such as run_workflow are refused. Without execute_code enabled, the step fails and names the plugin.
  • execute_code.call_tool plugin service (#5862). Other plugins can run one allowed agent tool under execute_code's policy and rate limits, and get back {ok, output, error}.
  • Code steps in workflows (#5853). A kind: code step runs a Python script through the new execute_code.run service (#5844). The script's result works like any other step output.
  • Condition steps and when branches (#5848). Steps on a branch that isn't taken get the skipped status, including across human-gate resumes.
  • Typed step outputs (#5842). Steps can declare named outputs that later steps read as {{steps.<id>.outputs.<name>}}. Run records keep the named values (#5850).
  • Graph-editing agent tools (#5856). get_workflow, add_workflow_step, update_workflow_step, remove_workflow_step, connect_workflow_steps and disconnect_workflow_steps sit beside save_workflow. Each edit is validated before it saves. Editing a bundled recipe saves a copy.
  • Rerun from a step (#5857). A new route starts a run again from one step of a finished, failed or cancelled run and keeps the other outputs.
  • Reusable step library (#5858). Steps can be saved to step-library.json and managed through /api/plugins/workflows/library.
  • Workflows Studio (#5846, #5847, #5849, #5854, #5855). This adds Studio, Runs and Gallery tabs; Gallery import and export (JSON, or YAML whose text is JSON); a builder with a step palette, list view and legend; and Run mode, which shows live step status on the canvas next to a step inspector.
  • Recipe provenance in workflow lists (#5845). Lists say whether each recipe is bundled or saved.

Changed

  • Canvas nodes and connections (#5852). The Studio canvas uses design-system nodes and draws data, order-only and branch edges in different styles.

Fixed

  • Chats no longer fall back to localStorage (#5851). Before, the console tried to move every agent's chats to IndexedDB within a 5-second startup deadline. With large chat histories, it missed the deadline and kept saving to localStorage until "New messages aren't being saved" appeared. Now it moves only the open agent's chats before the deadline.
  • macOS notices open their chat (#5837). Clicking a desktop banner opens the chat the notice is about.
  • Scheduled results no longer raise a desktop pop-up (#5836). The result still appears in its chat card, Home and Work. Decision and notify banners are unchanged.
  • Workflow step errors are accessible, and run inspectors show the source the step actually ran (#5855).

Docs

  • ADR 0136 records the workflow authoring design (#5841). The workflows guide covers every step kind, including tool steps (#5864).

Upgrading

Nothing to do. Existing recipes run unchanged, because the new step kinds and fields are optional. Code and tool steps need the execute_code plugin enabled; tool steps can only call tools on execute_code's allowlist.

What's Changed

  • feat: Desktop notices: scheduled results stop raising a native pop-up by @mabry1985 in #5836
  • feat: Desktop notices: a click on a macOS pop-up opens the chat it is about by @mabry1985 in #5837
  • chore(deps): bump the ai-stack group with 2 updates by @dependabot[bot] in #5839
  • feat: ADR 0136: workflow step kinds, typed outputs and graph-editing tools by @mabry1985 in #5841
  • feat: Workflow engine: typed step outputs (outputs + {{steps.<id>.outputs.<name>}}) by @mabry1985 in #5842
  • feat: Workflows Studio: derive data, order-only and branch edges from a recipe by @mabry1985 in #5847
  • feat: Workflows: /list says whether each recipe is bundled or saved by @mabry1985 in #5845
  • feat: Workflows Studio: Studio / Runs / Gallery tabs shell by @mabry1985 in #5846
  • feat: Workflow engine: condition steps, when branches and a skipped step status by @mabry1985 in #5848
  • fix(console): move other agents' localStorage chats after the IndexedDB boot, not inside its deadline by @mabry1985 in #5851
  • feat: Workflows run record: store each step's named output values by @mabry1985 in #5850
  • feat: Workflows Studio: Gallery tab, import and export by @mabry1985 in #5849
  • feat: execute_code: offer a run plugin service so other plugins can run Python by @mabry1985 in #5844
  • feat: Workflows Studio: canvas nodes and ports on the DS FlowNode by @mabry1985 in #5852
  • feat: Workflow engine: kind: code steps that run Python through the execute_code.run service by @mabry1985 in #5853
  • feat: Workflows: small graph-editing agent tools beside save_workflow by @mabry1985 in #5856
  • feat: Workflows: route to rerun one step of a finished run by @mabry1985 in #5857
  • feat: Workflows Studio: Run mode on the canvas with live step status and the inspector by @mabry1985 in #5855
  • feat: Workflows: storage and routes for a reusable step library by @mabry1985 in #5858
  • feat: Workflows Studio: step palette, list view and legend in the builder by @mabry1985 in #5854
  • feat: execute_code: a call_tool service that runs one allowed agent tool under bridge policy by @mabry1985 in #5862
  • feat: Workflow engine: kind: tool steps that call one agent tool through execute_code.call_tool by @mabry1985 in #5863

Full Changelog: v0.263.2...v0.264.0