From dffe7b607caf3511ad289865c1fd0d8443152f59 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 14:56:05 +0000 Subject: [PATCH] chore: version packages --- .changeset/eve-attribution-edit-files.md | 26 ---------------- .../github-tools-eve-extension/CHANGELOG.md | 31 +++++++++++++++++++ .../github-tools-eve-extension/package.json | 2 +- packages/github-tools/CHANGELOG.md | 26 ++++++++++++++++ packages/github-tools/package.json | 2 +- 5 files changed, 59 insertions(+), 28 deletions(-) delete mode 100644 .changeset/eve-attribution-edit-files.md diff --git a/.changeset/eve-attribution-edit-files.md b/.changeset/eve-attribution-edit-files.md deleted file mode 100644 index 7033ff93..00000000 --- a/.changeset/eve-attribution-edit-files.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@github-tools/eve-extension': minor -'@github-tools/sdk': minor ---- - -Add the attribution footer to pull requests that `editFiles` opens, and let `attribution.footer` take a template. - -With `attribution` on, a call that ran with a person's token added the footer only to `createPullRequest`. A pull request opened by `editFiles` with `pullRequest` got no footer, even though its description tells the model to prefer it over `createPullRequest`. It now gets the footer too. - -The default footer now names the App by its display name, the person, and where they asked from: - -> Generated by [Evi](https://github.com/apps/evlogai) for @HugoRCD from a [Slack thread](https://app.slack.com/client/…). - -It was `Generated by [evlogai](https://github.com/apps/evlogai).`. Naming the person costs one `GET /user` call per pull request. - -`attribution.footer` also accepts a template whose tokens the extension fills from each call: `{app}` (the App as a link), `{app.name}` (its display name), `{requester}` (`@`), `{channel}` (such as `Slack` or `Linear`) and `{origin}` (a link to the Slack thread, the Linear issue by name, or the channel's name). An unknown token fails when the extension mounts. A function that gets the App and returns the line also works. - -```ts -export default githubExtension({ - connector: 'github/my-connector', - actAs: 'caller', - attribution: { footer: 'Opened by {app.name} in {channel} for {requester}.' }, -}) -``` - -`@github-tools/sdk/eve-runtime` exports `fillGithubFooter`, `githubFooterTokens`, `githubAppFooterValues`, `githubChannelFooterValues`, `githubLogin`, `GITHUB_FOOTER_TOKENS` and `DEFAULT_GITHUB_FOOTER`, `GithubAppBot` gains an optional `name`, which footers show in place of the slug when it is set, and `withGithubAppFooter(body, bot, footer?)` takes the filled line as an optional third argument. diff --git a/packages/github-tools-eve-extension/CHANGELOG.md b/packages/github-tools-eve-extension/CHANGELOG.md index 64f958a6..883ffec7 100644 --- a/packages/github-tools-eve-extension/CHANGELOG.md +++ b/packages/github-tools-eve-extension/CHANGELOG.md @@ -1,5 +1,36 @@ # @github-tools/eve-extension +## 0.15.0 + +### Minor Changes + +- [#274](https://github.com/vercel-labs/github-tools/pull/274) [`cdc83c7`](https://github.com/vercel-labs/github-tools/commit/cdc83c79480a6cd5e8b4f128f81193a2c9ca9abf) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Add the attribution footer to pull requests that `editFiles` opens, and let `attribution.footer` take a template. + + With `attribution` on, a call that ran with a person's token added the footer only to `createPullRequest`. A pull request opened by `editFiles` with `pullRequest` got no footer, even though its description tells the model to prefer it over `createPullRequest`. It now gets the footer too. + + The default footer now names the App by its display name, the person, and where they asked from: + + > Generated by [Evi](https://github.com/apps/evlogai) for @HugoRCD from a [Slack thread](https://app.slack.com/client/…). + + It was `Generated by [evlogai](https://github.com/apps/evlogai).`. Naming the person costs one `GET /user` call per pull request. + + `attribution.footer` also accepts a template whose tokens the extension fills from each call: `{app}` (the App as a link), `{app.name}` (its display name), `{requester}` (`@`), `{channel}` (such as `Slack` or `Linear`) and `{origin}` (a link to the Slack thread, the Linear issue by name, or the channel's name). An unknown token fails when the extension mounts. A function that gets the App and returns the line also works. + + ```ts + export default githubExtension({ + connector: 'github/my-connector', + actAs: 'caller', + attribution: { footer: 'Opened by {app.name} in {channel} for {requester}.' }, + }) + ``` + + `@github-tools/sdk/eve-runtime` exports `fillGithubFooter`, `githubFooterTokens`, `githubAppFooterValues`, `githubChannelFooterValues`, `githubLogin`, `GITHUB_FOOTER_TOKENS` and `DEFAULT_GITHUB_FOOTER`, `GithubAppBot` gains an optional `name`, which footers show in place of the slug when it is set, and `withGithubAppFooter(body, bot, footer?)` takes the filled line as an optional third argument. + +### Patch Changes + +- Updated dependencies [[`cdc83c7`](https://github.com/vercel-labs/github-tools/commit/cdc83c79480a6cd5e8b4f128f81193a2c9ca9abf)]: + - @github-tools/sdk@1.24.0 + ## 0.14.0 ### Minor Changes diff --git a/packages/github-tools-eve-extension/package.json b/packages/github-tools-eve-extension/package.json index 27943fcd..f5b6e231 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.14.0", + "version": "0.15.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 9ec42c35..c451fe69 100644 --- a/packages/github-tools/CHANGELOG.md +++ b/packages/github-tools/CHANGELOG.md @@ -1,5 +1,31 @@ # @github-tools/sdk +## 1.24.0 + +### Minor Changes + +- [#274](https://github.com/vercel-labs/github-tools/pull/274) [`cdc83c7`](https://github.com/vercel-labs/github-tools/commit/cdc83c79480a6cd5e8b4f128f81193a2c9ca9abf) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Add the attribution footer to pull requests that `editFiles` opens, and let `attribution.footer` take a template. + + With `attribution` on, a call that ran with a person's token added the footer only to `createPullRequest`. A pull request opened by `editFiles` with `pullRequest` got no footer, even though its description tells the model to prefer it over `createPullRequest`. It now gets the footer too. + + The default footer now names the App by its display name, the person, and where they asked from: + + > Generated by [Evi](https://github.com/apps/evlogai) for @HugoRCD from a [Slack thread](https://app.slack.com/client/…). + + It was `Generated by [evlogai](https://github.com/apps/evlogai).`. Naming the person costs one `GET /user` call per pull request. + + `attribution.footer` also accepts a template whose tokens the extension fills from each call: `{app}` (the App as a link), `{app.name}` (its display name), `{requester}` (`@`), `{channel}` (such as `Slack` or `Linear`) and `{origin}` (a link to the Slack thread, the Linear issue by name, or the channel's name). An unknown token fails when the extension mounts. A function that gets the App and returns the line also works. + + ```ts + export default githubExtension({ + connector: 'github/my-connector', + actAs: 'caller', + attribution: { footer: 'Opened by {app.name} in {channel} for {requester}.' }, + }) + ``` + + `@github-tools/sdk/eve-runtime` exports `fillGithubFooter`, `githubFooterTokens`, `githubAppFooterValues`, `githubChannelFooterValues`, `githubLogin`, `GITHUB_FOOTER_TOKENS` and `DEFAULT_GITHUB_FOOTER`, `GithubAppBot` gains an optional `name`, which footers show in place of the slug when it is set, and `withGithubAppFooter(body, bot, footer?)` takes the filled line as an optional third argument. + ## 1.23.0 ### Minor Changes diff --git a/packages/github-tools/package.json b/packages/github-tools/package.json index 216093c3..431a7307 100644 --- a/packages/github-tools/package.json +++ b/packages/github-tools/package.json @@ -1,6 +1,6 @@ { "name": "@github-tools/sdk", - "version": "1.23.0", + "version": "1.24.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": {