Repository navigation
feat(server): add provider-independent client tool executor - #1302
Draft
AbhinRustagi wants to merge 1 commit into
Draft
AbhinRustagi wants to merge 1 commit into
AbhinRustagi wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
AbhinRustagi
force-pushed
the
codex/server-tool-executor
branch
from
October 5, 2026 11:41
00e7d87 to
4c33e01
Compare
AbhinRustagi
added this pull request to stack #1303
October 5, 2026 11:42
AbhinRustagi
force-pushed
the
codex/server-tool-executor
branch
from
October 6, 2026 09:30
4c33e01 to
2398d33
Compare
AbhinRustagi
removed this pull request from stack #1303
October 6, 2026 09:30
This was referenced Oct 6, 2026
AbhinRustagi
changed the base branch from
codex/langgraph-autofix
to
abhin/autofix-responses-eve
October 6, 2026 09:31
AbhinRustagi
added this pull request to stack #1309
October 6, 2026 09:31
AbhinRustagi
force-pushed
the
codex/server-tool-executor
branch
from
October 6, 2026 09:37
2398d33 to
80c1fa0
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
createClientfactory 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.