From 47e21fc3fd445663fee7043011343e0e7b588089 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2026 11:24:17 +0000 Subject: [PATCH] chore: version packages --- .changeset/eve-attribution.md | 23 ---------- .changeset/failed-calls-settle-as-failed.md | 21 --------- .../github-tools-eve-extension/CHANGELOG.md | 44 +++++++++++++++++++ .../github-tools-eve-extension/package.json | 2 +- packages/github-tools/CHANGELOG.md | 42 ++++++++++++++++++ packages/github-tools/package.json | 2 +- 6 files changed, 88 insertions(+), 46 deletions(-) delete mode 100644 .changeset/eve-attribution.md delete mode 100644 .changeset/failed-calls-settle-as-failed.md diff --git a/.changeset/eve-attribution.md b/.changeset/eve-attribution.md deleted file mode 100644 index 4c427196..00000000 --- a/.changeset/eve-attribution.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@github-tools/eve-extension': minor -'@github-tools/sdk': minor ---- - -Credit the GitHub App on pull requests and commits that run with a person's token. - -With `actAs: 'user'`, or `'caller'` and a signed-in user, GitHub records the person as the author of what the agent writes. The extension now credits the App by default: - -- `createPullRequest` ends the body with `Generated by [](https://github.com/apps/).` -- `createOrUpdateFile`, `editFiles`, `mergePullRequest` and `enablePullRequestAutoMerge` add the App's bot account to `coAuthors`, as `Co-authored-by: [bot] [bot]@users.noreply.github.com>`. - -The App is read from the person's token, so the connector must be backed by a GitHub App. Calls that run as the App add nothing. Turn it off or pick one credit with `attribution`: - -```ts -export default githubExtension({ - connector: 'github/my-connector', - actAs: 'caller', - attribution: false, // or { footer: true, coAuthor: false } -}) -``` - -`@github-tools/sdk/eve-runtime` exports the pieces: `githubAppBot(token)` reads the App behind a user token, `githubAppBotIdentity(bot)` returns its commit identity, `withGithubAppFooter(body, bot)` adds the footer, and `GITHUB_COMMIT_TOOLS` lists the tools that take `coAuthors`. A user token that GitHub lists no installation to fails with `github_tools.APP_BOT_UNKNOWN`. diff --git a/.changeset/failed-calls-settle-as-failed.md b/.changeset/failed-calls-settle-as-failed.md deleted file mode 100644 index 481f8654..00000000 --- a/.changeset/failed-calls-settle-as-failed.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@github-tools/eve-extension': patch -'@github-tools/sdk': patch ---- - -Report a failed GitHub call as failed in eve. - -A tool whose GitHub request failed used to return `{ error }`, so eve recorded the call as `completed`. The tool now throws, and `call.settled` reports `outcome: 'failed'`. For an error from the [catalog](https://github-tools.com/errors), its `error.code` is the catalog code, such as `github_tools.NOT_FOUND`. - -What changes for an agent: - -- **Evals.** An eval that uses `noFailedCalls()` can start failing where it passed, and a failed tool call's `status` is `failed` where it was `completed`. -- **Hooks and instrumentation.** Code that reads `call.settled` sees the failure without parsing the output. The output is the error's message as a string, where it was `{ error }`. -- **The model.** It still gets a tool result for the call, marked as an error. The text is `Error: ` followed by the same `{ code, message, why, fix, link }` as JSON, without the `{ error }` wrapper. For an error outside the catalog, it is the error's name and message. -- **Labels.** A failed write keeps its start label, such as "Create issue on owner/repo". The "Couldn't create issue on owner/repo" label is gone, because eve doesn't run `label.complete` for a failed call. -- **`toModelOutput` overrides.** eve doesn't run `toModelOutput` for a failed call, so an override no longer receives `{ error }`. -- **Logs.** eve logs each failed call as `tool execution failed`, with the error and, for a catalog error, a `cause` that holds its code and HTTP status. The thrown error holds nothing from the GitHub request, so the log has no URL, headers, or body. - -A write that `guardrails` block throws too. `getBlame`, `listDiscussions`, `getDiscussion`, `addDiscussionComment`, `listPullRequestReviewThreads`, and `resolveReviewThread` returned `{ error }` when GitHub had no such repository, discussion, or thread, and now throw in eve with that message. A `dryRun` write still returns its result. - -`executeGithubEveTool` from `@github-tools/sdk/eve-runtime` and the tools from the deprecated `@github-tools/sdk/eve` throw the same way. The AI SDK, TanStack, and Workflow tools are unchanged. diff --git a/packages/github-tools-eve-extension/CHANGELOG.md b/packages/github-tools-eve-extension/CHANGELOG.md index d2ae8f81..64f958a6 100644 --- a/packages/github-tools-eve-extension/CHANGELOG.md +++ b/packages/github-tools-eve-extension/CHANGELOG.md @@ -1,5 +1,49 @@ # @github-tools/eve-extension +## 0.14.0 + +### Minor Changes + +- [#270](https://github.com/vercel-labs/github-tools/pull/270) [`052eda9`](https://github.com/vercel-labs/github-tools/commit/052eda9901e4231eaa57068eef576d8604e8e7f4) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Credit the GitHub App on pull requests and commits that run with a person's token. + + With `actAs: 'user'`, or `'caller'` and a signed-in user, GitHub records the person as the author of what the agent writes. The extension now credits the App by default: + + - `createPullRequest` ends the body with `Generated by [](https://github.com/apps/).` + - `createOrUpdateFile`, `editFiles`, `mergePullRequest` and `enablePullRequestAutoMerge` add the App's bot account to `coAuthors`, as `Co-authored-by: [bot] [bot]@users.noreply.github.com>`. + + The App is read from the person's token, so the connector must be backed by a GitHub App. Calls that run as the App add nothing. Turn it off or pick one credit with `attribution`: + + ```ts + export default githubExtension({ + connector: 'github/my-connector', + actAs: 'caller', + attribution: false, // or { footer: true, coAuthor: false } + }) + ``` + + `@github-tools/sdk/eve-runtime` exports the pieces: `githubAppBot(token)` reads the App behind a user token, `githubAppBotIdentity(bot)` returns its commit identity, `withGithubAppFooter(body, bot)` adds the footer, and `GITHUB_COMMIT_TOOLS` lists the tools that take `coAuthors`. A user token that GitHub lists no installation to fails with `github_tools.APP_BOT_UNKNOWN`. + +### Patch Changes + +- [#253](https://github.com/vercel-labs/github-tools/pull/253) [`0d813ba`](https://github.com/vercel-labs/github-tools/commit/0d813bab14a3a7ec6ad28aded643496cdfe21d39) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Report a failed GitHub call as failed in eve. + + A tool whose GitHub request failed used to return `{ error }`, so eve recorded the call as `completed`. The tool now throws, and `call.settled` reports `outcome: 'failed'`. For an error from the [catalog](https://github-tools.com/errors), its `error.code` is the catalog code, such as `github_tools.NOT_FOUND`. + + What changes for an agent: + + - **Evals.** An eval that uses `noFailedCalls()` can start failing where it passed, and a failed tool call's `status` is `failed` where it was `completed`. + - **Hooks and instrumentation.** Code that reads `call.settled` sees the failure without parsing the output. The output is the error's message as a string, where it was `{ error }`. + - **The model.** It still gets a tool result for the call, marked as an error. The text is `Error: ` followed by the same `{ code, message, why, fix, link }` as JSON, without the `{ error }` wrapper. For an error outside the catalog, it is the error's name and message. + - **Labels.** A failed write keeps its start label, such as "Create issue on owner/repo". The "Couldn't create issue on owner/repo" label is gone, because eve doesn't run `label.complete` for a failed call. + - **`toModelOutput` overrides.** eve doesn't run `toModelOutput` for a failed call, so an override no longer receives `{ error }`. + - **Logs.** eve logs each failed call as `tool execution failed`, with the error and, for a catalog error, a `cause` that holds its code and HTTP status. The thrown error holds nothing from the GitHub request, so the log has no URL, headers, or body. + + A write that `guardrails` block throws too. `getBlame`, `listDiscussions`, `getDiscussion`, `addDiscussionComment`, `listPullRequestReviewThreads`, and `resolveReviewThread` returned `{ error }` when GitHub had no such repository, discussion, or thread, and now throw in eve with that message. A `dryRun` write still returns its result. + + `executeGithubEveTool` from `@github-tools/sdk/eve-runtime` and the tools from the deprecated `@github-tools/sdk/eve` throw the same way. The AI SDK, TanStack, and Workflow tools are unchanged. +- Updated dependencies [[`052eda9`](https://github.com/vercel-labs/github-tools/commit/052eda9901e4231eaa57068eef576d8604e8e7f4), [`0d813ba`](https://github.com/vercel-labs/github-tools/commit/0d813bab14a3a7ec6ad28aded643496cdfe21d39)]: + - @github-tools/sdk@1.23.0 + ## 0.13.0 ### Minor Changes diff --git a/packages/github-tools-eve-extension/package.json b/packages/github-tools-eve-extension/package.json index 0a3d5ecb..27943fcd 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.13.0", + "version": "0.14.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 85e692bd..9ec42c35 100644 --- a/packages/github-tools/CHANGELOG.md +++ b/packages/github-tools/CHANGELOG.md @@ -1,5 +1,47 @@ # @github-tools/sdk +## 1.23.0 + +### Minor Changes + +- [#270](https://github.com/vercel-labs/github-tools/pull/270) [`052eda9`](https://github.com/vercel-labs/github-tools/commit/052eda9901e4231eaa57068eef576d8604e8e7f4) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Credit the GitHub App on pull requests and commits that run with a person's token. + + With `actAs: 'user'`, or `'caller'` and a signed-in user, GitHub records the person as the author of what the agent writes. The extension now credits the App by default: + + - `createPullRequest` ends the body with `Generated by [](https://github.com/apps/).` + - `createOrUpdateFile`, `editFiles`, `mergePullRequest` and `enablePullRequestAutoMerge` add the App's bot account to `coAuthors`, as `Co-authored-by: [bot] [bot]@users.noreply.github.com>`. + + The App is read from the person's token, so the connector must be backed by a GitHub App. Calls that run as the App add nothing. Turn it off or pick one credit with `attribution`: + + ```ts + export default githubExtension({ + connector: 'github/my-connector', + actAs: 'caller', + attribution: false, // or { footer: true, coAuthor: false } + }) + ``` + + `@github-tools/sdk/eve-runtime` exports the pieces: `githubAppBot(token)` reads the App behind a user token, `githubAppBotIdentity(bot)` returns its commit identity, `withGithubAppFooter(body, bot)` adds the footer, and `GITHUB_COMMIT_TOOLS` lists the tools that take `coAuthors`. A user token that GitHub lists no installation to fails with `github_tools.APP_BOT_UNKNOWN`. + +### Patch Changes + +- [#253](https://github.com/vercel-labs/github-tools/pull/253) [`0d813ba`](https://github.com/vercel-labs/github-tools/commit/0d813bab14a3a7ec6ad28aded643496cdfe21d39) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Report a failed GitHub call as failed in eve. + + A tool whose GitHub request failed used to return `{ error }`, so eve recorded the call as `completed`. The tool now throws, and `call.settled` reports `outcome: 'failed'`. For an error from the [catalog](https://github-tools.com/errors), its `error.code` is the catalog code, such as `github_tools.NOT_FOUND`. + + What changes for an agent: + + - **Evals.** An eval that uses `noFailedCalls()` can start failing where it passed, and a failed tool call's `status` is `failed` where it was `completed`. + - **Hooks and instrumentation.** Code that reads `call.settled` sees the failure without parsing the output. The output is the error's message as a string, where it was `{ error }`. + - **The model.** It still gets a tool result for the call, marked as an error. The text is `Error: ` followed by the same `{ code, message, why, fix, link }` as JSON, without the `{ error }` wrapper. For an error outside the catalog, it is the error's name and message. + - **Labels.** A failed write keeps its start label, such as "Create issue on owner/repo". The "Couldn't create issue on owner/repo" label is gone, because eve doesn't run `label.complete` for a failed call. + - **`toModelOutput` overrides.** eve doesn't run `toModelOutput` for a failed call, so an override no longer receives `{ error }`. + - **Logs.** eve logs each failed call as `tool execution failed`, with the error and, for a catalog error, a `cause` that holds its code and HTTP status. The thrown error holds nothing from the GitHub request, so the log has no URL, headers, or body. + + A write that `guardrails` block throws too. `getBlame`, `listDiscussions`, `getDiscussion`, `addDiscussionComment`, `listPullRequestReviewThreads`, and `resolveReviewThread` returned `{ error }` when GitHub had no such repository, discussion, or thread, and now throw in eve with that message. A `dryRun` write still returns its result. + + `executeGithubEveTool` from `@github-tools/sdk/eve-runtime` and the tools from the deprecated `@github-tools/sdk/eve` throw the same way. The AI SDK, TanStack, and Workflow tools are unchanged. + ## 1.22.0 ### Minor Changes diff --git a/packages/github-tools/package.json b/packages/github-tools/package.json index 8bc26aff..216093c3 100644 --- a/packages/github-tools/package.json +++ b/packages/github-tools/package.json @@ -1,6 +1,6 @@ { "name": "@github-tools/sdk", - "version": "1.22.0", + "version": "1.23.0", "description": "A typed tool layer for GitHub AI agents, with presets, human approval, and durable execution. Works with eve, the AI SDK, TanStack AI, Vercel Workflow, and Chat SDK", "author": "HugoRCD ", "repository": {