@github-tools/sdk 1.21.0 → 1.23.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 (61) hide show
  1. package/README.md +9 -9
  2. package/dist/{approval-policy-CEMMPq92.mjs → approval-policy-DJlImo7H.mjs} +3 -4
  3. package/dist/{approval-policy-CEMMPq92.mjs.map → approval-policy-DJlImo7H.mjs.map} +1 -1
  4. package/dist/connect/eve.d.mts +2 -4
  5. package/dist/connect/eve.d.mts.map +1 -1
  6. package/dist/connect/eve.mjs +3 -4
  7. package/dist/connect/eve.mjs.map +1 -1
  8. package/dist/connect.d.mts +3 -9
  9. package/dist/connect.d.mts.map +1 -1
  10. package/dist/connect.mjs +3 -4
  11. package/dist/{cores-meFAMt2D.mjs → cores-H6HKlwFZ.mjs} +3 -4
  12. package/dist/{cores-meFAMt2D.mjs.map → cores-H6HKlwFZ.mjs.map} +1 -1
  13. package/dist/{dry-run-DXckOam2.d.mts → dry-run-BAbes7Mv.d.mts} +2 -28
  14. package/dist/dry-run-BAbes7Mv.d.mts.map +1 -0
  15. package/dist/{evaluation-DJHINyAu.mjs → evaluation-Dlf-571x.mjs} +4 -6
  16. package/dist/{evaluation-DJHINyAu.mjs.map → evaluation-Dlf-571x.mjs.map} +1 -1
  17. package/dist/{eve-runtime-B_CJE9JV.d.mts → eve-runtime-CoBSN8nF.d.mts} +66 -15
  18. package/dist/eve-runtime-CoBSN8nF.d.mts.map +1 -0
  19. package/dist/{eve-runtime-DPzMPCLt.mjs → eve-runtime-DEdQqbCs.mjs} +214 -27
  20. package/dist/eve-runtime-DEdQqbCs.mjs.map +1 -0
  21. package/dist/eve-runtime.d.mts +5 -5
  22. package/dist/eve-runtime.mjs +4 -4
  23. package/dist/eve.d.mts +67 -69
  24. package/dist/eve.d.mts.map +1 -1
  25. package/dist/eve.mjs +67 -68
  26. package/dist/eve.mjs.map +1 -1
  27. package/dist/{index-CzzrtCVj.d.mts → index-v5n5OLs7.d.mts} +29 -54
  28. package/dist/index-v5n5OLs7.d.mts.map +1 -0
  29. package/dist/index.d.mts +2 -2
  30. package/dist/index.mjs +3 -3
  31. package/dist/{interrupts-BSDPwdJ2.d.mts → interrupts-MwQ_v_PF.d.mts} +1 -3
  32. package/dist/interrupts-MwQ_v_PF.d.mts.map +1 -0
  33. package/dist/rolldown-runtime-D8jQpDG7.mjs +12 -0
  34. package/dist/{src-BlhrSieS.mjs → src-BRZIY_PZ.mjs} +21 -38
  35. package/dist/{src-BlhrSieS.mjs.map → src-BRZIY_PZ.mjs.map} +1 -1
  36. package/dist/tanstack/interrupts.d.mts +1 -1
  37. package/dist/tanstack/interrupts.mjs +1 -2
  38. package/dist/tanstack.d.mts +3 -20
  39. package/dist/tanstack.d.mts.map +1 -1
  40. package/dist/tanstack.mjs +8 -13
  41. package/dist/tanstack.mjs.map +1 -1
  42. package/dist/{token-BLps09gm.mjs → token-DZu9uttC.mjs} +6 -10
  43. package/dist/{token-BLps09gm.mjs.map → token-DZu9uttC.mjs.map} +1 -1
  44. package/dist/{types-Bln8U42J.d.mts → types-8KtcPTao.d.mts} +3 -7
  45. package/dist/types-8KtcPTao.d.mts.map +1 -0
  46. package/dist/{types-C7O2lwwz.d.mts → types-C-BIKmas.d.mts} +2 -4
  47. package/dist/types-C-BIKmas.d.mts.map +1 -0
  48. package/dist/workflow.d.mts +2 -4
  49. package/dist/workflow.d.mts.map +1 -1
  50. package/dist/workflow.mjs +3 -4
  51. package/dist/{write-tools-w-8tjnDQ.mjs → write-tools-C-962T9O.mjs} +57 -88
  52. package/dist/write-tools-C-962T9O.mjs.map +1 -0
  53. package/package.json +1 -1
  54. package/dist/dry-run-DXckOam2.d.mts.map +0 -1
  55. package/dist/eve-runtime-B_CJE9JV.d.mts.map +0 -1
  56. package/dist/eve-runtime-DPzMPCLt.mjs.map +0 -1
  57. package/dist/index-CzzrtCVj.d.mts.map +0 -1
  58. package/dist/interrupts-BSDPwdJ2.d.mts.map +0 -1
  59. package/dist/types-Bln8U42J.d.mts.map +0 -1
  60. package/dist/types-C7O2lwwz.d.mts.map +0 -1
  61. package/dist/write-tools-w-8tjnDQ.mjs.map +0 -1
