diff --git a/.changeset/connect-oidc-env-token.md b/.changeset/connect-oidc-env-token.md deleted file mode 100644 index d7157cf..0000000 --- a/.changeset/connect-oidc-env-token.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/sdk': patch ---- - -`connectGithubToken` now passes `VERCEL_OIDC_TOKEN` to Connect as `vercelToken` so local eve/workflow steps do not fail looking for a `.vercel` project root. diff --git a/.changeset/eve-extension-token-provider.md b/.changeset/eve-extension-token-provider.md deleted file mode 100644 index 9258f68..0000000 --- a/.changeset/eve-extension-token-provider.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/eve-extension': minor ---- - -Accept an async token provider in the extension's `token` config (`string | (() => Promise)`), matching the SDK's `GithubTokenInput`. Agents authenticating with a GitHub App can pass their installation-token minter directly instead of falling back to the `@github-tools/sdk/eve-runtime` subpath. diff --git a/.changeset/eve-tomodeloutput-durable.md b/.changeset/eve-tomodeloutput-durable.md deleted file mode 100644 index 6606a5b..0000000 --- a/.changeset/eve-tomodeloutput-durable.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@github-tools/eve-extension': patch -'@github-tools/sdk': patch ---- - -Apply built-in eve `toModelOutput` formatters through an inline callback that only closes over the tool name. On eve 0.44.x this keeps tools like `getFileContent` from failing durable-descriptor validation and dropping the whole GitHub toolset. diff --git a/.changeset/eve-tool-error-result.md b/.changeset/eve-tool-error-result.md deleted file mode 100644 index 5a2f07f..0000000 --- a/.changeset/eve-tool-error-result.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/sdk': patch ---- - -Eve GitHub tool execute now returns `{ error }` on failure instead of throwing, so the model always gets a `tool_result` and the turn does not die with `MODEL_CALL_FAILED`. diff --git a/.changeset/rate-limit-on-results.md b/.changeset/rate-limit-on-results.md deleted file mode 100644 index 2d57f66..0000000 --- a/.changeset/rate-limit-on-results.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/sdk': minor ---- - -Object-shaped tool results now include `rateLimit` (`remaining`, `limit`, `reset`, `resource`) from the last GitHub response. The field is stripped before the model sees the output. Array-shaped list tools are unchanged. 403/429 errors include remaining/reset in the message. diff --git a/.changeset/update-pr-draft-only.md b/.changeset/update-pr-draft-only.md deleted file mode 100644 index 666f2d3..0000000 --- a/.changeset/update-pr-draft-only.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/sdk': patch ---- - -Skip the REST update when `updatePullRequest` is called with only `draft`. Octokit was sending an empty PATCH body (`''`), which GitHub rejects with 400 before the GraphQL draft mutation could run. diff --git a/packages/github-tools-eve-extension/CHANGELOG.md b/packages/github-tools-eve-extension/CHANGELOG.md index 2a6d382..c0a267e 100644 --- a/packages/github-tools-eve-extension/CHANGELOG.md +++ b/packages/github-tools-eve-extension/CHANGELOG.md @@ -1,5 +1,18 @@ # @github-tools/eve-extension +## 0.4.0 + +### Minor Changes + +- [#98](https://github.com/vercel-labs/github-tools/pull/98) [`96059c2`](https://github.com/vercel-labs/github-tools/commit/96059c28492bdd3609253daa112c4d38bed46f18) Thanks [@ycarmel](https://github.com/ycarmel)! - Accept an async token provider in the extension's `token` config (`string | (() => Promise)`), matching the SDK's `GithubTokenInput`. Agents authenticating with a GitHub App can pass their installation-token minter directly instead of falling back to the `@github-tools/sdk/eve-runtime` subpath. + +### Patch Changes + +- [#100](https://github.com/vercel-labs/github-tools/pull/100) [`0a9eae4`](https://github.com/vercel-labs/github-tools/commit/0a9eae4df8c431faa63aadad18112149aabab6f9) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Apply built-in eve `toModelOutput` formatters through an inline callback that only closes over the tool name. On eve 0.44.x this keeps tools like `getFileContent` from failing durable-descriptor validation and dropping the whole GitHub toolset. + +- Updated dependencies [[`2edd9ea`](https://github.com/vercel-labs/github-tools/commit/2edd9ea9372c707808d2246965dfb57f8c8e08a1), [`0a9eae4`](https://github.com/vercel-labs/github-tools/commit/0a9eae4df8c431faa63aadad18112149aabab6f9), [`5bbcab1`](https://github.com/vercel-labs/github-tools/commit/5bbcab1e45ce86b8a2edd06a2d5a025ad8d255c5), [`584817c`](https://github.com/vercel-labs/github-tools/commit/584817c310adc11acb92a101e677d2343faf9c92), [`ade87da`](https://github.com/vercel-labs/github-tools/commit/ade87da57d9a9de4994ed2848244a9404f5c369e)]: + - @github-tools/sdk@1.12.0 + ## 0.3.2 ### Patch Changes diff --git a/packages/github-tools-eve-extension/package.json b/packages/github-tools-eve-extension/package.json index 1267a5b..aeb3860 100644 --- a/packages/github-tools-eve-extension/package.json +++ b/packages/github-tools-eve-extension/package.json @@ -1,6 +1,6 @@ { "name": "@github-tools/eve-extension", - "version": "0.3.2", + "version": "0.4.0", "description": "GitHub tools for eve, distributed as a mountable eve extension (https://eve.dev/docs/extensions)", "author": "HugoRCD ", "repository": { diff --git a/packages/github-tools/CHANGELOG.md b/packages/github-tools/CHANGELOG.md index 36cf0fb..b98183a 100644 --- a/packages/github-tools/CHANGELOG.md +++ b/packages/github-tools/CHANGELOG.md @@ -1,5 +1,21 @@ # @github-tools/sdk +## 1.12.0 + +### Minor Changes + +- [#106](https://github.com/vercel-labs/github-tools/pull/106) [`584817c`](https://github.com/vercel-labs/github-tools/commit/584817c310adc11acb92a101e677d2343faf9c92) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Object-shaped tool results now include `rateLimit` (`remaining`, `limit`, `reset`, `resource`) from the last GitHub response. The field is stripped before the model sees the output. Array-shaped list tools are unchanged. 403/429 errors include remaining/reset in the message. + +### Patch Changes + +- [#107](https://github.com/vercel-labs/github-tools/pull/107) [`2edd9ea`](https://github.com/vercel-labs/github-tools/commit/2edd9ea9372c707808d2246965dfb57f8c8e08a1) Thanks [@HugoRCD](https://github.com/HugoRCD)! - `connectGithubToken` now passes `VERCEL_OIDC_TOKEN` to Connect as `vercelToken` so local eve/workflow steps do not fail looking for a `.vercel` project root. + +- [#100](https://github.com/vercel-labs/github-tools/pull/100) [`0a9eae4`](https://github.com/vercel-labs/github-tools/commit/0a9eae4df8c431faa63aadad18112149aabab6f9) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Apply built-in eve `toModelOutput` formatters through an inline callback that only closes over the tool name. On eve 0.44.x this keeps tools like `getFileContent` from failing durable-descriptor validation and dropping the whole GitHub toolset. + +- [#108](https://github.com/vercel-labs/github-tools/pull/108) [`5bbcab1`](https://github.com/vercel-labs/github-tools/commit/5bbcab1e45ce86b8a2edd06a2d5a025ad8d255c5) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Eve GitHub tool execute now returns `{ error }` on failure instead of throwing, so the model always gets a `tool_result` and the turn does not die with `MODEL_CALL_FAILED`. + +- [#101](https://github.com/vercel-labs/github-tools/pull/101) [`ade87da`](https://github.com/vercel-labs/github-tools/commit/ade87da57d9a9de4994ed2848244a9404f5c369e) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Skip the REST update when `updatePullRequest` is called with only `draft`. Octokit was sending an empty PATCH body (`''`), which GitHub rejects with 400 before the GraphQL draft mutation could run. + ## 1.11.1 ### Patch Changes diff --git a/packages/github-tools/package.json b/packages/github-tools/package.json index 0741ceb..da57aa2 100644 --- a/packages/github-tools/package.json +++ b/packages/github-tools/package.json @@ -1,6 +1,6 @@ { "name": "@github-tools/sdk", - "version": "1.11.1", + "version": "1.12.0", "description": "A typed tool layer for GitHub AI agents, with presets, human approval, and durable execution. Works with eve, the AI SDK, Vercel Workflow, and Chat SDK", "author": "HugoRCD