github ag-ui-protocol/ag-ui release/2026-12-03
Release 2026-12-03

2 hours ago

Packages Published

TypeScript (npm) - published at 18:42:25 UTC

Package Version Install
@ag-ui/cloudflare-agents 0.2.0 npm install @ag-ui/cloudflare-agents@0.2.0

@ag-ui/cloudflare-agents@0.2.0

  • Tools can opt in to value-bearing approvals with approvalValues and read the validated value with run.approvalValue(toolCallId). The interrupt advertises the value schema. A jsonSchema() used with approvalValues must provide a runtime validate function.
  • An explicit affirmative decision is still required to run a tool. The value schema applies to approvals. Denials and cancellations may omit the value. Any accompanying value is ignored.
  • Requests sharing an approval store claim pending approvals one at a time. If another request claims an approval while a resume is in progress, the losing request returns INVALID_RESUME before the model or tool runs.
  • When an approval store is configured, only answers matching a pending approval reach the value validator.
  • Agents without initialState now record the client's {} state and can finish the run.
  • An explicit null state is recorded as null.
Breaking changes
  • An affirmative approval carrying value now returns INVALID_RESUME when the tool has no approvalValues schema. In 0.1.0, that field was ignored.

Don't miss a new ag-ui release

NewReleases is sending notifications on new releases.