Skip to content

feat(devframe): add request-bound tool progress - #311

Draft
dvcolomban wants to merge 2 commits into
devframes:mainfrom
dvcolomban:codex/agent-tool-progress
Draft

feat(devframe): add request-bound tool progress#311
dvcolomban wants to merge 2 commits into
devframes:mainfrom
dvcolomban:codex/agent-tool-progress

Conversation

@dvcolomban

Copy link
Copy Markdown
Contributor

Summary

  • add AgentToolProgress and a request-bound AgentToolInvocationContext
  • pass the optional invocation context to registered and provider tool handlers while preserving existing handlers and agent-enabled RPC signatures
  • translate MCP progress tokens into ordered notifications/progress updates for route-based and stdio transports
  • suppress reports after handler settlement and use a no-op reporter when the caller omits a progress token
  • reject non-finite and non-increasing progress with the documented DF0071 diagnostic

Stacking

This draft is stacked on #292. Its upstream diff includes the resource work until #292 merges; rebase it onto the updated main before review.

Validation

  • pnpm lint
  • pnpm knip
  • pnpm test — 1,336 passed, 9 skipped
  • pnpm typecheck
  • pnpm build

Follow-up

This implements the request-bound progress portion of #294. MCP Tasks remain pending on TypeScript SDK task support and the related request-routing and notification blockers.

Refs #294.

@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

@dvcolomban is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant