diff --git a/.changeset/ci-logs-review-threads-delete-branch.md b/.changeset/ci-logs-review-threads-delete-branch.md deleted file mode 100644 index 90f7170..0000000 --- a/.changeset/ci-logs-review-threads-delete-branch.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@github-tools/sdk": minor -"@github-tools/eve-extension": minor ---- - -Add five tools (84 total): `getWorkflowJobLogs` reads a workflow job's log output, returning the last `maxLines` lines (default 200, max 2000) with per-line timestamps stripped to keep token usage low. `listPullRequestReviewThreads` lists PR review threads via GraphQL with resolution state and the IDs needed to reply or resolve — unresolved threads only and truncated comment bodies by default (`status: 'all'`, `detail: 'full'` to override). `replyToReviewComment` and `resolveReviewThread` answer and close review threads, and `deleteBranch` deletes a branch — all three are write tools requiring approval by default. Presets updated: `ci-ops`, `security-audit`, and `repo-explorer` gain job logs; `code-review` and `pr-author` gain the review-thread tools; `pr-author` also gains `deleteBranch`. diff --git a/.changeset/durable-approval-property.md b/.changeset/durable-approval-property.md deleted file mode 100644 index 13afa4d..0000000 --- a/.changeset/durable-approval-property.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/eve-extension': patch ---- - -Register `approval` as a direct `defineTool` property so eve 0.44+ can stamp a durable `approvalRequest` descriptor. Write tools no longer cause the resolver to discard the whole GitHub toolset. Requires `eve` `>=0.44.0`. diff --git a/.changeset/eve-approval-configuration.md b/.changeset/eve-approval-configuration.md deleted file mode 100644 index 0e35ef8..0000000 --- a/.changeset/eve-approval-configuration.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/sdk': patch ---- - -Object-shaped eve `ApprovalConfiguration` values (`{ request, response }`) passed via `requireApproval` or `overrides.approval` are now honored instead of being silently replaced by `always()`. Configurations pass through to `defineTool` unchanged so a `response` authorizer survives. Also declares the tested eve peer range (`>=0.44.0 <0.48.0` instead of `>=0.19.0`) and deprecates `MISSING_EVE_MESSAGE`, which has not been thrown since eve moved to static imports. diff --git a/.changeset/eve-extension-config-validation.md b/.changeset/eve-extension-config-validation.md deleted file mode 100644 index fe85851..0000000 --- a/.changeset/eve-extension-config-validation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@github-tools/eve-extension': patch ---- - -Validate `requireApproval` and `overrides` keys against the GitHub tool catalog at mount time — a mistyped tool name now fails config validation instead of being silently ignored. The eve peer range is bounded to the tested versions (`>=0.44.0 <0.48.0`). diff --git a/.changeset/tool-catalog-single-source.md b/.changeset/tool-catalog-single-source.md deleted file mode 100644 index 09e09a3..0000000 --- a/.changeset/tool-catalog-single-source.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@github-tools/sdk": patch ---- - -Internal refactor: introduce `GITHUB_TOOL_CATALOG` as the single source of truth for tool metadata. `GITHUB_TOOL_NAMES`, `GITHUB_WRITE_TOOLS`, `TOOL_CONNECT_SCOPES`, and the eve tool registry are now derived from it instead of being maintained as parallel hand-written registries. No public API changes. diff --git a/packages/github-tools-eve-extension/CHANGELOG.md b/packages/github-tools-eve-extension/CHANGELOG.md index 026e034..937b251 100644 --- a/packages/github-tools-eve-extension/CHANGELOG.md +++ b/packages/github-tools-eve-extension/CHANGELOG.md @@ -1,5 +1,20 @@ # @github-tools/eve-extension +## 0.5.0 + +### Minor Changes + +- [#115](https://github.com/vercel-labs/github-tools/pull/115) [`d5ea800`](https://github.com/vercel-labs/github-tools/commit/d5ea800436cd0f79a49378ccb5ec8873f5521a2e) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Add five tools (84 total): `getWorkflowJobLogs` reads a workflow job's log output, returning the last `maxLines` lines (default 200, max 2000) with per-line timestamps stripped to keep token usage low. `listPullRequestReviewThreads` lists PR review threads via GraphQL with resolution state and the IDs needed to reply or resolve — unresolved threads only and truncated comment bodies by default (`status: 'all'`, `detail: 'full'` to override). `replyToReviewComment` and `resolveReviewThread` answer and close review threads, and `deleteBranch` deletes a branch — all three are write tools requiring approval by default. Presets updated: `ci-ops`, `security-audit`, and `repo-explorer` gain job logs; `code-review` and `pr-author` gain the review-thread tools; `pr-author` also gains `deleteBranch`. + +### Patch Changes + +- [#112](https://github.com/vercel-labs/github-tools/pull/112) [`790f68d`](https://github.com/vercel-labs/github-tools/commit/790f68dd1d92285beb5a730541711aa91422feed) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Register `approval` as a direct `defineTool` property so eve 0.44+ can stamp a durable `approvalRequest` descriptor. Write tools no longer cause the resolver to discard the whole GitHub toolset. Requires `eve` `>=0.44.0`. + +- [#114](https://github.com/vercel-labs/github-tools/pull/114) [`09aeafb`](https://github.com/vercel-labs/github-tools/commit/09aeafb86c29db0cdfe4d616180f3720ad02a93b) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Validate `requireApproval` and `overrides` keys against the GitHub tool catalog at mount time — a mistyped tool name now fails config validation instead of being silently ignored. The eve peer range is bounded to the tested versions (`>=0.44.0 <0.48.0`). + +- Updated dependencies [[`d5ea800`](https://github.com/vercel-labs/github-tools/commit/d5ea800436cd0f79a49378ccb5ec8873f5521a2e), [`09aeafb`](https://github.com/vercel-labs/github-tools/commit/09aeafb86c29db0cdfe4d616180f3720ad02a93b), [`c38cb9b`](https://github.com/vercel-labs/github-tools/commit/c38cb9bbf5a84caa6b4fc06944683bbd2e403271)]: + - @github-tools/sdk@1.13.0 + ## 0.4.1 ### Patch Changes diff --git a/packages/github-tools-eve-extension/package.json b/packages/github-tools-eve-extension/package.json index b0f93fe..9aa1112 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.4.1", + "version": "0.5.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 b98183a..74b32f8 100644 --- a/packages/github-tools/CHANGELOG.md +++ b/packages/github-tools/CHANGELOG.md @@ -1,5 +1,17 @@ # @github-tools/sdk +## 1.13.0 + +### Minor Changes + +- [#115](https://github.com/vercel-labs/github-tools/pull/115) [`d5ea800`](https://github.com/vercel-labs/github-tools/commit/d5ea800436cd0f79a49378ccb5ec8873f5521a2e) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Add five tools (84 total): `getWorkflowJobLogs` reads a workflow job's log output, returning the last `maxLines` lines (default 200, max 2000) with per-line timestamps stripped to keep token usage low. `listPullRequestReviewThreads` lists PR review threads via GraphQL with resolution state and the IDs needed to reply or resolve — unresolved threads only and truncated comment bodies by default (`status: 'all'`, `detail: 'full'` to override). `replyToReviewComment` and `resolveReviewThread` answer and close review threads, and `deleteBranch` deletes a branch — all three are write tools requiring approval by default. Presets updated: `ci-ops`, `security-audit`, and `repo-explorer` gain job logs; `code-review` and `pr-author` gain the review-thread tools; `pr-author` also gains `deleteBranch`. + +### Patch Changes + +- [#114](https://github.com/vercel-labs/github-tools/pull/114) [`09aeafb`](https://github.com/vercel-labs/github-tools/commit/09aeafb86c29db0cdfe4d616180f3720ad02a93b) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Object-shaped eve `ApprovalConfiguration` values (`{ request, response }`) passed via `requireApproval` or `overrides.approval` are now honored instead of being silently replaced by `always()`. Configurations pass through to `defineTool` unchanged so a `response` authorizer survives. Also declares the tested eve peer range (`>=0.44.0 <0.48.0` instead of `>=0.19.0`) and deprecates `MISSING_EVE_MESSAGE`, which has not been thrown since eve moved to static imports. + +- [#116](https://github.com/vercel-labs/github-tools/pull/116) [`c38cb9b`](https://github.com/vercel-labs/github-tools/commit/c38cb9bbf5a84caa6b4fc06944683bbd2e403271) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Internal refactor: introduce `GITHUB_TOOL_CATALOG` as the single source of truth for tool metadata. `GITHUB_TOOL_NAMES`, `GITHUB_WRITE_TOOLS`, `TOOL_CONNECT_SCOPES`, and the eve tool registry are now derived from it instead of being maintained as parallel hand-written registries. No public API changes. + ## 1.12.0 ### Minor Changes diff --git a/packages/github-tools/package.json b/packages/github-tools/package.json index cc65734..f1a9984 100644 --- a/packages/github-tools/package.json +++ b/packages/github-tools/package.json @@ -1,6 +1,6 @@ { "name": "@github-tools/sdk", - "version": "1.12.0", + "version": "1.13.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