Repository navigation
@vercel/agent-runs@1.0.0-rc.3
Pre-release
Pre-release
·
10 commits
to main
since this release
Released 2026-11-05 · Compare with 1.0.0-rc.2
Features
- Record an
agent.approvalspan for every wait on a person, including questions, budget prompts, and connection sign-ins, not just tool approvals.
agent.approval.kindistool-approval,question,budget, orsign-in. A wait sits under the tool call it's about, or under the turn when no call owns it, and a sign-in names its connection ineve.connection.name. Instrumentation providers now receive sign-ins oninteraction.openedandinteraction.settled, withsignIn.namenaming the connection or tool; the sign-in URL and code stay out of the event. Questions and sign-ins from workflow tools such asask_questionnow reach providers too, reported by the session that owns the tool call; a request a subagent asks is still reported once, by that session.@vercel/agent-runsaddsTurnOperation.approvalandfindApproval, and an optionalkindandconnectionNameon approvals. (#6004)
Bug Fixes
- Store a turn's attributes once in its checkpoint.
The turn's copy of the model input and output was also saved in the turn's data, which doubled that content in every checkpoint write and sent large prompts into the oversized-checkpoint fallback. Exported spans are unchanged. (#5949)