@@ -1,9 +1,9 @@
1
- import { $ as listCommentReactionsInputSchema, $a as stripRateLimit, $i as getCommitDescription, $n as disablePullRequestAutoMergeInputSchema, $r as closeIssueDescription, $t as cancelWorkflowRunInputSchema, A as listDependabotAlertsCore, Aa as forkRepositoryInputSchema, Ai as listSubIssuesInputSchema, An as getReleaseCore, Ar as updatePullRequestBranchCore, At as addDiscussionCommentCore, B as searchIssuesDescription, Ba as getRepositoryCore, Bi as updateIssueCore, Bn as addPullRequestCommentDescription, Br as addAssigneesCore, Bt as getCiFailureContextDescription, C as withGithubGuardrails, Ca as deleteBranchDescription, Ci as listLabelsDescription, Cn as createReleaseInputSchema, Cr as replyToReviewCommentInputSchema, Ct as listGistCommentsInputSchema, D as listCodeScanningAlertsCore, Da as editFilesInputSchema, Di as listMilestonesInputSchema, Dn as getLatestReleaseCore, Dr as resolveReviewThreadCore, Dt as updateGistCore, E as isGithubWriteToolName, Ea as editFilesDescription, Ei as listMilestonesDescription, En as deleteReleaseInputSchema, Er as requestReviewersInputSchema, Et as listGistsInputSchema, F as listSecretScanningAlertsInputSchema, Fa as getCollaboratorPermissionDescription, Fi as removeLabelDescription, Fn as listReleasesInputSchema, Fr as updatePullRequestCommentInputSchema, Ft as getDiscussionInputSchema, G as addCommentReactionCore, Ga as getRepositoryTreeInputSchema, Gi as updateLabelInputSchema, Gn as createPullRequestReviewCore, Gr as addIssueCommentInputSchema, Gt as getPullRequestContextCore, H as searchRepositoriesCore, Ha as getRepositoryInputSchema, Hi as updateIssueInputSchema, Hn as createPullRequestCore, Hr as addAssigneesInputSchema, Ht as getIssueContextCore, I as searchCodeCore, Ia as getCollaboratorPermissionInputSchema, Ii as removeLabelInputSchema, In as updateReleaseCore, Ir as updatePullRequestCore, It as listDiscussionsCore, J as addIssueReactionCore, Ja as listBranchesInputSchema, Ji as compareCommitsInputSchema, Jn as deletePullRequestCommentCore, Jr as addLabelsInputSchema, Jt as getReleaseContextCore, K as addCommentReactionDescription, Ka as listBranchesCore, Ki as compareCommitsCore, Kn as createPullRequestReviewDescription, Kr as addLabelsCore, Kt as getPullRequestContextDescription, L as searchCodeDescription, La as getFileContentCore, Li as updateIssueCommentCore, Ln as updateReleaseDescription, Lr as updatePullRequestDescription, Lt as listDiscussionsDescription, M as listDependabotAlertsInputSchema, Ma as getBranchRulesDescription, Mi as removeAssigneesDescription, Mn as getReleaseInputSchema, Mr as updatePullRequestBranchInputSchema, Mt as addDiscussionCommentInputSchema, N as listSecretScanningAlertsCore, Na as getBranchRulesInputSchema, Ni as removeAssigneesInputSchema, Nn as listReleasesCore, Nr as updatePullRequestCommentCore, Nt as getDiscussionCore, O as listCodeScanningAlertsDescription, Oa as forkRepositoryCore, Oi as listSubIssuesCore, On as getLatestReleaseDescription, Or as resolveReviewThreadDescription, Ot as updateGistDescription, P as listSecretScanningAlertsDescription, Pa as getCollaboratorPermissionCore, Pi as removeLabelCore, Pn as listReleasesDescription, Pr as updatePullRequestCommentDescription, Pt as getDiscussionDescription, Q as listCommentReactionsDescription, Qi as getCommitCore, Qn as disablePullRequestAutoMergeDescription, Qr as closeIssueCore, Qt as cancelWorkflowRunDescription, R as searchCodeInputSchema, Ra as getFileContentDescription, Ri as updateIssueCommentDescription, Rn as updateReleaseInputSchema, Rr as updatePullRequestInputSchema, Rt as listDiscussionsInputSchema, S as resolveGithubToken, Sa as deleteBranchCore, Si as listLabelsCore, Sn as createReleaseDescription, Sr as replyToReviewCommentDescription, St as listGistCommentsDescription, T as GITHUB_TOOL_CATALOG, Ta as editFilesCore, Ti as listMilestonesCore, Tn as deleteReleaseDescription, Tr as requestReviewersDescription, Tt as listGistsDescription, U as searchRepositoriesDescription, Ua as getRepositoryTreeCore, Ui as updateLabelCore, Un as createPullRequestDescription, Ur as addIssueCommentCore, Ut as getIssueContextDescription, V as searchIssuesInputSchema, Va as getRepositoryDescription, Vi as updateIssueDescription, Vn as addPullRequestCommentInputSchema, Vr as addAssigneesDescription, Vt as getCiFailureContextInputSchema, W as searchRepositoriesInputSchema, Wa as getRepositoryTreeDescription, Wi as updateLabelDescription, Wn as createPullRequestInputSchema, Wr as addIssueCommentDescription, Wt as getIssueContextInputSchema, X as addIssueReactionInputSchema, Xi as getBlameDescription, Xn as deletePullRequestCommentInputSchema, Xr as addSubIssueDescription, Xt as getReleaseContextInputSchema, Y as addIssueReactionDescription, Yi as getBlameCore, Yn as deletePullRequestCommentDescription, Yr as addSubIssueCore, Yt as getReleaseContextDescription, Z as listCommentReactionsCore, Za as githubToolsErrors, Zi as getBlameInputSchema, Zn as disablePullRequestAutoMergeCore, Zr as addSubIssueInputSchema, Zt as cancelWorkflowRunCore, _a as createOrUpdateFileDescription, _i as listIssueCommentsDescription, _n as rerunWorkflowRunInputSchema, _r as listPullRequestsInputSchema, _t as deleteGistInputSchema, a as bindToolsContext, aa as createCommitStatusDescription, ai as createLabelDescription, an as getWorkflowRunInputSchema, ar as getPullRequestInputSchema, at as listNotificationsInputSchema, ba as createRepositoryDescription, bi as listIssuesDescription, bn as triggerWorkflowInputSchema, br as mergePullRequestInputSchema, bt as getGistInputSchema, ca as getCombinedStatusDescription, ci as deleteIssueCommentDescription, cn as listWorkflowJobsInputSchema, cr as listPullRequestFilesInputSchema, ct as markNotificationReadInputSchema, da as listCheckRunsDescription, di as deleteLabelDescription, dn as listWorkflowRunsInputSchema, dr as listPullRequestReviewThreadsInputSchema, dt as createGistCommentInputSchema, ea as getCommitInputSchema, ei as closeIssueInputSchema, en as getWorkflowJobLogsCore, er as enablePullRequestAutoMergeCore, et as listIssueReactionsCore, fa as listCheckRunsInputSchema, fi as deleteLabelInputSchema, fn as listWorkflowsCore, fr as listPullRequestReviewsCore, ft as createGistCore, ga as createOrUpdateFileCore, gi as listIssueCommentsCore, gn as rerunWorkflowRunDescription, gr as listPullRequestsDescription, gt as deleteGistDescription, ha as createBranchInputSchema, hi as getIssueInputSchema, hn as rerunWorkflowRunCore, hr as listPullRequestsCore, ht as deleteGistCore, i as dryRunWrite, ia as createCommitStatusCore, ii as createLabelCore, in as getWorkflowRunDescription, ir as getPullRequestDescription, it as listNotificationsDescription, j as listDependabotAlertsDescription, ja as getBranchRulesCore, ji as removeAssigneesCore, jn as getReleaseDescription, jr as updatePullRequestBranchDescription, jt as addDiscussionCommentDescription, k as listCodeScanningAlertsInputSchema, ka as forkRepositoryDescription, ki as listSubIssuesDescription, kn as getLatestReleaseInputSchema, kr as resolveReviewThreadInputSchema, kt as updateGistInputSchema, l as DEFAULT_EVALUATION_MODEL, la as getCombinedStatusInputSchema, li as deleteIssueCommentInputSchema, ln as listWorkflowRunsCore, lr as listPullRequestReviewThreadsCore, lt as createGistCommentCore, ma as createBranchDescription, mi as getIssueDescription, mn as listWorkflowsInputSchema, mr as listPullRequestReviewsInputSchema, mt as createGistInputSchema, n as resolveInstructions, na as listCommitsDescription, ni as createIssueDescription, nn as getWorkflowJobLogsInputSchema, nr as enablePullRequestAutoMergeInputSchema, nt as listIssueReactionsInputSchema, oa as createCommitStatusInputSchema, oi as createLabelInputSchema, on as listWorkflowJobsCore, or as listPullRequestFilesCore, ot as markNotificationReadCore, pa as createBranchCore, pi as getIssueCore, pn as listWorkflowsDescription, pr as listPullRequestReviewsDescription, pt as createGistDescription, q as addCommentReactionInputSchema, qa as listBranchesDescription, qi as compareCommitsDescription, qn as createPullRequestReviewInputSchema, qr as addLabelsDescription, qt as getPullRequestContextInputSchema, ra as listCommitsInputSchema, ri as createIssueInputSchema, rn as getWorkflowRunCore, rr as getPullRequestCore, rt as listNotificationsCore, sa as getCombinedStatusCore, si as deleteIssueCommentCore, sn as listWorkflowJobsDescription, sr as listPullRequestFilesDescription, st as markNotificationReadDescription, ta as listCommitsCore, ti as createIssueCore, tn as getWorkflowJobLogsDescription, tr as enablePullRequestAutoMergeDescription, tt as listIssueReactionsDescription, ua as listCheckRunsCore, ui as deleteLabelCore, un as listWorkflowRunsDescription, ur as listPullRequestReviewThreadsDescription, ut as createGistCommentDescription, va as createOrUpdateFileInputSchema, vi as listIssueCommentsInputSchema, vn as triggerWorkflowCore, vr as mergePullRequestCore, vt as getGistCore, w as ALL_GITHUB_TOOL_NAMES, wa as deleteBranchInputSchema, wi as listLabelsInputSchema, wn as deleteReleaseCore, wr as requestReviewersCore, wt as listGistsCore, x as githubTokenCall, xa as createRepositoryInputSchema, xi as listIssuesInputSchema, xn as createReleaseCore, xr as replyToReviewCommentCore, xt as listGistCommentsCore, y as resolvePresetTools, ya as createRepositoryCore, yi as listIssuesCore, yn as triggerWorkflowDescription, yr as mergePullRequestDescription, yt as getGistDescription, z as searchIssuesCore, za as getFileContentInputSchema, zi as updateIssueCommentInputSchema, zn as addPullRequestCommentCore, zr as guardrailViolation, zt as getCiFailureContextCore } from "./write-tools-w-8tjnDQ.mjs";
2
- import { _ as listPullRequestFilesToModelOutput, a as evaluationRequest, f as compareCommitsToModelOutput, g as getRepositoryTreeToModelOutput, h as getPullRequestContextToModelOutput, i as evaluateTools, m as getFileContentToModelOutput, n as autoApprovalDecision, o as fallbackPresets, p as getCommitToModelOutput, r as evaluatePresets, s as fallbackTools, t as assertEvaluationAvailable } from "./evaluation-DJHINyAu.mjs";
3
- import { t as resolveApprovalMode } from "./approval-policy-CEMMPq92.mjs";
1
+ import { $ as listCommentReactionsInputSchema, $a as stripRateLimit, $i as getCommitDescription, $n as disablePullRequestAutoMergeInputSchema, $r as closeIssueDescription, $t as cancelWorkflowRunInputSchema, A as listDependabotAlertsCore, Aa as forkRepositoryInputSchema, Ai as listSubIssuesInputSchema, An as getReleaseCore, Ar as updatePullRequestBranchCore, At as addDiscussionCommentCore, B as searchIssuesDescription, Ba as getRepositoryCore, Bi as updateIssueCore, Bn as addPullRequestCommentDescription, Br as addAssigneesCore, Bt as getCiFailureContextDescription, C as withGithubGuardrails, Ca as deleteBranchDescription, Ci as listLabelsDescription, Cn as createReleaseInputSchema, Cr as replyToReviewCommentInputSchema, Ct as listGistCommentsInputSchema, D as listCodeScanningAlertsCore, Da as editFilesInputSchema, Di as listMilestonesInputSchema, Dn as getLatestReleaseCore, Dr as resolveReviewThreadCore, Dt as updateGistCore, E as isGithubWriteToolName, Ea as editFilesDescription, Ei as listMilestonesDescription, En as deleteReleaseInputSchema, Er as requestReviewersInputSchema, Et as listGistsInputSchema, F as listSecretScanningAlertsInputSchema, Fa as getCollaboratorPermissionDescription, Fi as removeLabelDescription, Fn as listReleasesInputSchema, Fr as updatePullRequestCommentInputSchema, Ft as getDiscussionInputSchema, G as addCommentReactionCore, Ga as getRepositoryTreeInputSchema, Gi as updateLabelInputSchema, Gn as createPullRequestReviewCore, Gr as addIssueCommentInputSchema, Gt as getPullRequestContextCore, H as searchRepositoriesCore, Ha as getRepositoryInputSchema, Hi as updateIssueInputSchema, Hn as createPullRequestCore, Hr as addAssigneesInputSchema, Ht as getIssueContextCore, I as searchCodeCore, Ia as getCollaboratorPermissionInputSchema, Ii as removeLabelInputSchema, In as updateReleaseCore, Ir as updatePullRequestCore, It as listDiscussionsCore, J as addIssueReactionCore, Ja as listBranchesInputSchema, Ji as compareCommitsInputSchema, Jn as deletePullRequestCommentCore, Jr as addLabelsInputSchema, Jt as getReleaseContextCore, K as addCommentReactionDescription, Ka as listBranchesCore, Ki as compareCommitsCore, Kn as createPullRequestReviewDescription, Kr as addLabelsCore, Kt as getPullRequestContextDescription, L as searchCodeDescription, La as getFileContentCore, Li as updateIssueCommentCore, Ln as updateReleaseDescription, Lr as updatePullRequestDescription, Lt as listDiscussionsDescription, M as listDependabotAlertsInputSchema, Ma as getBranchRulesDescription, Mi as removeAssigneesDescription, Mn as getReleaseInputSchema, Mr as updatePullRequestBranchInputSchema, Mt as addDiscussionCommentInputSchema, N as listSecretScanningAlertsCore, Na as getBranchRulesInputSchema, Ni as removeAssigneesInputSchema, Nn as listReleasesCore, Nr as updatePullRequestCommentCore, Nt as getDiscussionCore, O as listCodeScanningAlertsDescription, Oa as forkRepositoryCore, Oi as listSubIssuesCore, On as getLatestReleaseDescription, Or as resolveReviewThreadDescription, Ot as updateGistDescription, P as listSecretScanningAlertsDescription, Pa as getCollaboratorPermissionCore, Pi as removeLabelCore, Pn as listReleasesDescription, Pr as updatePullRequestCommentDescription, Pt as getDiscussionDescription, Q as listCommentReactionsDescription, Qi as getCommitCore, Qn as disablePullRequestAutoMergeDescription, Qr as closeIssueCore, Qt as cancelWorkflowRunDescription, R as searchCodeInputSchema, Ra as getFileContentDescription, Ri as updateIssueCommentDescription, Rn as updateReleaseInputSchema, Rr as updatePullRequestInputSchema, Rt as listDiscussionsInputSchema, S as resolveGithubToken, Sa as deleteBranchCore, Si as listLabelsCore, Sn as createReleaseDescription, Sr as replyToReviewCommentDescription, St as listGistCommentsDescription, T as GITHUB_TOOL_CATALOG, Ta as editFilesCore, Ti as listMilestonesCore, Tn as deleteReleaseDescription, Tr as requestReviewersDescription, Tt as listGistsDescription, U as searchRepositoriesDescription, Ua as getRepositoryTreeCore, Ui as updateLabelCore, Un as createPullRequestDescription, Ur as addIssueCommentCore, Ut as getIssueContextDescription, V as searchIssuesInputSchema, Va as getRepositoryDescription, Vi as updateIssueDescription, Vn as addPullRequestCommentInputSchema, Vr as addAssigneesDescription, Vt as getCiFailureContextInputSchema, W as searchRepositoriesInputSchema, Wa as getRepositoryTreeDescription, Wi as updateLabelDescription, Wn as createPullRequestInputSchema, Wr as addIssueCommentDescription, Wt as getIssueContextInputSchema, X as addIssueReactionInputSchema, Xi as getBlameDescription, Xn as deletePullRequestCommentInputSchema, Xr as addSubIssueDescription, Xt as getReleaseContextInputSchema, Y as addIssueReactionDescription, Yi as getBlameCore, Yn as deletePullRequestCommentDescription, Yr as addSubIssueCore, Yt as getReleaseContextDescription, Z as listCommentReactionsCore, Za as githubToolsErrors, Zi as getBlameInputSchema, Zn as disablePullRequestAutoMergeCore, Zr as addSubIssueInputSchema, Zt as cancelWorkflowRunCore, _a as createOrUpdateFileDescription, _i as listIssueCommentsDescription, _n as rerunWorkflowRunInputSchema, _r as listPullRequestsInputSchema, _t as deleteGistInputSchema, a as bindToolsContext, aa as createCommitStatusDescription, ai as createLabelDescription, an as getWorkflowRunInputSchema, ar as getPullRequestInputSchema, at as listNotificationsInputSchema, ba as createRepositoryDescription, bi as listIssuesDescription, bn as triggerWorkflowInputSchema, br as mergePullRequestInputSchema, bt as getGistInputSchema, ca as getCombinedStatusDescription, ci as deleteIssueCommentDescription, cn as listWorkflowJobsInputSchema, cr as listPullRequestFilesInputSchema, ct as markNotificationReadInputSchema, da as listCheckRunsDescription, di as deleteLabelDescription, dn as listWorkflowRunsInputSchema, dr as listPullRequestReviewThreadsInputSchema, dt as createGistCommentInputSchema, ea as getCommitInputSchema, ei as closeIssueInputSchema, en as getWorkflowJobLogsCore, er as enablePullRequestAutoMergeCore, et as listIssueReactionsCore, fa as listCheckRunsInputSchema, fi as deleteLabelInputSchema, fn as listWorkflowsCore, fr as listPullRequestReviewsCore, ft as createGistCore, ga as createOrUpdateFileCore, gi as listIssueCommentsCore, gn as rerunWorkflowRunDescription, gr as listPullRequestsDescription, gt as deleteGistDescription, ha as createBranchInputSchema, hi as getIssueInputSchema, hn as rerunWorkflowRunCore, hr as listPullRequestsCore, ht as deleteGistCore, i as dryRunWrite, ia as createCommitStatusCore, ii as createLabelCore, in as getWorkflowRunDescription, ir as getPullRequestDescription, it as listNotificationsDescription, j as listDependabotAlertsDescription, ja as getBranchRulesCore, ji as removeAssigneesCore, jn as getReleaseDescription, jr as updatePullRequestBranchDescription, jt as addDiscussionCommentDescription, k as listCodeScanningAlertsInputSchema, ka as forkRepositoryDescription, ki as listSubIssuesDescription, kn as getLatestReleaseInputSchema, kr as resolveReviewThreadInputSchema, kt as updateGistInputSchema, l as DEFAULT_EVALUATION_MODEL, la as getCombinedStatusInputSchema, li as deleteIssueCommentInputSchema, ln as listWorkflowRunsCore, lr as listPullRequestReviewThreadsCore, lt as createGistCommentCore, ma as createBranchDescription, mi as getIssueDescription, mn as listWorkflowsInputSchema, mr as listPullRequestReviewsInputSchema, mt as createGistInputSchema, n as resolveInstructions, na as listCommitsDescription, ni as createIssueDescription, nn as getWorkflowJobLogsInputSchema, nr as enablePullRequestAutoMergeInputSchema, nt as listIssueReactionsInputSchema, oa as createCommitStatusInputSchema, oi as createLabelInputSchema, on as listWorkflowJobsCore, or as listPullRequestFilesCore, ot as markNotificationReadCore, pa as createBranchCore, pi as getIssueCore, pn as listWorkflowsDescription, pr as listPullRequestReviewsDescription, pt as createGistDescription, q as addCommentReactionInputSchema, qa as listBranchesDescription, qi as compareCommitsDescription, qn as createPullRequestReviewInputSchema, qr as addLabelsDescription, qt as getPullRequestContextInputSchema, ra as listCommitsInputSchema, ri as createIssueInputSchema, rn as getWorkflowRunCore, rr as getPullRequestCore, rt as listNotificationsCore, sa as getCombinedStatusCore, si as deleteIssueCommentCore, sn as listWorkflowJobsDescription, sr as listPullRequestFilesDescription, st as markNotificationReadDescription, ta as listCommitsCore, ti as createIssueCore, tn as getWorkflowJobLogsDescription, tr as enablePullRequestAutoMergeDescription, tt as listIssueReactionsDescription, ua as listCheckRunsCore, ui as deleteLabelCore, un as listWorkflowRunsDescription, ur as listPullRequestReviewThreadsDescription, ut as createGistCommentDescription, va as createOrUpdateFileInputSchema, vi as listIssueCommentsInputSchema, vn as triggerWorkflowCore, vr as mergePullRequestCore, vt as getGistCore, w as ALL_GITHUB_TOOL_NAMES, wa as deleteBranchInputSchema, wi as listLabelsInputSchema, wn as deleteReleaseCore, wr as requestReviewersCore, wt as listGistsCore, x as githubTokenCall, xa as createRepositoryInputSchema, xi as listIssuesInputSchema, xn as createReleaseCore, xr as replyToReviewCommentCore, xt as listGistCommentsCore, y as resolvePresetTools, ya as createRepositoryCore, yi as listIssuesCore, yn as triggerWorkflowDescription, yr as mergePullRequestDescription, yt as getGistDescription, z as searchIssuesCore, za as getFileContentInputSchema, zi as updateIssueCommentInputSchema, zn as addPullRequestCommentCore, zr as guardrailViolation, zt as getCiFailureContextCore } from "./write-tools-C-962T9O.mjs";
2
+ import { _ as listPullRequestFilesToModelOutput, a as evaluationRequest, f as compareCommitsToModelOutput, g as getRepositoryTreeToModelOutput, h as getPullRequestContextToModelOutput, i as evaluateTools, m as getFileContentToModelOutput, n as autoApprovalDecision, o as fallbackPresets, p as getCommitToModelOutput, r as evaluatePresets, s as fallbackTools, t as assertEvaluationAvailable } from "./evaluation-Dlf-571x.mjs";
3
+ import { t as resolveApprovalMode } from "./approval-policy-DJlImo7H.mjs";
4
4
  import { ToolLoopAgent, asSchema, tool } from "ai";
