chore: version packages - #160
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 24, 2026 08:18
2521dc8 to
c891a0d
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 24, 2026 09:12
c891a0d to
69d2a79
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@github-tools/sdk@1.17.0
Minor Changes
#158
5df1f13Thanks @HugoRCD! - Mint Vercel Connect tokens per tool call.connectongithubExtensionaccepts a(ctx, call) => paramsresolver, wherecallis{ toolName, input, owner?, repo? }.owner/repoare the tool's inputs aftercontextdefaults, and are undefined for tools without a repository target (search, gists, notifications). The static shape and theconnect.subjectresolver keep working unchanged.connectGithubTools/connectGithubTokenaccept a(call) => paramsresolver asconnect/params. Scopes still derive frompreset/include/excludeunless the resolved params setscopes. Connect caches tokens per connector and params, so calls on the same repository reuse one token.GithubTokenInput) now receive an optionalGithubTokenCallargument on every tool call, from bothcreateGithubToolsand the eve runtime. Existing() => Promise<string>providers are unaffected.CONNECT_INSTALLATION_REQUIREDnames the target account ("The connector's GitHub App is not installed on ") when the token targets an org or repository owner.#161
db141c9Thanks @HugoRCD! - Target the GitHub App installation that owns each tool call's repository by default. A GitHub App installed on several accounts now works withgithubExtension({ connector }),connectGithubToolsandconnectGithubTokenas they are, with nothing to configure.owner/repo(aftercontextdefaults) getauthorizationDetails: [{ type: 'github_app_installation', org: owner, repositories: [repo] }]. Staticconnectparams merge in. Calls without a repository target and calls outside a tool use the connector's default installation, as before.installationId,authorizationDetailsorrepositoriesin the resolved params pins the installation and is never overridden. User subjects ({ type: 'user' }) are not targeted: a user token already spans installations.preset/include/exclude. Connect caches tokens per connector and params, so calls on one repository reuse the token; single-installation connectors resolve to the same installation they used before.#157
90fd219Thanks @HugoRCD! - Add'auto'modes to the eve extension. They needai7.0.105 or later.preset: 'auto'routes each user message to at most two presets with the evaluation model and registers only their tools for that turn. Tools the agent already called stay registered, so a parked approval can still resume after routing changes.requireApproval: 'auto'lets low-risk write tools (AUTO_APPROVAL_TOOLS) run without a prompt when the evaluation model rates the call low-risk and the user's latest request asked for it. Other write tools keep requiring approval. Per-tool values inrequireApprovalandoverrides[tool].approvalalso accept'auto'.evaluationoption ({ model, maxRisk, minIntent, minPresetProbability, maxPresets }) tunes both modes, as in the SDK.@github-tools/sdk/eve-runtimenow exportsAUTO_APPROVAL_TOOLS,latestUserText,needsAutoApproval,selectPresetsand theGithubEvaluationOptionstype.#157
90fd219Thanks @HugoRCD! - Add'auto'modes for approval and presets. Both needai7.0.105 or later. Everything else still works onai6.requireApproval: 'auto'oncreateGithubTools/createGithubAgent: low-risk write tools (AUTO_APPROVAL_TOOLS: labels, assignees, reactions, comments, review-thread replies, reviewer requests, notification reads, workflow re-runs) run without a prompt when an evaluation model rates the call low-risk and the latest user message asked for it. Otherwise approval is requested as usual. Other write tools keep requiring approval. Per-tool values also accept'auto', for examplerequireApproval: { updateIssue: 'auto', mergePullRequest: true }.createGithubAgent({ preset: 'auto' })selects presets per call from the latest user message, narrows the active tools, and uses the matching preset's system prompt. It combines at most two presets. Read-onlyrepo-exploreris only used when no other preset matches. When none clears the threshold it uses the most likely one. It never exposes the full catalog.evaluationoption ({ model, maxRisk, minIntent, minPresetProbability, maxPresets }, defaults1,0.6,0.7,2) tunes both modes. The model defaults to TypeSafe's Jev ('typesafe-ai/jev'through AI Gateway).'auto'approval asks for approval andpreset: 'auto'usesrepo-explorer. Both log agithub_tools.EVALUATION_FAILEDwarning with the gateway error ascause.ToolOptions.needsApprovalon individual tool factories now also accepts an AI SDK approval function.createDurableGithubAgentdoes not accept'auto'.Patch Changes
90fd219Thanks @HugoRCD! - Fix eve tool output formatting for GitHub API errors. A 404, 403 or rate-limit error from a tool with a built-in eve formatter (listPullRequestFiles,getFileContent,getRepositoryTree,getPullRequestContext,getCommit,compareCommits) no longer breaks the next model step withCannot read properties of undefined. The structured error now reaches the model as is.@github-tools/eve-extension@0.8.0
Minor Changes
#158
5df1f13Thanks @HugoRCD! - Mint Vercel Connect tokens per tool call.connectongithubExtensionaccepts a(ctx, call) => paramsresolver, wherecallis{ toolName, input, owner?, repo? }.owner/repoare the tool's inputs aftercontextdefaults, and are undefined for tools without a repository target (search, gists, notifications). The static shape and theconnect.subjectresolver keep working unchanged.connectGithubTools/connectGithubTokenaccept a(call) => paramsresolver asconnect/params. Scopes still derive frompreset/include/excludeunless the resolved params setscopes. Connect caches tokens per connector and params, so calls on the same repository reuse one token.GithubTokenInput) now receive an optionalGithubTokenCallargument on every tool call, from bothcreateGithubToolsand the eve runtime. Existing() => Promise<string>providers are unaffected.CONNECT_INSTALLATION_REQUIREDnames the target account ("The connector's GitHub App is not installed on ") when the token targets an org or repository owner.#161
db141c9Thanks @HugoRCD! - Target the GitHub App installation that owns each tool call's repository by default. A GitHub App installed on several accounts now works withgithubExtension({ connector }),connectGithubToolsandconnectGithubTokenas they are, with nothing to configure.owner/repo(aftercontextdefaults) getauthorizationDetails: [{ type: 'github_app_installation', org: owner, repositories: [repo] }]. Staticconnectparams merge in. Calls without a repository target and calls outside a tool use the connector's default installation, as before.installationId,authorizationDetailsorrepositoriesin the resolved params pins the installation and is never overridden. User subjects ({ type: 'user' }) are not targeted: a user token already spans installations.preset/include/exclude. Connect caches tokens per connector and params, so calls on one repository reuse the token; single-installation connectors resolve to the same installation they used before.#157
90fd219Thanks @HugoRCD! - Add'auto'modes to the eve extension. They needai7.0.105 or later.preset: 'auto'routes each user message to at most two presets with the evaluation model and registers only their tools for that turn. Tools the agent already called stay registered, so a parked approval can still resume after routing changes.requireApproval: 'auto'lets low-risk write tools (AUTO_APPROVAL_TOOLS) run without a prompt when the evaluation model rates the call low-risk and the user's latest request asked for it. Other write tools keep requiring approval. Per-tool values inrequireApprovalandoverrides[tool].approvalalso accept'auto'.evaluationoption ({ model, maxRisk, minIntent, minPresetProbability, maxPresets }) tunes both modes, as in the SDK.@github-tools/sdk/eve-runtimenow exportsAUTO_APPROVAL_TOOLS,latestUserText,needsAutoApproval,selectPresetsand theGithubEvaluationOptionstype.Patch Changes
5df1f13,db141c9,90fd219,90fd219,90fd219]: