@github-tools/sdk 1.20.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +45 -12
  2. package/dist/{approval-policy--kByBqhT.mjs → approval-policy-CEMMPq92.mjs} +2 -2
  3. package/dist/{approval-policy--kByBqhT.mjs.map → approval-policy-CEMMPq92.mjs.map} +1 -1
  4. package/dist/connect/eve.d.mts +1 -1
  5. package/dist/connect/eve.mjs +1 -1
  6. package/dist/connect.d.mts +5 -5
  7. package/dist/connect.d.mts.map +1 -1
  8. package/dist/connect.mjs +2 -2
  9. package/dist/{cores-FLzAv2tu.mjs → cores-meFAMt2D.mjs} +20 -2
  10. package/dist/cores-meFAMt2D.mjs.map +1 -0
  11. package/dist/{tool-types-OFyE3z0C.d.mts → dry-run-DXckOam2.d.mts} +172 -18
  12. package/dist/dry-run-DXckOam2.d.mts.map +1 -0
  13. package/dist/{evaluation-BtoHbxuQ.mjs → evaluation-DJHINyAu.mjs} +2 -2
  14. package/dist/{evaluation-BtoHbxuQ.mjs.map → evaluation-DJHINyAu.mjs.map} +1 -1
  15. package/dist/{eve-runtime-CflZNuXD.d.mts → eve-runtime-B_CJE9JV.d.mts} +20 -6
  16. package/dist/eve-runtime-B_CJE9JV.d.mts.map +1 -0
  17. package/dist/{eve-runtime-C-0doyHq.mjs → eve-runtime-DPzMPCLt.mjs} +40 -12
  18. package/dist/eve-runtime-DPzMPCLt.mjs.map +1 -0
  19. package/dist/eve-runtime.d.mts +5 -5
  20. package/dist/eve-runtime.mjs +4 -4
  21. package/dist/eve.d.mts +45 -3
  22. package/dist/eve.d.mts.map +1 -1
  23. package/dist/eve.mjs +45 -3
  24. package/dist/eve.mjs.map +1 -1
  25. package/dist/{index-C3wlz660.d.mts → index-CzzrtCVj.d.mts} +32 -5
  26. package/dist/index-CzzrtCVj.d.mts.map +1 -0
  27. package/dist/index.d.mts +3 -3
  28. package/dist/index.mjs +4 -4
  29. package/dist/{src-DyiAVHKl.mjs → src-BlhrSieS.mjs} +166 -21
  30. package/dist/src-BlhrSieS.mjs.map +1 -0
  31. package/dist/tanstack.d.mts +533 -190
  32. package/dist/tanstack.d.mts.map +1 -1
  33. package/dist/tanstack.mjs +32 -11
  34. package/dist/tanstack.mjs.map +1 -1
  35. package/dist/{token-DIwB-wtp.mjs → token-BLps09gm.mjs} +3 -2
  36. package/dist/token-BLps09gm.mjs.map +1 -0
  37. package/dist/{types-CJqhvQwi.d.mts → types-Bln8U42J.d.mts} +3 -3
  38. package/dist/{types-CJqhvQwi.d.mts.map → types-Bln8U42J.d.mts.map} +1 -1
  39. package/dist/{types-ITYfXMtY.d.mts → types-C7O2lwwz.d.mts} +14 -2
  40. package/dist/{types-ITYfXMtY.d.mts.map → types-C7O2lwwz.d.mts.map} +1 -1
  41. package/dist/workflow.d.mts +9 -2
  42. package/dist/workflow.d.mts.map +1 -1
  43. package/dist/workflow.mjs +6 -4
  44. package/dist/workflow.mjs.map +1 -1
  45. package/dist/{write-tools-DnGZw-RD.mjs → write-tools-w-8tjnDQ.mjs} +440 -33
  46. package/dist/write-tools-w-8tjnDQ.mjs.map +1 -0
  47. package/package.json +1 -1
  48. package/dist/cores-FLzAv2tu.mjs.map +0 -1
  49. package/dist/eve-runtime-C-0doyHq.mjs.map +0 -1
  50. package/dist/eve-runtime-CflZNuXD.d.mts.map +0 -1
  51. package/dist/index-C3wlz660.d.mts.map +0 -1
  52. package/dist/src-DyiAVHKl.mjs.map +0 -1
  53. package/dist/token-DIwB-wtp.mjs.map +0 -1
  54. package/dist/tool-types-OFyE3z0C.d.mts.map +0 -1
  55. package/dist/write-tools-DnGZw-RD.mjs.map +0 -1
package/README.md CHANGED
@@ -34,7 +34,7 @@ They all reach the GitHub API, but none of them were built as an agent's tool la
34
34
  | Production agents that must survive restarts and timeouts | [Durable Agents](#durable-agents-vercel-workflow-sdk) |
35
35
  | A GitHub, Slack, or Discord bot | [Chat SDK docs](https://github-tools.com/frameworks/chat-sdk) |
36
36
 
37
- 91 tools cover repositories, branches, pull requests, issues, reactions, discussions, notifications, commits, releases, checks and statuses, search, gists, and workflows. See the full [Tools Catalog](https://github-tools.com/api/tools-catalog). Write operations support granular approval control out of the box.
37
+ 97 tools cover repositories, branches, pull requests, issues, reactions, discussions, notifications, commits, releases, checks and statuses, search, gists, and workflows. See the full [Tools Catalog](https://github-tools.com/api/tools-catalog). Write operations support granular approval control out of the box.
38
38
 
39
39
  ## Installation
40
40
 
@@ -103,16 +103,16 @@ createGithubTools({ token, preset: ['code-review', 'issue-triage'] })
103
103
 
104
104
  | Preset | Tools included |
105
105
  |---|---|
106
- | `code-review` | `getPullRequest`, `listPullRequests`, `listPullRequestFiles`, `listPullRequestReviews`, `listPullRequestReviewThreads`, `getPullRequestContext`, `getCommit`, `getBlame`, `compareCommits`, `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `listBranches`, `getBranchRules`, `listCheckRuns`, `getCombinedStatus`, `updatePullRequest`, `addPullRequestComment`, `updatePullRequestComment`, `deletePullRequestComment`, `createPullRequestReview`, `replyToReviewComment`, `resolveReviewThread`, `requestReviewers` |
107
- | `issue-triage` | `listIssues`, `getIssueContext`, `listIssueComments`, `createIssue`, `addIssueComment`, `updateIssueComment`, `deleteIssueComment`, `closeIssue`, `updateIssue`, `addLabels`, `removeLabel`, `createLabel`, `updateLabel`, `deleteLabel`, `addAssignees`, `removeAssignees`, `listIssueReactions`, `addIssueReaction`, `listCommentReactions`, `addCommentReaction`, `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `searchRepositories`, `searchIssues`, `getPullRequest` |
106
+ | `code-review` | `getPullRequest`, `listPullRequests`, `listPullRequestFiles`, `listPullRequestReviews`, `listPullRequestReviewThreads`, `getPullRequestContext`, `getCommit`, `getBlame`, `compareCommits`, `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `listBranches`, `getBranchRules`, `getCollaboratorPermission`, `listCheckRuns`, `getCombinedStatus`, `updatePullRequest`, `addPullRequestComment`, `updatePullRequestComment`, `deletePullRequestComment`, `createPullRequestReview`, `replyToReviewComment`, `resolveReviewThread`, `requestReviewers`, `createCommitStatus` |
107
+ | `issue-triage` | `listIssues`, `getIssueContext`, `listIssueComments`, `createIssue`, `addIssueComment`, `updateIssueComment`, `deleteIssueComment`, `closeIssue`, `updateIssue`, `addLabels`, `removeLabel`, `createLabel`, `updateLabel`, `deleteLabel`, `addAssignees`, `removeAssignees`, `listMilestones`, `listSubIssues`, `addSubIssue`, `listIssueReactions`, `addIssueReaction`, `listCommentReactions`, `addCommentReaction`, `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `searchRepositories`, `searchIssues`, `getPullRequest`, `getCollaboratorPermission` |
108
108
  | `repo-explorer` | All read-only tools including discussions, gists, workflows, checks/statuses, and releases (no write operations) |
109
- | `ci-ops` | `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `listBranches`, `getBranchRules`, `getCommit`, `getPullRequest`, `listWorkflows`, `listWorkflowRuns`, `getWorkflowRun`, `listWorkflowJobs`, `getWorkflowJobLogs`, `listCheckRuns`, `getCombinedStatus`, `getCiFailureContext`, `triggerWorkflow`, `cancelWorkflowRun`, `rerunWorkflowRun` |
109
+ | `ci-ops` | `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `listBranches`, `getBranchRules`, `getCommit`, `getPullRequest`, `listWorkflows`, `listWorkflowRuns`, `getWorkflowRun`, `listWorkflowJobs`, `getWorkflowJobLogs`, `listCheckRuns`, `getCombinedStatus`, `getCiFailureContext`, `triggerWorkflow`, `cancelWorkflowRun`, `rerunWorkflowRun`, `createCommitStatus` |
110
110
  | `security-audit` | Read-only exploration (`getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `getCommit`, `getBlame`, `compareCommits`), PR and CI visibility (including `getWorkflowJobLogs`), the repository's code scanning, Dependabot and secret scanning alerts, plus `createIssue`, `addIssueComment`, `addLabels` to report findings (no destructive writes) |
111
111
  | `release-manager` | `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `listBranches`, `getCommit`, `compareCommits`, `listReleases`, `getLatestRelease`, `getRelease`, `getReleaseContext`, `createRelease`, `updateRelease`, `deleteRelease`, `listWorkflows`, `listWorkflowRuns`, `getWorkflowRun`, `listWorkflowJobs`, `triggerWorkflow`, `getCombinedStatus`, `getCiFailureContext`, `listPullRequests`, `getPullRequest` |
112
112
  | `discussion-moderator` | `listDiscussions`, `getDiscussion`, `addDiscussionComment`, `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `searchIssues`, `getIssueContext`, `addIssueComment` |
113
113
  | `notification-inbox` | `listNotifications`, `markNotificationRead`, `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `getIssue`, `getIssueContext`, `getPullRequest`, `getDiscussion` (requires a Notifications PAT) |
114
- | `pr-author` | `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `listBranches`, `getBranchRules`, `createBranch`, `deleteBranch`, `createOrUpdateFile`, `editFiles`, `createPullRequest`, `updatePullRequest`, `listPullRequests`, `getPullRequest`, `listPullRequestFiles`, `listPullRequestReviewThreads`, `replyToReviewComment`, `resolveReviewThread`, `compareCommits`, `getCommit` |
115
- | `maintainer` | All 91 tools |
114
+ | `pr-author` | `getRepository`, `getFileContent`, `getRepositoryTree`, `searchCode`, `listCommits`, `listBranches`, `getBranchRules`, `getCollaboratorPermission`, `createBranch`, `deleteBranch`, `createOrUpdateFile`, `editFiles`, `createPullRequest`, `updatePullRequest`, `updatePullRequestBranch`, `listPullRequests`, `getPullRequest`, `listPullRequestFiles`, `listPullRequestReviewThreads`, `replyToReviewComment`, `resolveReviewThread`, `compareCommits`, `getCommit` |
115
+ | `maintainer` | All 97 tools |
116
116
 
117
117
  Start with the smallest preset that fits. Use `maintainer` or omit `preset` when you need the full catalog. Full breakdown: [Tools Catalog](https://github-tools.com/api/tools-catalog).
118
118
 
@@ -164,12 +164,36 @@ createGithubTools({
164
164
  })
165
165
  ```
166
166
 
167
- Write tools: `createBranch`, `deleteBranch`, `forkRepository`, `createRepository`, `createOrUpdateFile`, `editFiles`, `createPullRequest`, `mergePullRequest`, `enablePullRequestAutoMerge`, `disablePullRequestAutoMerge`, `updatePullRequest`, `addPullRequestComment`, `updatePullRequestComment`, `deletePullRequestComment`, `createPullRequestReview`, `replyToReviewComment`, `resolveReviewThread`, `requestReviewers`, `createIssue`, `addIssueComment`, `updateIssueComment`, `deleteIssueComment`, `closeIssue`, `updateIssue`, `addLabels`, `removeLabel`, `createLabel`, `updateLabel`, `deleteLabel`, `addAssignees`, `removeAssignees`, `addIssueReaction`, `addCommentReaction`, `addDiscussionComment`, `markNotificationRead`, `createGist`, `updateGist`, `deleteGist`, `createGistComment`, `triggerWorkflow`, `cancelWorkflowRun`, `rerunWorkflowRun`, `createRelease`, `updateRelease`, `deleteRelease`.
167
+ Write tools: `createBranch`, `deleteBranch`, `forkRepository`, `createRepository`, `createOrUpdateFile`, `editFiles`, `createPullRequest`, `mergePullRequest`, `enablePullRequestAutoMerge`, `disablePullRequestAutoMerge`, `updatePullRequest`, `updatePullRequestBranch`, `addPullRequestComment`, `updatePullRequestComment`, `deletePullRequestComment`, `createPullRequestReview`, `replyToReviewComment`, `resolveReviewThread`, `requestReviewers`, `createIssue`, `addIssueComment`, `updateIssueComment`, `deleteIssueComment`, `closeIssue`, `updateIssue`, `addLabels`, `removeLabel`, `createLabel`, `updateLabel`, `deleteLabel`, `addAssignees`, `removeAssignees`, `addSubIssue`, `addIssueReaction`, `addCommentReaction`, `addDiscussionComment`, `markNotificationRead`, `createGist`, `updateGist`, `deleteGist`, `createGistComment`, `triggerWorkflow`, `cancelWorkflowRun`, `rerunWorkflowRun`, `createCommitStatus`, `createRelease`, `updateRelease`, `deleteRelease`.
168
168
 
169
169
  All other tools are read-only and never require approval.
170
170
 
171
171
  With `'auto'`, a fast evaluation model checks each call to a low-risk write tool (`AUTO_APPROVAL_TOOLS`). It scores how costly the call would be if wrong, and whether the latest user message asked for it. The call runs without a prompt only when both checks pass. Other write tools keep requiring approval. Any tool can opt in per tool (`{ updateIssue: 'auto' }`). `'auto'` needs `ai` 7.0.105 or later and is not available on the durable agent. Tune it with `evaluation: { maxRisk, minIntent, model }`. The default model is TypeSafe's Jev.
172
172
 
173
+ ### Guardrails
174
+
175
+ Approval decides whether a call runs. `guardrails` decide where any call may act, whoever approves it:
176
+
177
+ ```ts
178
+ createGithubTools({
179
+ token,
180
+ guardrails: {
181
+ repositories: ['vercel-labs/*'], // 'owner/repo' or 'owner/*'; a call to any other repository fails
182
+ branches: ['agent/*'], // commits, branch creation and deletion, merges, and pull request branch updates must target a matching branch
183
+ },
184
+ })
185
+ ```
186
+
187
+ The checks run before any request reaches GitHub, and a blocked call fails with `github_tools.GUARDRAIL_BLOCKED` and a reason the model can act on. Even without `guardrails`, a call whose input contains what looks like a credential (a GitHub, npm, Slack, Stripe, Anthropic, OpenAI, Google or AWS key, or a private key) fails; set `guardrails: { secrets: 'allow' }` to turn that off. `createGithubAgent` denies a blocked write instead of asking for approval. Tools without a repository target (search, gists, notifications) aren't restricted. For tools built from individual factories, wrap the token with `withGithubGuardrails(token, guardrails)`. See [Guardrails](https://github-tools.com/guide/approval-control#guardrails).
188
+
189
+ ### Shadow mode
190
+
191
+ `dryRun: true` runs reads as usual, but no write reaches GitHub and nobody is asked to approve one. Each write goes through `guardrails`, then returns `{ dryRun: true, tool, input, approval, message }`, where `approval` says whether a person would have been asked. Use it to roll out a bot that runs on its own, test against real data, or compare models, before letting it write. It fits writes that stand on their own (labels, comments, reviews), not chains where a later step needs an earlier write's result. See [Shadow mode](https://github-tools.com/guide/approval-control#shadow-mode).
192
+
193
+ ### Text from GitHub
194
+
195
+ Tool results drop HTML comments and invisible Unicode characters from issue, pull request, comment, review, release and discussion bodies, since a rendered page hides them but a model reads them. The default agent prompts tell the model to treat GitHub text as data and act only on what the user asked. See [Text from GitHub](https://github-tools.com/guide/approval-control#text-from-github).
196
+
173
197
  ### Tool overrides
174
198
 
175
199
  The `overrides` option lets you customize any AI SDK [`tool()`](https://ai-sdk.dev/docs/ai-sdk-core/tools-and-tool-calling) property on a per-tool basis, keyed by tool name.
@@ -525,6 +549,7 @@ List tools return `{ items, hasMore, page, perPage, nextPage? }` (or add those f
525
549
  | `getRepository` | Get repository metadata (stars, language, default branch, …) |
526
550
  | `listBranches` | List branches (`hasMore` / `nextPage` when there are more) |
527
551
  | `getBranchRules` | List a branch's required checks, required reviews and other protection rules |
552
+ | `getCollaboratorPermission` | Get a user's permission and role on a repository, to check whether they may trigger the bot or approve an action |
528
553
  | `getFileContent` | Read a file or directory listing (prefer `startLine`/`endLine` or `maxLines` for large files) |
529
554
  | `getRepositoryTree` | List the file and directory structure at a given ref (prefer a `path` prefix over `recursive: true`) |
530
555
  | `createBranch` | Create a new branch from an existing branch or commit SHA |
@@ -549,6 +574,7 @@ List tools return `{ items, hasMore, page, perPage, nextPage? }` (or add those f
549
574
  | `enablePullRequestAutoMerge` | Merge a PR automatically once its required checks and reviews pass |
550
575
  | `disablePullRequestAutoMerge` | Cancel a pending auto-merge |
551
576
  | `updatePullRequest` | Update a PR's title, body, state, base branch, or draft status |
577
+ | `updatePullRequestBranch` | Bring a PR branch up to date by merging its base branch into it |
552
578
  | `addPullRequestComment` | Post a comment on a PR |
553
579
  | `updatePullRequestComment` | Edit the body of a PR comment |
554
580
  | `deletePullRequestComment` | Permanently delete a PR comment |
@@ -565,7 +591,7 @@ List tools return `{ items, hasMore, page, perPage, nextPage? }` (or add those f
565
591
  | `getIssue` | Get an issue's details (body truncated by default; set `detail: full` for complete text) |
566
592
  | `getIssueContext` | Fetch an issue plus label names and recent comments in one call |
567
593
  | `listIssueComments` | List comments on an issue (paginated; prefer `getIssueContext` for the first page) |
568
- | `createIssue` | Open a new issue |
594
+ | `createIssue` | Open a new issue, optionally in a milestone |
569
595
  | `addIssueComment` | Post a comment on an issue |
570
596
  | `updateIssueComment` | Edit the body of an issue comment |
571
597
  | `deleteIssueComment` | Permanently delete an issue comment |
@@ -579,6 +605,9 @@ List tools return `{ items, hasMore, page, perPage, nextPage? }` (or add those f
579
605
  | `deleteLabel` | Delete a label from a repository permanently |
580
606
  | `addAssignees` | Assign users to an issue or pull request |
581
607
  | `removeAssignees` | Remove assignees from an issue or pull request |
608
+ | `listMilestones` | List milestones with their due dates and open and closed issue counts |
609
+ | `listSubIssues` | List the sub-issues of an issue |
610
+ | `addSubIssue` | Add an existing issue as a sub-issue, from the same repository or another one with the same owner |
582
611
 
583
612
  ### Reactions
584
613
 
@@ -637,6 +666,7 @@ Pull request conversations share the issue numbering, so the issue-level tools w
637
666
  |---|---|
638
667
  | `listCheckRuns` | List check runs (Checks API: GitHub Actions and other CI providers) for a commit, branch, or tag |
639
668
  | `getCombinedStatus` | Get the combined commit status (Statuses API: legacy CI integrations) for a commit, branch, or tag |
669
+ | `createCommitStatus` | Report a result on a commit as a commit status; works with a PAT or a GitHub App, unlike check runs |
640
670
  | `getCiFailureContext` | Diagnose CI failures for a ref or one workflow run: failing checks, failed jobs and steps, and the end of each failed job's log, in one call |
641
671
 
642
672
  ### Releases
@@ -686,14 +716,14 @@ Create one at **GitHub → Settings → Developer settings → Personal access t
686
716
 
687
717
  | Permission | Level | Required for |
688
718
  |---|---|---|
689
- | **Metadata** | Read-only | Always required (auto-included) |
719
+ | **Metadata** | Read-only | Always required (auto-included); the only permission `getCollaboratorPermission` needs |
690
720
  | **Contents** | Read-only | `getRepository`, `listBranches`, `getBranchRules`, `getFileContent`, `getRepositoryTree`, `listCommits`, `getCommit`, `getBlame`, `compareCommits`, `listReleases`, `getLatestRelease`, `getRelease`, `getReleaseContext` |
691
721
  | **Contents** | Read and write | `createBranch`, `deleteBranch`, `createOrUpdateFile`, `editFiles`, `createRelease`, `updateRelease`, `deleteRelease` |
692
722
  | **Administration** | Read and write | `forkRepository`, `createRepository` |
693
723
  | **Pull requests** | Read-only | `listPullRequests`, `getPullRequest`, `listPullRequestFiles`, `listPullRequestReviews`, `listPullRequestReviewThreads`, `getPullRequestContext` |
694
- | **Pull requests** | Read and write | `createPullRequest`, `editFiles` (with `pullRequest`), `mergePullRequest`, `enablePullRequestAutoMerge`, `disablePullRequestAutoMerge`, `updatePullRequest`, `addPullRequestComment`, `updatePullRequestComment`, `deletePullRequestComment`, `createPullRequestReview`, `replyToReviewComment`, `resolveReviewThread`, `requestReviewers` |
695
- | **Issues** | Read-only | `listIssues`, `getIssue`, `getIssueContext`, `listIssueComments`, `listLabels`, `listIssueReactions`, `listCommentReactions` |
696
- | **Issues** | Read and write | `createIssue`, `addIssueComment`, `updateIssueComment`, `deleteIssueComment`, `closeIssue`, `updateIssue`, `addLabels`, `removeLabel`, `createLabel`, `updateLabel`, `deleteLabel`, `addAssignees`, `removeAssignees`, `addIssueReaction`, `addCommentReaction` |
724
+ | **Pull requests** | Read and write | `createPullRequest`, `editFiles` (with `pullRequest`), `mergePullRequest`, `enablePullRequestAutoMerge`, `disablePullRequestAutoMerge`, `updatePullRequest`, `updatePullRequestBranch`, `addPullRequestComment`, `updatePullRequestComment`, `deletePullRequestComment`, `createPullRequestReview`, `replyToReviewComment`, `resolveReviewThread`, `requestReviewers` |
725
+ | **Issues** | Read-only | `listIssues`, `getIssue`, `getIssueContext`, `listIssueComments`, `listLabels`, `listMilestones`, `listSubIssues`, `listIssueReactions`, `listCommentReactions` |
726
+ | **Issues** | Read and write | `createIssue`, `addIssueComment`, `updateIssueComment`, `deleteIssueComment`, `closeIssue`, `updateIssue`, `addLabels`, `removeLabel`, `createLabel`, `updateLabel`, `deleteLabel`, `addAssignees`, `removeAssignees`, `addSubIssue`, `addIssueReaction`, `addCommentReaction` |
697
727
  | **Discussions** | Read-only | `listDiscussions`, `getDiscussion` |
698
728
  | **Discussions** | Read and write | `addDiscussionComment` |
699
729
  | **Gists** | Read-only | `listGists`, `getGist`, `listGistComments` |
@@ -703,6 +733,7 @@ Create one at **GitHub → Settings → Developer settings → Personal access t
703
733
  | **Actions** | Read and write | `triggerWorkflow`, `cancelWorkflowRun`, `rerunWorkflowRun` |
704
734
  | **Checks** | Read-only | `listCheckRuns`, `getCiFailureContext` |
705
735
  | **Commit statuses** | Read-only | `getCombinedStatus`, `getCiFailureContext` |
736
+ | **Commit statuses** | Read and write | `createCommitStatus` |
706
737
  | **Code scanning alerts** | Read-only | `listCodeScanningAlerts` |
707
738
  | **Dependabot alerts** | Read-only | `listDependabotAlerts` |
708
739
  | **Secret scanning alerts** | Read-only | `listSecretScanningAlerts` |
@@ -729,6 +760,8 @@ type GithubToolsOptions = {
729
760
  requireApproval?: boolean | Partial<Record<GithubWriteToolName, boolean>>
730
761
  preset?: GithubToolPreset | GithubToolPreset[]
731
762
  context?: GithubToolsContext // default owner / repo / PR / issue / ref
763
+ guardrails?: { repositories?: string[], branches?: string[] } // where any call may act
764
+ dryRun?: boolean // shadow mode: reads run, writes don't reach GitHub or ask anyone
732
765
  }
733
766
 
734
767
  type GithubTokenInput = string | (() => Promise<string>)
@@ -1,4 +1,4 @@
1
- import { s as AUTO_APPROVAL_TOOLS } from "./write-tools-DnGZw-RD.mjs";
1
+ import { c as AUTO_APPROVAL_TOOLS } from "./write-tools-w-8tjnDQ.mjs";
2
2
  //#region src/core/approval-policy.ts
3
3
  const autoApprovalTools = new Set(AUTO_APPROVAL_TOOLS);
4
4
  /**
@@ -14,4 +14,4 @@ function resolveApprovalMode(toolName, config) {
14
14
  //#endregion
15
15
  export { resolveApprovalMode as t };
16
16
 
17
- //# sourceMappingURL=approval-policy--kByBqhT.mjs.map
17
+ //# sourceMappingURL=approval-policy-CEMMPq92.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"approval-policy--kByBqhT.mjs","names":[],"sources":["../src/core/approval-policy.ts"],"sourcesContent":["import { AUTO_APPROVAL_TOOLS } from './evaluation-policy'\nimport type { GithubWriteToolName } from './write-tools'\n\n/**\n * Approval for a single write tool.\n *\n * - `true` — always ask the user\n * - `false` — never ask\n * - `'auto'` — ask only when an evaluation model (Jev by default) rates the call risky\n * or not asked for by the latest user message. AI SDK evaluation needs `ai` 7.0.105 or later.\n */\nexport type ToolApprovalMode = boolean | 'auto'\n\n/**\n * Whether write operations require user approval.\n *\n * - `true` — all write tools need approval (default)\n * - `false` — no approval needed for any write tool\n * - `'auto'` — low-risk write tools ({@link AUTO_APPROVAL_TOOLS}) are evaluated per call;\n * every other write tool needs approval\n * - object — per-tool {@link ToolApprovalMode} via {@link GithubWriteToolName}; unspecified write tools default to `true`\n *\n * @example Global disable\n * ```ts\n * createGithubTools({ token, requireApproval: false })\n * ```\n *\n * @example Auto approval for low-risk writes\n * ```ts\n * createGithubTools({ token, requireApproval: 'auto' })\n * ```\n *\n * @example Granular per write tool\n * ```ts\n * createGithubTools({\n * token,\n * requireApproval: {\n * mergePullRequest: true,\n * createOrUpdateFile: true,\n * addPullRequestComment: 'auto',\n * },\n * })\n * ```\n */\nexport type ApprovalConfig = ToolApprovalMode | Partial<Record<GithubWriteToolName, ToolApprovalMode>>\n\n/** {@link ApprovalConfig} without `'auto'`, for runtimes that cannot run the evaluation model. */\nexport type StaticApprovalConfig = boolean | Partial<Record<GithubWriteToolName, boolean>>\n\nconst autoApprovalTools: ReadonlySet<string> = new Set(AUTO_APPROVAL_TOOLS)\n\n/**\n * Resolve a write tool's approval mode from global or per-tool config.\n *\n * @returns `'auto'` only for tools that opt into evaluation; defaults to `true` for unspecified tools in object mode.\n */\nexport function resolveApprovalMode(toolName: GithubWriteToolName, config: ApprovalConfig): ToolApprovalMode {\n if (config === 'auto') return autoApprovalTools.has(toolName) ? 'auto' : true\n if (typeof config === 'boolean') return config\n return config[toolName] ?? true\n}\n"],"mappings":";;AAiDA,MAAM,oBAAyC,IAAI,IAAI,mBAAmB;;;;;;AAO1E,SAAgB,oBAAoB,UAA+B,QAA0C;CAC3G,IAAI,WAAW,QAAQ,OAAO,kBAAkB,IAAI,QAAQ,IAAI,SAAS;CACzE,IAAI,OAAO,WAAW,WAAW,OAAO;CACxC,OAAO,OAAO,aAAa;AAC7B"}
1
+ {"version":3,"file":"approval-policy-CEMMPq92.mjs","names":[],"sources":["../src/core/approval-policy.ts"],"sourcesContent":["import { AUTO_APPROVAL_TOOLS } from './evaluation-policy'\nimport type { GithubWriteToolName } from './write-tools'\n\n/**\n * Approval for a single write tool.\n *\n * - `true` — always ask the user\n * - `false` — never ask\n * - `'auto'` — ask only when an evaluation model (Jev by default) rates the call risky\n * or not asked for by the latest user message. AI SDK evaluation needs `ai` 7.0.105 or later.\n */\nexport type ToolApprovalMode = boolean | 'auto'\n\n/**\n * Whether write operations require user approval.\n *\n * - `true` — all write tools need approval (default)\n * - `false` — no approval needed for any write tool\n * - `'auto'` — low-risk write tools ({@link AUTO_APPROVAL_TOOLS}) are evaluated per call;\n * every other write tool needs approval\n * - object — per-tool {@link ToolApprovalMode} via {@link GithubWriteToolName}; unspecified write tools default to `true`\n *\n * @example Global disable\n * ```ts\n * createGithubTools({ token, requireApproval: false })\n * ```\n *\n * @example Auto approval for low-risk writes\n * ```ts\n * createGithubTools({ token, requireApproval: 'auto' })\n * ```\n *\n * @example Granular per write tool\n * ```ts\n * createGithubTools({\n * token,\n * requireApproval: {\n * mergePullRequest: true,\n * createOrUpdateFile: true,\n * addPullRequestComment: 'auto',\n * },\n * })\n * ```\n */\nexport type ApprovalConfig = ToolApprovalMode | Partial<Record<GithubWriteToolName, ToolApprovalMode>>\n\n/** {@link ApprovalConfig} without `'auto'`, for runtimes that cannot run the evaluation model. */\nexport type StaticApprovalConfig = boolean | Partial<Record<GithubWriteToolName, boolean>>\n\nconst autoApprovalTools: ReadonlySet<string> = new Set(AUTO_APPROVAL_TOOLS)\n\n/**\n * Resolve a write tool's approval mode from global or per-tool config.\n *\n * @returns `'auto'` only for tools that opt into evaluation; defaults to `true` for unspecified tools in object mode.\n */\nexport function resolveApprovalMode(toolName: GithubWriteToolName, config: ApprovalConfig): ToolApprovalMode {\n if (config === 'auto') return autoApprovalTools.has(toolName) ? 'auto' : true\n if (typeof config === 'boolean') return config\n return config[toolName] ?? true\n}\n"],"mappings":";;AAiDA,MAAM,oBAAyC,IAAI,IAAI,mBAAmB;;;;;;AAO1E,SAAgB,oBAAoB,UAA+B,QAA0C;CAC3G,IAAI,WAAW,QAAQ,OAAO,kBAAkB,IAAI,QAAQ,IAAI,SAAS;CACzE,IAAI,OAAO,WAAW,WAAW,OAAO;CACxC,OAAO,OAAO,aAAa;AAC7B"}
@@ -1,4 +1,4 @@
1
- import { s as GithubConnectorInput, t as ConnectGithubEveToolsOptions } from "../types-CJqhvQwi.mjs";
1
+ import { s as GithubConnectorInput, t as ConnectGithubEveToolsOptions } from "../types-Bln8U42J.mjs";
2
2
  //#region src/connect/eve.d.ts
3
3
  /**
4
4
  * Register eve GitHub tools backed by a Vercel Connect connector.
@@ -1,5 +1,5 @@
1
1
  import { createGithubTools } from "../eve.mjs";
2
- import { t as connectGithubToken } from "../token-DIwB-wtp.mjs";
2
+ import { t as connectGithubToken } from "../token-BLps09gm.mjs";
3
3
  //#region src/connect/eve.ts
4
4
  /**
5
5
  * Register eve GitHub tools backed by a Vercel Connect connector.
@@ -1,6 +1,6 @@
1
- import { a as GithubConnectParamsInput, c as resolveGithubConnector, i as GithubConnectParams, n as ConnectGithubTokenOptions, o as GithubConnectParamsResolver, r as ConnectGithubToolsOptions, s as GithubConnectorInput, t as ConnectGithubEveToolsOptions } from "./types-CJqhvQwi.mjs";
2
- import { A as GithubTokenCall, B as GithubToolName, F as GithubToolPreset, j as GithubTokenInput, t as AllGithubTools } from "./tool-types-OFyE3z0C.mjs";
3
- import "./eve-runtime-CflZNuXD.mjs";
1
+ import { a as GithubConnectParamsInput, c as resolveGithubConnector, i as GithubConnectParams, n as ConnectGithubTokenOptions, o as GithubConnectParamsResolver, r as ConnectGithubToolsOptions, s as GithubConnectorInput, t as ConnectGithubEveToolsOptions } from "./types-Bln8U42J.mjs";
2
+ import { M as GithubTokenCall, N as GithubTokenInput, W as GithubToolName, r as AllGithubTools, z as GithubToolPreset } from "./dry-run-DXckOam2.mjs";
3
+ import "./eve-runtime-B_CJE9JV.mjs";
4
4
  import { ConnectTokenSubject } from "@vercel/connect";
5
5
  //#region src/connect/scopes.d.ts
6
6
  /**
@@ -8,7 +8,7 @@ import { ConnectTokenSubject } from "@vercel/connect";
8
8
  * intentional for gist and notification tools (installation tokens cannot
9
9
  * satisfy those APIs).
10
10
  */
11
- export declare const TOOL_CONNECT_SCOPES: Record<"getRepository" | "listBranches" | "getFileContent" | "getRepositoryTree" | "createBranch" | "deleteBranch" | "forkRepository" | "createRepository" | "createOrUpdateFile" | "getBranchRules" | "editFiles" | "listPullRequests" | "getPullRequest" | "createPullRequest" | "mergePullRequest" | "enablePullRequestAutoMerge" | "disablePullRequestAutoMerge" | "updatePullRequest" | "addPullRequestComment" | "updatePullRequestComment" | "deletePullRequestComment" | "listPullRequestFiles" | "listPullRequestReviews" | "createPullRequestReview" | "listPullRequestReviewThreads" | "replyToReviewComment" | "resolveReviewThread" | "requestReviewers" | "getPullRequestContext" | "getIssueContext" | "listIssues" | "getIssue" | "listIssueComments" | "createIssue" | "addIssueComment" | "updateIssueComment" | "deleteIssueComment" | "closeIssue" | "updateIssue" | "listLabels" | "addLabels" | "removeLabel" | "createLabel" | "updateLabel" | "deleteLabel" | "addAssignees" | "removeAssignees" | "listIssueReactions" | "addIssueReaction" | "listCommentReactions" | "addCommentReaction" | "listDiscussions" | "getDiscussion" | "addDiscussionComment" | "listNotifications" | "markNotificationRead" | "searchCode" | "searchRepositories" | "searchIssues" | "listCommits" | "getCommit" | "getBlame" | "compareCommits" | "listGists" | "getGist" | "listGistComments" | "createGist" | "updateGist" | "deleteGist" | "createGistComment" | "listWorkflows" | "listWorkflowRuns" | "getWorkflowRun" | "listWorkflowJobs" | "getWorkflowJobLogs" | "triggerWorkflow" | "cancelWorkflowRun" | "rerunWorkflowRun" | "listCheckRuns" | "getCombinedStatus" | "getCiFailureContext" | "listReleases" | "getLatestRelease" | "getRelease" | "getReleaseContext" | "createRelease" | "updateRelease" | "deleteRelease" | "listCodeScanningAlerts" | "listDependabotAlerts" | "listSecretScanningAlerts", readonly string[]>;
11
+ export declare const TOOL_CONNECT_SCOPES: Record<"getRepository" | "listBranches" | "getFileContent" | "getRepositoryTree" | "createBranch" | "deleteBranch" | "forkRepository" | "createRepository" | "createOrUpdateFile" | "getBranchRules" | "getCollaboratorPermission" | "editFiles" | "listPullRequests" | "getPullRequest" | "createPullRequest" | "mergePullRequest" | "enablePullRequestAutoMerge" | "disablePullRequestAutoMerge" | "updatePullRequest" | "updatePullRequestBranch" | "addPullRequestComment" | "updatePullRequestComment" | "deletePullRequestComment" | "listPullRequestFiles" | "listPullRequestReviews" | "createPullRequestReview" | "listPullRequestReviewThreads" | "replyToReviewComment" | "resolveReviewThread" | "requestReviewers" | "getPullRequestContext" | "getIssueContext" | "listIssues" | "getIssue" | "listIssueComments" | "createIssue" | "addIssueComment" | "updateIssueComment" | "deleteIssueComment" | "closeIssue" | "updateIssue" | "listLabels" | "addLabels" | "removeLabel" | "createLabel" | "updateLabel" | "deleteLabel" | "addAssignees" | "removeAssignees" | "listMilestones" | "listSubIssues" | "addSubIssue" | "listIssueReactions" | "addIssueReaction" | "listCommentReactions" | "addCommentReaction" | "listDiscussions" | "getDiscussion" | "addDiscussionComment" | "listNotifications" | "markNotificationRead" | "searchCode" | "searchRepositories" | "searchIssues" | "listCommits" | "getCommit" | "getBlame" | "compareCommits" | "listGists" | "getGist" | "listGistComments" | "createGist" | "updateGist" | "deleteGist" | "createGistComment" | "listWorkflows" | "listWorkflowRuns" | "getWorkflowRun" | "listWorkflowJobs" | "getWorkflowJobLogs" | "triggerWorkflow" | "cancelWorkflowRun" | "rerunWorkflowRun" | "listCheckRuns" | "getCombinedStatus" | "createCommitStatus" | "getCiFailureContext" | "listReleases" | "getLatestRelease" | "getRelease" | "getReleaseContext" | "createRelease" | "updateRelease" | "deleteRelease" | "listCodeScanningAlerts" | "listDependabotAlerts" | "listSecretScanningAlerts", readonly string[]>;
12
12
  /**
13
13
  * Vercel Connect scope strings mapped to each {@link GithubToolPreset}, derived
14
14
  * from the preset's tools so a tool added to a preset brings its scopes along.
@@ -86,7 +86,7 @@ export declare function connectGithubToken(connector: GithubConnectorInput, opti
86
86
  * `connector` may be a static name or a resolver function — e.g. to pick a
87
87
  * different connector per environment (production vs. preview) or tenant.
88
88
  */
89
- export declare function connectGithubTools(connector: GithubConnectorInput, options?: ConnectGithubToolsOptions): AllGithubTools | Pick<AllGithubTools, "getRepository" | "listBranches" | "getFileContent" | "getRepositoryTree" | "createBranch" | "deleteBranch" | "forkRepository" | "createRepository" | "createOrUpdateFile" | "getBranchRules" | "editFiles" | "listPullRequests" | "getPullRequest" | "createPullRequest" | "mergePullRequest" | "enablePullRequestAutoMerge" | "disablePullRequestAutoMerge" | "updatePullRequest" | "addPullRequestComment" | "updatePullRequestComment" | "deletePullRequestComment" | "listPullRequestFiles" | "listPullRequestReviews" | "createPullRequestReview" | "listPullRequestReviewThreads" | "replyToReviewComment" | "resolveReviewThread" | "requestReviewers" | "getPullRequestContext" | "getIssueContext" | "listIssues" | "getIssue" | "listIssueComments" | "createIssue" | "addIssueComment" | "updateIssueComment" | "deleteIssueComment" | "closeIssue" | "updateIssue" | "listLabels" | "addLabels" | "removeLabel" | "createLabel" | "updateLabel" | "deleteLabel" | "addAssignees" | "removeAssignees" | "listIssueReactions" | "addIssueReaction" | "listCommentReactions" | "addCommentReaction" | "listDiscussions" | "getDiscussion" | "addDiscussionComment" | "listNotifications" | "markNotificationRead" | "searchCode" | "searchRepositories" | "searchIssues" | "listCommits" | "getCommit" | "getBlame" | "compareCommits" | "listGists" | "getGist" | "listGistComments" | "createGist" | "updateGist" | "deleteGist" | "createGistComment" | "listWorkflows" | "listWorkflowRuns" | "getWorkflowRun" | "listWorkflowJobs" | "getWorkflowJobLogs" | "triggerWorkflow" | "cancelWorkflowRun" | "rerunWorkflowRun" | "listCheckRuns" | "getCombinedStatus" | "getCiFailureContext" | "listReleases" | "getLatestRelease" | "getRelease" | "getReleaseContext" | "createRelease" | "updateRelease" | "deleteRelease" | "listCodeScanningAlerts" | "listDependabotAlerts" | "listSecretScanningAlerts">;
89
+ export declare function connectGithubTools(connector: GithubConnectorInput, options?: ConnectGithubToolsOptions): AllGithubTools | Pick<AllGithubTools, "getRepository" | "listBranches" | "getFileContent" | "getRepositoryTree" | "createBranch" | "deleteBranch" | "forkRepository" | "createRepository" | "createOrUpdateFile" | "getBranchRules" | "getCollaboratorPermission" | "editFiles" | "listPullRequests" | "getPullRequest" | "createPullRequest" | "mergePullRequest" | "enablePullRequestAutoMerge" | "disablePullRequestAutoMerge" | "updatePullRequest" | "updatePullRequestBranch" | "addPullRequestComment" | "updatePullRequestComment" | "deletePullRequestComment" | "listPullRequestFiles" | "listPullRequestReviews" | "createPullRequestReview" | "listPullRequestReviewThreads" | "replyToReviewComment" | "resolveReviewThread" | "requestReviewers" | "getPullRequestContext" | "getIssueContext" | "listIssues" | "getIssue" | "listIssueComments" | "createIssue" | "addIssueComment" | "updateIssueComment" | "deleteIssueComment" | "closeIssue" | "updateIssue" | "listLabels" | "addLabels" | "removeLabel" | "createLabel" | "updateLabel" | "deleteLabel" | "addAssignees" | "removeAssignees" | "listMilestones" | "listSubIssues" | "addSubIssue" | "listIssueReactions" | "addIssueReaction" | "listCommentReactions" | "addCommentReaction" | "listDiscussions" | "getDiscussion" | "addDiscussionComment" | "listNotifications" | "markNotificationRead" | "searchCode" | "searchRepositories" | "searchIssues" | "listCommits" | "getCommit" | "getBlame" | "compareCommits" | "listGists" | "getGist" | "listGistComments" | "createGist" | "updateGist" | "deleteGist" | "createGistComment" | "listWorkflows" | "listWorkflowRuns" | "getWorkflowRun" | "listWorkflowJobs" | "getWorkflowJobLogs" | "triggerWorkflow" | "cancelWorkflowRun" | "rerunWorkflowRun" | "listCheckRuns" | "getCombinedStatus" | "createCommitStatus" | "getCiFailureContext" | "listReleases" | "getLatestRelease" | "getRelease" | "getReleaseContext" | "createRelease" | "updateRelease" | "deleteRelease" | "listCodeScanningAlerts" | "listDependabotAlerts" | "listSecretScanningAlerts">;
90
90
  //#endregion
91
91
  export { type ConnectGithubEveToolsOptions, type ConnectGithubTokenOptions, type ConnectGithubToolsOptions, type ConnectScopeSelection, type ConnectTokenSubject, type GithubConnectParams, type GithubConnectParamsInput, type GithubConnectParamsResolver, type GithubConnectorInput, type GithubTokenCall, resolveGithubConnector };
92
92
  //# sourceMappingURL=connect.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.mts","names":[],"sources":["../src/connect/scopes.ts","../src/connect/token.ts","../src/connect/tools.ts"],"mappings":";;;;;;;;;;qBA+Ba,qBAAmB;;;;;;;;;;;;;;;;;;;;;;;;qBAmCnB,uBAAqB;;;;;wBAelB,6BACd,SAAS,mBAAmB;;;;;wBAcd,4BAA4B,gBAAgB;KAUhD;EACV,SAAS,mBAAmB;EAC5B,mBAAmB;EACnB,mBAAmB;;;;;;;;;;wBA6BL,gCAAgC,YAAW;;;;;;;;;;;;;;;;;;;;wBC3G3C,mBACd,WAAW,sBACX,UAAS,4BACR;;;;;;;;;;wBCtBa,mBACd,WAAW,sBACX,UAAS,4BAAA,iBAA8B,KAAA"}
1
+ {"version":3,"file":"connect.d.mts","names":[],"sources":["../src/connect/scopes.ts","../src/connect/token.ts","../src/connect/tools.ts"],"mappings":";;;;;;;;;;qBAgCa,qBAAmB;;;;;;;;;;;;;;;;;;;;;;;;qBAmCnB,uBAAqB;;;;;wBAelB,6BACd,SAAS,mBAAmB;;;;;wBAcd,4BAA4B,gBAAgB;KAUhD;EACV,SAAS,mBAAmB;EAC5B,mBAAmB;EACnB,mBAAmB;;;;;;;;;;wBA6BL,gCAAgC,YAAW;;;;;;;;;;;;;;;;;;;;wBC5G3C,mBACd,WAAW,sBACX,UAAS,4BACR;;;;;;;;;;wBCtBa,mBACd,WAAW,sBACX,UAAS,4BAAA,iBAA8B,KAAA"}
package/dist/connect.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as createGithubTools } from "./src-DyiAVHKl.mjs";
2
- import { a as connectGithubScopesForSelection, i as connectGithubScopesForPreset, n as PRESET_CONNECT_SCOPES, o as connectGithubScopesForTools, r as TOOL_CONNECT_SCOPES, s as resolveGithubConnector, t as connectGithubToken } from "./token-DIwB-wtp.mjs";
1
+ import { t as createGithubTools } from "./src-BlhrSieS.mjs";
2
+ import { a as connectGithubScopesForSelection, i as connectGithubScopesForPreset, n as PRESET_CONNECT_SCOPES, o as connectGithubScopesForTools, r as TOOL_CONNECT_SCOPES, s as resolveGithubConnector, t as connectGithubToken } from "./token-BLps09gm.mjs";
3
3
  //#region src/connect/tools.ts
4
4
  /**
5
5
  * Create GitHub tools backed by a Vercel Connect connector.
@@ -1,4 +1,4 @@
1
- import { B as searchRepositoriesCore, Bi as listCommitsCore, Bn as createPullRequestCore, Br as addLabelsCore, Bt as getIssueContextCore, K as addIssueReactionCore, Ki as listCheckRunsCore, Kn as deletePullRequestCommentCore, Kr as createIssueCore, Kt as getReleaseContextCore, L as searchIssuesCore, Li as getCommitCore, Ln as addPullRequestCommentCore, Lr as addIssueCommentCore, Lt as getCiFailureContextCore, O as listDependabotAlertsCore, Oi as updateLabelCore, On as getReleaseCore, Or as updatePullRequestCommentCore, Ot as addDiscussionCommentCore, P as searchCodeCore, Pi as getBlameCore, Pn as updateReleaseCore, Pr as addAssigneesCore, Pt as listDiscussionsCore, Q as listIssueReactionsCore, Qi as createOrUpdateFileCore, Qn as enablePullRequestAutoMergeCore, Qr as deleteIssueCommentCore, Qt as getWorkflowJobLogsCore, Sa as getRepositoryTreeCore, Si as updateIssueCommentCore, Sn as deleteReleaseCore, Sr as requestReviewersCore, St as listGistsCore, T as listCodeScanningAlertsCore, Ta as listBranchesCore, Ti as updateIssueCore, Tn as getLatestReleaseCore, Tr as resolveReviewThreadCore, Tt as updateGistCore, U as addCommentReactionCore, Ui as getCombinedStatusCore, Un as createPullRequestReviewCore, Ur as closeIssueCore, Ut as getPullRequestContextCore, Y as listCommentReactionsCore, Yi as createBranchCore, Yn as disablePullRequestAutoMergeCore, Yr as createLabelCore, Yt as cancelWorkflowRunCore, ga as getFileContentCore, gi as removeAssigneesCore, gn as triggerWorkflowCore, gr as mergePullRequestCore, gt as getGistCore, ia as deleteBranchCore, ii as getIssueCore, in as listWorkflowJobsCore, ir as listPullRequestFilesCore, it as markNotificationReadCore, j as listSecretScanningAlertsCore, ji as compareCommitsCore, jn as listReleasesCore, jr as updatePullRequestCore, jt as getDiscussionCore, pa as getBranchRulesCore, pi as listLabelsCore, pn as rerunWorkflowRunCore, pr as listPullRequestsCore, pt as deleteGistCore, sa as editFilesCore, si as listIssueCommentsCore, sn as listWorkflowRunsCore, sr as listPullRequestReviewThreadsCore, st as createGistCommentCore, ta as createRepositoryCore, ti as deleteLabelCore, tn as getWorkflowRunCore, tr as getPullRequestCore, tt as listNotificationsCore, ua as forkRepositoryCore, ui as listIssuesCore, un as listWorkflowsCore, ur as listPullRequestReviewsCore, ut as createGistCore, ya as getRepositoryCore, yi as removeLabelCore, yn as createReleaseCore, yr as replyToReviewCommentCore, yt as listGistCommentsCore } from "./write-tools-DnGZw-RD.mjs";
1
+ import { A as listDependabotAlertsCore, An as getReleaseCore, Ar as updatePullRequestBranchCore, At as addDiscussionCommentCore, Ba as getRepositoryCore, Bi as updateIssueCore, Br as addAssigneesCore, D as listCodeScanningAlertsCore, Dn as getLatestReleaseCore, Dr as resolveReviewThreadCore, Dt as updateGistCore, G as addCommentReactionCore, Gn as createPullRequestReviewCore, Gt as getPullRequestContextCore, H as searchRepositoriesCore, Hn as createPullRequestCore, Ht as getIssueContextCore, I as searchCodeCore, In as updateReleaseCore, Ir as updatePullRequestCore, It as listDiscussionsCore, J as addIssueReactionCore, Jn as deletePullRequestCommentCore, Jt as getReleaseContextCore, Ka as listBranchesCore, Ki as compareCommitsCore, Kr as addLabelsCore, La as getFileContentCore, Li as updateIssueCommentCore, N as listSecretScanningAlertsCore, Nn as listReleasesCore, Nr as updatePullRequestCommentCore, Nt as getDiscussionCore, Oa as forkRepositoryCore, Oi as listSubIssuesCore, Pa as getCollaboratorPermissionCore, Pi as removeLabelCore, Qi as getCommitCore, Qr as closeIssueCore, Sa as deleteBranchCore, Si as listLabelsCore, Ta as editFilesCore, Ti as listMilestonesCore, Ua as getRepositoryTreeCore, Ui as updateLabelCore, Ur as addIssueCommentCore, Yi as getBlameCore, Yr as addSubIssueCore, Z as listCommentReactionsCore, Zn as disablePullRequestAutoMergeCore, Zt as cancelWorkflowRunCore, en as getWorkflowJobLogsCore, er as enablePullRequestAutoMergeCore, et as listIssueReactionsCore, fn as listWorkflowsCore, fr as listPullRequestReviewsCore, ft as createGistCore, ga as createOrUpdateFileCore, gi as listIssueCommentsCore, hn as rerunWorkflowRunCore, hr as listPullRequestsCore, ht as deleteGistCore, ia as createCommitStatusCore, ii as createLabelCore, ja as getBranchRulesCore, ji as removeAssigneesCore, ln as listWorkflowRunsCore, lr as listPullRequestReviewThreadsCore, lt as createGistCommentCore, on as listWorkflowJobsCore, or as listPullRequestFilesCore, ot as markNotificationReadCore, pa as createBranchCore, pi as getIssueCore, rn as getWorkflowRunCore, rr as getPullRequestCore, rt as listNotificationsCore, sa as getCombinedStatusCore, si as deleteIssueCommentCore, ta as listCommitsCore, ti as createIssueCore, ua as listCheckRunsCore, ui as deleteLabelCore, vn as triggerWorkflowCore, vr as mergePullRequestCore, vt as getGistCore, wn as deleteReleaseCore, wr as requestReviewersCore, wt as listGistsCore, xn as createReleaseCore, xr as replyToReviewCommentCore, xt as listGistCommentsCore, ya as createRepositoryCore, yi as listIssuesCore, z as searchIssuesCore, zn as addPullRequestCommentCore, zt as getCiFailureContextCore } from "./write-tools-w-8tjnDQ.mjs";
2
2
  //#region src/core/cores.ts
3
3
  /**
4
4
  * The `*Core` implementation of every tool, keyed by tool name.
@@ -43,6 +43,9 @@ const GITHUB_TOOL_CORES = {
43
43
  get getBranchRules() {
44
44
  return getBranchRulesCore;
45
45
  },
46
+ get getCollaboratorPermission() {
47
+ return getCollaboratorPermissionCore;
48
+ },
46
49
  get listPullRequests() {
47
50
  return listPullRequestsCore;
48
51
  },
@@ -64,6 +67,9 @@ const GITHUB_TOOL_CORES = {
64
67
  get updatePullRequest() {
65
68
  return updatePullRequestCore;
66
69
  },
70
+ get updatePullRequestBranch() {
71
+ return updatePullRequestBranchCore;
72
+ },
67
73
  get addPullRequestComment() {
68
74
  return addPullRequestCommentCore;
69
75
  },
@@ -151,6 +157,15 @@ const GITHUB_TOOL_CORES = {
151
157
  get removeAssignees() {
152
158
  return removeAssigneesCore;
153
159
  },
160
+ get listMilestones() {
161
+ return listMilestonesCore;
162
+ },
163
+ get listSubIssues() {
164
+ return listSubIssuesCore;
165
+ },
166
+ get addSubIssue() {
167
+ return addSubIssueCore;
168
+ },
154
169
  get listIssueReactions() {
155
170
  return listIssueReactionsCore;
156
171
  },
@@ -250,6 +265,9 @@ const GITHUB_TOOL_CORES = {
250
265
  get getCombinedStatus() {
251
266
  return getCombinedStatusCore;
252
267
  },
268
+ get createCommitStatus() {
269
+ return createCommitStatusCore;
270
+ },
253
271
  get getCiFailureContext() {
254
272
  return getCiFailureContextCore;
255
273
  },
@@ -287,4 +305,4 @@ const GITHUB_TOOL_CORES = {
287
305
  //#endregion
288
306
  export { GITHUB_TOOL_CORES as t };
289
307
 
290
- //# sourceMappingURL=cores-FLzAv2tu.mjs.map
308
+ //# sourceMappingURL=cores-meFAMt2D.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cores-meFAMt2D.mjs","names":["repository.getRepositoryCore","repository.listBranchesCore","repository.getFileContentCore","repository.getRepositoryTreeCore","repository.createBranchCore","repository.deleteBranchCore","repository.forkRepositoryCore","repository.createRepositoryCore","repository.createOrUpdateFileCore","repository.editFilesCore","repository.getBranchRulesCore","repository.getCollaboratorPermissionCore","pullRequests.listPullRequestsCore","pullRequests.getPullRequestCore","pullRequests.createPullRequestCore","pullRequests.mergePullRequestCore","pullRequests.enablePullRequestAutoMergeCore","pullRequests.disablePullRequestAutoMergeCore","pullRequests.updatePullRequestCore","pullRequests.updatePullRequestBranchCore","pullRequests.addPullRequestCommentCore","pullRequests.updatePullRequestCommentCore","pullRequests.deletePullRequestCommentCore","pullRequests.listPullRequestFilesCore","pullRequests.listPullRequestReviewsCore","pullRequests.createPullRequestReviewCore","pullRequests.listPullRequestReviewThreadsCore","pullRequests.replyToReviewCommentCore","pullRequests.resolveReviewThreadCore","pullRequests.requestReviewersCore","bundles.getPullRequestContextCore","bundles.getIssueContextCore","issues.listIssuesCore","issues.getIssueCore","issues.listIssueCommentsCore","issues.createIssueCore","issues.addIssueCommentCore","issues.updateIssueCommentCore","issues.deleteIssueCommentCore","issues.closeIssueCore","issues.updateIssueCore","issues.listLabelsCore","issues.addLabelsCore","issues.removeLabelCore","issues.createLabelCore","issues.updateLabelCore","issues.deleteLabelCore","issues.addAssigneesCore","issues.removeAssigneesCore","issues.listMilestonesCore","issues.listSubIssuesCore","issues.addSubIssueCore","reactions.listIssueReactionsCore","reactions.addIssueReactionCore","reactions.listCommentReactionsCore","reactions.addCommentReactionCore","discussions.listDiscussionsCore","discussions.getDiscussionCore","discussions.addDiscussionCommentCore","notifications.listNotificationsCore","notifications.markNotificationReadCore","search.searchCodeCore","search.searchRepositoriesCore","search.searchIssuesCore","commits.listCommitsCore","commits.getCommitCore","commits.getBlameCore","commits.compareCommitsCore","gists.listGistsCore","gists.getGistCore","gists.listGistCommentsCore","gists.createGistCore","gists.updateGistCore","gists.deleteGistCore","gists.createGistCommentCore","workflows.listWorkflowsCore","workflows.listWorkflowRunsCore","workflows.getWorkflowRunCore","workflows.listWorkflowJobsCore","workflows.getWorkflowJobLogsCore","workflows.triggerWorkflowCore","workflows.cancelWorkflowRunCore","workflows.rerunWorkflowRunCore","checks.listCheckRunsCore","checks.getCombinedStatusCore","checks.createCommitStatusCore","bundles.getCiFailureContextCore","releases.listReleasesCore","releases.getLatestReleaseCore","releases.getReleaseCore","bundles.getReleaseContextCore","releases.createReleaseCore","releases.updateReleaseCore","releases.deleteReleaseCore","security.listCodeScanningAlertsCore","security.listDependabotAlertsCore","security.listSecretScanningAlertsCore"],"sources":["../src/core/cores.ts"],"sourcesContent":["import * as bundles from './bundles'\nimport * as checks from './checks'\nimport * as commits from './commits'\nimport * as discussions from './discussions'\nimport * as gists from './gists'\nimport * as issues from './issues'\nimport * as notifications from './notifications'\nimport * as pullRequests from './pull-requests'\nimport * as reactions from './reactions'\nimport * as releases from './releases'\nimport * as security from './security'\nimport * as repository from './repository'\nimport * as search from './search'\nimport * as workflows from './workflows'\nimport type { GithubToolName } from './catalog'\n\n/**\n * The `*Core` implementation of every tool, keyed by tool name.\n *\n * Kept apart from `GITHUB_TOOL_CATALOG` so that importing tool metadata does\n * not pull Octokit into a Vercel Workflow flow bundle, which cannot load\n * Node.js built-ins. Argument types vary per tool, so callers cast at the\n * dispatch boundary. Entries are getters so the ESM binding stays live\n * (module spies in tests).\n */\nexport const GITHUB_TOOL_CORES = {\n get getRepository() { return repository.getRepositoryCore },\n get listBranches() { return repository.listBranchesCore },\n get getFileContent() { return repository.getFileContentCore },\n get getRepositoryTree() { return repository.getRepositoryTreeCore },\n get createBranch() { return repository.createBranchCore },\n get deleteBranch() { return repository.deleteBranchCore },\n get forkRepository() { return repository.forkRepositoryCore },\n get createRepository() { return repository.createRepositoryCore },\n get createOrUpdateFile() { return repository.createOrUpdateFileCore },\n get editFiles() { return repository.editFilesCore },\n get getBranchRules() { return repository.getBranchRulesCore },\n get getCollaboratorPermission() { return repository.getCollaboratorPermissionCore },\n get listPullRequests() { return pullRequests.listPullRequestsCore },\n get getPullRequest() { return pullRequests.getPullRequestCore },\n get createPullRequest() { return pullRequests.createPullRequestCore },\n get mergePullRequest() { return pullRequests.mergePullRequestCore },\n get enablePullRequestAutoMerge() { return pullRequests.enablePullRequestAutoMergeCore },\n get disablePullRequestAutoMerge() { return pullRequests.disablePullRequestAutoMergeCore },\n get updatePullRequest() { return pullRequests.updatePullRequestCore },\n get updatePullRequestBranch() { return pullRequests.updatePullRequestBranchCore },\n get addPullRequestComment() { return pullRequests.addPullRequestCommentCore },\n get updatePullRequestComment() { return pullRequests.updatePullRequestCommentCore },\n get deletePullRequestComment() { return pullRequests.deletePullRequestCommentCore },\n get listPullRequestFiles() { return pullRequests.listPullRequestFilesCore },\n get listPullRequestReviews() { return pullRequests.listPullRequestReviewsCore },\n get createPullRequestReview() { return pullRequests.createPullRequestReviewCore },\n get listPullRequestReviewThreads() { return pullRequests.listPullRequestReviewThreadsCore },\n get replyToReviewComment() { return pullRequests.replyToReviewCommentCore },\n get resolveReviewThread() { return pullRequests.resolveReviewThreadCore },\n get requestReviewers() { return pullRequests.requestReviewersCore },\n get getPullRequestContext() { return bundles.getPullRequestContextCore },\n get getIssueContext() { return bundles.getIssueContextCore },\n get listIssues() { return issues.listIssuesCore },\n get getIssue() { return issues.getIssueCore },\n get listIssueComments() { return issues.listIssueCommentsCore },\n get createIssue() { return issues.createIssueCore },\n get addIssueComment() { return issues.addIssueCommentCore },\n get updateIssueComment() { return issues.updateIssueCommentCore },\n get deleteIssueComment() { return issues.deleteIssueCommentCore },\n get closeIssue() { return issues.closeIssueCore },\n get updateIssue() { return issues.updateIssueCore },\n get listLabels() { return issues.listLabelsCore },\n get addLabels() { return issues.addLabelsCore },\n get removeLabel() { return issues.removeLabelCore },\n get createLabel() { return issues.createLabelCore },\n get updateLabel() { return issues.updateLabelCore },\n get deleteLabel() { return issues.deleteLabelCore },\n get addAssignees() { return issues.addAssigneesCore },\n get removeAssignees() { return issues.removeAssigneesCore },\n get listMilestones() { return issues.listMilestonesCore },\n get listSubIssues() { return issues.listSubIssuesCore },\n get addSubIssue() { return issues.addSubIssueCore },\n get listIssueReactions() { return reactions.listIssueReactionsCore },\n get addIssueReaction() { return reactions.addIssueReactionCore },\n get listCommentReactions() { return reactions.listCommentReactionsCore },\n get addCommentReaction() { return reactions.addCommentReactionCore },\n get listDiscussions() { return discussions.listDiscussionsCore },\n get getDiscussion() { return discussions.getDiscussionCore },\n get addDiscussionComment() { return discussions.addDiscussionCommentCore },\n get listNotifications() { return notifications.listNotificationsCore },\n get markNotificationRead() { return notifications.markNotificationReadCore },\n get searchCode() { return search.searchCodeCore },\n get searchRepositories() { return search.searchRepositoriesCore },\n get searchIssues() { return search.searchIssuesCore },\n get listCommits() { return commits.listCommitsCore },\n get getCommit() { return commits.getCommitCore },\n get getBlame() { return commits.getBlameCore },\n get compareCommits() { return commits.compareCommitsCore },\n get listGists() { return gists.listGistsCore },\n get getGist() { return gists.getGistCore },\n get listGistComments() { return gists.listGistCommentsCore },\n get createGist() { return gists.createGistCore },\n get updateGist() { return gists.updateGistCore },\n get deleteGist() { return gists.deleteGistCore },\n get createGistComment() { return gists.createGistCommentCore },\n get listWorkflows() { return workflows.listWorkflowsCore },\n get listWorkflowRuns() { return workflows.listWorkflowRunsCore },\n get getWorkflowRun() { return workflows.getWorkflowRunCore },\n get listWorkflowJobs() { return workflows.listWorkflowJobsCore },\n get getWorkflowJobLogs() { return workflows.getWorkflowJobLogsCore },\n get triggerWorkflow() { return workflows.triggerWorkflowCore },\n get cancelWorkflowRun() { return workflows.cancelWorkflowRunCore },\n get rerunWorkflowRun() { return workflows.rerunWorkflowRunCore },\n get listCheckRuns() { return checks.listCheckRunsCore },\n get getCombinedStatus() { return checks.getCombinedStatusCore },\n get createCommitStatus() { return checks.createCommitStatusCore },\n get getCiFailureContext() { return bundles.getCiFailureContextCore },\n get listReleases() { return releases.listReleasesCore },\n get getLatestRelease() { return releases.getLatestReleaseCore },\n get getRelease() { return releases.getReleaseCore },\n get getReleaseContext() { return bundles.getReleaseContextCore },\n get createRelease() { return releases.createReleaseCore },\n get updateRelease() { return releases.updateReleaseCore },\n get deleteRelease() { return releases.deleteReleaseCore },\n get listCodeScanningAlerts() { return security.listCodeScanningAlertsCore },\n get listDependabotAlerts() { return security.listDependabotAlertsCore },\n get listSecretScanningAlerts() { return security.listSecretScanningAlertsCore },\n} satisfies Record<GithubToolName, (args: never) => Promise<unknown>>\n"],"mappings":";;;;;;;;;;;AAyBA,MAAa,oBAAoB;CAC/B,IAAI,gBAAgB;EAAE,OAAOA;CAA6B;CAC1D,IAAI,eAAe;EAAE,OAAOC;CAA4B;CACxD,IAAI,iBAAiB;EAAE,OAAOC;CAA8B;CAC5D,IAAI,oBAAoB;EAAE,OAAOC;CAAiC;CAClE,IAAI,eAAe;EAAE,OAAOC;CAA4B;CACxD,IAAI,eAAe;EAAE,OAAOC;CAA4B;CACxD,IAAI,iBAAiB;EAAE,OAAOC;CAA8B;CAC5D,IAAI,mBAAmB;EAAE,OAAOC;CAAgC;CAChE,IAAI,qBAAqB;EAAE,OAAOC;CAAkC;CACpE,IAAI,YAAY;EAAE,OAAOC;CAAyB;CAClD,IAAI,iBAAiB;EAAE,OAAOC;CAA8B;CAC5D,IAAI,4BAA4B;EAAE,OAAOC;CAAyC;CAClF,IAAI,mBAAmB;EAAE,OAAOC;CAAkC;CAClE,IAAI,iBAAiB;EAAE,OAAOC;CAAgC;CAC9D,IAAI,oBAAoB;EAAE,OAAOC;CAAmC;CACpE,IAAI,mBAAmB;EAAE,OAAOC;CAAkC;CAClE,IAAI,6BAA6B;EAAE,OAAOC;CAA4C;CACtF,IAAI,8BAA8B;EAAE,OAAOC;CAA6C;CACxF,IAAI,oBAAoB;EAAE,OAAOC;CAAmC;CACpE,IAAI,0BAA0B;EAAE,OAAOC;CAAyC;CAChF,IAAI,wBAAwB;EAAE,OAAOC;CAAuC;CAC5E,IAAI,2BAA2B;EAAE,OAAOC;CAA0C;CAClF,IAAI,2BAA2B;EAAE,OAAOC;CAA0C;CAClF,IAAI,uBAAuB;EAAE,OAAOC;CAAsC;CAC1E,IAAI,yBAAyB;EAAE,OAAOC;CAAwC;CAC9E,IAAI,0BAA0B;EAAE,OAAOC;CAAyC;CAChF,IAAI,+BAA+B;EAAE,OAAOC;CAA8C;CAC1F,IAAI,uBAAuB;EAAE,OAAOC;CAAsC;CAC1E,IAAI,sBAAsB;EAAE,OAAOC;CAAqC;CACxE,IAAI,mBAAmB;EAAE,OAAOC;CAAkC;CAClE,IAAI,wBAAwB;EAAE,OAAOC;CAAkC;CACvE,IAAI,kBAAkB;EAAE,OAAOC;CAA4B;CAC3D,IAAI,aAAa;EAAE,OAAOC;CAAsB;CAChD,IAAI,WAAW;EAAE,OAAOC;CAAoB;CAC5C,IAAI,oBAAoB;EAAE,OAAOC;CAA6B;CAC9D,IAAI,cAAc;EAAE,OAAOC;CAAuB;CAClD,IAAI,kBAAkB;EAAE,OAAOC;CAA2B;CAC1D,IAAI,qBAAqB;EAAE,OAAOC;CAA8B;CAChE,IAAI,qBAAqB;EAAE,OAAOC;CAA8B;CAChE,IAAI,aAAa;EAAE,OAAOC;CAAsB;CAChD,IAAI,cAAc;EAAE,OAAOC;CAAuB;CAClD,IAAI,aAAa;EAAE,OAAOC;CAAsB;CAChD,IAAI,YAAY;EAAE,OAAOC;CAAqB;CAC9C,IAAI,cAAc;EAAE,OAAOC;CAAuB;CAClD,IAAI,cAAc;EAAE,OAAOC;CAAuB;CAClD,IAAI,cAAc;EAAE,OAAOC;CAAuB;CAClD,IAAI,cAAc;EAAE,OAAOC;CAAuB;CAClD,IAAI,eAAe;EAAE,OAAOC;CAAwB;CACpD,IAAI,kBAAkB;EAAE,OAAOC;CAA2B;CAC1D,IAAI,iBAAiB;EAAE,OAAOC;CAA0B;CACxD,IAAI,gBAAgB;EAAE,OAAOC;CAAyB;CACtD,IAAI,cAAc;EAAE,OAAOC;CAAuB;CAClD,IAAI,qBAAqB;EAAE,OAAOC;CAAiC;CACnE,IAAI,mBAAmB;EAAE,OAAOC;CAA+B;CAC/D,IAAI,uBAAuB;EAAE,OAAOC;CAAmC;CACvE,IAAI,qBAAqB;EAAE,OAAOC;CAAiC;CACnE,IAAI,kBAAkB;EAAE,OAAOC;CAAgC;CAC/D,IAAI,gBAAgB;EAAE,OAAOC;CAA8B;CAC3D,IAAI,uBAAuB;EAAE,OAAOC;CAAqC;CACzE,IAAI,oBAAoB;EAAE,OAAOC;CAAoC;CACrE,IAAI,uBAAuB;EAAE,OAAOC;CAAuC;CAC3E,IAAI,aAAa;EAAE,OAAOC;CAAsB;CAChD,IAAI,qBAAqB;EAAE,OAAOC;CAA8B;CAChE,IAAI,eAAe;EAAE,OAAOC;CAAwB;CACpD,IAAI,cAAc;EAAE,OAAOC;CAAwB;CACnD,IAAI,YAAY;EAAE,OAAOC;CAAsB;CAC/C,IAAI,WAAW;EAAE,OAAOC;CAAqB;CAC7C,IAAI,iBAAiB;EAAE,OAAOC;CAA2B;CACzD,IAAI,YAAY;EAAE,OAAOC;CAAoB;CAC7C,IAAI,UAAU;EAAE,OAAOC;CAAkB;CACzC,IAAI,mBAAmB;EAAE,OAAOC;CAA2B;CAC3D,IAAI,aAAa;EAAE,OAAOC;CAAqB;CAC/C,IAAI,aAAa;EAAE,OAAOC;CAAqB;CAC/C,IAAI,aAAa;EAAE,OAAOC;CAAqB;CAC/C,IAAI,oBAAoB;EAAE,OAAOC;CAA4B;CAC7D,IAAI,gBAAgB;EAAE,OAAOC;CAA4B;CACzD,IAAI,mBAAmB;EAAE,OAAOC;CAA+B;CAC/D,IAAI,iBAAiB;EAAE,OAAOC;CAA6B;CAC3D,IAAI,mBAAmB;EAAE,OAAOC;CAA+B;CAC/D,IAAI,qBAAqB;EAAE,OAAOC;CAAiC;CACnE,IAAI,kBAAkB;EAAE,OAAOC;CAA8B;CAC7D,IAAI,oBAAoB;EAAE,OAAOC;CAAgC;CACjE,IAAI,mBAAmB;EAAE,OAAOC;CAA+B;CAC/D,IAAI,gBAAgB;EAAE,OAAOC;CAAyB;CACtD,IAAI,oBAAoB;EAAE,OAAOC;CAA6B;CAC9D,IAAI,qBAAqB;EAAE,OAAOC;CAA8B;CAChE,IAAI,sBAAsB;EAAE,OAAOC;CAAgC;CACnE,IAAI,eAAe;EAAE,OAAOC;CAA0B;CACtD,IAAI,mBAAmB;EAAE,OAAOC;CAA8B;CAC9D,IAAI,aAAa;EAAE,OAAOC;CAAwB;CAClD,IAAI,oBAAoB;EAAE,OAAOC;CAA8B;CAC/D,IAAI,gBAAgB;EAAE,OAAOC;CAA2B;CACxD,IAAI,gBAAgB;EAAE,OAAOC;CAA2B;CACxD,IAAI,gBAAgB;EAAE,OAAOC;CAA2B;CACxD,IAAI,yBAAyB;EAAE,OAAOC;CAAoC;CAC1E,IAAI,uBAAuB;EAAE,OAAOC;CAAkC;CACtE,IAAI,2BAA2B;EAAE,OAAOC;CAAsC;AAChF"}