5
5
  import { z } from "zod";
6
- //#region src/tools/repository.ts
6
+ // src/tools/repository.ts
7
7
  async function getRepositoryStep(args) {
8
8
  "use step";
9
9
  return getRepositoryCore(args);
@@ -174,8 +174,7 @@ const getCollaboratorPermission = (token) => tool({
174
174
  ...args
175
175
  })
176
176
  });
177
- //#endregion
178
- //#region src/tools/pull-requests.ts
177
+ // src/tools/pull-requests.ts
179
178
  async function listPullRequestsStep(args) {
180
179
  "use step";
181
180
  return listPullRequestsCore(args);
@@ -429,8 +428,7 @@ const updatePullRequestBranch = (token, { needsApproval = true, guardrails } = {
429
428
  guardrails
430
429
  })
431
430
  });
432
- //#endregion
433
- //#region src/tools/issues.ts
431
+ // src/tools/issues.ts
434
432
  async function listIssuesStep(args) {
435
433
  "use step";
436
434
  return listIssuesCore(args);
@@ -705,8 +703,7 @@ const addSubIssue = (token, { needsApproval = true } = {}) => tool({
705
703
  ...args
706
704
  })
707
705
  });
708
- //#endregion
709
- //#region src/tools/reactions.ts
706
+ // src/tools/reactions.ts
710
707
  async function listIssueReactionsStep(args) {
711
708
  "use step";
712
709
  return listIssueReactionsCore(args);
@@ -761,8 +758,7 @@ const addCommentReaction = (token, { needsApproval = true } = {}) => tool({
761
758
  ...args
762
759
  })
763
760
  });
