Skip to content

feat(server): add provider-independent client tool executor - #1302

Draft
AbhinRustagi wants to merge 1 commit into
abhin/autofix-responses-evefrom
codex/server-tool-executor
Draft

AbhinRustagi wants to merge 1 commit into
abhin/autofix-responses-evefrom
codex/server-tool-executor

Conversation

@AbhinRustagi

@AbhinRustagi AbhinRustagi commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Adds provider-independent tool execution through client.tools.execute({ name, arguments, tools, response, context }). Registered tools execute locally with trusted context; script tools execute through the Gateway using a completed response bundle or an artifact reference.

The executor handles continuation rounds, returns customer tool results to the script, and applies cancellation and a total execution deadline. It validates call IDs, limits continuation rounds and calls, and keeps trusted context on the host server. The root createClient factory exposes tool execution.

Third of three dependent PRs, based directly on #1231. This PR adds equivalent server-side tool execution without removing any code from renderer PR #1268. It adds no storage adapters.

Validation: all 45 existing package tests, typecheck, lint, formatting, build, and package export/type checks pass. Inline mocked checks cover local calls, both Gateway execution paths, continuations, falsy results, trusted context isolation, and timeouts. Compiler checks confirm required tool names and context inference. No new test files.

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openui-docs Ready Ready Preview Oct 6, 2026 9:40am UTC

Request Review

@AbhinRustagi
AbhinRustagi force-pushed the codex/server-tool-executor branch from 00e7d87 to 4c33e01 Compare October 5, 2026 11:41
@AbhinRustagi
AbhinRustagi added this pull request to stack #1303 October 5, 2026 11:42
@AbhinRustagi
AbhinRustagi force-pushed the codex/server-tool-executor branch from 4c33e01 to 2398d33 Compare October 6, 2026 09:30
@AbhinRustagi
AbhinRustagi removed this pull request from stack #1303 October 6, 2026 09:30
@AbhinRustagi
AbhinRustagi changed the base branch from codex/langgraph-autofix to abhin/autofix-responses-eve October 6, 2026 09:31
@AbhinRustagi
AbhinRustagi added this pull request to stack #1309 October 6, 2026 09:31

This branch was successfully deployed

1 active deployment
Preview — 80c1fa04 Deployed Oct 6, 2026 by vercel[bot]
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