ai@7.0.162
AI SDK 7.0.162 restores full server-defined tool metadata for approval continuations and adds durable telemetry support for WorkflowAgent runs.
Why this signal matters
Vercel AI SDK release 7.0.162 introduces two main patch updates: First, it restores server-defined tool metadata, dynamic status, and title during tool approval continuation validation, ensuring approval policies access the same tool definition fields as original model calls. Second, it adds durable telemetry support for WorkflowAgent executions into a single operation encompassing prompt, output, steps, and tools, emitted upon completion or suspension. For OpenTelemetry, context is bridged across steps by providing an OpenTelemetryIdGenerator to the tracer provider and the new OpenTelemetry({ durable }) instance, eliminating reliance on process-global ID-generator detection. In addition, experimental typed durable context hooks are added, and dependencies @ai-sdk/provider-utils (5.0.74) and @ai-sdk/gateway (4.0.135) were updated.
Actionable summary
Vercel AI SDK 7.0.162 patches tool approval validation to restore server-defined metadata, status, and title. It also introduces single-operation durable telemetry for WorkflowAgent runs via an explicit OpenTelemetry bridge.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Verify tool approval policies behave correctly with restored server-defined tool metadata, dynamic status, and titles.
- If using WorkflowAgent with OpenTelemetry, update tracing setups to supply an OpenTelemetryIdGenerator instance to the tracer provider, sampler, and OpenTelemetry({ durable }) bridge instead of relying on process-global…