764
- //#endregion
765
- //#region src/tools/discussions.ts
761
+ // src/tools/discussions.ts
766
762
  async function listDiscussionsStep(args) {
767
763
  "use step";
768
764
  return listDiscussionsCore(args);
@@ -803,8 +799,7 @@ const addDiscussionComment = (token, { needsApproval = true } = {}) => tool({
803
799
  ...args
804
800
  })
805
801
  });
806
- //#endregion
807
- //#region src/tools/notifications.ts
802
+ // src/tools/notifications.ts
808
803
  async function listNotificationsStep(args) {
809
804
  "use step";
810
805
  return listNotificationsCore(args);
@@ -832,8 +827,7 @@ const markNotificationRead = (token, { needsApproval = true } = {}) => tool({
832
827
  ...args
833
828
  })
834
829
  });
835
- //#endregion
836
- //#region src/tools/search.ts
830
+ // src/tools/search.ts
837
831
  async function searchCodeStep(args) {
838
832
  "use step";
839
833
  return searchCodeCore(args);
@@ -873,8 +867,7 @@ const searchIssues = (token) => tool({
873
867
  ...args
874
868
  })
875
869
  });
876
- //#endregion
877
- //#region src/tools/commits.ts
870
+ // src/tools/commits.ts
878
871
  async function listCommitsStep(args) {
879
872
  "use step";
880
873
  return listCommitsCore(args);
@@ -929,8 +922,7 @@ const compareCommits = (token) => tool({
929
922
  ...args
930
923
  })
931
924
  });
932
- //#endregion
933
- //#region src/tools/gists.ts
925
+ // src/tools/gists.ts
934
926
  async function listGistsStep(args) {
935
927
  "use step";
936
928
  return listGistsCore(args);
@@ -1026,8 +1018,7 @@ const createGistComment = (token, { needsApproval = true } = {}) => tool({
1026
1018
  ...args
1027
1019
  })
1028
1020
  });
1029
- //#endregion
1030
- //#region src/tools/workflows.ts
1021
+ // src/tools/workflows.ts
1031
1022
  async function listWorkflowsStep(args) {
1032
1023
  "use step";
1033
1024
  return listWorkflowsCore(args);
@@ -1135,8 +1126,7 @@ const rerunWorkflowRun = (token, { needsApproval = true } = {}) => tool({
1135
1126
  ...args
1136
1127
  })
1137
1128
  });
1138
- //#endregion
1139
- //#region src/tools/checks.ts
1129
+ // src/tools/checks.ts
1140
1130
  async function listCheckRunsStep(args) {
1141
1131
  "use step";
1142
1132
  return listCheckRunsCore(args);
@@ -1177,8 +1167,7 @@ const createCommitStatus = (token, { needsApproval = true } = {}) => tool({
1177
1167
  ...args
1178
1168
  })
1179
1169
  });
1180
- //#endregion
1181
- //#region src/tools/security.ts
1170
+ // src/tools/security.ts
1182
1171
  async function listCodeScanningAlertsStep(args) {
1183
1172
  "use step";
1184
1173
  return listCodeScanningAlertsCore(args);
@@ -1218,8 +1207,7 @@ const listSecretScanningAlerts = (token) => tool({
1218
1207
  ...args
1219
1208
  })
1220
1209
  });
1221
- //#endregion
1222
- //#region src/tools/releases.ts
1210
+ // src/tools/releases.ts
1223
1211
  async function listReleasesStep(args) {
1224
1212
  "use step";
1225
1213
  return listReleasesCore(args);
@@ -1301,8 +1289,7 @@ const deleteRelease = (token, { needsApproval = true } = {}) => tool({
1301
1289
  ...args
1302
1290
  })
1303
1291
  });
1304
- //#endregion
1305
- //#region src/tools/bundles.ts
1292
+ // src/tools/bundles.ts
1306
1293
  async function getPullRequestContextStep(args) {
1307
1294
  "use step";
1308
1295
  return getPullRequestContextCore(args);
@@ -1356,8 +1343,7 @@ const getCiFailureContext = (token) => tool({
1356
1343
  ...args
1357
1344
  })
1358
1345
  });
1359
- //#endregion
1360
- //#region src/core/approval.ts
1346
+ // src/core/approval.ts
1361
1347
  const MAX_CACHED_DECISIONS = 100;
1362
1348
  /**
1363
1349
  * Resolve the AI SDK `needsApproval` value for a write tool.
@@ -1408,8 +1394,7 @@ function resolveAiSdkToolApproval(toolName, config, evaluation) {
1408
1394
  };
1409
1395
  };
1410
1396
  }
1411
- //#endregion
1412
- //#region src/agents.ts
1397
+ // src/agents.ts
1413
1398
  const MAX_CACHED_ROUTES = 100;
1414
1399
  /** Name of the tool `preset: 'auto'` adds so the model can call GitHub tools that were not picked. */
1415
1400
  const CALL_GITHUB_TOOL = "callGithubTool";
@@ -1652,8 +1637,7 @@ function createGithubAgent({ token, preset, requireApproval, evaluation, overrid
1652
1637
  }
1653
1638
  return new ToolLoopAgent(settings);
1654
1639
  }
1655
- //#endregion
1656
- //#region src/index.ts
1640
+ // src/index.ts
1657
1641
  /**
1658
1642
  * Create a set of GitHub tools for the Vercel AI SDK.
1659
1643
  *
@@ -1887,7 +1871,6 @@ function withStrippedRateLimit(tool) {
1887
1871
  }
1888
1872
  };
1889
1873
  }
1890
- //#endregion
1891
1874
  export { addLabels as $, deleteGist as A, requestReviewers as At, searchIssues as B, forkRepository as Bt, listWorkflowJobs as C, getPullRequest as Ct, triggerWorkflow as D, listPullRequests as Dt, rerunWorkflowRun as E, listPullRequestReviews as Et, compareCommits as F, createBranch as Ft, getDiscussion as G, getRepositoryTree as Gt, listNotifications as H, getCollaboratorPermission as Ht, getBlame as I, createOrUpdateFile as It, addIssueReaction as J, listDiscussions as K, listBranches as Kt, getCommit as L, createRepository as Lt, listGistComments as M, updatePullRequest as Mt, listGists as N, updatePullRequestBranch as Nt, createGist as O, mergePullRequest as Ot, updateGist as P, updatePullRequestComment as Pt, addIssueComment as Q, listCommits as R, deleteBranch as Rt, getWorkflowRun as S, enablePullRequestAutoMerge as St, listWorkflows as T, listPullRequestReviewThreads as Tt, markNotificationRead as U, getFileContent as Ut, searchRepositories as V, getBranchRules as Vt, addDiscussionComment as W, getRepository as Wt, listIssueReactions as X, listCommentReactions as Y, addAssignees as Z, createCommitStatus as _, addPullRequestComment as _t, getIssueContext as a, deleteLabel as at, cancelWorkflowRun as b, deletePullRequestComment as bt, createRelease as c, listIssues as ct, getRelease as d, listSubIssues as dt, addSubIssue as et, listReleases as f, removeAssignees as ft, listSecretScanningAlerts as g, updateLabel as gt, listDependabotAlerts as h, updateIssueComment as ht, getCiFailureContext as i, deleteIssueComment as it, getGist as j, resolveReviewThread as jt, createGistComment as k, replyToReviewComment as kt, deleteRelease as l, listLabels as lt, listCodeScanningAlerts as m, updateIssue as mt, CALL_GITHUB_TOOL as n, createIssue as nt, getPullRequestContext as o, getIssue as ot, updateRelease as p, removeLabel as pt, addCommentReaction as q, createGithubAgent as r, createLabel as rt, getReleaseContext as s, listIssueComments as st, createGithubTools as t, closeIssue as tt, getLatestRelease as u, listMilestones as ut, getCombinedStatus as v, createPullRequest as vt, listWorkflowRuns as w, listPullRequestFiles as wt, getWorkflowJobLogs as x, disablePullRequestAutoMerge as xt, listCheckRuns as y, createPullRequestReview as yt, searchCode as z, editFiles as zt };
1892
1875
 
1893
- //# sourceMappingURL=src-BlhrSieS.mjs.map
1876
+ //# sourceMappingURL=src-BRZIY_PZ.mjs.map