@rnsk/toolkits 0.0.3 → 0.0.5

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 (175) hide show
  1. package/README.md +4 -4
  2. package/dist/index.d.ts +3 -1
  3. package/dist/index.js +5 -1
  4. package/dist/toolkits/github/tools/Actions/get-workflow-job.d.ts +3 -3
  5. package/dist/toolkits/github/tools/Actions/list-artifacts.d.ts +1 -1
  6. package/dist/toolkits/github/tools/Actions/list-workflow-jobs.d.ts +3 -3
  7. package/dist/toolkits/github/tools/Actions/list-workflow-run-artifacts.d.ts +1 -1
  8. package/dist/toolkits/github/tools/Activity/list-notifications.d.ts +1 -1
  9. package/dist/toolkits/github/tools/Activity/list-public-events.d.ts +1 -1
  10. package/dist/toolkits/github/tools/Activity/list-repo-events.d.ts +1 -1
  11. package/dist/toolkits/github/tools/Activity/list-user-events.d.ts +1 -1
  12. package/dist/toolkits/github/tools/Apps/list-installations.d.ts +1 -1
  13. package/dist/toolkits/github/tools/Checks/create-check-run.d.ts +5 -5
  14. package/dist/toolkits/github/tools/Checks/create-check-suite.d.ts +2 -2
  15. package/dist/toolkits/github/tools/Checks/get-check-run.d.ts +2 -2
  16. package/dist/toolkits/github/tools/Checks/get-check-suite.d.ts +2 -2
  17. package/dist/toolkits/github/tools/Checks/list-check-runs.d.ts +4 -4
  18. package/dist/toolkits/github/tools/Checks/update-check-run.d.ts +4 -4
  19. package/dist/toolkits/github/tools/CodeScanning/list-alerts.d.ts +2 -2
  20. package/dist/toolkits/github/tools/CodeScanning/update-alert.d.ts +1 -1
  21. package/dist/toolkits/github/tools/Collaborators/add-collaborator.d.ts +1 -1
  22. package/dist/toolkits/github/tools/Collaborators/check-collaborator.d.ts +1 -1
  23. package/dist/toolkits/github/tools/Collaborators/list-collaborators.d.ts +1 -1
  24. package/dist/toolkits/github/tools/Collaborators/remove-collaborator.d.ts +1 -1
  25. package/dist/toolkits/github/tools/Commits/compare-commits.d.ts +2 -2
  26. package/dist/toolkits/github/tools/Commits/get-commit.d.ts +2 -2
  27. package/dist/toolkits/github/tools/Commits/list-commits.d.ts +1 -1
  28. package/dist/toolkits/github/tools/Commits/list-pull-requests-associated-with-commit.d.ts +2 -2
  29. package/dist/toolkits/github/tools/Dependabot/list-alerts.d.ts +1 -1
  30. package/dist/toolkits/github/tools/Dependabot/update-alert.d.ts +1 -1
  31. package/dist/toolkits/github/tools/DeployKeys/list-deploy-keys.d.ts +1 -1
  32. package/dist/toolkits/github/tools/Deployments/create-deployment.d.ts +1 -1
  33. package/dist/toolkits/github/tools/Deployments/list-deployments.d.ts +1 -1
  34. package/dist/toolkits/github/tools/Environments/list-environments.d.ts +1 -1
  35. package/dist/toolkits/github/tools/Files/create-or-update-file.d.ts +1 -1
  36. package/dist/toolkits/github/tools/Gists/create-gist.d.ts +1 -1
  37. package/dist/toolkits/github/tools/Git/create-blob.d.ts +1 -1
  38. package/dist/toolkits/github/tools/Git/create-tree.d.ts +1 -1
  39. package/dist/toolkits/github/tools/Issues/add-issue-assignees.d.ts +1 -1
  40. package/dist/toolkits/github/tools/Issues/list-authenticated-user-issues.d.ts +3 -3
  41. package/dist/toolkits/github/tools/Issues/list-issue-comments.d.ts +1 -1
  42. package/dist/toolkits/github/tools/Issues/list-org-issues.d.ts +3 -3
  43. package/dist/toolkits/github/tools/Issues/list-repo-issues.d.ts +2 -2
  44. package/dist/toolkits/github/tools/Issues/list-user-account-issues.d.ts +3 -3
  45. package/dist/toolkits/github/tools/Organizations/get-org-membership.d.ts +1 -1
  46. package/dist/toolkits/github/tools/Organizations/list-org-members.d.ts +1 -1
  47. package/dist/toolkits/github/tools/Organizations/list-org-repositories.d.ts +2 -2
  48. package/dist/toolkits/github/tools/Organizations/list-user-organizations.d.ts +1 -1
  49. package/dist/toolkits/github/tools/Organizations/update-organization.d.ts +1 -1
  50. package/dist/toolkits/github/tools/PRs/create-pull-request-review.d.ts +1 -1
  51. package/dist/toolkits/github/tools/PRs/list-pull-request-files.d.ts +1 -1
  52. package/dist/toolkits/github/tools/PRs/list-pull-requests.d.ts +1 -1
  53. package/dist/toolkits/github/tools/Projects/list-org-projects.d.ts +1 -1
  54. package/dist/toolkits/github/tools/Projects/list-project-columns.d.ts +1 -1
  55. package/dist/toolkits/github/tools/Projects/list-repo-projects.d.ts +1 -1
  56. package/dist/toolkits/github/tools/Projects/update-project.d.ts +1 -1
  57. package/dist/toolkits/github/tools/Reactions/create-commit-comment-reaction.d.ts +1 -1
  58. package/dist/toolkits/github/tools/Reactions/create-issue-reaction.d.ts +1 -1
  59. package/dist/toolkits/github/tools/Reactions/list-commit-comment-reactions.d.ts +1 -1
  60. package/dist/toolkits/github/tools/Reactions/list-issue-reactions.d.ts +1 -1
  61. package/dist/toolkits/github/tools/Reactions/list-pr-comment-reactions.d.ts +1 -1
  62. package/dist/toolkits/github/tools/Releases/list-releases.d.ts +1 -1
  63. package/dist/toolkits/github/tools/Repos/get-repo-contributors.d.ts +1 -1
  64. package/dist/toolkits/github/tools/Repos/list-branches.d.ts +1 -1
  65. package/dist/toolkits/github/tools/Repos/list-repos.d.ts +2 -2
  66. package/dist/toolkits/github/tools/Repos/watch-repo.d.ts +1 -1
  67. package/dist/toolkits/github/tools/Search/search-repos.d.ts +1 -1
  68. package/dist/toolkits/github/tools/SecretScanning/list-alerts.d.ts +1 -1
  69. package/dist/toolkits/github/tools/SecretScanning/update-alert.d.ts +1 -1
  70. package/dist/toolkits/github/tools/SecurityAdvisories/create-repository-advisory.d.ts +1 -1
  71. package/dist/toolkits/github/tools/SecurityAdvisories/get-repository-advisory.d.ts +1 -1
  72. package/dist/toolkits/github/tools/SecurityAdvisories/list-global-advisories.d.ts +1 -1
  73. package/dist/toolkits/github/tools/SecurityAdvisories/list-repository-advisories.d.ts +2 -2
  74. package/dist/toolkits/github/tools/Stars/list-stargazers.d.ts +1 -1
  75. package/dist/toolkits/github/tools/Stars/list-starred-repos.d.ts +1 -1
  76. package/dist/toolkits/github/tools/Statuses/create-commit-status.d.ts +1 -1
  77. package/dist/toolkits/github/tools/Statuses/list-commit-statuses.d.ts +1 -1
  78. package/dist/toolkits/github/tools/Teams/list-team-members.d.ts +1 -1
  79. package/dist/toolkits/github/tools/Teams/list-team-repos.d.ts +1 -1
  80. package/dist/toolkits/github/tools/Teams/list-teams.d.ts +1 -1
  81. package/dist/toolkits/github/tools/Users/get-user-context.d.ts +1 -1
  82. package/dist/toolkits/github/tools/Users/update-authenticated-user.d.ts +1 -1
  83. package/dist/toolkits/github/tools/Webhooks/create-repo-webhook.d.ts +1 -1
  84. package/dist/toolkits/github/tools/Webhooks/list-repo-webhooks.d.ts +1 -1
  85. package/dist/toolkits/github/tools/Webhooks/update-repo-webhook.d.ts +1 -1
  86. package/dist/toolkits/github/tools/Workflows/list-workflow-runs.d.ts +2 -2
  87. package/dist/toolkits/github/tools/Workflows/list-workflows.d.ts +1 -1
  88. package/dist/toolkits/github/tools/index.d.ts +4859 -175
  89. package/dist/toolkits/github/tools/index.js +342 -342
  90. package/dist/toolkits/gmail/manifest.js +1 -1
  91. package/dist/toolkits/gmail/tools/create-draft.d.ts +1 -1
  92. package/dist/toolkits/gmail/tools/reply-to-thread.d.ts +1 -1
  93. package/dist/toolkits/gmail/tools/send-message.d.ts +1 -1
  94. package/dist/toolkits/google-calendar/manifest.js +1 -6
  95. package/dist/toolkits/google-docs/icon.d.ts +5 -0
  96. package/dist/toolkits/google-docs/icon.js +6 -0
  97. package/dist/toolkits/google-docs/manifest.d.ts +3 -0
  98. package/dist/toolkits/google-docs/manifest.js +40 -0
  99. package/dist/toolkits/google-docs/tools/append-text.d.ts +30 -0
  100. package/dist/toolkits/google-docs/tools/append-text.js +48 -0
  101. package/dist/toolkits/google-docs/tools/copy-document.d.ts +27 -0
  102. package/dist/toolkits/google-docs/tools/copy-document.js +43 -0
  103. package/dist/toolkits/google-docs/tools/create-document.d.ts +26 -0
  104. package/dist/toolkits/google-docs/tools/create-document.js +39 -0
  105. package/dist/toolkits/google-docs/tools/delete-content.d.ts +28 -0
  106. package/dist/toolkits/google-docs/tools/delete-content.js +45 -0
  107. package/dist/toolkits/google-docs/tools/delete-document.d.ts +23 -0
  108. package/dist/toolkits/google-docs/tools/delete-document.js +30 -0
  109. package/dist/toolkits/google-docs/tools/get-document-text.d.ts +26 -0
  110. package/dist/toolkits/google-docs/tools/get-document-text.js +35 -0
  111. package/dist/toolkits/google-docs/tools/get-document.d.ts +5 -0
  112. package/dist/toolkits/google-docs/tools/get-document.js +29 -0
  113. package/dist/toolkits/google-docs/tools/index.d.ts +299 -0
  114. package/dist/toolkits/google-docs/tools/index.js +85 -0
  115. package/dist/toolkits/google-docs/tools/insert-text.d.ts +28 -0
  116. package/dist/toolkits/google-docs/tools/insert-text.js +39 -0
  117. package/dist/toolkits/google-docs/tools/list-documents.d.ts +21 -0
  118. package/dist/toolkits/google-docs/tools/list-documents.js +39 -0
  119. package/dist/toolkits/google-docs/tools/replace-text.d.ts +32 -0
  120. package/dist/toolkits/google-docs/tools/replace-text.js +48 -0
  121. package/dist/toolkits/google-docs/tools/utils.d.ts +12 -0
  122. package/dist/toolkits/google-docs/tools/utils.js +48 -0
  123. package/dist/toolkits/google-drive/icon.d.ts +5 -0
  124. package/dist/toolkits/google-drive/icon.js +6 -0
  125. package/dist/toolkits/google-drive/manifest.d.ts +3 -0
  126. package/dist/toolkits/google-drive/manifest.js +37 -0
  127. package/dist/toolkits/google-drive/tools/copy-file.d.ts +7 -0
  128. package/dist/toolkits/google-drive/tools/copy-file.js +41 -0
  129. package/dist/toolkits/google-drive/tools/create-folder.d.ts +6 -0
  130. package/dist/toolkits/google-drive/tools/create-folder.js +42 -0
  131. package/dist/toolkits/google-drive/tools/delete-file.d.ts +23 -0
  132. package/dist/toolkits/google-drive/tools/delete-file.js +30 -0
  133. package/dist/toolkits/google-drive/tools/download-file.d.ts +30 -0
  134. package/dist/toolkits/google-drive/tools/download-file.js +61 -0
  135. package/dist/toolkits/google-drive/tools/get-file.d.ts +5 -0
  136. package/dist/toolkits/google-drive/tools/get-file.js +31 -0
  137. package/dist/toolkits/google-drive/tools/index.d.ts +188 -0
  138. package/dist/toolkits/google-drive/tools/index.js +85 -0
  139. package/dist/toolkits/google-drive/tools/list-files.d.ts +21 -0
  140. package/dist/toolkits/google-drive/tools/list-files.js +42 -0
  141. package/dist/toolkits/google-drive/tools/move-file.d.ts +7 -0
  142. package/dist/toolkits/google-drive/tools/move-file.js +51 -0
  143. package/dist/toolkits/google-drive/tools/search-files.d.ts +21 -0
  144. package/dist/toolkits/google-drive/tools/search-files.js +36 -0
  145. package/dist/toolkits/google-drive/tools/update-file.d.ts +7 -0
  146. package/dist/toolkits/google-drive/tools/update-file.js +44 -0
  147. package/dist/toolkits/google-drive/tools/upload-file.d.ts +8 -0
  148. package/dist/toolkits/google-drive/tools/upload-file.js +58 -0
  149. package/dist/toolkits/google-sheets/manifest.js +1 -6
  150. package/dist/toolkits/linear/manifest.js +35 -0
  151. package/dist/toolkits/linear/tools/add-comment.d.ts +6 -0
  152. package/dist/toolkits/linear/tools/add-comment.js +52 -0
  153. package/dist/toolkits/linear/tools/get-issue.d.ts +6 -0
  154. package/dist/toolkits/linear/tools/get-issue.js +117 -0
  155. package/dist/toolkits/linear/tools/list-projects.d.ts +4 -0
  156. package/dist/toolkits/linear/tools/list-projects.js +46 -0
  157. package/dist/toolkits/linear/tools/list-workflow-states.d.ts +26 -0
  158. package/dist/toolkits/linear/tools/list-workflow-states.js +59 -0
  159. package/dist/toolkits/linear/tools/update-issue.d.ts +11 -0
  160. package/dist/toolkits/linear/tools/update-issue.js +78 -0
  161. package/dist/toolkits/notion/tools/append-block-children.d.ts +1 -1
  162. package/dist/toolkits/notion/tools/index.d.ts +105 -12
  163. package/dist/toolkits/notion/tools/index.js +8 -8
  164. package/dist/toolkits/notion/tools/query-database.d.ts +1 -1
  165. package/package.json +20 -4
  166. package/dist/runtime/credentials.d.ts +0 -28
  167. package/dist/runtime/credentials.js +0 -15
  168. package/dist/runtime/index.d.ts +0 -5
  169. package/dist/runtime/index.js +0 -5
  170. package/dist/runtime/meta-tools.d.ts +0 -101
  171. package/dist/runtime/meta-tools.js +0 -250
  172. package/dist/runtime/registry.d.ts +0 -20
  173. package/dist/runtime/registry.js +0 -35
  174. package/dist/runtime/schema-helpers.d.ts +0 -20
  175. package/dist/runtime/schema-helpers.js +0 -157
@@ -1,176 +1,4860 @@
1
- export { listRepos } from './Repos/list-repos';
2
- export { createRepo } from './Repos/create-repo';
3
- export { getGitHubUser } from './Users/get-github-user';
4
- export { listRepoIssues } from './Issues/list-repo-issues';
5
- export { createIssue } from './Issues/create-issue';
6
- export { getRepo } from './Repos/get-repo';
7
- export { forkRepo } from './Repos/fork-repo';
8
- export { starRepo } from './Repos/star-repo';
9
- export { watchRepo } from './Repos/watch-repo';
10
- export { getRepoContributors } from './Repos/get-repo-contributors';
11
- export { getRepoLanguages } from './Repos/get-repo-languages';
12
- export { searchRepos } from './Search/search-repos';
13
- export { getFileContent } from './Files/get-file-content';
14
- export { createOrUpdateFile } from './Files/create-or-update-file';
15
- export { deleteFile } from './Files/delete-file';
16
- export { listCommits } from './Commits/list-commits';
17
- export { listBranchesForHeadCommit } from './Commits/list-branches-for-head-commit';
18
- export { listPullRequestsAssociatedWithCommit } from './Commits/list-pull-requests-associated-with-commit';
19
- export { getCommit } from './Commits/get-commit';
20
- export { compareCommits } from './Commits/compare-commits';
21
- export { listBranches } from './Repos/list-branches';
22
- export { updateIssue } from './Issues/update-issue';
23
- export { addIssueComment } from './Issues/add-issue-comment';
24
- export { listIssueComments } from './Issues/list-issue-comments';
25
- export { addIssueLabels } from './Issues/add-issue-labels';
26
- export { removeIssueLabel } from './Issues/remove-issue-label';
27
- export { addIssueAssignees } from './Issues/add-issue-assignees';
28
- export { lockIssue } from './Issues/lock-issue';
29
- export { searchIssues } from './Search/search-issues';
30
- export { listPullRequests } from './PRs/list-pull-requests';
31
- export { getPullRequest } from './PRs/get-pull-request';
32
- export { createPullRequest } from './PRs/create-pull-request';
33
- export { mergePullRequest } from './PRs/merge-pull-request';
34
- export { listPullRequestFiles } from './PRs/list-pull-request-files';
35
- export { createPullRequestReview } from './PRs/create-pull-request-review';
36
- export { updatePullRequest } from './PRs/update-pull-request';
37
- export { listPullRequestCommits } from './PRs/list-pull-request-commits';
38
- export { checkPullRequestMerged } from './PRs/check-pull-request-merged';
39
- export { updatePullRequestBranch } from './PRs/update-pull-request-branch';
40
- export { listWorkflows } from './Workflows/list-workflows';
41
- export { triggerWorkflow } from './Workflows/trigger-workflow';
42
- export { listWorkflowRuns } from './Workflows/list-workflow-runs';
43
- export { getWorkflowRun } from './Workflows/get-workflow-run';
44
- export { listGists } from './Gists/list-gists';
45
- export { createGist } from './Gists/create-gist';
46
- export { getGist } from './Gists/get-gist';
47
- export { searchUsers } from './Search/search-users';
48
- export { followUser } from './Users/follow-user';
49
- export { updateAuthenticatedUser } from './Users/update-authenticated-user';
50
- export { getUserById } from './Users/get-user-by-id';
51
- export { listUsers } from './Users/list-users';
52
- export { getUser } from './Users/get-user';
53
- export { getUserContext } from './Users/get-user-context';
54
- export { getIssue } from './Issues/get-issue';
55
- export { listAuthenticatedUserIssues } from './Issues/list-authenticated-user-issues';
56
- export { listOrgIssues } from './Issues/list-org-issues';
57
- export { listUserAccountIssues } from './Issues/list-user-account-issues';
58
- export { unlockIssue } from './Issues/unlock-issue';
59
- export { listArtifacts } from './Actions/list-artifacts';
60
- export { getArtifact } from './Actions/get-artifact';
61
- export { deleteArtifact } from './Actions/delete-artifact';
62
- export { listWorkflowRunArtifacts } from './Actions/list-workflow-run-artifacts';
63
- export { listWorkflowJobs } from './Actions/list-workflow-jobs';
64
- export { getWorkflowJob } from './Actions/get-workflow-job';
65
- export { listPublicEvents } from './Activity/list-public-events';
66
- export { listRepoEvents } from './Activity/list-repo-events';
67
- export { listUserEvents } from './Activity/list-user-events';
68
- export { listNotifications } from './Activity/list-notifications';
69
- export { markNotificationsRead } from './Activity/mark-notifications-read';
70
- export { getAuthenticatedApp } from './Apps/get-authenticated-app';
71
- export { listInstallations } from './Apps/list-installations';
72
- export { getInstallation } from './Apps/get-installation';
73
- export { createCheckRun } from './Checks/create-check-run';
74
- export { getCheckRun } from './Checks/get-check-run';
75
- export { updateCheckRun } from './Checks/update-check-run';
76
- export { listCheckRuns } from './Checks/list-check-runs';
77
- export { createCheckSuite } from './Checks/create-check-suite';
78
- export { getCheckSuite } from './Checks/get-check-suite';
79
- export { listCodeScanningAlerts } from './CodeScanning/list-alerts';
80
- export { getCodeScanningAlert } from './CodeScanning/get-alert';
81
- export { updateCodeScanningAlert } from './CodeScanning/update-alert';
82
- export { listCollaborators } from './Collaborators/list-collaborators';
83
- export { checkCollaborator } from './Collaborators/check-collaborator';
84
- export { addCollaborator } from './Collaborators/add-collaborator';
85
- export { removeCollaborator } from './Collaborators/remove-collaborator';
86
- export { listDependabotAlerts } from './Dependabot/list-alerts';
87
- export { getDependabotAlert } from './Dependabot/get-alert';
88
- export { updateDependabotAlert } from './Dependabot/update-alert';
89
- export { listDeployKeys } from './DeployKeys/list-deploy-keys';
90
- export { createDeployKey } from './DeployKeys/create-deploy-key';
91
- export { getDeployKey } from './DeployKeys/get-deploy-key';
92
- export { deleteDeployKey } from './DeployKeys/delete-deploy-key';
93
- export { listDeployments } from './Deployments/list-deployments';
94
- export { createDeployment } from './Deployments/create-deployment';
95
- export { getDeployment } from './Deployments/get-deployment';
96
- export { deleteDeployment } from './Deployments/delete-deployment';
97
- export { listEnvironments } from './Environments/list-environments';
98
- export { getEnvironment } from './Environments/get-environment';
99
- export { createOrUpdateEnvironment } from './Environments/create-or-update-environment';
100
- export { deleteEnvironment } from './Environments/delete-environment';
101
- export { getBlob } from './Git/get-blob';
102
- export { createBlob } from './Git/create-blob';
103
- export { getGitCommit } from './Git/get-git-commit';
104
- export { createGitCommit } from './Git/create-git-commit';
105
- export { getRef } from './Git/get-ref';
106
- export { createRef } from './Git/create-ref';
107
- export { updateRef } from './Git/update-ref';
108
- export { deleteRef } from './Git/delete-ref';
109
- export { getTree } from './Git/get-tree';
110
- export { createTree } from './Git/create-tree';
111
- export { listLicenses } from './Licenses/list-licenses';
112
- export { getLicense } from './Licenses/get-license';
113
- export { getRepoLicense } from './Licenses/get-repo-license';
114
- export { renderMarkdown } from './Markdown/render-markdown';
115
- export { getOrganization } from './Organizations/get-organization';
116
- export { listUserOrganizations } from './Organizations/list-user-organizations';
117
- export { listOrgRepositories } from './Organizations/list-org-repositories';
118
- export { listOrgMembers } from './Organizations/list-org-members';
119
- export { getOrgMembership } from './Organizations/get-org-membership';
120
- export { listOrganizations } from './Organizations/list-organizations';
121
- export { updateOrganization } from './Organizations/update-organization';
122
- export { listRepoProjects } from './Projects/list-repo-projects';
123
- export { listOrgProjects } from './Projects/list-org-projects';
124
- export { createOrgProject } from './Projects/create-org-project';
125
- export { getProject } from './Projects/get-project';
126
- export { updateProject } from './Projects/update-project';
127
- export { deleteProject } from './Projects/delete-project';
128
- export { listProjectColumns } from './Projects/list-project-columns';
129
- export { getRateLimit } from './RateLimit/get-rate-limit';
130
- export { listIssueReactions } from './Reactions/list-issue-reactions';
131
- export { createIssueReaction } from './Reactions/create-issue-reaction';
132
- export { listPRCommentReactions } from './Reactions/list-pr-comment-reactions';
133
- export { listCommitCommentReactions } from './Reactions/list-commit-comment-reactions';
134
- export { createCommitCommentReaction } from './Reactions/create-commit-comment-reaction';
135
- export { deleteReaction } from './Reactions/delete-reaction';
136
- export { listReleases } from './Releases/list-releases';
137
- export { createRelease } from './Releases/create-release';
138
- export { getRelease } from './Releases/get-release';
139
- export { updateRelease } from './Releases/update-release';
140
- export { deleteRelease } from './Releases/delete-release';
141
- export { getLatestRelease } from './Releases/get-latest-release';
142
- export { generateReleaseNotes } from './Releases/generate-release-notes';
143
- export { listSecretScanningAlerts } from './SecretScanning/list-alerts';
144
- export { getSecretScanningAlert } from './SecretScanning/get-alert';
145
- export { updateSecretScanningAlert } from './SecretScanning/update-alert';
146
- export { listRepositoryAdvisories } from './SecurityAdvisories/list-repository-advisories';
147
- export { getRepositoryAdvisory } from './SecurityAdvisories/get-repository-advisory';
148
- export { createRepositoryAdvisory } from './SecurityAdvisories/create-repository-advisory';
149
- export { listGlobalAdvisories } from './SecurityAdvisories/list-global-advisories';
150
- export { listStarredRepos } from './Stars/list-starred-repos';
151
- export { checkRepoStarred } from './Stars/check-repo-starred';
152
- export { listStargazers } from './Stars/list-stargazers';
153
- export { createCommitStatus } from './Statuses/create-commit-status';
154
- export { listCommitStatuses } from './Statuses/list-commit-statuses';
155
- export { getCombinedStatus } from './Statuses/get-combined-status';
156
- export { listTeams } from './Teams/list-teams';
157
- export { createTeam } from './Teams/create-team';
158
- export { getTeam } from './Teams/get-team';
159
- export { updateTeam } from './Teams/update-team';
160
- export { deleteTeam } from './Teams/delete-team';
161
- export { listTeamMembers } from './Teams/list-team-members';
162
- export { listTeamRepos } from './Teams/list-team-repos';
163
- export { addTeamRepo } from './Teams/add-team-repo';
164
- export { removeTeamRepo } from './Teams/remove-team-repo';
165
- export { listRepoWebhooks } from './Webhooks/list-repo-webhooks';
166
- export { createRepoWebhook } from './Webhooks/create-repo-webhook';
167
- export { getRepoWebhook } from './Webhooks/get-repo-webhook';
168
- export { updateRepoWebhook } from './Webhooks/update-repo-webhook';
169
- export { deleteRepoWebhook } from './Webhooks/delete-repo-webhook';
170
- export declare const githubTools: {
171
- name: string;
172
- description: string;
173
- tool: any;
174
- requiredAuth: "githubToken";
175
- }[];
1
+ export { listRepos } from './Repos/list-repos.js';
2
+ export { createRepo } from './Repos/create-repo.js';
3
+ export { getGitHubUser } from './Users/get-github-user.js';
4
+ export { listRepoIssues } from './Issues/list-repo-issues.js';
5
+ export { createIssue } from './Issues/create-issue.js';
6
+ export { getRepo } from './Repos/get-repo.js';
7
+ export { forkRepo } from './Repos/fork-repo.js';
8
+ export { starRepo } from './Repos/star-repo.js';
9
+ export { watchRepo } from './Repos/watch-repo.js';
10
+ export { getRepoContributors } from './Repos/get-repo-contributors.js';
11
+ export { getRepoLanguages } from './Repos/get-repo-languages.js';
12
+ export { searchRepos } from './Search/search-repos.js';
13
+ export { getFileContent } from './Files/get-file-content.js';
14
+ export { createOrUpdateFile } from './Files/create-or-update-file.js';
15
+ export { deleteFile } from './Files/delete-file.js';
16
+ export { listCommits } from './Commits/list-commits.js';
17
+ export { listBranchesForHeadCommit } from './Commits/list-branches-for-head-commit.js';
18
+ export { listPullRequestsAssociatedWithCommit } from './Commits/list-pull-requests-associated-with-commit.js';
19
+ export { getCommit } from './Commits/get-commit.js';
20
+ export { compareCommits } from './Commits/compare-commits.js';
21
+ export { listBranches } from './Repos/list-branches.js';
22
+ export { updateIssue } from './Issues/update-issue.js';
23
+ export { addIssueComment } from './Issues/add-issue-comment.js';
24
+ export { listIssueComments } from './Issues/list-issue-comments.js';
25
+ export { addIssueLabels } from './Issues/add-issue-labels.js';
26
+ export { removeIssueLabel } from './Issues/remove-issue-label.js';
27
+ export { addIssueAssignees } from './Issues/add-issue-assignees.js';
28
+ export { lockIssue } from './Issues/lock-issue.js';
29
+ export { searchIssues } from './Search/search-issues.js';
30
+ export { listPullRequests } from './PRs/list-pull-requests.js';
31
+ export { getPullRequest } from './PRs/get-pull-request.js';
32
+ export { createPullRequest } from './PRs/create-pull-request.js';
33
+ export { mergePullRequest } from './PRs/merge-pull-request.js';
34
+ export { listPullRequestFiles } from './PRs/list-pull-request-files.js';
35
+ export { createPullRequestReview } from './PRs/create-pull-request-review.js';
36
+ export { updatePullRequest } from './PRs/update-pull-request.js';
37
+ export { listPullRequestCommits } from './PRs/list-pull-request-commits.js';
38
+ export { checkPullRequestMerged } from './PRs/check-pull-request-merged.js';
39
+ export { updatePullRequestBranch } from './PRs/update-pull-request-branch.js';
40
+ export { listWorkflows } from './Workflows/list-workflows.js';
41
+ export { triggerWorkflow } from './Workflows/trigger-workflow.js';
42
+ export { listWorkflowRuns } from './Workflows/list-workflow-runs.js';
43
+ export { getWorkflowRun } from './Workflows/get-workflow-run.js';
44
+ export { listGists } from './Gists/list-gists.js';
45
+ export { createGist } from './Gists/create-gist.js';
46
+ export { getGist } from './Gists/get-gist.js';
47
+ export { searchUsers } from './Search/search-users.js';
48
+ export { followUser } from './Users/follow-user.js';
49
+ export { updateAuthenticatedUser } from './Users/update-authenticated-user.js';
50
+ export { getUserById } from './Users/get-user-by-id.js';
51
+ export { listUsers } from './Users/list-users.js';
52
+ export { getUser } from './Users/get-user.js';
53
+ export { getUserContext } from './Users/get-user-context.js';
54
+ export { getIssue } from './Issues/get-issue.js';
55
+ export { listAuthenticatedUserIssues } from './Issues/list-authenticated-user-issues.js';
56
+ export { listOrgIssues } from './Issues/list-org-issues.js';
57
+ export { listUserAccountIssues } from './Issues/list-user-account-issues.js';
58
+ export { unlockIssue } from './Issues/unlock-issue.js';
59
+ export { listArtifacts } from './Actions/list-artifacts.js';
60
+ export { getArtifact } from './Actions/get-artifact.js';
61
+ export { deleteArtifact } from './Actions/delete-artifact.js';
62
+ export { listWorkflowRunArtifacts } from './Actions/list-workflow-run-artifacts.js';
63
+ export { listWorkflowJobs } from './Actions/list-workflow-jobs.js';
64
+ export { getWorkflowJob } from './Actions/get-workflow-job.js';
65
+ export { listPublicEvents } from './Activity/list-public-events.js';
66
+ export { listRepoEvents } from './Activity/list-repo-events.js';
67
+ export { listUserEvents } from './Activity/list-user-events.js';
68
+ export { listNotifications } from './Activity/list-notifications.js';
69
+ export { markNotificationsRead } from './Activity/mark-notifications-read.js';
70
+ export { getAuthenticatedApp } from './Apps/get-authenticated-app.js';
71
+ export { listInstallations } from './Apps/list-installations.js';
72
+ export { getInstallation } from './Apps/get-installation.js';
73
+ export { createCheckRun } from './Checks/create-check-run.js';
74
+ export { getCheckRun } from './Checks/get-check-run.js';
75
+ export { updateCheckRun } from './Checks/update-check-run.js';
76
+ export { listCheckRuns } from './Checks/list-check-runs.js';
77
+ export { createCheckSuite } from './Checks/create-check-suite.js';
78
+ export { getCheckSuite } from './Checks/get-check-suite.js';
79
+ export { listCodeScanningAlerts } from './CodeScanning/list-alerts.js';
80
+ export { getCodeScanningAlert } from './CodeScanning/get-alert.js';
81
+ export { updateCodeScanningAlert } from './CodeScanning/update-alert.js';
82
+ export { listCollaborators } from './Collaborators/list-collaborators.js';
83
+ export { checkCollaborator } from './Collaborators/check-collaborator.js';
84
+ export { addCollaborator } from './Collaborators/add-collaborator.js';
85
+ export { removeCollaborator } from './Collaborators/remove-collaborator.js';
86
+ export { listDependabotAlerts } from './Dependabot/list-alerts.js';
87
+ export { getDependabotAlert } from './Dependabot/get-alert.js';
88
+ export { updateDependabotAlert } from './Dependabot/update-alert.js';
89
+ export { listDeployKeys } from './DeployKeys/list-deploy-keys.js';
90
+ export { createDeployKey } from './DeployKeys/create-deploy-key.js';
91
+ export { getDeployKey } from './DeployKeys/get-deploy-key.js';
92
+ export { deleteDeployKey } from './DeployKeys/delete-deploy-key.js';
93
+ export { listDeployments } from './Deployments/list-deployments.js';
94
+ export { createDeployment } from './Deployments/create-deployment.js';
95
+ export { getDeployment } from './Deployments/get-deployment.js';
96
+ export { deleteDeployment } from './Deployments/delete-deployment.js';
97
+ export { listEnvironments } from './Environments/list-environments.js';
98
+ export { getEnvironment } from './Environments/get-environment.js';
99
+ export { createOrUpdateEnvironment } from './Environments/create-or-update-environment.js';
100
+ export { deleteEnvironment } from './Environments/delete-environment.js';
101
+ export { getBlob } from './Git/get-blob.js';
102
+ export { createBlob } from './Git/create-blob.js';
103
+ export { getGitCommit } from './Git/get-git-commit.js';
104
+ export { createGitCommit } from './Git/create-git-commit.js';
105
+ export { getRef } from './Git/get-ref.js';
106
+ export { createRef } from './Git/create-ref.js';
107
+ export { updateRef } from './Git/update-ref.js';
108
+ export { deleteRef } from './Git/delete-ref.js';
109
+ export { getTree } from './Git/get-tree.js';
110
+ export { createTree } from './Git/create-tree.js';
111
+ export { listLicenses } from './Licenses/list-licenses.js';
112
+ export { getLicense } from './Licenses/get-license.js';
113
+ export { getRepoLicense } from './Licenses/get-repo-license.js';
114
+ export { renderMarkdown } from './Markdown/render-markdown.js';
115
+ export { getOrganization } from './Organizations/get-organization.js';
116
+ export { listUserOrganizations } from './Organizations/list-user-organizations.js';
117
+ export { listOrgRepositories } from './Organizations/list-org-repositories.js';
118
+ export { listOrgMembers } from './Organizations/list-org-members.js';
119
+ export { getOrgMembership } from './Organizations/get-org-membership.js';
120
+ export { listOrganizations } from './Organizations/list-organizations.js';
121
+ export { updateOrganization } from './Organizations/update-organization.js';
122
+ export { listRepoProjects } from './Projects/list-repo-projects.js';
123
+ export { listOrgProjects } from './Projects/list-org-projects.js';
124
+ export { createOrgProject } from './Projects/create-org-project.js';
125
+ export { getProject } from './Projects/get-project.js';
126
+ export { updateProject } from './Projects/update-project.js';
127
+ export { deleteProject } from './Projects/delete-project.js';
128
+ export { listProjectColumns } from './Projects/list-project-columns.js';
129
+ export { getRateLimit } from './RateLimit/get-rate-limit.js';
130
+ export { listIssueReactions } from './Reactions/list-issue-reactions.js';
131
+ export { createIssueReaction } from './Reactions/create-issue-reaction.js';
132
+ export { listPRCommentReactions } from './Reactions/list-pr-comment-reactions.js';
133
+ export { listCommitCommentReactions } from './Reactions/list-commit-comment-reactions.js';
134
+ export { createCommitCommentReaction } from './Reactions/create-commit-comment-reaction.js';
135
+ export { deleteReaction } from './Reactions/delete-reaction.js';
136
+ export { listReleases } from './Releases/list-releases.js';
137
+ export { createRelease } from './Releases/create-release.js';
138
+ export { getRelease } from './Releases/get-release.js';
139
+ export { updateRelease } from './Releases/update-release.js';
140
+ export { deleteRelease } from './Releases/delete-release.js';
141
+ export { getLatestRelease } from './Releases/get-latest-release.js';
142
+ export { generateReleaseNotes } from './Releases/generate-release-notes.js';
143
+ export { listSecretScanningAlerts } from './SecretScanning/list-alerts.js';
144
+ export { getSecretScanningAlert } from './SecretScanning/get-alert.js';
145
+ export { updateSecretScanningAlert } from './SecretScanning/update-alert.js';
146
+ export { listRepositoryAdvisories } from './SecurityAdvisories/list-repository-advisories.js';
147
+ export { getRepositoryAdvisory } from './SecurityAdvisories/get-repository-advisory.js';
148
+ export { createRepositoryAdvisory } from './SecurityAdvisories/create-repository-advisory.js';
149
+ export { listGlobalAdvisories } from './SecurityAdvisories/list-global-advisories.js';
150
+ export { listStarredRepos } from './Stars/list-starred-repos.js';
151
+ export { checkRepoStarred } from './Stars/check-repo-starred.js';
152
+ export { listStargazers } from './Stars/list-stargazers.js';
153
+ export { createCommitStatus } from './Statuses/create-commit-status.js';
154
+ export { listCommitStatuses } from './Statuses/list-commit-statuses.js';
155
+ export { getCombinedStatus } from './Statuses/get-combined-status.js';
156
+ export { listTeams } from './Teams/list-teams.js';
157
+ export { createTeam } from './Teams/create-team.js';
158
+ export { getTeam } from './Teams/get-team.js';
159
+ export { updateTeam } from './Teams/update-team.js';
160
+ export { deleteTeam } from './Teams/delete-team.js';
161
+ export { listTeamMembers } from './Teams/list-team-members.js';
162
+ export { listTeamRepos } from './Teams/list-team-repos.js';
163
+ export { addTeamRepo } from './Teams/add-team-repo.js';
164
+ export { removeTeamRepo } from './Teams/remove-team-repo.js';
165
+ export { listRepoWebhooks } from './Webhooks/list-repo-webhooks.js';
166
+ export { createRepoWebhook } from './Webhooks/create-repo-webhook.js';
167
+ export { getRepoWebhook } from './Webhooks/get-repo-webhook.js';
168
+ export { updateRepoWebhook } from './Webhooks/update-repo-webhook.js';
169
+ export { deleteRepoWebhook } from './Webhooks/delete-repo-webhook.js';
170
+ export declare const githubTools: ({
171
+ name: string;
172
+ description: string;
173
+ tool: import("ai").Tool<{
174
+ sort: "created" | "updated" | "pushed" | "full_name";
175
+ perPage: number;
176
+ page: number;
177
+ githubToken?: string | undefined;
178
+ }, {
179
+ error: string;
180
+ repos?: undefined;
181
+ total?: undefined;
182
+ } | {
183
+ repos: {
184
+ name: string;
185
+ full_name: string;
186
+ description: string | null;
187
+ visibility: string;
188
+ html_url: string;
189
+ private: boolean;
190
+ }[];
191
+ total: number;
192
+ error?: undefined;
193
+ }>;
194
+ requiredAuth: "githubToken";
195
+ } | {
196
+ name: string;
197
+ description: string;
198
+ tool: import("ai").Tool<{
199
+ name: string;
200
+ private: boolean;
201
+ has_issues: boolean;
202
+ has_projects: boolean;
203
+ has_wiki: boolean;
204
+ auto_init: boolean;
205
+ description?: string | undefined;
206
+ homepage?: string | undefined;
207
+ githubToken?: string | undefined;
208
+ gitignore_template?: string | undefined;
209
+ license_template?: string | undefined;
210
+ }, {
211
+ error: string;
212
+ success?: undefined;
213
+ repo?: undefined;
214
+ } | {
215
+ success: boolean;
216
+ repo: {
217
+ name: string;
218
+ full_name: string;
219
+ description: string | null;
220
+ html_url: string;
221
+ private: boolean;
222
+ };
223
+ error?: undefined;
224
+ } | {
225
+ success: boolean;
226
+ error: any;
227
+ repo?: undefined;
228
+ }>;
229
+ requiredAuth: "githubToken";
230
+ } | {
231
+ name: string;
232
+ description: string;
233
+ tool: import("ai").Tool<{
234
+ githubToken?: string | undefined;
235
+ }, {
236
+ error: string;
237
+ id?: undefined;
238
+ login?: undefined;
239
+ name?: undefined;
240
+ email?: undefined;
241
+ avatar_url?: undefined;
242
+ html_url?: undefined;
243
+ bio?: undefined;
244
+ company?: undefined;
245
+ blog?: undefined;
246
+ location?: undefined;
247
+ hireable?: undefined;
248
+ public_repos?: undefined;
249
+ public_gists?: undefined;
250
+ followers?: undefined;
251
+ following?: undefined;
252
+ created_at?: undefined;
253
+ updated_at?: undefined;
254
+ total_private_repos?: undefined;
255
+ owned_private_repos?: undefined;
256
+ disk_usage?: undefined;
257
+ collaborators?: undefined;
258
+ two_factor_authentication?: undefined;
259
+ plan?: undefined;
260
+ } | {
261
+ id: number;
262
+ login: string;
263
+ name: string | null;
264
+ email: string | null;
265
+ avatar_url: string;
266
+ html_url: string;
267
+ bio: string | null;
268
+ company: string | null;
269
+ blog: string | null;
270
+ location: string | null;
271
+ hireable: boolean | null;
272
+ public_repos: number;
273
+ public_gists: number;
274
+ followers: number;
275
+ following: number;
276
+ created_at: string;
277
+ updated_at: string;
278
+ total_private_repos: number | undefined;
279
+ owned_private_repos: number | undefined;
280
+ disk_usage: number | undefined;
281
+ collaborators: number | undefined;
282
+ two_factor_authentication: any;
283
+ plan: {
284
+ collaborators: number;
285
+ name: string;
286
+ space: number;
287
+ private_repos: number;
288
+ } | {
289
+ collaborators: number;
290
+ name: string;
291
+ space: number;
292
+ private_repos: number;
293
+ } | undefined;
294
+ error?: undefined;
295
+ }>;
296
+ requiredAuth: "githubToken";
297
+ } | {
298
+ name: string;
299
+ description: string;
300
+ tool: import("ai").Tool<{
301
+ location?: string | undefined;
302
+ githubToken?: string | undefined;
303
+ name?: string | undefined;
304
+ email?: string | undefined;
305
+ blog?: string | undefined;
306
+ company?: string | undefined;
307
+ hireable?: boolean | undefined;
308
+ bio?: string | undefined;
309
+ }, {
310
+ login: string;
311
+ id: number;
312
+ user_view_type?: string;
313
+ node_id: string;
314
+ avatar_url: string;
315
+ gravatar_id: string | null;
316
+ url: string;
317
+ html_url: string;
318
+ followers_url: string;
319
+ following_url: string;
320
+ gists_url: string;
321
+ starred_url: string;
322
+ subscriptions_url: string;
323
+ organizations_url: string;
324
+ repos_url: string;
325
+ events_url: string;
326
+ received_events_url: string;
327
+ type: string;
328
+ site_admin: boolean;
329
+ name: string | null;
330
+ company: string | null;
331
+ blog: string | null;
332
+ location: string | null;
333
+ email: string | null;
334
+ notification_email?: string | null;
335
+ hireable: boolean | null;
336
+ bio: string | null;
337
+ twitter_username?: string | null;
338
+ public_repos: number;
339
+ public_gists: number;
340
+ followers: number;
341
+ following: number;
342
+ created_at: string;
343
+ updated_at: string;
344
+ private_gists: number;
345
+ total_private_repos: number;
346
+ owned_private_repos: number;
347
+ disk_usage: number;
348
+ collaborators: number;
349
+ two_factor_authentication: boolean;
350
+ plan?: {
351
+ collaborators: number;
352
+ name: string;
353
+ space: number;
354
+ private_repos: number;
355
+ };
356
+ business_plus?: boolean;
357
+ ldap_dn?: string;
358
+ } | {
359
+ error: string;
360
+ }>;
361
+ requiredAuth: "githubToken";
362
+ } | {
363
+ name: string;
364
+ description: string;
365
+ tool: import("ai").Tool<{
366
+ id: number;
367
+ githubToken?: string | undefined;
368
+ }, {
369
+ login: string;
370
+ id: number;
371
+ user_view_type?: string;
372
+ node_id: string;
373
+ avatar_url: string;
374
+ gravatar_id: string | null;
375
+ url: string;
376
+ html_url: string;
377
+ followers_url: string;
378
+ following_url: string;
379
+ gists_url: string;
380
+ starred_url: string;
381
+ subscriptions_url: string;
382
+ organizations_url: string;
383
+ repos_url: string;
384
+ events_url: string;
385
+ received_events_url: string;
386
+ type: string;
387
+ site_admin: boolean;
388
+ name: string | null;
389
+ company: string | null;
390
+ blog: string | null;
391
+ location: string | null;
392
+ email: string | null;
393
+ notification_email?: string | null;
394
+ hireable: boolean | null;
395
+ bio: string | null;
396
+ twitter_username?: string | null;
397
+ public_repos: number;
398
+ public_gists: number;
399
+ followers: number;
400
+ following: number;
401
+ created_at: string;
402
+ updated_at: string;
403
+ plan?: {
404
+ collaborators: number;
405
+ name: string;
406
+ space: number;
407
+ private_repos: number;
408
+ };
409
+ private_gists?: number;
410
+ total_private_repos?: number;
411
+ owned_private_repos?: number;
412
+ disk_usage?: number;
413
+ collaborators?: number;
414
+ } | {
415
+ error: string;
416
+ }>;
417
+ requiredAuth: "githubToken";
418
+ } | {
419
+ name: string;
420
+ description: string;
421
+ tool: import("ai").Tool<{
422
+ since?: number | undefined;
423
+ githubToken?: string | undefined;
424
+ per_page?: number | undefined;
425
+ }, {
426
+ name?: string | null;
427
+ email?: string | null;
428
+ login: string;
429
+ id: number;
430
+ node_id: string;
431
+ avatar_url: string;
432
+ gravatar_id: string | null;
433
+ url: string;
434
+ html_url: string;
435
+ followers_url: string;
436
+ following_url: string;
437
+ gists_url: string;
438
+ starred_url: string;
439
+ subscriptions_url: string;
440
+ organizations_url: string;
441
+ repos_url: string;
442
+ events_url: string;
443
+ received_events_url: string;
444
+ type: string;
445
+ site_admin: boolean;
446
+ starred_at?: string;
447
+ user_view_type?: string;
448
+ }[] | {
449
+ error: string;
450
+ }>;
451
+ requiredAuth: "githubToken";
452
+ } | {
453
+ name: string;
454
+ description: string;
455
+ tool: import("ai").Tool<{
456
+ username: string;
457
+ githubToken?: string | undefined;
458
+ }, {
459
+ login: string;
460
+ id: number;
461
+ user_view_type?: string;
462
+ node_id: string;
463
+ avatar_url: string;
464
+ gravatar_id: string | null;
465
+ url: string;
466
+ html_url: string;
467
+ followers_url: string;
468
+ following_url: string;
469
+ gists_url: string;
470
+ starred_url: string;
471
+ subscriptions_url: string;
472
+ organizations_url: string;
473
+ repos_url: string;
474
+ events_url: string;
475
+ received_events_url: string;
476
+ type: string;
477
+ site_admin: boolean;
478
+ name: string | null;
479
+ company: string | null;
480
+ blog: string | null;
481
+ location: string | null;
482
+ email: string | null;
483
+ notification_email?: string | null;
484
+ hireable: boolean | null;
485
+ bio: string | null;
486
+ twitter_username?: string | null;
487
+ public_repos: number;
488
+ public_gists: number;
489
+ followers: number;
490
+ following: number;
491
+ created_at: string;
492
+ updated_at: string;
493
+ plan?: {
494
+ collaborators: number;
495
+ name: string;
496
+ space: number;
497
+ private_repos: number;
498
+ };
499
+ private_gists?: number;
500
+ total_private_repos?: number;
501
+ owned_private_repos?: number;
502
+ disk_usage?: number;
503
+ collaborators?: number;
504
+ } | {
505
+ error: string;
506
+ }>;
507
+ requiredAuth: "githubToken";
508
+ } | {
509
+ name: string;
510
+ description: string;
511
+ tool: import("ai").Tool<{
512
+ username: string;
513
+ githubToken?: string | undefined;
514
+ subject_type?: "repository" | "organization" | "issue" | "pull_request" | undefined;
515
+ subject_id?: string | undefined;
516
+ }, {
517
+ contexts: {
518
+ message: string;
519
+ octicon: string;
520
+ }[];
521
+ } | {
522
+ error: string;
523
+ }>;
524
+ requiredAuth: "githubToken";
525
+ } | {
526
+ name: string;
527
+ description: string;
528
+ tool: import("ai").Tool<{
529
+ repo: string;
530
+ perPage: number;
531
+ page: number;
532
+ owner: string;
533
+ state: "all" | "open" | "closed";
534
+ githubToken?: string | undefined;
535
+ }, {
536
+ error: string;
537
+ owner?: undefined;
538
+ repo?: undefined;
539
+ issues?: undefined;
540
+ total?: undefined;
541
+ } | {
542
+ owner: string;
543
+ repo: string;
544
+ issues: {
545
+ number: number;
546
+ title: string;
547
+ state: string;
548
+ html_url: string;
549
+ user: string | null;
550
+ created_at: string;
551
+ }[];
552
+ total: number;
553
+ error?: undefined;
554
+ }>;
555
+ requiredAuth: "githubToken";
556
+ } | {
557
+ name: string;
558
+ description: string;
559
+ tool: import("ai").Tool<{
560
+ title: string;
561
+ repo: string;
562
+ owner: string;
563
+ body?: string | undefined;
564
+ githubToken?: string | undefined;
565
+ }, {
566
+ error: string;
567
+ number?: undefined;
568
+ title?: undefined;
569
+ state?: undefined;
570
+ html_url?: undefined;
571
+ created_at?: undefined;
572
+ } | {
573
+ number: number;
574
+ title: string;
575
+ state: string;
576
+ html_url: string;
577
+ created_at: string;
578
+ error?: undefined;
579
+ }>;
580
+ requiredAuth: "githubToken";
581
+ } | {
582
+ name: string;
583
+ description: string;
584
+ tool: import("ai").Tool<{
585
+ repo: string;
586
+ owner: string;
587
+ githubToken?: string | undefined;
588
+ }, {
589
+ error: string;
590
+ name?: undefined;
591
+ full_name?: undefined;
592
+ description?: undefined;
593
+ private?: undefined;
594
+ html_url?: undefined;
595
+ clone_url?: undefined;
596
+ stars?: undefined;
597
+ forks?: undefined;
598
+ open_issues?: undefined;
599
+ default_branch?: undefined;
600
+ created_at?: undefined;
601
+ updated_at?: undefined;
602
+ language?: undefined;
603
+ } | {
604
+ name: string;
605
+ full_name: string;
606
+ description: string | null;
607
+ private: boolean;
608
+ html_url: string;
609
+ clone_url: string;
610
+ stars: number;
611
+ forks: number;
612
+ open_issues: number;
613
+ default_branch: string;
614
+ created_at: string;
615
+ updated_at: string;
616
+ language: string | null;
617
+ error?: undefined;
618
+ }>;
619
+ requiredAuth: "githubToken";
620
+ } | {
621
+ name: string;
622
+ description: string;
623
+ tool: import("ai").Tool<{
624
+ repo: string;
625
+ owner: string;
626
+ githubToken?: string | undefined;
627
+ organization?: string | undefined;
628
+ }, {
629
+ error: string;
630
+ full_name?: undefined;
631
+ html_url?: undefined;
632
+ message?: undefined;
633
+ } | {
634
+ full_name: string;
635
+ html_url: string;
636
+ message: string;
637
+ error?: undefined;
638
+ }>;
639
+ requiredAuth: "githubToken";
640
+ } | {
641
+ name: string;
642
+ description: string;
643
+ tool: import("ai").Tool<{
644
+ repo: string;
645
+ owner: string;
646
+ action: "star" | "unstar";
647
+ githubToken?: string | undefined;
648
+ }, {
649
+ error: string;
650
+ message?: undefined;
651
+ } | {
652
+ message: string;
653
+ error?: undefined;
654
+ }>;
655
+ requiredAuth: "githubToken";
656
+ } | {
657
+ name: string;
658
+ description: string;
659
+ tool: import("ai").Tool<{
660
+ repo: string;
661
+ owner: string;
662
+ githubToken?: string | undefined;
663
+ ignored?: boolean | undefined;
664
+ subscribed?: boolean | undefined;
665
+ }, {
666
+ error: string;
667
+ subscribed?: undefined;
668
+ ignored?: undefined;
669
+ message?: undefined;
670
+ } | {
671
+ subscribed: boolean;
672
+ ignored: boolean;
673
+ message: string;
674
+ error?: undefined;
675
+ }>;
676
+ requiredAuth: "githubToken";
677
+ } | {
678
+ name: string;
679
+ description: string;
680
+ tool: import("ai").Tool<{
681
+ repo: string;
682
+ perPage: number;
683
+ owner: string;
684
+ githubToken?: string | undefined;
685
+ }, {
686
+ error: string;
687
+ contributors?: undefined;
688
+ count?: undefined;
689
+ } | {
690
+ contributors: {
691
+ login: string | undefined;
692
+ contributions: number;
693
+ avatar_url: string | undefined;
694
+ html_url: string | undefined;
695
+ }[];
696
+ count: number;
697
+ error?: undefined;
698
+ }>;
699
+ requiredAuth: "githubToken";
700
+ } | {
701
+ name: string;
702
+ description: string;
703
+ tool: import("ai").Tool<{
704
+ repo: string;
705
+ owner: string;
706
+ githubToken?: string | undefined;
707
+ }, {
708
+ error: string;
709
+ languages?: undefined;
710
+ } | {
711
+ languages: {
712
+ [key: string]: number;
713
+ };
714
+ error?: undefined;
715
+ }>;
716
+ requiredAuth: "githubToken";
717
+ } | {
718
+ name: string;
719
+ description: string;
720
+ tool: import("ai").Tool<{
721
+ query: string;
722
+ perPage: number;
723
+ order: "asc" | "desc";
724
+ sort?: "updated" | "stars" | "forks" | "help-wanted-issues" | undefined;
725
+ githubToken?: string | undefined;
726
+ }, {
727
+ error: string;
728
+ total_count?: undefined;
729
+ items?: undefined;
730
+ } | {
731
+ total_count: number;
732
+ items: {
733
+ full_name: string;
734
+ description: string | null;
735
+ html_url: string;
736
+ stargazers_count: number;
737
+ language: string | null;
738
+ }[];
739
+ error?: undefined;
740
+ }>;
741
+ requiredAuth: "githubToken";
742
+ } | {
743
+ name: string;
744
+ description: string;
745
+ tool: import("ai").Tool<{
746
+ q: string;
747
+ sort?: "indexed" | undefined;
748
+ githubToken?: string | undefined;
749
+ per_page?: number | undefined;
750
+ order?: "asc" | "desc" | undefined;
751
+ }, {
752
+ total_count: number;
753
+ incomplete_results: boolean;
754
+ items: import("@octokit/openapi-types").components["schemas"]["code-search-result-item"][];
755
+ } | {
756
+ error: string;
757
+ }>;
758
+ requiredAuth: "githubToken";
759
+ } | {
760
+ name: string;
761
+ description: string;
762
+ tool: import("ai").Tool<{
763
+ q: string;
764
+ sort?: "author-date" | "committer-date" | undefined;
765
+ githubToken?: string | undefined;
766
+ per_page?: number | undefined;
767
+ order?: "asc" | "desc" | undefined;
768
+ }, {
769
+ total_count: number;
770
+ incomplete_results: boolean;
771
+ items: import("@octokit/openapi-types").components["schemas"]["commit-search-result-item"][];
772
+ } | {
773
+ error: string;
774
+ }>;
775
+ requiredAuth: "githubToken";
776
+ } | {
777
+ name: string;
778
+ description: string;
779
+ tool: import("ai").Tool<{
780
+ q: string;
781
+ repository_id: number;
782
+ sort?: "created" | "updated" | undefined;
783
+ githubToken?: string | undefined;
784
+ per_page?: number | undefined;
785
+ order?: "asc" | "desc" | undefined;
786
+ }, {
787
+ total_count: number;
788
+ incomplete_results: boolean;
789
+ items: import("@octokit/openapi-types").components["schemas"]["label-search-result-item"][];
790
+ } | {
791
+ error: string;
792
+ }>;
793
+ requiredAuth: "githubToken";
794
+ } | {
795
+ name: string;
796
+ description: string;
797
+ tool: import("ai").Tool<{
798
+ q: string;
799
+ githubToken?: string | undefined;
800
+ per_page?: number | undefined;
801
+ }, {
802
+ total_count: number;
803
+ incomplete_results: boolean;
804
+ items: import("@octokit/openapi-types").components["schemas"]["topic-search-result-item"][];
805
+ } | {
806
+ error: string;
807
+ }>;
808
+ requiredAuth: "githubToken";
809
+ } | {
810
+ name: string;
811
+ description: string;
812
+ tool: import("ai").Tool<{
813
+ path: string;
814
+ repo: string;
815
+ owner: string;
816
+ githubToken?: string | undefined;
817
+ ref?: string | undefined;
818
+ }, {
819
+ error: string;
820
+ name?: undefined;
821
+ path?: undefined;
822
+ sha?: undefined;
823
+ content?: undefined;
824
+ download_url?: undefined;
825
+ message?: undefined;
826
+ } | {
827
+ name: string;
828
+ path: string;
829
+ sha: string;
830
+ content: string;
831
+ error?: undefined;
832
+ download_url?: undefined;
833
+ message?: undefined;
834
+ } | {
835
+ name: string;
836
+ path: string;
837
+ sha: string;
838
+ download_url: string | null;
839
+ message: string;
840
+ error?: undefined;
841
+ content?: undefined;
842
+ }>;
843
+ requiredAuth: "githubToken";
844
+ } | {
845
+ name: string;
846
+ description: string;
847
+ tool: import("ai").Tool<{
848
+ path: string;
849
+ message: string;
850
+ repo: string;
851
+ content: string;
852
+ owner: string;
853
+ githubToken?: string | undefined;
854
+ sha?: string | undefined;
855
+ branch?: string | undefined;
856
+ }, {
857
+ error: string;
858
+ content?: undefined;
859
+ commit?: undefined;
860
+ html_url?: undefined;
861
+ } | {
862
+ content: string | undefined;
863
+ commit: string | undefined;
864
+ html_url: string | undefined;
865
+ error?: undefined;
866
+ }>;
867
+ requiredAuth: "githubToken";
868
+ } | {
869
+ name: string;
870
+ description: string;
871
+ tool: import("ai").Tool<{
872
+ path: string;
873
+ message: string;
874
+ repo: string;
875
+ owner: string;
876
+ sha: string;
877
+ githubToken?: string | undefined;
878
+ branch?: string | undefined;
879
+ }, {
880
+ error: string;
881
+ commit?: undefined;
882
+ message?: undefined;
883
+ } | {
884
+ commit: string | undefined;
885
+ message: string;
886
+ error?: undefined;
887
+ }>;
888
+ requiredAuth: "githubToken";
889
+ } | {
890
+ name: string;
891
+ description: string;
892
+ tool: import("ai").Tool<{
893
+ repo: string;
894
+ perPage: number;
895
+ owner: string;
896
+ path?: string | undefined;
897
+ githubToken?: string | undefined;
898
+ sha?: string | undefined;
899
+ }, {
900
+ error: string;
901
+ commits?: undefined;
902
+ } | {
903
+ commits: {
904
+ sha: string;
905
+ message: string;
906
+ author: string | undefined;
907
+ date: string | undefined;
908
+ html_url: string;
909
+ }[];
910
+ error?: undefined;
911
+ }>;
912
+ requiredAuth: "githubToken";
913
+ } | {
914
+ name: string;
915
+ description: string;
916
+ tool: import("ai").Tool<{
917
+ repo: string;
918
+ owner: string;
919
+ commit_sha: string;
920
+ githubToken?: string | undefined;
921
+ }, {
922
+ error: string;
923
+ branches?: undefined;
924
+ } | {
925
+ branches: {
926
+ name: string;
927
+ commit: {
928
+ sha: string;
929
+ url: string;
930
+ };
931
+ protected: boolean;
932
+ }[];
933
+ error?: undefined;
934
+ }>;
935
+ requiredAuth: "githubToken";
936
+ } | {
937
+ name: string;
938
+ description: string;
939
+ tool: import("ai").Tool<{
940
+ repo: string;
941
+ perPage: number;
942
+ page: number;
943
+ owner: string;
944
+ commit_sha: string;
945
+ githubToken?: string | undefined;
946
+ }, {
947
+ error: string;
948
+ pullRequests?: undefined;
949
+ } | {
950
+ pullRequests: {
951
+ url: string;
952
+ id: number;
953
+ node_id: string;
954
+ html_url: string;
955
+ diff_url: string;
956
+ patch_url: string;
957
+ issue_url: string;
958
+ commits_url: string;
959
+ review_comments_url: string;
960
+ review_comment_url: string;
961
+ comments_url: string;
962
+ statuses_url: string;
963
+ number: number;
964
+ state: string;
965
+ locked: boolean;
966
+ title: string;
967
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
968
+ body: string | null;
969
+ labels: {
970
+ id: number;
971
+ node_id: string;
972
+ url: string;
973
+ name: string;
974
+ description: string;
975
+ color: string;
976
+ default: boolean;
977
+ }[];
978
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
979
+ active_lock_reason?: string | null;
980
+ created_at: string;
981
+ updated_at: string;
982
+ closed_at: string | null;
983
+ merged_at: string | null;
984
+ merge_commit_sha: string | null;
985
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
986
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
987
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
988
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team"][] | null;
989
+ head: {
990
+ label: string;
991
+ ref: string;
992
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
993
+ sha: string;
994
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
995
+ };
996
+ base: {
997
+ label: string;
998
+ ref: string;
999
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1000
+ sha: string;
1001
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1002
+ };
1003
+ _links: {
1004
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1005
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1006
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1007
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1008
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1009
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1010
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1011
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1012
+ };
1013
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1014
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1015
+ draft?: boolean;
1016
+ }[];
1017
+ error?: undefined;
1018
+ }>;
1019
+ requiredAuth: "githubToken";
1020
+ } | {
1021
+ name: string;
1022
+ description: string;
1023
+ tool: import("ai").Tool<{
1024
+ repo: string;
1025
+ perPage: number;
1026
+ page: number;
1027
+ owner: string;
1028
+ ref: string;
1029
+ githubToken?: string | undefined;
1030
+ }, {
1031
+ error: string;
1032
+ commit?: undefined;
1033
+ } | {
1034
+ commit: {
1035
+ url: string;
1036
+ sha: string;
1037
+ node_id: string;
1038
+ html_url: string;
1039
+ comments_url: string;
1040
+ commit: {
1041
+ url: string;
1042
+ author: import("@octokit/openapi-types").components["schemas"]["nullable-git-user"];
1043
+ committer: import("@octokit/openapi-types").components["schemas"]["nullable-git-user"];
1044
+ message: string;
1045
+ comment_count: number;
1046
+ tree: {
1047
+ sha: string;
1048
+ url: string;
1049
+ };
1050
+ verification?: import("@octokit/openapi-types").components["schemas"]["verification"];
1051
+ };
1052
+ author: import("@octokit/openapi-types").components["schemas"]["simple-user"] | import("@octokit/openapi-types").components["schemas"]["empty-object"] | null;
1053
+ committer: import("@octokit/openapi-types").components["schemas"]["simple-user"] | import("@octokit/openapi-types").components["schemas"]["empty-object"] | null;
1054
+ parents: {
1055
+ sha: string;
1056
+ url: string;
1057
+ html_url?: string;
1058
+ }[];
1059
+ stats?: {
1060
+ additions?: number;
1061
+ deletions?: number;
1062
+ total?: number;
1063
+ };
1064
+ files?: import("@octokit/openapi-types").components["schemas"]["diff-entry"][];
1065
+ };
1066
+ error?: undefined;
1067
+ }>;
1068
+ requiredAuth: "githubToken";
1069
+ } | {
1070
+ name: string;
1071
+ description: string;
1072
+ tool: import("ai").Tool<{
1073
+ repo: string;
1074
+ perPage: number;
1075
+ page: number;
1076
+ owner: string;
1077
+ base: string;
1078
+ head: string;
1079
+ githubToken?: string | undefined;
1080
+ }, {
1081
+ error: string;
1082
+ comparison?: undefined;
1083
+ } | {
1084
+ comparison: {
1085
+ url: string;
1086
+ html_url: string;
1087
+ permalink_url: string;
1088
+ diff_url: string;
1089
+ patch_url: string;
1090
+ base_commit: import("@octokit/openapi-types").components["schemas"]["commit"];
1091
+ merge_base_commit: import("@octokit/openapi-types").components["schemas"]["commit"];
1092
+ status: "diverged" | "ahead" | "behind" | "identical";
1093
+ ahead_by: number;
1094
+ behind_by: number;
1095
+ total_commits: number;
1096
+ commits: import("@octokit/openapi-types").components["schemas"]["commit"][];
1097
+ files?: import("@octokit/openapi-types").components["schemas"]["diff-entry"][];
1098
+ };
1099
+ error?: undefined;
1100
+ }>;
1101
+ requiredAuth: "githubToken";
1102
+ } | {
1103
+ name: string;
1104
+ description: string;
1105
+ tool: import("ai").Tool<{
1106
+ repo: string;
1107
+ perPage: number;
1108
+ owner: string;
1109
+ githubToken?: string | undefined;
1110
+ }, {
1111
+ error: string;
1112
+ branches?: undefined;
1113
+ } | {
1114
+ branches: {
1115
+ name: string;
1116
+ sha: string;
1117
+ protected: boolean;
1118
+ }[];
1119
+ error?: undefined;
1120
+ }>;
1121
+ requiredAuth: "githubToken";
1122
+ } | {
1123
+ name: string;
1124
+ description: string;
1125
+ tool: import("ai").Tool<{
1126
+ repo: string;
1127
+ owner: string;
1128
+ issueNumber: number;
1129
+ title?: string | undefined;
1130
+ body?: string | undefined;
1131
+ githubToken?: string | undefined;
1132
+ state?: "open" | "closed" | undefined;
1133
+ }, {
1134
+ error: string;
1135
+ number?: undefined;
1136
+ title?: undefined;
1137
+ state?: undefined;
1138
+ html_url?: undefined;
1139
+ } | {
1140
+ number: number;
1141
+ title: string;
1142
+ state: string;
1143
+ html_url: string;
1144
+ error?: undefined;
1145
+ }>;
1146
+ requiredAuth: "githubToken";
1147
+ } | {
1148
+ name: string;
1149
+ description: string;
1150
+ tool: import("ai").Tool<{
1151
+ body: string;
1152
+ repo: string;
1153
+ owner: string;
1154
+ issueNumber: number;
1155
+ githubToken?: string | undefined;
1156
+ }, {
1157
+ error: string;
1158
+ id?: undefined;
1159
+ body?: undefined;
1160
+ html_url?: undefined;
1161
+ created_at?: undefined;
1162
+ } | {
1163
+ id: number;
1164
+ body: string | undefined;
1165
+ html_url: string;
1166
+ created_at: string;
1167
+ error?: undefined;
1168
+ }>;
1169
+ requiredAuth: "githubToken";
1170
+ } | {
1171
+ name: string;
1172
+ description: string;
1173
+ tool: import("ai").Tool<{
1174
+ repo: string;
1175
+ perPage: number;
1176
+ owner: string;
1177
+ issueNumber: number;
1178
+ githubToken?: string | undefined;
1179
+ }, {
1180
+ error: string;
1181
+ comments?: undefined;
1182
+ } | {
1183
+ comments: {
1184
+ id: number;
1185
+ user: string | undefined;
1186
+ body: string | undefined;
1187
+ created_at: string;
1188
+ }[];
1189
+ error?: undefined;
1190
+ }>;
1191
+ requiredAuth: "githubToken";
1192
+ } | {
1193
+ name: string;
1194
+ description: string;
1195
+ tool: import("ai").Tool<{
1196
+ labels: string[];
1197
+ repo: string;
1198
+ owner: string;
1199
+ issueNumber: number;
1200
+ githubToken?: string | undefined;
1201
+ }, {
1202
+ error: string;
1203
+ labels?: undefined;
1204
+ } | {
1205
+ labels: string[];
1206
+ error?: undefined;
1207
+ }>;
1208
+ requiredAuth: "githubToken";
1209
+ } | {
1210
+ name: string;
1211
+ description: string;
1212
+ tool: import("ai").Tool<{
1213
+ repo: string;
1214
+ owner: string;
1215
+ issueNumber: number;
1216
+ label: string;
1217
+ githubToken?: string | undefined;
1218
+ }, {
1219
+ error: string;
1220
+ message?: undefined;
1221
+ } | {
1222
+ message: string;
1223
+ error?: undefined;
1224
+ }>;
1225
+ requiredAuth: "githubToken";
1226
+ } | {
1227
+ name: string;
1228
+ description: string;
1229
+ tool: import("ai").Tool<{
1230
+ repo: string;
1231
+ owner: string;
1232
+ assignees: string[];
1233
+ issueNumber: number;
1234
+ githubToken?: string | undefined;
1235
+ }, {
1236
+ error: string;
1237
+ assignees?: undefined;
1238
+ } | {
1239
+ assignees: string[] | undefined;
1240
+ error?: undefined;
1241
+ }>;
1242
+ requiredAuth: "githubToken";
1243
+ } | {
1244
+ name: string;
1245
+ description: string;
1246
+ tool: import("ai").Tool<{
1247
+ repo: string;
1248
+ owner: string;
1249
+ issueNumber: number;
1250
+ githubToken?: string | undefined;
1251
+ lockReason?: "off-topic" | "too heated" | "resolved" | "spam" | undefined;
1252
+ unlock?: boolean | undefined;
1253
+ }, {
1254
+ error: string;
1255
+ message?: undefined;
1256
+ } | {
1257
+ message: string;
1258
+ error?: undefined;
1259
+ }>;
1260
+ requiredAuth: "githubToken";
1261
+ } | {
1262
+ name: string;
1263
+ description: string;
1264
+ tool: import("ai").Tool<{
1265
+ q: string;
1266
+ perPage: number;
1267
+ order: "asc" | "desc";
1268
+ sort?: "created" | "updated" | "comments" | "reactions" | "reactions-+1" | "reactions--1" | "reactions-smile" | "reactions-thinking_face" | "reactions-heart" | "reactions-tada" | undefined;
1269
+ githubToken?: string | undefined;
1270
+ }, {
1271
+ error: string;
1272
+ total_count?: undefined;
1273
+ items?: undefined;
1274
+ } | {
1275
+ total_count: number;
1276
+ items: {
1277
+ number: number;
1278
+ title: string;
1279
+ state: string;
1280
+ html_url: string;
1281
+ user: string | undefined;
1282
+ pull_request: boolean;
1283
+ }[];
1284
+ error?: undefined;
1285
+ }>;
1286
+ requiredAuth: "githubToken";
1287
+ } | {
1288
+ name: string;
1289
+ description: string;
1290
+ tool: import("ai").Tool<{
1291
+ repo: string;
1292
+ perPage: number;
1293
+ owner: string;
1294
+ state: "all" | "open" | "closed";
1295
+ githubToken?: string | undefined;
1296
+ }, {
1297
+ error: string;
1298
+ pull_requests?: undefined;
1299
+ count?: undefined;
1300
+ } | {
1301
+ pull_requests: {
1302
+ number: number;
1303
+ title: string;
1304
+ state: string;
1305
+ html_url: string;
1306
+ user: string | undefined;
1307
+ head: string;
1308
+ base: string;
1309
+ }[];
1310
+ count: number;
1311
+ error?: undefined;
1312
+ }>;
1313
+ requiredAuth: "githubToken";
1314
+ } | {
1315
+ name: string;
1316
+ description: string;
1317
+ tool: import("ai").Tool<{
1318
+ repo: string;
1319
+ owner: string;
1320
+ pullNumber: number;
1321
+ githubToken?: string | undefined;
1322
+ }, {
1323
+ error: string;
1324
+ number?: undefined;
1325
+ title?: undefined;
1326
+ body?: undefined;
1327
+ state?: undefined;
1328
+ html_url?: undefined;
1329
+ user?: undefined;
1330
+ head?: undefined;
1331
+ base?: undefined;
1332
+ merged?: undefined;
1333
+ mergeable?: undefined;
1334
+ comments?: undefined;
1335
+ commits?: undefined;
1336
+ additions?: undefined;
1337
+ deletions?: undefined;
1338
+ changed_files?: undefined;
1339
+ } | {
1340
+ number: number;
1341
+ title: string;
1342
+ body: string | null;
1343
+ state: "open" | "closed";
1344
+ html_url: string;
1345
+ user: string;
1346
+ head: string;
1347
+ base: string;
1348
+ merged: boolean;
1349
+ mergeable: boolean | null;
1350
+ comments: number;
1351
+ commits: number;
1352
+ additions: number;
1353
+ deletions: number;
1354
+ changed_files: number;
1355
+ error?: undefined;
1356
+ }>;
1357
+ requiredAuth: "githubToken";
1358
+ } | {
1359
+ name: string;
1360
+ description: string;
1361
+ tool: import("ai").Tool<{
1362
+ title: string;
1363
+ repo: string;
1364
+ owner: string;
1365
+ base: string;
1366
+ head: string;
1367
+ body?: string | undefined;
1368
+ githubToken?: string | undefined;
1369
+ draft?: boolean | undefined;
1370
+ }, {
1371
+ error: string;
1372
+ number?: undefined;
1373
+ title?: undefined;
1374
+ html_url?: undefined;
1375
+ state?: undefined;
1376
+ } | {
1377
+ number: number;
1378
+ title: string;
1379
+ html_url: string;
1380
+ state: "open" | "closed";
1381
+ error?: undefined;
1382
+ }>;
1383
+ requiredAuth: "githubToken";
1384
+ } | {
1385
+ name: string;
1386
+ description: string;
1387
+ tool: import("ai").Tool<{
1388
+ repo: string;
1389
+ owner: string;
1390
+ pullNumber: number;
1391
+ mergeMethod: "merge" | "squash" | "rebase";
1392
+ githubToken?: string | undefined;
1393
+ commitTitle?: string | undefined;
1394
+ commitMessage?: string | undefined;
1395
+ }, {
1396
+ error: string;
1397
+ sha?: undefined;
1398
+ merged?: undefined;
1399
+ message?: undefined;
1400
+ } | {
1401
+ sha: string;
1402
+ merged: boolean;
1403
+ message: string;
1404
+ error?: undefined;
1405
+ }>;
1406
+ requiredAuth: "githubToken";
1407
+ } | {
1408
+ name: string;
1409
+ description: string;
1410
+ tool: import("ai").Tool<{
1411
+ repo: string;
1412
+ perPage: number;
1413
+ owner: string;
1414
+ pullNumber: number;
1415
+ githubToken?: string | undefined;
1416
+ }, {
1417
+ error: string;
1418
+ files?: undefined;
1419
+ count?: undefined;
1420
+ } | {
1421
+ files: {
1422
+ filename: string;
1423
+ status: "added" | "removed" | "modified" | "renamed" | "copied" | "changed" | "unchanged";
1424
+ additions: number;
1425
+ deletions: number;
1426
+ changes: number;
1427
+ }[];
1428
+ count: number;
1429
+ error?: undefined;
1430
+ }>;
1431
+ requiredAuth: "githubToken";
1432
+ } | {
1433
+ name: string;
1434
+ description: string;
1435
+ tool: import("ai").Tool<{
1436
+ repo: string;
1437
+ owner: string;
1438
+ pullNumber: number;
1439
+ event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT";
1440
+ body?: string | undefined;
1441
+ githubToken?: string | undefined;
1442
+ }, {
1443
+ error: string;
1444
+ id?: undefined;
1445
+ state?: undefined;
1446
+ html_url?: undefined;
1447
+ } | {
1448
+ id: number;
1449
+ state: string;
1450
+ html_url: string;
1451
+ error?: undefined;
1452
+ }>;
1453
+ requiredAuth: "githubToken";
1454
+ } | {
1455
+ name: string;
1456
+ description: string;
1457
+ tool: import("ai").Tool<{
1458
+ repo: string;
1459
+ owner: string;
1460
+ pullNumber: number;
1461
+ title?: string | undefined;
1462
+ body?: string | undefined;
1463
+ githubToken?: string | undefined;
1464
+ state?: "open" | "closed" | undefined;
1465
+ base?: string | undefined;
1466
+ maintainer_can_modify?: boolean | undefined;
1467
+ }, {
1468
+ error: string;
1469
+ number?: undefined;
1470
+ title?: undefined;
1471
+ state?: undefined;
1472
+ html_url?: undefined;
1473
+ merged?: undefined;
1474
+ } | {
1475
+ number: number;
1476
+ title: string;
1477
+ state: "open" | "closed";
1478
+ html_url: string;
1479
+ merged: boolean;
1480
+ error?: undefined;
1481
+ }>;
1482
+ requiredAuth: "githubToken";
1483
+ } | {
1484
+ name: string;
1485
+ description: string;
1486
+ tool: import("ai").Tool<{
1487
+ repo: string;
1488
+ owner: string;
1489
+ pullNumber: number;
1490
+ githubToken?: string | undefined;
1491
+ }, {
1492
+ sha: string;
1493
+ message: string;
1494
+ author: string | undefined;
1495
+ date: string | undefined;
1496
+ url: string;
1497
+ }[] | {
1498
+ error: string;
1499
+ }>;
1500
+ requiredAuth: "githubToken";
1501
+ } | {
1502
+ name: string;
1503
+ description: string;
1504
+ tool: import("ai").Tool<{
1505
+ repo: string;
1506
+ owner: string;
1507
+ pullNumber: number;
1508
+ githubToken?: string | undefined;
1509
+ }, {
1510
+ error: string;
1511
+ merged?: undefined;
1512
+ } | {
1513
+ merged: boolean;
1514
+ error?: undefined;
1515
+ }>;
1516
+ requiredAuth: "githubToken";
1517
+ } | {
1518
+ name: string;
1519
+ description: string;
1520
+ tool: import("ai").Tool<{
1521
+ repo: string;
1522
+ owner: string;
1523
+ pullNumber: number;
1524
+ githubToken?: string | undefined;
1525
+ expected_head_sha?: string | undefined;
1526
+ }, {
1527
+ error: string;
1528
+ message?: undefined;
1529
+ url?: undefined;
1530
+ } | {
1531
+ message: string | undefined;
1532
+ url: string | undefined;
1533
+ error?: undefined;
1534
+ }>;
1535
+ requiredAuth: "githubToken";
1536
+ } | {
1537
+ name: string;
1538
+ description: string;
1539
+ tool: import("ai").Tool<{
1540
+ repo: string;
1541
+ perPage: number;
1542
+ owner: string;
1543
+ githubToken?: string | undefined;
1544
+ }, {
1545
+ error: string;
1546
+ total_count?: undefined;
1547
+ workflows?: undefined;
1548
+ } | {
1549
+ total_count: number;
1550
+ workflows: {
1551
+ id: number;
1552
+ name: string;
1553
+ state: "active" | "deleted" | "disabled_fork" | "disabled_inactivity" | "disabled_manually";
1554
+ path: string;
1555
+ html_url: string;
1556
+ }[];
1557
+ error?: undefined;
1558
+ }>;
1559
+ requiredAuth: "githubToken";
1560
+ } | {
1561
+ name: string;
1562
+ description: string;
1563
+ tool: import("ai").Tool<{
1564
+ repo: string;
1565
+ owner: string;
1566
+ ref: string;
1567
+ workflowId: string | number;
1568
+ githubToken?: string | undefined;
1569
+ inputs?: Record<string, string> | undefined;
1570
+ }, {
1571
+ error: string;
1572
+ message?: undefined;
1573
+ } | {
1574
+ message: string;
1575
+ error?: undefined;
1576
+ }>;
1577
+ requiredAuth: "githubToken";
1578
+ } | {
1579
+ name: string;
1580
+ description: string;
1581
+ tool: import("ai").Tool<{
1582
+ repo: string;
1583
+ perPage: number;
1584
+ owner: string;
1585
+ status?: "success" | "completed" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "stale" | "timed_out" | "in_progress" | "queued" | "requested" | "waiting" | undefined;
1586
+ githubToken?: string | undefined;
1587
+ workflowId?: string | number | undefined;
1588
+ }, {
1589
+ error: string;
1590
+ total_count?: undefined;
1591
+ workflow_runs?: undefined;
1592
+ } | {
1593
+ total_count: number;
1594
+ workflow_runs: {
1595
+ id: number;
1596
+ name: string | null | undefined;
1597
+ status: string | null;
1598
+ conclusion: string | null;
1599
+ html_url: string;
1600
+ created_at: string;
1601
+ updated_at: string;
1602
+ }[];
1603
+ error?: undefined;
1604
+ }>;
1605
+ requiredAuth: "githubToken";
1606
+ } | {
1607
+ name: string;
1608
+ description: string;
1609
+ tool: import("ai").Tool<{
1610
+ repo: string;
1611
+ owner: string;
1612
+ runId: number;
1613
+ githubToken?: string | undefined;
1614
+ }, {
1615
+ error: string;
1616
+ id?: undefined;
1617
+ name?: undefined;
1618
+ status?: undefined;
1619
+ conclusion?: undefined;
1620
+ workflow_id?: undefined;
1621
+ html_url?: undefined;
1622
+ head_branch?: undefined;
1623
+ head_sha?: undefined;
1624
+ created_at?: undefined;
1625
+ updated_at?: undefined;
1626
+ } | {
1627
+ id: number;
1628
+ name: string | null | undefined;
1629
+ status: string | null;
1630
+ conclusion: string | null;
1631
+ workflow_id: number;
1632
+ html_url: string;
1633
+ head_branch: string | null;
1634
+ head_sha: string;
1635
+ created_at: string;
1636
+ updated_at: string;
1637
+ error?: undefined;
1638
+ }>;
1639
+ requiredAuth: "githubToken";
1640
+ } | {
1641
+ name: string;
1642
+ description: string;
1643
+ tool: import("ai").Tool<{
1644
+ perPage: number;
1645
+ since?: string | undefined;
1646
+ githubToken?: string | undefined;
1647
+ }, {
1648
+ error: string;
1649
+ gists?: undefined;
1650
+ } | {
1651
+ gists: {
1652
+ id: string;
1653
+ description: string | null;
1654
+ public: boolean;
1655
+ html_url: string;
1656
+ files: string[];
1657
+ created_at: string;
1658
+ }[];
1659
+ error?: undefined;
1660
+ }>;
1661
+ requiredAuth: "githubToken";
1662
+ } | {
1663
+ name: string;
1664
+ description: string;
1665
+ tool: import("ai").Tool<{
1666
+ files: Record<string, {
1667
+ content: string;
1668
+ }>;
1669
+ public: boolean;
1670
+ description?: string | undefined;
1671
+ githubToken?: string | undefined;
1672
+ }, {
1673
+ error: string;
1674
+ id?: undefined;
1675
+ html_url?: undefined;
1676
+ files?: undefined;
1677
+ } | {
1678
+ id: string | undefined;
1679
+ html_url: string | undefined;
1680
+ files: string[];
1681
+ error?: undefined;
1682
+ }>;
1683
+ requiredAuth: "githubToken";
1684
+ } | {
1685
+ name: string;
1686
+ description: string;
1687
+ tool: import("ai").Tool<{
1688
+ gistId: string;
1689
+ githubToken?: string | undefined;
1690
+ }, {
1691
+ error: string;
1692
+ id?: undefined;
1693
+ description?: undefined;
1694
+ public?: undefined;
1695
+ owner?: undefined;
1696
+ files?: undefined;
1697
+ created_at?: undefined;
1698
+ updated_at?: undefined;
1699
+ } | {
1700
+ id: string | undefined;
1701
+ description: string | null | undefined;
1702
+ public: boolean | undefined;
1703
+ owner: string | undefined;
1704
+ files: Record<string, any>;
1705
+ created_at: string | undefined;
1706
+ updated_at: string | undefined;
1707
+ error?: undefined;
1708
+ }>;
1709
+ requiredAuth: "githubToken";
1710
+ } | {
1711
+ name: string;
1712
+ description: string;
1713
+ tool: import("ai").Tool<{
1714
+ q: string;
1715
+ perPage: number;
1716
+ order: "asc" | "desc";
1717
+ sort?: "followers" | "repositories" | "joined" | undefined;
1718
+ githubToken?: string | undefined;
1719
+ }, {
1720
+ error: string;
1721
+ total_count?: undefined;
1722
+ items?: undefined;
1723
+ } | {
1724
+ total_count: number;
1725
+ items: {
1726
+ login: string;
1727
+ html_url: string;
1728
+ avatar_url: string;
1729
+ type: string;
1730
+ }[];
1731
+ error?: undefined;
1732
+ }>;
1733
+ requiredAuth: "githubToken";
1734
+ } | {
1735
+ name: string;
1736
+ description: string;
1737
+ tool: import("ai").Tool<{
1738
+ username: string;
1739
+ action: "follow" | "unfollow";
1740
+ githubToken?: string | undefined;
1741
+ }, {
1742
+ error: string;
1743
+ message?: undefined;
1744
+ } | {
1745
+ message: string;
1746
+ error?: undefined;
1747
+ }>;
1748
+ requiredAuth: "githubToken";
1749
+ } | {
1750
+ name: string;
1751
+ description: string;
1752
+ tool: import("ai").Tool<{
1753
+ repo: string;
1754
+ owner: string;
1755
+ issue_number: number;
1756
+ githubToken?: string | undefined;
1757
+ }, {
1758
+ error: string;
1759
+ number?: undefined;
1760
+ title?: undefined;
1761
+ state?: undefined;
1762
+ body?: undefined;
1763
+ user?: undefined;
1764
+ html_url?: undefined;
1765
+ created_at?: undefined;
1766
+ updated_at?: undefined;
1767
+ comments?: undefined;
1768
+ } | {
1769
+ number: number;
1770
+ title: string;
1771
+ state: string;
1772
+ body: string | null | undefined;
1773
+ user: string | undefined;
1774
+ html_url: string;
1775
+ created_at: string;
1776
+ updated_at: string;
1777
+ comments: number;
1778
+ error?: undefined;
1779
+ }>;
1780
+ requiredAuth: "githubToken";
1781
+ } | {
1782
+ name: string;
1783
+ description: string;
1784
+ tool: import("ai").Tool<{
1785
+ sort?: "created" | "updated" | "comments" | undefined;
1786
+ filter?: "all" | "created" | "mentioned" | "subscribed" | "assigned" | undefined;
1787
+ since?: string | undefined;
1788
+ labels?: string | undefined;
1789
+ githubToken?: string | undefined;
1790
+ page?: number | undefined;
1791
+ per_page?: number | undefined;
1792
+ direction?: "asc" | "desc" | undefined;
1793
+ state?: "all" | "open" | "closed" | undefined;
1794
+ }, {
1795
+ number: number;
1796
+ title: string;
1797
+ state: string;
1798
+ repository: string | undefined;
1799
+ html_url: string;
1800
+ created_at: string;
1801
+ }[] | {
1802
+ error: string;
1803
+ }>;
1804
+ requiredAuth: "githubToken";
1805
+ } | {
1806
+ name: string;
1807
+ description: string;
1808
+ tool: import("ai").Tool<{
1809
+ org: string;
1810
+ sort?: "created" | "updated" | "comments" | undefined;
1811
+ filter?: "all" | "created" | "mentioned" | "subscribed" | "assigned" | undefined;
1812
+ since?: string | undefined;
1813
+ labels?: string | undefined;
1814
+ githubToken?: string | undefined;
1815
+ page?: number | undefined;
1816
+ per_page?: number | undefined;
1817
+ direction?: "asc" | "desc" | undefined;
1818
+ state?: "all" | "open" | "closed" | undefined;
1819
+ }, {
1820
+ number: number;
1821
+ title: string;
1822
+ state: string;
1823
+ repository: string | undefined;
1824
+ html_url: string;
1825
+ created_at: string;
1826
+ }[] | {
1827
+ error: string;
1828
+ }>;
1829
+ requiredAuth: "githubToken";
1830
+ } | {
1831
+ name: string;
1832
+ description: string;
1833
+ tool: import("ai").Tool<{
1834
+ repo: string;
1835
+ owner: string;
1836
+ issue_number: number;
1837
+ githubToken?: string | undefined;
1838
+ }, {
1839
+ error: string;
1840
+ message?: undefined;
1841
+ } | {
1842
+ message: string;
1843
+ error?: undefined;
1844
+ }>;
1845
+ requiredAuth: "githubToken";
1846
+ } | {
1847
+ name: string;
1848
+ description: string;
1849
+ tool: import("ai").Tool<{
1850
+ repo: string;
1851
+ owner: string;
1852
+ githubToken?: string | undefined;
1853
+ page?: number | undefined;
1854
+ per_page?: number | undefined;
1855
+ }, {
1856
+ error: string;
1857
+ total_count?: undefined;
1858
+ artifacts?: undefined;
1859
+ } | {
1860
+ total_count: number;
1861
+ artifacts: {
1862
+ id: number;
1863
+ name: string;
1864
+ size_in_bytes: number;
1865
+ created_at: string | null;
1866
+ expired: boolean;
1867
+ expires_at: string | null;
1868
+ }[];
1869
+ error?: undefined;
1870
+ }>;
1871
+ requiredAuth: "githubToken";
1872
+ } | {
1873
+ name: string;
1874
+ description: string;
1875
+ tool: import("ai").Tool<{
1876
+ repo: string;
1877
+ owner: string;
1878
+ artifact_id: number;
1879
+ githubToken?: string | undefined;
1880
+ }, {
1881
+ error: string;
1882
+ id?: undefined;
1883
+ name?: undefined;
1884
+ size_in_bytes?: undefined;
1885
+ created_at?: undefined;
1886
+ expired?: undefined;
1887
+ expires_at?: undefined;
1888
+ workflow_run?: undefined;
1889
+ } | {
1890
+ id: number;
1891
+ name: string;
1892
+ size_in_bytes: number;
1893
+ created_at: string | null;
1894
+ expired: boolean;
1895
+ expires_at: string | null;
1896
+ workflow_run: {
1897
+ id?: number;
1898
+ repository_id?: number;
1899
+ head_repository_id?: number;
1900
+ head_branch?: string;
1901
+ head_sha?: string;
1902
+ } | null | undefined;
1903
+ error?: undefined;
1904
+ }>;
1905
+ requiredAuth: "githubToken";
1906
+ } | {
1907
+ name: string;
1908
+ description: string;
1909
+ tool: import("ai").Tool<{
1910
+ repo: string;
1911
+ owner: string;
1912
+ artifact_id: number;
1913
+ githubToken?: string | undefined;
1914
+ }, {
1915
+ error: string;
1916
+ message?: undefined;
1917
+ } | {
1918
+ message: string;
1919
+ error?: undefined;
1920
+ }>;
1921
+ requiredAuth: "githubToken";
1922
+ } | {
1923
+ name: string;
1924
+ description: string;
1925
+ tool: import("ai").Tool<{
1926
+ repo: string;
1927
+ owner: string;
1928
+ run_id: number;
1929
+ githubToken?: string | undefined;
1930
+ page?: number | undefined;
1931
+ per_page?: number | undefined;
1932
+ }, {
1933
+ error: string;
1934
+ total_count?: undefined;
1935
+ artifacts?: undefined;
1936
+ } | {
1937
+ total_count: number;
1938
+ artifacts: {
1939
+ id: number;
1940
+ name: string;
1941
+ size_in_bytes: number;
1942
+ created_at: string | null;
1943
+ expired: boolean;
1944
+ expires_at: string | null;
1945
+ }[];
1946
+ error?: undefined;
1947
+ }>;
1948
+ requiredAuth: "githubToken";
1949
+ } | {
1950
+ name: string;
1951
+ description: string;
1952
+ tool: import("ai").Tool<{
1953
+ repo: string;
1954
+ owner: string;
1955
+ run_id: number;
1956
+ filter?: "all" | "latest" | undefined;
1957
+ githubToken?: string | undefined;
1958
+ page?: number | undefined;
1959
+ per_page?: number | undefined;
1960
+ }, {
1961
+ error: string;
1962
+ total_count?: undefined;
1963
+ jobs?: undefined;
1964
+ } | {
1965
+ total_count: number;
1966
+ jobs: {
1967
+ id: number;
1968
+ run_id: number;
1969
+ name: string;
1970
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
1971
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
1972
+ started_at: string;
1973
+ completed_at: string | null;
1974
+ html_url: string | null;
1975
+ }[];
1976
+ error?: undefined;
1977
+ }>;
1978
+ requiredAuth: "githubToken";
1979
+ } | {
1980
+ name: string;
1981
+ description: string;
1982
+ tool: import("ai").Tool<{
1983
+ repo: string;
1984
+ owner: string;
1985
+ job_id: number;
1986
+ githubToken?: string | undefined;
1987
+ }, {
1988
+ error: string;
1989
+ id?: undefined;
1990
+ run_id?: undefined;
1991
+ name?: undefined;
1992
+ status?: undefined;
1993
+ conclusion?: undefined;
1994
+ started_at?: undefined;
1995
+ completed_at?: undefined;
1996
+ html_url?: undefined;
1997
+ steps?: undefined;
1998
+ } | {
1999
+ id: number;
2000
+ run_id: number;
2001
+ name: string;
2002
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
2003
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
2004
+ started_at: string;
2005
+ completed_at: string | null;
2006
+ html_url: string | null;
2007
+ steps: {
2008
+ name: string;
2009
+ status: "completed" | "in_progress" | "queued";
2010
+ conclusion: string | null;
2011
+ number: number;
2012
+ started_at: string | null | undefined;
2013
+ completed_at: string | null | undefined;
2014
+ }[] | undefined;
2015
+ error?: undefined;
2016
+ }>;
2017
+ requiredAuth: "githubToken";
2018
+ } | {
2019
+ name: string;
2020
+ description: string;
2021
+ tool: import("ai").Tool<{
2022
+ githubToken?: string | undefined;
2023
+ page?: number | undefined;
2024
+ per_page?: number | undefined;
2025
+ }, {
2026
+ error: string;
2027
+ events?: undefined;
2028
+ } | {
2029
+ events: {
2030
+ id: string;
2031
+ type: string | null;
2032
+ actor: string;
2033
+ repo: string;
2034
+ created_at: string | null;
2035
+ }[];
2036
+ error?: undefined;
2037
+ }>;
2038
+ requiredAuth: "githubToken";
2039
+ } | {
2040
+ name: string;
2041
+ description: string;
2042
+ tool: import("ai").Tool<{
2043
+ repo: string;
2044
+ owner: string;
2045
+ githubToken?: string | undefined;
2046
+ page?: number | undefined;
2047
+ per_page?: number | undefined;
2048
+ }, {
2049
+ error: string;
2050
+ events?: undefined;
2051
+ } | {
2052
+ events: {
2053
+ id: string;
2054
+ type: string | null;
2055
+ actor: string;
2056
+ created_at: string | null;
2057
+ }[];
2058
+ error?: undefined;
2059
+ }>;
2060
+ requiredAuth: "githubToken";
2061
+ } | {
2062
+ name: string;
2063
+ description: string;
2064
+ tool: import("ai").Tool<{
2065
+ githubToken?: string | undefined;
2066
+ page?: number | undefined;
2067
+ per_page?: number | undefined;
2068
+ }, {
2069
+ error: string;
2070
+ events?: undefined;
2071
+ } | {
2072
+ events: {
2073
+ id: string;
2074
+ type: string | null;
2075
+ repo: string;
2076
+ created_at: string | null;
2077
+ }[];
2078
+ error?: undefined;
2079
+ }>;
2080
+ requiredAuth: "githubToken";
2081
+ } | {
2082
+ name: string;
2083
+ description: string;
2084
+ tool: import("ai").Tool<{
2085
+ all?: boolean | undefined;
2086
+ githubToken?: string | undefined;
2087
+ page?: number | undefined;
2088
+ per_page?: number | undefined;
2089
+ participating?: boolean | undefined;
2090
+ }, {
2091
+ error: string;
2092
+ notifications?: undefined;
2093
+ } | {
2094
+ notifications: {
2095
+ id: string;
2096
+ repository: string;
2097
+ subject: {
2098
+ title: string;
2099
+ type: string;
2100
+ };
2101
+ reason: string;
2102
+ unread: boolean;
2103
+ updated_at: string;
2104
+ }[];
2105
+ error?: undefined;
2106
+ }>;
2107
+ requiredAuth: "githubToken";
2108
+ } | {
2109
+ name: string;
2110
+ description: string;
2111
+ tool: import("ai").Tool<{
2112
+ githubToken?: string | undefined;
2113
+ last_read_at?: string | undefined;
2114
+ }, {
2115
+ error: string;
2116
+ message?: undefined;
2117
+ } | {
2118
+ message: string;
2119
+ error?: undefined;
2120
+ }>;
2121
+ requiredAuth: "githubToken";
2122
+ } | {
2123
+ name: string;
2124
+ description: string;
2125
+ tool: import("ai").Tool<{
2126
+ githubToken?: string | undefined;
2127
+ }, {
2128
+ error: string;
2129
+ id?: undefined;
2130
+ name?: undefined;
2131
+ slug?: undefined;
2132
+ owner?: undefined;
2133
+ description?: undefined;
2134
+ html_url?: undefined;
2135
+ created_at?: undefined;
2136
+ updated_at?: undefined;
2137
+ } | {
2138
+ id: number;
2139
+ name: string;
2140
+ slug: string | undefined;
2141
+ owner: any;
2142
+ description: string | null;
2143
+ html_url: string;
2144
+ created_at: string;
2145
+ updated_at: string;
2146
+ error?: undefined;
2147
+ }>;
2148
+ requiredAuth: "githubToken";
2149
+ } | {
2150
+ name: string;
2151
+ description: string;
2152
+ tool: import("ai").Tool<{
2153
+ githubToken?: string | undefined;
2154
+ page?: number | undefined;
2155
+ per_page?: number | undefined;
2156
+ }, {
2157
+ error: string;
2158
+ installations?: undefined;
2159
+ } | {
2160
+ installations: {
2161
+ id: number;
2162
+ account: any;
2163
+ app_id: number;
2164
+ target_type: string;
2165
+ created_at: string;
2166
+ updated_at: string;
2167
+ }[];
2168
+ error?: undefined;
2169
+ }>;
2170
+ requiredAuth: "githubToken";
2171
+ } | {
2172
+ name: string;
2173
+ description: string;
2174
+ tool: import("ai").Tool<{
2175
+ installation_id: number;
2176
+ githubToken?: string | undefined;
2177
+ }, {
2178
+ error: string;
2179
+ id?: undefined;
2180
+ account?: undefined;
2181
+ app_id?: undefined;
2182
+ target_type?: undefined;
2183
+ permissions?: undefined;
2184
+ events?: undefined;
2185
+ created_at?: undefined;
2186
+ updated_at?: undefined;
2187
+ } | {
2188
+ id: number;
2189
+ account: any;
2190
+ app_id: number;
2191
+ target_type: string;
2192
+ permissions: {
2193
+ actions?: "read" | "write";
2194
+ administration?: "read" | "write";
2195
+ checks?: "read" | "write";
2196
+ codespaces?: "read" | "write";
2197
+ contents?: "read" | "write";
2198
+ dependabot_secrets?: "read" | "write";
2199
+ deployments?: "read" | "write";
2200
+ environments?: "read" | "write";
2201
+ issues?: "read" | "write";
2202
+ metadata?: "read" | "write";
2203
+ packages?: "read" | "write";
2204
+ pages?: "read" | "write";
2205
+ pull_requests?: "read" | "write";
2206
+ repository_custom_properties?: "read" | "write";
2207
+ repository_hooks?: "read" | "write";
2208
+ repository_projects?: "read" | "write" | "admin";
2209
+ secret_scanning_alerts?: "read" | "write";
2210
+ secrets?: "read" | "write";
2211
+ security_events?: "read" | "write";
2212
+ single_file?: "read" | "write";
2213
+ statuses?: "read" | "write";
2214
+ vulnerability_alerts?: "read" | "write";
2215
+ workflows?: "write";
2216
+ custom_properties_for_organizations?: "read" | "write";
2217
+ members?: "read" | "write";
2218
+ organization_administration?: "read" | "write";
2219
+ organization_custom_roles?: "read" | "write";
2220
+ organization_custom_org_roles?: "read" | "write";
2221
+ organization_custom_properties?: "read" | "write" | "admin";
2222
+ organization_copilot_seat_management?: "write";
2223
+ organization_announcement_banners?: "read" | "write";
2224
+ organization_events?: "read";
2225
+ organization_hooks?: "read" | "write";
2226
+ organization_personal_access_tokens?: "read" | "write";
2227
+ organization_personal_access_token_requests?: "read" | "write";
2228
+ organization_plan?: "read";
2229
+ organization_projects?: "read" | "write" | "admin";
2230
+ organization_packages?: "read" | "write";
2231
+ organization_secrets?: "read" | "write";
2232
+ organization_self_hosted_runners?: "read" | "write";
2233
+ organization_user_blocking?: "read" | "write";
2234
+ team_discussions?: "read" | "write";
2235
+ email_addresses?: "read" | "write";
2236
+ followers?: "read" | "write";
2237
+ git_ssh_keys?: "read" | "write";
2238
+ gpg_keys?: "read" | "write";
2239
+ interaction_limits?: "read" | "write";
2240
+ profile?: "write";
2241
+ starring?: "read" | "write";
2242
+ enterprise_custom_properties_for_organizations?: "read" | "write" | "admin";
2243
+ };
2244
+ events: string[];
2245
+ created_at: string;
2246
+ updated_at: string;
2247
+ error?: undefined;
2248
+ }>;
2249
+ requiredAuth: "githubToken";
2250
+ } | {
2251
+ name: string;
2252
+ description: string;
2253
+ tool: import("ai").Tool<{
2254
+ repo: string;
2255
+ name: string;
2256
+ owner: string;
2257
+ head_sha: string;
2258
+ status?: "completed" | "in_progress" | "queued" | undefined;
2259
+ githubToken?: string | undefined;
2260
+ conclusion?: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "stale" | "timed_out" | undefined;
2261
+ }, {
2262
+ error: string;
2263
+ id?: undefined;
2264
+ name?: undefined;
2265
+ status?: undefined;
2266
+ conclusion?: undefined;
2267
+ html_url?: undefined;
2268
+ } | {
2269
+ id: number;
2270
+ name: string;
2271
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
2272
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
2273
+ html_url: string | null;
2274
+ error?: undefined;
2275
+ }>;
2276
+ requiredAuth: "githubToken";
2277
+ } | {
2278
+ name: string;
2279
+ description: string;
2280
+ tool: import("ai").Tool<{
2281
+ repo: string;
2282
+ owner: string;
2283
+ check_run_id: number;
2284
+ githubToken?: string | undefined;
2285
+ }, {
2286
+ error: string;
2287
+ id?: undefined;
2288
+ name?: undefined;
2289
+ status?: undefined;
2290
+ conclusion?: undefined;
2291
+ started_at?: undefined;
2292
+ completed_at?: undefined;
2293
+ html_url?: undefined;
2294
+ } | {
2295
+ id: number;
2296
+ name: string;
2297
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
2298
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
2299
+ started_at: string | null;
2300
+ completed_at: string | null;
2301
+ html_url: string | null;
2302
+ error?: undefined;
2303
+ }>;
2304
+ requiredAuth: "githubToken";
2305
+ } | {
2306
+ name: string;
2307
+ description: string;
2308
+ tool: import("ai").Tool<{
2309
+ repo: string;
2310
+ owner: string;
2311
+ check_run_id: number;
2312
+ status?: "completed" | "in_progress" | "queued" | undefined;
2313
+ githubToken?: string | undefined;
2314
+ conclusion?: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "stale" | "timed_out" | undefined;
2315
+ }, {
2316
+ error: string;
2317
+ id?: undefined;
2318
+ name?: undefined;
2319
+ status?: undefined;
2320
+ conclusion?: undefined;
2321
+ html_url?: undefined;
2322
+ } | {
2323
+ id: number;
2324
+ name: string;
2325
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
2326
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
2327
+ html_url: string | null;
2328
+ error?: undefined;
2329
+ }>;
2330
+ requiredAuth: "githubToken";
2331
+ } | {
2332
+ name: string;
2333
+ description: string;
2334
+ tool: import("ai").Tool<{
2335
+ repo: string;
2336
+ owner: string;
2337
+ ref: string;
2338
+ status?: "completed" | "in_progress" | "queued" | undefined;
2339
+ githubToken?: string | undefined;
2340
+ page?: number | undefined;
2341
+ per_page?: number | undefined;
2342
+ check_name?: string | undefined;
2343
+ }, {
2344
+ error: string;
2345
+ total_count?: undefined;
2346
+ check_runs?: undefined;
2347
+ } | {
2348
+ total_count: number;
2349
+ check_runs: {
2350
+ id: number;
2351
+ name: string;
2352
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
2353
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
2354
+ started_at: string | null;
2355
+ completed_at: string | null;
2356
+ html_url: string | null;
2357
+ }[];
2358
+ error?: undefined;
2359
+ }>;
2360
+ requiredAuth: "githubToken";
2361
+ } | {
2362
+ name: string;
2363
+ description: string;
2364
+ tool: import("ai").Tool<{
2365
+ repo: string;
2366
+ owner: string;
2367
+ head_sha: string;
2368
+ githubToken?: string | undefined;
2369
+ }, {
2370
+ error: string;
2371
+ id?: undefined;
2372
+ status?: undefined;
2373
+ conclusion?: undefined;
2374
+ head_sha?: undefined;
2375
+ created_at?: undefined;
2376
+ } | {
2377
+ id: number;
2378
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending" | null;
2379
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "stale" | "timed_out" | "startup_failure" | null;
2380
+ head_sha: string;
2381
+ created_at: string | null;
2382
+ error?: undefined;
2383
+ }>;
2384
+ requiredAuth: "githubToken";
2385
+ } | {
2386
+ name: string;
2387
+ description: string;
2388
+ tool: import("ai").Tool<{
2389
+ repo: string;
2390
+ owner: string;
2391
+ check_suite_id: number;
2392
+ githubToken?: string | undefined;
2393
+ }, {
2394
+ error: string;
2395
+ id?: undefined;
2396
+ status?: undefined;
2397
+ conclusion?: undefined;
2398
+ head_sha?: undefined;
2399
+ head_branch?: undefined;
2400
+ created_at?: undefined;
2401
+ updated_at?: undefined;
2402
+ } | {
2403
+ id: number;
2404
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending" | null;
2405
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "stale" | "timed_out" | "startup_failure" | null;
2406
+ head_sha: string;
2407
+ head_branch: string | null;
2408
+ created_at: string | null;
2409
+ updated_at: string | null;
2410
+ error?: undefined;
2411
+ }>;
2412
+ requiredAuth: "githubToken";
2413
+ } | {
2414
+ name: string;
2415
+ description: string;
2416
+ tool: import("ai").Tool<{
2417
+ repo: string;
2418
+ owner: string;
2419
+ githubToken?: string | undefined;
2420
+ page?: number | undefined;
2421
+ per_page?: number | undefined;
2422
+ state?: "open" | "dismissed" | "fixed" | undefined;
2423
+ ref?: string | undefined;
2424
+ }, {
2425
+ error: string;
2426
+ alerts?: undefined;
2427
+ } | {
2428
+ alerts: {
2429
+ number: number;
2430
+ state: "open" | "dismissed" | "fixed" | null;
2431
+ rule: string | undefined;
2432
+ severity: "none" | "error" | "warning" | "note" | null | undefined;
2433
+ created_at: string;
2434
+ html_url: string;
2435
+ }[];
2436
+ error?: undefined;
2437
+ }>;
2438
+ requiredAuth: "githubToken";
2439
+ } | {
2440
+ name: string;
2441
+ description: string;
2442
+ tool: import("ai").Tool<{
2443
+ repo: string;
2444
+ owner: string;
2445
+ alert_number: number;
2446
+ githubToken?: string | undefined;
2447
+ }, {
2448
+ error: string;
2449
+ number?: undefined;
2450
+ state?: undefined;
2451
+ rule?: undefined;
2452
+ created_at?: undefined;
2453
+ html_url?: undefined;
2454
+ } | {
2455
+ number: number;
2456
+ state: "open" | "dismissed" | "fixed" | null;
2457
+ rule: {
2458
+ id: string | null | undefined;
2459
+ description: string | undefined;
2460
+ severity: "none" | "error" | "warning" | "note" | null | undefined;
2461
+ };
2462
+ created_at: string;
2463
+ html_url: string;
2464
+ error?: undefined;
2465
+ }>;
2466
+ requiredAuth: "githubToken";
2467
+ } | {
2468
+ name: string;
2469
+ description: string;
2470
+ tool: import("ai").Tool<{
2471
+ repo: string;
2472
+ owner: string;
2473
+ state: "open" | "dismissed";
2474
+ alert_number: number;
2475
+ githubToken?: string | undefined;
2476
+ dismissed_reason?: "false positive" | "won't fix" | "used in tests" | undefined;
2477
+ }, {
2478
+ error: string;
2479
+ number?: undefined;
2480
+ state?: undefined;
2481
+ dismissed_reason?: undefined;
2482
+ } | {
2483
+ number: number;
2484
+ state: "open" | "dismissed" | "fixed" | null;
2485
+ dismissed_reason: "false positive" | "won't fix" | "used in tests" | null;
2486
+ error?: undefined;
2487
+ }>;
2488
+ requiredAuth: "githubToken";
2489
+ } | {
2490
+ name: string;
2491
+ description: string;
2492
+ tool: import("ai").Tool<{
2493
+ repo: string;
2494
+ owner: string;
2495
+ githubToken?: string | undefined;
2496
+ page?: number | undefined;
2497
+ per_page?: number | undefined;
2498
+ affiliation?: "all" | "outside" | "direct" | undefined;
2499
+ }, {
2500
+ error: string;
2501
+ collaborators?: undefined;
2502
+ } | {
2503
+ collaborators: {
2504
+ login: string;
2505
+ id: number;
2506
+ permissions: {
2507
+ pull: boolean;
2508
+ triage?: boolean;
2509
+ push: boolean;
2510
+ maintain?: boolean;
2511
+ admin: boolean;
2512
+ } | undefined;
2513
+ }[];
2514
+ error?: undefined;
2515
+ }>;
2516
+ requiredAuth: "githubToken";
2517
+ } | {
2518
+ name: string;
2519
+ description: string;
2520
+ tool: import("ai").Tool<{
2521
+ repo: string;
2522
+ username: string;
2523
+ owner: string;
2524
+ githubToken?: string | undefined;
2525
+ }, {
2526
+ error: string;
2527
+ is_collaborator?: undefined;
2528
+ } | {
2529
+ is_collaborator: boolean;
2530
+ error?: undefined;
2531
+ }>;
2532
+ requiredAuth: "githubToken";
2533
+ } | {
2534
+ name: string;
2535
+ description: string;
2536
+ tool: import("ai").Tool<{
2537
+ repo: string;
2538
+ username: string;
2539
+ owner: string;
2540
+ githubToken?: string | undefined;
2541
+ permission?: "push" | "admin" | "pull" | "maintain" | "triage" | undefined;
2542
+ }, {
2543
+ error: string;
2544
+ message?: undefined;
2545
+ } | {
2546
+ message: string;
2547
+ error?: undefined;
2548
+ }>;
2549
+ requiredAuth: "githubToken";
2550
+ } | {
2551
+ name: string;
2552
+ description: string;
2553
+ tool: import("ai").Tool<{
2554
+ repo: string;
2555
+ username: string;
2556
+ owner: string;
2557
+ githubToken?: string | undefined;
2558
+ }, {
2559
+ error: string;
2560
+ message?: undefined;
2561
+ } | {
2562
+ message: string;
2563
+ error?: undefined;
2564
+ }>;
2565
+ requiredAuth: "githubToken";
2566
+ } | {
2567
+ name: string;
2568
+ description: string;
2569
+ tool: import("ai").Tool<{
2570
+ repo: string;
2571
+ owner: string;
2572
+ githubToken?: string | undefined;
2573
+ page?: number | undefined;
2574
+ per_page?: number | undefined;
2575
+ state?: "open" | "dismissed" | "fixed" | "auto_dismissed" | undefined;
2576
+ severity?: "low" | "medium" | "high" | "critical" | undefined;
2577
+ }, {
2578
+ error: string;
2579
+ alerts?: undefined;
2580
+ } | {
2581
+ alerts: {
2582
+ number: number;
2583
+ state: "open" | "dismissed" | "fixed" | "auto_dismissed";
2584
+ dependency: string | undefined;
2585
+ security_advisory: string;
2586
+ severity: "low" | "medium" | "high" | "critical";
2587
+ html_url: string;
2588
+ }[];
2589
+ error?: undefined;
2590
+ }>;
2591
+ requiredAuth: "githubToken";
2592
+ } | {
2593
+ name: string;
2594
+ description: string;
2595
+ tool: import("ai").Tool<{
2596
+ repo: string;
2597
+ owner: string;
2598
+ alert_number: number;
2599
+ githubToken?: string | undefined;
2600
+ }, {
2601
+ error: string;
2602
+ number?: undefined;
2603
+ state?: undefined;
2604
+ dependency?: undefined;
2605
+ security_advisory?: undefined;
2606
+ html_url?: undefined;
2607
+ } | {
2608
+ number: number;
2609
+ state: "open" | "dismissed" | "fixed" | "auto_dismissed";
2610
+ dependency: {
2611
+ readonly package?: import("@octokit/openapi-types").components["schemas"]["dependabot-alert-package"];
2612
+ readonly manifest_path?: string;
2613
+ readonly scope?: "development" | "runtime" | null;
2614
+ readonly relationship?: "unknown" | "direct" | "transitive" | null;
2615
+ };
2616
+ security_advisory: {
2617
+ readonly ghsa_id: string;
2618
+ readonly cve_id: string | null;
2619
+ readonly summary: string;
2620
+ readonly description: string;
2621
+ readonly vulnerabilities: readonly import("@octokit/openapi-types").components["schemas"]["dependabot-alert-security-vulnerability"][];
2622
+ readonly severity: "low" | "medium" | "high" | "critical";
2623
+ readonly cvss: {
2624
+ readonly score: number;
2625
+ readonly vector_string: string | null;
2626
+ };
2627
+ readonly cvss_severities?: import("@octokit/openapi-types").components["schemas"]["cvss-severities"];
2628
+ readonly epss?: import("@octokit/openapi-types").components["schemas"]["security-advisory-epss"];
2629
+ readonly cwes: readonly {
2630
+ readonly cwe_id: string;
2631
+ readonly name: string;
2632
+ }[];
2633
+ readonly identifiers: readonly {
2634
+ readonly type: "CVE" | "GHSA";
2635
+ readonly value: string;
2636
+ }[];
2637
+ readonly references: readonly {
2638
+ readonly url: string;
2639
+ }[];
2640
+ readonly published_at: string;
2641
+ readonly updated_at: string;
2642
+ readonly withdrawn_at: string | null;
2643
+ };
2644
+ html_url: string;
2645
+ error?: undefined;
2646
+ }>;
2647
+ requiredAuth: "githubToken";
2648
+ } | {
2649
+ name: string;
2650
+ description: string;
2651
+ tool: import("ai").Tool<{
2652
+ repo: string;
2653
+ owner: string;
2654
+ state: "open" | "dismissed";
2655
+ alert_number: number;
2656
+ githubToken?: string | undefined;
2657
+ dismissed_reason?: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | undefined;
2658
+ }, {
2659
+ error: string;
2660
+ number?: undefined;
2661
+ state?: undefined;
2662
+ dismissed_reason?: undefined;
2663
+ } | {
2664
+ number: number;
2665
+ state: "open" | "dismissed" | "fixed" | "auto_dismissed";
2666
+ dismissed_reason: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | null;
2667
+ error?: undefined;
2668
+ }>;
2669
+ requiredAuth: "githubToken";
2670
+ } | {
2671
+ name: string;
2672
+ description: string;
2673
+ tool: import("ai").Tool<{
2674
+ repo: string;
2675
+ owner: string;
2676
+ githubToken?: string | undefined;
2677
+ page?: number | undefined;
2678
+ per_page?: number | undefined;
2679
+ }, {
2680
+ error: string;
2681
+ keys?: undefined;
2682
+ } | {
2683
+ keys: {
2684
+ id: number;
2685
+ key: string;
2686
+ url: string;
2687
+ title: string;
2688
+ read_only: boolean;
2689
+ created_at: string;
2690
+ }[];
2691
+ error?: undefined;
2692
+ }>;
2693
+ requiredAuth: "githubToken";
2694
+ } | {
2695
+ name: string;
2696
+ description: string;
2697
+ tool: import("ai").Tool<{
2698
+ title: string;
2699
+ repo: string;
2700
+ owner: string;
2701
+ key: string;
2702
+ githubToken?: string | undefined;
2703
+ read_only?: boolean | undefined;
2704
+ }, {
2705
+ error: string;
2706
+ id?: undefined;
2707
+ key?: undefined;
2708
+ title?: undefined;
2709
+ read_only?: undefined;
2710
+ created_at?: undefined;
2711
+ } | {
2712
+ id: number;
2713
+ key: string;
2714
+ title: string;
2715
+ read_only: boolean;
2716
+ created_at: string;
2717
+ error?: undefined;
2718
+ }>;
2719
+ requiredAuth: "githubToken";
2720
+ } | {
2721
+ name: string;
2722
+ description: string;
2723
+ tool: import("ai").Tool<{
2724
+ repo: string;
2725
+ owner: string;
2726
+ key_id: number;
2727
+ githubToken?: string | undefined;
2728
+ }, {
2729
+ error: string;
2730
+ id?: undefined;
2731
+ key?: undefined;
2732
+ title?: undefined;
2733
+ read_only?: undefined;
2734
+ created_at?: undefined;
2735
+ } | {
2736
+ id: number;
2737
+ key: string;
2738
+ title: string;
2739
+ read_only: boolean;
2740
+ created_at: string;
2741
+ error?: undefined;
2742
+ }>;
2743
+ requiredAuth: "githubToken";
2744
+ } | {
2745
+ name: string;
2746
+ description: string;
2747
+ tool: import("ai").Tool<{
2748
+ repo: string;
2749
+ owner: string;
2750
+ key_id: number;
2751
+ githubToken?: string | undefined;
2752
+ }, {
2753
+ error: string;
2754
+ message?: undefined;
2755
+ } | {
2756
+ message: string;
2757
+ error?: undefined;
2758
+ }>;
2759
+ requiredAuth: "githubToken";
2760
+ } | {
2761
+ name: string;
2762
+ description: string;
2763
+ tool: import("ai").Tool<{
2764
+ repo: string;
2765
+ owner: string;
2766
+ githubToken?: string | undefined;
2767
+ page?: number | undefined;
2768
+ per_page?: number | undefined;
2769
+ ref?: string | undefined;
2770
+ environment?: string | undefined;
2771
+ }, {
2772
+ error: string;
2773
+ deployments?: undefined;
2774
+ } | {
2775
+ deployments: {
2776
+ id: number;
2777
+ sha: string;
2778
+ ref: string;
2779
+ task: string;
2780
+ environment: string;
2781
+ description: string | null;
2782
+ created_at: string;
2783
+ updated_at: string;
2784
+ statuses_url: string;
2785
+ repository_url: string;
2786
+ }[];
2787
+ error?: undefined;
2788
+ }>;
2789
+ requiredAuth: "githubToken";
2790
+ } | {
2791
+ name: string;
2792
+ description: string;
2793
+ tool: import("ai").Tool<{
2794
+ repo: string;
2795
+ owner: string;
2796
+ ref: string;
2797
+ description?: string | undefined;
2798
+ githubToken?: string | undefined;
2799
+ environment?: string | undefined;
2800
+ task?: string | undefined;
2801
+ auto_merge?: boolean | undefined;
2802
+ required_contexts?: string[] | undefined;
2803
+ payload?: string | undefined;
2804
+ transient_environment?: boolean | undefined;
2805
+ production_environment?: boolean | undefined;
2806
+ }, {
2807
+ error: string;
2808
+ id?: undefined;
2809
+ sha?: undefined;
2810
+ ref?: undefined;
2811
+ task?: undefined;
2812
+ environment?: undefined;
2813
+ description?: undefined;
2814
+ created_at?: undefined;
2815
+ } | {
2816
+ id: any;
2817
+ sha: any;
2818
+ ref: any;
2819
+ task: any;
2820
+ environment: any;
2821
+ description: any;
2822
+ created_at: any;
2823
+ error?: undefined;
2824
+ }>;
2825
+ requiredAuth: "githubToken";
2826
+ } | {
2827
+ name: string;
2828
+ description: string;
2829
+ tool: import("ai").Tool<{
2830
+ repo: string;
2831
+ owner: string;
2832
+ deployment_id: number;
2833
+ githubToken?: string | undefined;
2834
+ }, {
2835
+ error: string;
2836
+ id?: undefined;
2837
+ sha?: undefined;
2838
+ ref?: undefined;
2839
+ task?: undefined;
2840
+ environment?: undefined;
2841
+ description?: undefined;
2842
+ created_at?: undefined;
2843
+ updated_at?: undefined;
2844
+ } | {
2845
+ id: number;
2846
+ sha: string;
2847
+ ref: string;
2848
+ task: string;
2849
+ environment: string;
2850
+ description: string | null;
2851
+ created_at: string;
2852
+ updated_at: string;
2853
+ error?: undefined;
2854
+ }>;
2855
+ requiredAuth: "githubToken";
2856
+ } | {
2857
+ name: string;
2858
+ description: string;
2859
+ tool: import("ai").Tool<{
2860
+ repo: string;
2861
+ owner: string;
2862
+ deployment_id: number;
2863
+ githubToken?: string | undefined;
2864
+ }, {
2865
+ error: string;
2866
+ message?: undefined;
2867
+ } | {
2868
+ message: string;
2869
+ error?: undefined;
2870
+ }>;
2871
+ requiredAuth: "githubToken";
2872
+ } | {
2873
+ name: string;
2874
+ description: string;
2875
+ tool: import("ai").Tool<{
2876
+ repo: string;
2877
+ owner: string;
2878
+ githubToken?: string | undefined;
2879
+ page?: number | undefined;
2880
+ per_page?: number | undefined;
2881
+ }, {
2882
+ error: string;
2883
+ total_count?: undefined;
2884
+ environments?: undefined;
2885
+ } | {
2886
+ total_count: number | undefined;
2887
+ environments: {
2888
+ id: number;
2889
+ name: string;
2890
+ url: string;
2891
+ html_url: string;
2892
+ created_at: string;
2893
+ updated_at: string;
2894
+ }[] | undefined;
2895
+ error?: undefined;
2896
+ }>;
2897
+ requiredAuth: "githubToken";
2898
+ } | {
2899
+ name: string;
2900
+ description: string;
2901
+ tool: import("ai").Tool<{
2902
+ repo: string;
2903
+ owner: string;
2904
+ environment_name: string;
2905
+ githubToken?: string | undefined;
2906
+ }, {
2907
+ error: string;
2908
+ id?: undefined;
2909
+ name?: undefined;
2910
+ url?: undefined;
2911
+ html_url?: undefined;
2912
+ created_at?: undefined;
2913
+ updated_at?: undefined;
2914
+ protection_rules?: undefined;
2915
+ deployment_branch_policy?: undefined;
2916
+ } | {
2917
+ id: number;
2918
+ name: string;
2919
+ url: string;
2920
+ html_url: string;
2921
+ created_at: string;
2922
+ updated_at: string;
2923
+ protection_rules: ({
2924
+ id: number;
2925
+ node_id: string;
2926
+ type: string;
2927
+ wait_timer?: import("@octokit/openapi-types").components["schemas"]["wait-timer"];
2928
+ } | {
2929
+ id: number;
2930
+ node_id: string;
2931
+ prevent_self_review?: boolean;
2932
+ type: string;
2933
+ reviewers?: {
2934
+ type?: import("@octokit/openapi-types").components["schemas"]["deployment-reviewer-type"];
2935
+ reviewer?: import("@octokit/openapi-types").components["schemas"]["simple-user"] | import("@octokit/openapi-types").components["schemas"]["team"];
2936
+ }[];
2937
+ } | {
2938
+ id: number;
2939
+ node_id: string;
2940
+ type: string;
2941
+ })[] | undefined;
2942
+ deployment_branch_policy: {
2943
+ protected_branches: boolean;
2944
+ custom_branch_policies: boolean;
2945
+ } | null | undefined;
2946
+ error?: undefined;
2947
+ }>;
2948
+ requiredAuth: "githubToken";
2949
+ } | {
2950
+ name: string;
2951
+ description: string;
2952
+ tool: import("ai").Tool<{
2953
+ repo: string;
2954
+ owner: string;
2955
+ environment_name: string;
2956
+ githubToken?: string | undefined;
2957
+ wait_timer?: number | undefined;
2958
+ reviewers?: {
2959
+ type: "User" | "Team";
2960
+ id: number;
2961
+ }[] | undefined;
2962
+ deployment_branch_policy?: {
2963
+ protected_branches: boolean;
2964
+ custom_branch_policies: boolean;
2965
+ } | undefined;
2966
+ }, {
2967
+ error: string;
2968
+ id?: undefined;
2969
+ name?: undefined;
2970
+ url?: undefined;
2971
+ html_url?: undefined;
2972
+ created_at?: undefined;
2973
+ updated_at?: undefined;
2974
+ } | {
2975
+ id: number;
2976
+ name: string;
2977
+ url: string;
2978
+ html_url: string;
2979
+ created_at: string;
2980
+ updated_at: string;
2981
+ error?: undefined;
2982
+ }>;
2983
+ requiredAuth: "githubToken";
2984
+ } | {
2985
+ name: string;
2986
+ description: string;
2987
+ tool: import("ai").Tool<{
2988
+ repo: string;
2989
+ owner: string;
2990
+ environment_name: string;
2991
+ githubToken?: string | undefined;
2992
+ }, {
2993
+ error: string;
2994
+ message?: undefined;
2995
+ } | {
2996
+ message: string;
2997
+ error?: undefined;
2998
+ }>;
2999
+ requiredAuth: "githubToken";
3000
+ } | {
3001
+ name: string;
3002
+ description: string;
3003
+ tool: import("ai").Tool<{
3004
+ repo: string;
3005
+ owner: string;
3006
+ file_sha: string;
3007
+ githubToken?: string | undefined;
3008
+ }, {
3009
+ error: string;
3010
+ sha?: undefined;
3011
+ size?: undefined;
3012
+ url?: undefined;
3013
+ content?: undefined;
3014
+ encoding?: undefined;
3015
+ } | {
3016
+ sha: string;
3017
+ size: number | null;
3018
+ url: string;
3019
+ content: string;
3020
+ encoding: string;
3021
+ error?: undefined;
3022
+ }>;
3023
+ requiredAuth: "githubToken";
3024
+ } | {
3025
+ name: string;
3026
+ description: string;
3027
+ tool: import("ai").Tool<{
3028
+ repo: string;
3029
+ content: string;
3030
+ owner: string;
3031
+ githubToken?: string | undefined;
3032
+ encoding?: "utf-8" | "base64" | undefined;
3033
+ }, {
3034
+ error: string;
3035
+ sha?: undefined;
3036
+ url?: undefined;
3037
+ } | {
3038
+ sha: string;
3039
+ url: string;
3040
+ error?: undefined;
3041
+ }>;
3042
+ requiredAuth: "githubToken";
3043
+ } | {
3044
+ name: string;
3045
+ description: string;
3046
+ tool: import("ai").Tool<{
3047
+ repo: string;
3048
+ owner: string;
3049
+ commit_sha: string;
3050
+ githubToken?: string | undefined;
3051
+ }, {
3052
+ error: string;
3053
+ sha?: undefined;
3054
+ url?: undefined;
3055
+ author?: undefined;
3056
+ committer?: undefined;
3057
+ message?: undefined;
3058
+ tree?: undefined;
3059
+ parents?: undefined;
3060
+ } | {
3061
+ sha: string;
3062
+ url: string;
3063
+ author: {
3064
+ date: string;
3065
+ email: string;
3066
+ name: string;
3067
+ };
3068
+ committer: {
3069
+ date: string;
3070
+ email: string;
3071
+ name: string;
3072
+ };
3073
+ message: string;
3074
+ tree: {
3075
+ sha: string;
3076
+ url: string;
3077
+ };
3078
+ parents: {
3079
+ sha: string;
3080
+ url: string;
3081
+ html_url: string;
3082
+ }[];
3083
+ error?: undefined;
3084
+ }>;
3085
+ requiredAuth: "githubToken";
3086
+ } | {
3087
+ name: string;
3088
+ description: string;
3089
+ tool: import("ai").Tool<{
3090
+ message: string;
3091
+ repo: string;
3092
+ owner: string;
3093
+ tree: string;
3094
+ parents: string[];
3095
+ githubToken?: string | undefined;
3096
+ author?: {
3097
+ name: string;
3098
+ email: string;
3099
+ date?: string | undefined;
3100
+ } | undefined;
3101
+ }, {
3102
+ error: string;
3103
+ sha?: undefined;
3104
+ url?: undefined;
3105
+ message?: undefined;
3106
+ author?: undefined;
3107
+ committer?: undefined;
3108
+ tree?: undefined;
3109
+ parents?: undefined;
3110
+ } | {
3111
+ sha: string;
3112
+ url: string;
3113
+ message: string;
3114
+ author: {
3115
+ date: string;
3116
+ email: string;
3117
+ name: string;
3118
+ };
3119
+ committer: {
3120
+ date: string;
3121
+ email: string;
3122
+ name: string;
3123
+ };
3124
+ tree: {
3125
+ sha: string;
3126
+ url: string;
3127
+ };
3128
+ parents: {
3129
+ sha: string;
3130
+ url: string;
3131
+ html_url: string;
3132
+ }[];
3133
+ error?: undefined;
3134
+ }>;
3135
+ requiredAuth: "githubToken";
3136
+ } | {
3137
+ name: string;
3138
+ description: string;
3139
+ tool: import("ai").Tool<{
3140
+ repo: string;
3141
+ owner: string;
3142
+ ref: string;
3143
+ githubToken?: string | undefined;
3144
+ }, {
3145
+ error: string;
3146
+ references?: undefined;
3147
+ } | {
3148
+ references: {
3149
+ ref: any;
3150
+ node_id: any;
3151
+ url: any;
3152
+ object: any;
3153
+ }[];
3154
+ error?: undefined;
3155
+ }>;
3156
+ requiredAuth: "githubToken";
3157
+ } | {
3158
+ name: string;
3159
+ description: string;
3160
+ tool: import("ai").Tool<{
3161
+ repo: string;
3162
+ owner: string;
3163
+ ref: string;
3164
+ sha: string;
3165
+ githubToken?: string | undefined;
3166
+ }, {
3167
+ error: string;
3168
+ ref?: undefined;
3169
+ node_id?: undefined;
3170
+ url?: undefined;
3171
+ object?: undefined;
3172
+ } | {
3173
+ ref: string;
3174
+ node_id: string;
3175
+ url: string;
3176
+ object: {
3177
+ type: string;
3178
+ sha: string;
3179
+ url: string;
3180
+ };
3181
+ error?: undefined;
3182
+ }>;
3183
+ requiredAuth: "githubToken";
3184
+ } | {
3185
+ name: string;
3186
+ description: string;
3187
+ tool: import("ai").Tool<{
3188
+ repo: string;
3189
+ owner: string;
3190
+ ref: string;
3191
+ sha: string;
3192
+ githubToken?: string | undefined;
3193
+ force?: boolean | undefined;
3194
+ }, {
3195
+ error: string;
3196
+ ref?: undefined;
3197
+ node_id?: undefined;
3198
+ url?: undefined;
3199
+ object?: undefined;
3200
+ } | {
3201
+ ref: string;
3202
+ node_id: string;
3203
+ url: string;
3204
+ object: {
3205
+ type: string;
3206
+ sha: string;
3207
+ url: string;
3208
+ };
3209
+ error?: undefined;
3210
+ }>;
3211
+ requiredAuth: "githubToken";
3212
+ } | {
3213
+ name: string;
3214
+ description: string;
3215
+ tool: import("ai").Tool<{
3216
+ repo: string;
3217
+ owner: string;
3218
+ ref: string;
3219
+ githubToken?: string | undefined;
3220
+ }, {
3221
+ error: string;
3222
+ message?: undefined;
3223
+ } | {
3224
+ message: string;
3225
+ error?: undefined;
3226
+ }>;
3227
+ requiredAuth: "githubToken";
3228
+ } | {
3229
+ name: string;
3230
+ description: string;
3231
+ tool: import("ai").Tool<{
3232
+ repo: string;
3233
+ owner: string;
3234
+ tree_sha: string;
3235
+ githubToken?: string | undefined;
3236
+ recursive?: boolean | undefined;
3237
+ }, {
3238
+ error: string;
3239
+ sha?: undefined;
3240
+ url?: undefined;
3241
+ tree?: undefined;
3242
+ truncated?: undefined;
3243
+ } | {
3244
+ sha: string;
3245
+ url: string | undefined;
3246
+ tree: {
3247
+ path: string;
3248
+ mode: string;
3249
+ type: string;
3250
+ sha: string;
3251
+ size: number | undefined;
3252
+ url: string | undefined;
3253
+ }[];
3254
+ truncated: boolean;
3255
+ error?: undefined;
3256
+ }>;
3257
+ requiredAuth: "githubToken";
3258
+ } | {
3259
+ name: string;
3260
+ description: string;
3261
+ tool: import("ai").Tool<{
3262
+ repo: string;
3263
+ owner: string;
3264
+ tree: {
3265
+ path?: string | undefined;
3266
+ type?: "commit" | "blob" | "tree" | undefined;
3267
+ mode?: "100644" | "100755" | "040000" | "160000" | "120000" | undefined;
3268
+ content?: string | undefined;
3269
+ sha?: string | null | undefined;
3270
+ }[];
3271
+ githubToken?: string | undefined;
3272
+ base_tree?: string | undefined;
3273
+ }, {
3274
+ error: string;
3275
+ sha?: undefined;
3276
+ url?: undefined;
3277
+ tree?: undefined;
3278
+ } | {
3279
+ sha: string;
3280
+ url: string | undefined;
3281
+ tree: {
3282
+ path: string;
3283
+ mode: string;
3284
+ type: string;
3285
+ sha: string;
3286
+ size: number | undefined;
3287
+ url: string | undefined;
3288
+ }[];
3289
+ error?: undefined;
3290
+ }>;
3291
+ requiredAuth: "githubToken";
3292
+ } | {
3293
+ name: string;
3294
+ description: string;
3295
+ tool: import("ai").Tool<{
3296
+ githubToken?: string | undefined;
3297
+ }, {
3298
+ key: string;
3299
+ name: string;
3300
+ spdx_id: string | null;
3301
+ url: string | null;
3302
+ node_id: string;
3303
+ }[] | {
3304
+ error: string;
3305
+ }>;
3306
+ requiredAuth: "githubToken";
3307
+ } | {
3308
+ name: string;
3309
+ description: string;
3310
+ tool: import("ai").Tool<{
3311
+ license: string;
3312
+ githubToken?: string | undefined;
3313
+ }, {
3314
+ error: string;
3315
+ key?: undefined;
3316
+ name?: undefined;
3317
+ spdx_id?: undefined;
3318
+ url?: undefined;
3319
+ node_id?: undefined;
3320
+ description?: undefined;
3321
+ implementation?: undefined;
3322
+ permissions?: undefined;
3323
+ conditions?: undefined;
3324
+ limitations?: undefined;
3325
+ body?: undefined;
3326
+ featured?: undefined;
3327
+ } | {
3328
+ key: string;
3329
+ name: string;
3330
+ spdx_id: string | null;
3331
+ url: string | null;
3332
+ node_id: string;
3333
+ description: string;
3334
+ implementation: string;
3335
+ permissions: string[];
3336
+ conditions: string[];
3337
+ limitations: string[];
3338
+ body: string;
3339
+ featured: boolean;
3340
+ error?: undefined;
3341
+ }>;
3342
+ requiredAuth: "githubToken";
3343
+ } | {
3344
+ name: string;
3345
+ description: string;
3346
+ tool: import("ai").Tool<{
3347
+ repo: string;
3348
+ owner: string;
3349
+ githubToken?: string | undefined;
3350
+ }, {
3351
+ error: string;
3352
+ name?: undefined;
3353
+ path?: undefined;
3354
+ sha?: undefined;
3355
+ size?: undefined;
3356
+ url?: undefined;
3357
+ html_url?: undefined;
3358
+ git_url?: undefined;
3359
+ download_url?: undefined;
3360
+ type?: undefined;
3361
+ content?: undefined;
3362
+ encoding?: undefined;
3363
+ _links?: undefined;
3364
+ license?: undefined;
3365
+ } | {
3366
+ name: string;
3367
+ path: string;
3368
+ sha: string;
3369
+ size: number;
3370
+ url: string;
3371
+ html_url: string | null;
3372
+ git_url: string | null;
3373
+ download_url: string | null;
3374
+ type: string;
3375
+ content: string;
3376
+ encoding: string;
3377
+ _links: {
3378
+ git: string | null;
3379
+ html: string | null;
3380
+ self: string;
3381
+ };
3382
+ license: {
3383
+ key: string;
3384
+ name: string;
3385
+ url: string | null;
3386
+ spdx_id: string | null;
3387
+ node_id: string;
3388
+ html_url?: string;
3389
+ } | null;
3390
+ error?: undefined;
3391
+ }>;
3392
+ requiredAuth: "githubToken";
3393
+ } | {
3394
+ name: string;
3395
+ description: string;
3396
+ tool: import("ai").Tool<{
3397
+ text: string;
3398
+ mode?: "markdown" | "gfm" | undefined;
3399
+ githubToken?: string | undefined;
3400
+ context?: string | undefined;
3401
+ }, {
3402
+ error: string;
3403
+ html?: undefined;
3404
+ } | {
3405
+ html: string;
3406
+ error?: undefined;
3407
+ }>;
3408
+ requiredAuth: "githubToken";
3409
+ } | {
3410
+ name: string;
3411
+ description: string;
3412
+ tool: import("ai").Tool<{
3413
+ org: string;
3414
+ githubToken?: string | undefined;
3415
+ }, {
3416
+ error: string;
3417
+ login?: undefined;
3418
+ id?: undefined;
3419
+ url?: undefined;
3420
+ repos_url?: undefined;
3421
+ events_url?: undefined;
3422
+ hooks_url?: undefined;
3423
+ issues_url?: undefined;
3424
+ members_url?: undefined;
3425
+ public_members_url?: undefined;
3426
+ avatar_url?: undefined;
3427
+ description?: undefined;
3428
+ name?: undefined;
3429
+ company?: undefined;
3430
+ blog?: undefined;
3431
+ location?: undefined;
3432
+ email?: undefined;
3433
+ twitter_username?: undefined;
3434
+ is_verified?: undefined;
3435
+ has_organization_projects?: undefined;
3436
+ has_repository_projects?: undefined;
3437
+ public_repos?: undefined;
3438
+ public_gists?: undefined;
3439
+ followers?: undefined;
3440
+ following?: undefined;
3441
+ html_url?: undefined;
3442
+ created_at?: undefined;
3443
+ updated_at?: undefined;
3444
+ type?: undefined;
3445
+ } | {
3446
+ login: string;
3447
+ id: number;
3448
+ url: string;
3449
+ repos_url: string;
3450
+ events_url: string;
3451
+ hooks_url: string;
3452
+ issues_url: string;
3453
+ members_url: string;
3454
+ public_members_url: string;
3455
+ avatar_url: string;
3456
+ description: string | null;
3457
+ name: string | undefined;
3458
+ company: string | undefined;
3459
+ blog: string | undefined;
3460
+ location: string | undefined;
3461
+ email: string | undefined;
3462
+ twitter_username: string | null | undefined;
3463
+ is_verified: boolean | undefined;
3464
+ has_organization_projects: boolean;
3465
+ has_repository_projects: boolean;
3466
+ public_repos: number;
3467
+ public_gists: number;
3468
+ followers: number;
3469
+ following: number;
3470
+ html_url: string;
3471
+ created_at: string;
3472
+ updated_at: string;
3473
+ type: string;
3474
+ error?: undefined;
3475
+ }>;
3476
+ requiredAuth: "githubToken";
3477
+ } | {
3478
+ name: string;
3479
+ description: string;
3480
+ tool: import("ai").Tool<{
3481
+ githubToken?: string | undefined;
3482
+ page?: number | undefined;
3483
+ per_page?: number | undefined;
3484
+ }, {
3485
+ login: string;
3486
+ id: number;
3487
+ url: string;
3488
+ repos_url: string;
3489
+ events_url: string;
3490
+ hooks_url: string;
3491
+ issues_url: string;
3492
+ members_url: string;
3493
+ public_members_url: string;
3494
+ avatar_url: string;
3495
+ description: string | null;
3496
+ }[] | {
3497
+ error: string;
3498
+ }>;
3499
+ requiredAuth: "githubToken";
3500
+ } | {
3501
+ name: string;
3502
+ description: string;
3503
+ tool: import("ai").Tool<{
3504
+ since?: number | undefined;
3505
+ githubToken?: string | undefined;
3506
+ per_page?: number | undefined;
3507
+ }, {
3508
+ login: string;
3509
+ id: number;
3510
+ url: string;
3511
+ description: string | null;
3512
+ }[] | {
3513
+ error: string;
3514
+ }>;
3515
+ requiredAuth: "githubToken";
3516
+ } | {
3517
+ name: string;
3518
+ description: string;
3519
+ tool: import("ai").Tool<{
3520
+ org: string;
3521
+ description?: string | undefined;
3522
+ location?: string | undefined;
3523
+ githubToken?: string | undefined;
3524
+ name?: string | undefined;
3525
+ email?: string | undefined;
3526
+ company?: string | undefined;
3527
+ billing_email?: string | undefined;
3528
+ has_organization_projects?: boolean | undefined;
3529
+ has_repository_projects?: boolean | undefined;
3530
+ default_repository_permission?: "read" | "write" | "none" | "admin" | undefined;
3531
+ members_can_create_repositories?: boolean | undefined;
3532
+ members_can_create_internal_repositories?: boolean | undefined;
3533
+ members_can_create_private_repositories?: boolean | undefined;
3534
+ members_can_create_public_repositories?: boolean | undefined;
3535
+ members_allowed_repository_creation_type?: "none" | "all" | "private" | undefined;
3536
+ }, {
3537
+ error: string;
3538
+ login?: undefined;
3539
+ name?: undefined;
3540
+ email?: undefined;
3541
+ description?: undefined;
3542
+ updated_at?: undefined;
3543
+ } | {
3544
+ login: string;
3545
+ name: string | undefined;
3546
+ email: string | undefined;
3547
+ description: string | null;
3548
+ updated_at: string;
3549
+ error?: undefined;
3550
+ }>;
3551
+ requiredAuth: "githubToken";
3552
+ } | {
3553
+ name: string;
3554
+ description: string;
3555
+ tool: import("ai").Tool<{
3556
+ org: string;
3557
+ type?: "all" | "sources" | "private" | "forks" | "public" | "member" | undefined;
3558
+ githubToken?: string | undefined;
3559
+ page?: number | undefined;
3560
+ per_page?: number | undefined;
3561
+ }, {
3562
+ id: number;
3563
+ name: string;
3564
+ full_name: string;
3565
+ private: boolean;
3566
+ owner: string;
3567
+ html_url: string;
3568
+ description: string | null;
3569
+ fork: boolean;
3570
+ url: string;
3571
+ created_at: string | null | undefined;
3572
+ updated_at: string | null | undefined;
3573
+ pushed_at: string | null | undefined;
3574
+ git_url: string | undefined;
3575
+ ssh_url: string | undefined;
3576
+ clone_url: string | undefined;
3577
+ svn_url: string | undefined;
3578
+ homepage: string | null | undefined;
3579
+ size: number | undefined;
3580
+ stargazers_count: number | undefined;
3581
+ watchers_count: number | undefined;
3582
+ language: string | null | undefined;
3583
+ has_issues: boolean | undefined;
3584
+ has_projects: boolean | undefined;
3585
+ has_downloads: boolean | undefined;
3586
+ has_wiki: boolean | undefined;
3587
+ has_pages: boolean | undefined;
3588
+ forks_count: number | undefined;
3589
+ archived: boolean | undefined;
3590
+ disabled: boolean | undefined;
3591
+ open_issues_count: number | undefined;
3592
+ license: {
3593
+ key?: string;
3594
+ name?: string;
3595
+ spdx_id?: string;
3596
+ url?: string;
3597
+ node_id?: string;
3598
+ } | null | undefined;
3599
+ topics: string[] | undefined;
3600
+ visibility: any;
3601
+ }[] | {
3602
+ error: string;
3603
+ }>;
3604
+ requiredAuth: "githubToken";
3605
+ } | {
3606
+ name: string;
3607
+ description: string;
3608
+ tool: import("ai").Tool<{
3609
+ org: string;
3610
+ filter?: "all" | "2fa_disabled" | undefined;
3611
+ githubToken?: string | undefined;
3612
+ page?: number | undefined;
3613
+ per_page?: number | undefined;
3614
+ role?: "all" | "admin" | "member" | undefined;
3615
+ }, {
3616
+ login: string;
3617
+ id: number;
3618
+ avatar_url: string;
3619
+ url: string;
3620
+ html_url: string;
3621
+ type: string;
3622
+ }[] | {
3623
+ error: string;
3624
+ }>;
3625
+ requiredAuth: "githubToken";
3626
+ } | {
3627
+ name: string;
3628
+ description: string;
3629
+ tool: import("ai").Tool<{
3630
+ username: string;
3631
+ org: string;
3632
+ githubToken?: string | undefined;
3633
+ }, {
3634
+ error: string;
3635
+ url?: undefined;
3636
+ state?: undefined;
3637
+ role?: undefined;
3638
+ organization_url?: undefined;
3639
+ organization?: undefined;
3640
+ user?: undefined;
3641
+ } | {
3642
+ url: string;
3643
+ state: "active" | "pending";
3644
+ role: "admin" | "member" | "billing_manager";
3645
+ organization_url: string;
3646
+ organization: {
3647
+ login: string;
3648
+ id: number;
3649
+ node_id: string;
3650
+ url: string;
3651
+ repos_url: string;
3652
+ events_url: string;
3653
+ hooks_url: string;
3654
+ issues_url: string;
3655
+ members_url: string;
3656
+ public_members_url: string;
3657
+ avatar_url: string;
3658
+ description: string | null;
3659
+ };
3660
+ user: {
3661
+ name?: string | null;
3662
+ email?: string | null;
3663
+ login: string;
3664
+ id: number;
3665
+ node_id: string;
3666
+ avatar_url: string;
3667
+ gravatar_id: string | null;
3668
+ url: string;
3669
+ html_url: string;
3670
+ followers_url: string;
3671
+ following_url: string;
3672
+ gists_url: string;
3673
+ starred_url: string;
3674
+ subscriptions_url: string;
3675
+ organizations_url: string;
3676
+ repos_url: string;
3677
+ events_url: string;
3678
+ received_events_url: string;
3679
+ type: string;
3680
+ site_admin: boolean;
3681
+ starred_at?: string;
3682
+ user_view_type?: string;
3683
+ } | null;
3684
+ error?: undefined;
3685
+ }>;
3686
+ requiredAuth: "githubToken";
3687
+ } | {
3688
+ name: string;
3689
+ description: string;
3690
+ tool: import("ai").Tool<{
3691
+ repo: string;
3692
+ owner: string;
3693
+ githubToken?: string | undefined;
3694
+ page?: number | undefined;
3695
+ per_page?: number | undefined;
3696
+ state?: "all" | "open" | "closed" | undefined;
3697
+ }, {
3698
+ id: any;
3699
+ name: any;
3700
+ body: any;
3701
+ number: any;
3702
+ state: any;
3703
+ creator: any;
3704
+ html_url: any;
3705
+ created_at: any;
3706
+ updated_at: any;
3707
+ }[] | {
3708
+ error: string;
3709
+ }>;
3710
+ requiredAuth: "githubToken";
3711
+ } | {
3712
+ name: string;
3713
+ description: string;
3714
+ tool: import("ai").Tool<{
3715
+ org: string;
3716
+ githubToken?: string | undefined;
3717
+ page?: number | undefined;
3718
+ per_page?: number | undefined;
3719
+ state?: "all" | "open" | "closed" | undefined;
3720
+ }, {
3721
+ id: any;
3722
+ name: any;
3723
+ body: any;
3724
+ number: any;
3725
+ state: any;
3726
+ creator: any;
3727
+ html_url: any;
3728
+ created_at: any;
3729
+ updated_at: any;
3730
+ }[] | {
3731
+ error: string;
3732
+ }>;
3733
+ requiredAuth: "githubToken";
3734
+ } | {
3735
+ name: string;
3736
+ description: string;
3737
+ tool: import("ai").Tool<{
3738
+ name: string;
3739
+ org: string;
3740
+ body?: string | undefined;
3741
+ githubToken?: string | undefined;
3742
+ }, {
3743
+ error: string;
3744
+ id?: undefined;
3745
+ name?: undefined;
3746
+ body?: undefined;
3747
+ number?: undefined;
3748
+ state?: undefined;
3749
+ html_url?: undefined;
3750
+ created_at?: undefined;
3751
+ updated_at?: undefined;
3752
+ } | {
3753
+ id: any;
3754
+ name: any;
3755
+ body: any;
3756
+ number: any;
3757
+ state: any;
3758
+ html_url: any;
3759
+ created_at: any;
3760
+ updated_at: any;
3761
+ error?: undefined;
3762
+ }>;
3763
+ requiredAuth: "githubToken";
3764
+ } | {
3765
+ name: string;
3766
+ description: string;
3767
+ tool: import("ai").Tool<{
3768
+ project_id: number;
3769
+ githubToken?: string | undefined;
3770
+ }, {
3771
+ error: string;
3772
+ id?: undefined;
3773
+ name?: undefined;
3774
+ body?: undefined;
3775
+ number?: undefined;
3776
+ state?: undefined;
3777
+ creator?: undefined;
3778
+ html_url?: undefined;
3779
+ created_at?: undefined;
3780
+ updated_at?: undefined;
3781
+ organization_permission?: undefined;
3782
+ owner_url?: undefined;
3783
+ } | {
3784
+ id: any;
3785
+ name: any;
3786
+ body: any;
3787
+ number: any;
3788
+ state: any;
3789
+ creator: any;
3790
+ html_url: any;
3791
+ created_at: any;
3792
+ updated_at: any;
3793
+ organization_permission: any;
3794
+ owner_url: any;
3795
+ error?: undefined;
3796
+ }>;
3797
+ requiredAuth: "githubToken";
3798
+ } | {
3799
+ name: string;
3800
+ description: string;
3801
+ tool: import("ai").Tool<{
3802
+ project_id: number;
3803
+ body?: string | undefined;
3804
+ githubToken?: string | undefined;
3805
+ name?: string | undefined;
3806
+ private?: boolean | undefined;
3807
+ state?: "open" | "closed" | undefined;
3808
+ organization_permission?: "read" | "write" | "none" | "admin" | undefined;
3809
+ }, {
3810
+ error: string;
3811
+ id?: undefined;
3812
+ name?: undefined;
3813
+ state?: undefined;
3814
+ updated_at?: undefined;
3815
+ } | {
3816
+ id: any;
3817
+ name: any;
3818
+ state: any;
3819
+ updated_at: any;
3820
+ error?: undefined;
3821
+ }>;
3822
+ requiredAuth: "githubToken";
3823
+ } | {
3824
+ name: string;
3825
+ description: string;
3826
+ tool: import("ai").Tool<{
3827
+ project_id: number;
3828
+ githubToken?: string | undefined;
3829
+ }, {
3830
+ error: string;
3831
+ message?: undefined;
3832
+ } | {
3833
+ message: string;
3834
+ error?: undefined;
3835
+ }>;
3836
+ requiredAuth: "githubToken";
3837
+ } | {
3838
+ name: string;
3839
+ description: string;
3840
+ tool: import("ai").Tool<{
3841
+ project_id: number;
3842
+ githubToken?: string | undefined;
3843
+ page?: number | undefined;
3844
+ per_page?: number | undefined;
3845
+ }, {
3846
+ id: any;
3847
+ name: any;
3848
+ project_url: any;
3849
+ cards_url: any;
3850
+ created_at: any;
3851
+ updated_at: any;
3852
+ }[] | {
3853
+ error: string;
3854
+ }>;
3855
+ requiredAuth: "githubToken";
3856
+ } | {
3857
+ name: string;
3858
+ description: string;
3859
+ tool: import("ai").Tool<{
3860
+ githubToken?: string | undefined;
3861
+ }, {
3862
+ core: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3863
+ graphql?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3864
+ search: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3865
+ code_search?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3866
+ source_import?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3867
+ integration_manifest?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3868
+ code_scanning_upload?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3869
+ actions_runner_registration?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3870
+ scim?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3871
+ dependency_snapshots?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3872
+ dependency_sbom?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3873
+ code_scanning_autofix?: import("@octokit/openapi-types").components["schemas"]["rate-limit"];
3874
+ } | {
3875
+ error: string;
3876
+ }>;
3877
+ requiredAuth: "githubToken";
3878
+ } | {
3879
+ name: string;
3880
+ description: string;
3881
+ tool: import("ai").Tool<{
3882
+ repo: string;
3883
+ owner: string;
3884
+ issue_number: number;
3885
+ githubToken?: string | undefined;
3886
+ page?: number | undefined;
3887
+ content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes" | undefined;
3888
+ per_page?: number | undefined;
3889
+ }, {
3890
+ id: number;
3891
+ user: string | undefined;
3892
+ content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes";
3893
+ created_at: string;
3894
+ }[] | {
3895
+ error: string;
3896
+ }>;
3897
+ requiredAuth: "githubToken";
3898
+ } | {
3899
+ name: string;
3900
+ description: string;
3901
+ tool: import("ai").Tool<{
3902
+ repo: string;
3903
+ content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes";
3904
+ owner: string;
3905
+ issue_number: number;
3906
+ githubToken?: string | undefined;
3907
+ }, {
3908
+ error: string;
3909
+ id?: undefined;
3910
+ user?: undefined;
3911
+ content?: undefined;
3912
+ created_at?: undefined;
3913
+ } | {
3914
+ id: number;
3915
+ user: string | undefined;
3916
+ content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes";
3917
+ created_at: string;
3918
+ error?: undefined;
3919
+ }>;
3920
+ requiredAuth: "githubToken";
3921
+ } | {
3922
+ name: string;
3923
+ description: string;
3924
+ tool: import("ai").Tool<{
3925
+ repo: string;
3926
+ owner: string;
3927
+ comment_id: number;
3928
+ githubToken?: string | undefined;
3929
+ page?: number | undefined;
3930
+ content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes" | undefined;
3931
+ per_page?: number | undefined;
3932
+ }, {
3933
+ id: number;
3934
+ user: string | undefined;
3935
+ content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes";
3936
+ created_at: string;
3937
+ }[] | {
3938
+ error: string;
3939
+ }>;
3940
+ requiredAuth: "githubToken";
3941
+ } | {
3942
+ name: string;
3943
+ description: string;
3944
+ tool: import("ai").Tool<{
3945
+ repo: string;
3946
+ content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes";
3947
+ owner: string;
3948
+ comment_id: number;
3949
+ githubToken?: string | undefined;
3950
+ }, {
3951
+ error: string;
3952
+ id?: undefined;
3953
+ content?: undefined;
3954
+ user?: undefined;
3955
+ created_at?: undefined;
3956
+ } | {
3957
+ id: number;
3958
+ content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes";
3959
+ user: string | undefined;
3960
+ created_at: string;
3961
+ error?: undefined;
3962
+ }>;
3963
+ requiredAuth: "githubToken";
3964
+ } | {
3965
+ name: string;
3966
+ description: string;
3967
+ tool: import("ai").Tool<{
3968
+ reaction_id: number;
3969
+ githubToken?: string | undefined;
3970
+ }, {
3971
+ error: string;
3972
+ message?: undefined;
3973
+ } | {
3974
+ message: string;
3975
+ error?: undefined;
3976
+ }>;
3977
+ requiredAuth: "githubToken";
3978
+ } | {
3979
+ name: string;
3980
+ description: string;
3981
+ tool: import("ai").Tool<{
3982
+ repo: string;
3983
+ owner: string;
3984
+ githubToken?: string | undefined;
3985
+ page?: number | undefined;
3986
+ per_page?: number | undefined;
3987
+ }, {
3988
+ id: number;
3989
+ tag_name: string;
3990
+ target_commitish: string;
3991
+ name: string | null;
3992
+ body: string | null | undefined;
3993
+ draft: boolean;
3994
+ prerelease: boolean;
3995
+ created_at: string;
3996
+ published_at: string | null;
3997
+ html_url: string;
3998
+ author: string;
3999
+ }[] | {
4000
+ error: string;
4001
+ }>;
4002
+ requiredAuth: "githubToken";
4003
+ } | {
4004
+ name: string;
4005
+ description: string;
4006
+ tool: import("ai").Tool<{
4007
+ repo: string;
4008
+ owner: string;
4009
+ tag_name: string;
4010
+ body?: string | undefined;
4011
+ githubToken?: string | undefined;
4012
+ name?: string | undefined;
4013
+ draft?: boolean | undefined;
4014
+ target_commitish?: string | undefined;
4015
+ prerelease?: boolean | undefined;
4016
+ generate_release_notes?: boolean | undefined;
4017
+ }, {
4018
+ error: string;
4019
+ id?: undefined;
4020
+ tag_name?: undefined;
4021
+ name?: undefined;
4022
+ body?: undefined;
4023
+ html_url?: undefined;
4024
+ } | {
4025
+ id: number;
4026
+ tag_name: string;
4027
+ name: string | null;
4028
+ body: string | null | undefined;
4029
+ html_url: string;
4030
+ error?: undefined;
4031
+ }>;
4032
+ requiredAuth: "githubToken";
4033
+ } | {
4034
+ name: string;
4035
+ description: string;
4036
+ tool: import("ai").Tool<{
4037
+ repo: string;
4038
+ owner: string;
4039
+ release_id: number;
4040
+ githubToken?: string | undefined;
4041
+ }, {
4042
+ error: string;
4043
+ id?: undefined;
4044
+ tag_name?: undefined;
4045
+ name?: undefined;
4046
+ body?: undefined;
4047
+ draft?: undefined;
4048
+ prerelease?: undefined;
4049
+ created_at?: undefined;
4050
+ published_at?: undefined;
4051
+ html_url?: undefined;
4052
+ assets?: undefined;
4053
+ } | {
4054
+ id: number;
4055
+ tag_name: string;
4056
+ name: string | null;
4057
+ body: string | null | undefined;
4058
+ draft: boolean;
4059
+ prerelease: boolean;
4060
+ created_at: string;
4061
+ published_at: string | null;
4062
+ html_url: string;
4063
+ assets: {
4064
+ id: number;
4065
+ name: string;
4066
+ size: number;
4067
+ download_count: number;
4068
+ browser_download_url: string;
4069
+ }[];
4070
+ error?: undefined;
4071
+ }>;
4072
+ requiredAuth: "githubToken";
4073
+ } | {
4074
+ name: string;
4075
+ description: string;
4076
+ tool: import("ai").Tool<{
4077
+ repo: string;
4078
+ owner: string;
4079
+ release_id: number;
4080
+ body?: string | undefined;
4081
+ githubToken?: string | undefined;
4082
+ name?: string | undefined;
4083
+ draft?: boolean | undefined;
4084
+ tag_name?: string | undefined;
4085
+ target_commitish?: string | undefined;
4086
+ prerelease?: boolean | undefined;
4087
+ }, {
4088
+ error: string;
4089
+ id?: undefined;
4090
+ tag_name?: undefined;
4091
+ name?: undefined;
4092
+ body?: undefined;
4093
+ html_url?: undefined;
4094
+ } | {
4095
+ id: number;
4096
+ tag_name: string;
4097
+ name: string | null;
4098
+ body: string | null | undefined;
4099
+ html_url: string;
4100
+ error?: undefined;
4101
+ }>;
4102
+ requiredAuth: "githubToken";
4103
+ } | {
4104
+ name: string;
4105
+ description: string;
4106
+ tool: import("ai").Tool<{
4107
+ repo: string;
4108
+ owner: string;
4109
+ release_id: number;
4110
+ githubToken?: string | undefined;
4111
+ }, {
4112
+ error: string;
4113
+ message?: undefined;
4114
+ } | {
4115
+ message: string;
4116
+ error?: undefined;
4117
+ }>;
4118
+ requiredAuth: "githubToken";
4119
+ } | {
4120
+ name: string;
4121
+ description: string;
4122
+ tool: import("ai").Tool<{
4123
+ repo: string;
4124
+ owner: string;
4125
+ githubToken?: string | undefined;
4126
+ }, {
4127
+ error: string;
4128
+ id?: undefined;
4129
+ tag_name?: undefined;
4130
+ name?: undefined;
4131
+ body?: undefined;
4132
+ published_at?: undefined;
4133
+ html_url?: undefined;
4134
+ } | {
4135
+ id: number;
4136
+ tag_name: string;
4137
+ name: string | null;
4138
+ body: string | null | undefined;
4139
+ published_at: string | null;
4140
+ html_url: string;
4141
+ error?: undefined;
4142
+ }>;
4143
+ requiredAuth: "githubToken";
4144
+ } | {
4145
+ name: string;
4146
+ description: string;
4147
+ tool: import("ai").Tool<{
4148
+ repo: string;
4149
+ owner: string;
4150
+ tag_name: string;
4151
+ githubToken?: string | undefined;
4152
+ target_commitish?: string | undefined;
4153
+ previous_tag_name?: string | undefined;
4154
+ configuration_file_path?: string | undefined;
4155
+ }, {
4156
+ error: string;
4157
+ name?: undefined;
4158
+ body?: undefined;
4159
+ } | {
4160
+ name: string;
4161
+ body: string;
4162
+ error?: undefined;
4163
+ }>;
4164
+ requiredAuth: "githubToken";
4165
+ } | {
4166
+ name: string;
4167
+ description: string;
4168
+ tool: import("ai").Tool<{
4169
+ repo: string;
4170
+ owner: string;
4171
+ githubToken?: string | undefined;
4172
+ page?: number | undefined;
4173
+ per_page?: number | undefined;
4174
+ state?: "open" | "resolved" | undefined;
4175
+ secret_type?: string | undefined;
4176
+ resolution?: string | undefined;
4177
+ }, {
4178
+ number: number | undefined;
4179
+ created_at: string | undefined;
4180
+ updated_at: string | null | undefined;
4181
+ url: string | undefined;
4182
+ html_url: string | undefined;
4183
+ state: "open" | "resolved" | undefined;
4184
+ resolution: "false_positive" | "wont_fix" | "revoked" | "used_in_tests" | null | undefined;
4185
+ resolved_at: string | null | undefined;
4186
+ resolved_by: string | undefined;
4187
+ secret_type: string | undefined;
4188
+ secret: string | undefined;
4189
+ }[] | {
4190
+ error: string;
4191
+ }>;
4192
+ requiredAuth: "githubToken";
4193
+ } | {
4194
+ name: string;
4195
+ description: string;
4196
+ tool: import("ai").Tool<{
4197
+ repo: string;
4198
+ owner: string;
4199
+ alert_number: number;
4200
+ githubToken?: string | undefined;
4201
+ }, {
4202
+ error: string;
4203
+ number?: undefined;
4204
+ created_at?: undefined;
4205
+ updated_at?: undefined;
4206
+ url?: undefined;
4207
+ html_url?: undefined;
4208
+ state?: undefined;
4209
+ resolution?: undefined;
4210
+ resolved_at?: undefined;
4211
+ resolved_by?: undefined;
4212
+ secret_type?: undefined;
4213
+ secret?: undefined;
4214
+ } | {
4215
+ number: number | undefined;
4216
+ created_at: string | undefined;
4217
+ updated_at: string | null | undefined;
4218
+ url: string | undefined;
4219
+ html_url: string | undefined;
4220
+ state: "open" | "resolved" | undefined;
4221
+ resolution: "false_positive" | "wont_fix" | "revoked" | "used_in_tests" | null | undefined;
4222
+ resolved_at: string | null | undefined;
4223
+ resolved_by: string | undefined;
4224
+ secret_type: string | undefined;
4225
+ secret: string | undefined;
4226
+ error?: undefined;
4227
+ }>;
4228
+ requiredAuth: "githubToken";
4229
+ } | {
4230
+ name: string;
4231
+ description: string;
4232
+ tool: import("ai").Tool<{
4233
+ repo: string;
4234
+ owner: string;
4235
+ state: "open" | "resolved";
4236
+ alert_number: number;
4237
+ githubToken?: string | undefined;
4238
+ resolution?: "false_positive" | "wont_fix" | "revoked" | "used_in_tests" | undefined;
4239
+ }, {
4240
+ error: string;
4241
+ number?: undefined;
4242
+ state?: undefined;
4243
+ resolution?: undefined;
4244
+ } | {
4245
+ number: number | undefined;
4246
+ state: "open" | "resolved" | undefined;
4247
+ resolution: "false_positive" | "wont_fix" | "revoked" | "used_in_tests" | null | undefined;
4248
+ error?: undefined;
4249
+ }>;
4250
+ requiredAuth: "githubToken";
4251
+ } | {
4252
+ name: string;
4253
+ description: string;
4254
+ tool: import("ai").Tool<{
4255
+ repo: string;
4256
+ owner: string;
4257
+ githubToken?: string | undefined;
4258
+ page?: number | undefined;
4259
+ per_page?: number | undefined;
4260
+ }, {
4261
+ ghsa_id: string;
4262
+ cve_id: string | null;
4263
+ summary: string;
4264
+ description: string | null;
4265
+ severity: "low" | "medium" | "high" | "critical" | null;
4266
+ state: "closed" | "draft" | "triage" | "published" | "withdrawn";
4267
+ created_at: string | null;
4268
+ updated_at: string | null;
4269
+ published_at: string | null;
4270
+ withdrawn_at: string | null;
4271
+ html_url: string;
4272
+ }[] | {
4273
+ error: string;
4274
+ }>;
4275
+ requiredAuth: "githubToken";
4276
+ } | {
4277
+ name: string;
4278
+ description: string;
4279
+ tool: import("ai").Tool<{
4280
+ repo: string;
4281
+ owner: string;
4282
+ ghsa_id: string;
4283
+ githubToken?: string | undefined;
4284
+ }, {
4285
+ error: string;
4286
+ ghsa_id?: undefined;
4287
+ cve_id?: undefined;
4288
+ summary?: undefined;
4289
+ description?: undefined;
4290
+ severity?: undefined;
4291
+ state?: undefined;
4292
+ created_at?: undefined;
4293
+ updated_at?: undefined;
4294
+ } | {
4295
+ ghsa_id: string;
4296
+ cve_id: string | null;
4297
+ summary: string;
4298
+ description: string | null;
4299
+ severity: "low" | "medium" | "high" | "critical" | null;
4300
+ state: "closed" | "draft" | "triage" | "published" | "withdrawn";
4301
+ created_at: string | null;
4302
+ updated_at: string | null;
4303
+ error?: undefined;
4304
+ }>;
4305
+ requiredAuth: "githubToken";
4306
+ } | {
4307
+ name: string;
4308
+ description: string;
4309
+ tool: import("ai").Tool<{
4310
+ description: string;
4311
+ summary: string;
4312
+ repo: string;
4313
+ owner: string;
4314
+ vulnerabilities: {
4315
+ package: {
4316
+ name: string;
4317
+ ecosystem: "actions" | "rubygems" | "npm" | "pip" | "maven" | "nuget" | "composer" | "go" | "rust" | "erlang" | "pub" | "other" | "swift";
4318
+ };
4319
+ vulnerable_version_range: string;
4320
+ patched_versions?: string | undefined;
4321
+ vulnerable_functions?: string[] | undefined;
4322
+ }[];
4323
+ githubToken?: string | undefined;
4324
+ severity?: "low" | "medium" | "high" | "critical" | undefined;
4325
+ cve_id?: string | undefined;
4326
+ common_weakness_enumeration_ids?: string[] | undefined;
4327
+ }, {
4328
+ error: string;
4329
+ ghsa_id?: undefined;
4330
+ summary?: undefined;
4331
+ severity?: undefined;
4332
+ state?: undefined;
4333
+ html_url?: undefined;
4334
+ } | {
4335
+ ghsa_id: string;
4336
+ summary: string;
4337
+ severity: "low" | "medium" | "high" | "critical" | null;
4338
+ state: "closed" | "draft" | "triage" | "published" | "withdrawn";
4339
+ html_url: string;
4340
+ error?: undefined;
4341
+ }>;
4342
+ requiredAuth: "githubToken";
4343
+ } | {
4344
+ name: string;
4345
+ description: string;
4346
+ tool: import("ai").Tool<{
4347
+ githubToken?: string | undefined;
4348
+ page?: number | undefined;
4349
+ per_page?: number | undefined;
4350
+ }, {
4351
+ ghsa_id: string;
4352
+ cve_id: string | null;
4353
+ summary: string;
4354
+ severity: "unknown" | "low" | "medium" | "high" | "critical";
4355
+ html_url: string;
4356
+ }[] | {
4357
+ error: string;
4358
+ }>;
4359
+ requiredAuth: "githubToken";
4360
+ } | {
4361
+ name: string;
4362
+ description: string;
4363
+ tool: import("ai").Tool<{
4364
+ githubToken?: string | undefined;
4365
+ page?: number | undefined;
4366
+ per_page?: number | undefined;
4367
+ }, {
4368
+ id: number;
4369
+ name: string;
4370
+ full_name: string;
4371
+ owner: string;
4372
+ html_url: string;
4373
+ stargazers_count: number;
4374
+ }[] | {
4375
+ error: string;
4376
+ }>;
4377
+ requiredAuth: "githubToken";
4378
+ } | {
4379
+ name: string;
4380
+ description: string;
4381
+ tool: import("ai").Tool<{
4382
+ repo: string;
4383
+ owner: string;
4384
+ githubToken?: string | undefined;
4385
+ }, {
4386
+ error: string;
4387
+ is_starred?: undefined;
4388
+ } | {
4389
+ is_starred: boolean;
4390
+ error?: undefined;
4391
+ }>;
4392
+ requiredAuth: "githubToken";
4393
+ } | {
4394
+ name: string;
4395
+ description: string;
4396
+ tool: import("ai").Tool<{
4397
+ repo: string;
4398
+ owner: string;
4399
+ githubToken?: string | undefined;
4400
+ page?: number | undefined;
4401
+ per_page?: number | undefined;
4402
+ }, {
4403
+ login: any;
4404
+ id: any;
4405
+ avatar_url: any;
4406
+ html_url: any;
4407
+ }[] | {
4408
+ error: string;
4409
+ }>;
4410
+ requiredAuth: "githubToken";
4411
+ } | {
4412
+ name: string;
4413
+ description: string;
4414
+ tool: import("ai").Tool<{
4415
+ repo: string;
4416
+ owner: string;
4417
+ state: "error" | "success" | "failure" | "pending";
4418
+ sha: string;
4419
+ description?: string | undefined;
4420
+ githubToken?: string | undefined;
4421
+ context?: string | undefined;
4422
+ target_url?: string | undefined;
4423
+ }, {
4424
+ error: string;
4425
+ id?: undefined;
4426
+ state?: undefined;
4427
+ description?: undefined;
4428
+ context?: undefined;
4429
+ target_url?: undefined;
4430
+ } | {
4431
+ id: number;
4432
+ state: string;
4433
+ description: string | null;
4434
+ context: string;
4435
+ target_url: string | null;
4436
+ error?: undefined;
4437
+ }>;
4438
+ requiredAuth: "githubToken";
4439
+ } | {
4440
+ name: string;
4441
+ description: string;
4442
+ tool: import("ai").Tool<{
4443
+ repo: string;
4444
+ owner: string;
4445
+ ref: string;
4446
+ githubToken?: string | undefined;
4447
+ page?: number | undefined;
4448
+ per_page?: number | undefined;
4449
+ }, {
4450
+ id: number;
4451
+ state: string;
4452
+ description: string | null;
4453
+ context: string;
4454
+ target_url: string | null;
4455
+ created_at: string;
4456
+ }[] | {
4457
+ error: string;
4458
+ }>;
4459
+ requiredAuth: "githubToken";
4460
+ } | {
4461
+ name: string;
4462
+ description: string;
4463
+ tool: import("ai").Tool<{
4464
+ repo: string;
4465
+ owner: string;
4466
+ ref: string;
4467
+ githubToken?: string | undefined;
4468
+ }, {
4469
+ error: string;
4470
+ state?: undefined;
4471
+ sha?: undefined;
4472
+ total_count?: undefined;
4473
+ statuses?: undefined;
4474
+ repository?: undefined;
4475
+ } | {
4476
+ state: string;
4477
+ sha: string;
4478
+ total_count: number;
4479
+ statuses: {
4480
+ id: number;
4481
+ state: string;
4482
+ description: string | null;
4483
+ context: string;
4484
+ }[];
4485
+ repository: string;
4486
+ error?: undefined;
4487
+ }>;
4488
+ requiredAuth: "githubToken";
4489
+ } | {
4490
+ name: string;
4491
+ description: string;
4492
+ tool: import("ai").Tool<{
4493
+ org: string;
4494
+ githubToken?: string | undefined;
4495
+ page?: number | undefined;
4496
+ per_page?: number | undefined;
4497
+ }, {
4498
+ id: number;
4499
+ name: string;
4500
+ slug: string;
4501
+ description: string | null;
4502
+ privacy: string | undefined;
4503
+ url: string;
4504
+ members_url: string;
4505
+ repositories_url: string;
4506
+ }[] | {
4507
+ error: string;
4508
+ }>;
4509
+ requiredAuth: "githubToken";
4510
+ } | {
4511
+ name: string;
4512
+ description: string;
4513
+ tool: import("ai").Tool<{
4514
+ name: string;
4515
+ org: string;
4516
+ description?: string | undefined;
4517
+ githubToken?: string | undefined;
4518
+ permission?: "push" | "admin" | "pull" | "maintain" | "triage" | undefined;
4519
+ maintainers?: string[] | undefined;
4520
+ repo_names?: string[] | undefined;
4521
+ privacy?: "closed" | "secret" | undefined;
4522
+ parent_team_id?: number | undefined;
4523
+ }, {
4524
+ error: string;
4525
+ id?: undefined;
4526
+ name?: undefined;
4527
+ slug?: undefined;
4528
+ description?: undefined;
4529
+ privacy?: undefined;
4530
+ permission?: undefined;
4531
+ url?: undefined;
4532
+ html_url?: undefined;
4533
+ } | {
4534
+ id: number;
4535
+ name: string;
4536
+ slug: string;
4537
+ description: string | null;
4538
+ privacy: "closed" | "secret" | undefined;
4539
+ permission: string;
4540
+ url: string;
4541
+ html_url: string;
4542
+ error?: undefined;
4543
+ }>;
4544
+ requiredAuth: "githubToken";
4545
+ } | {
4546
+ name: string;
4547
+ description: string;
4548
+ tool: import("ai").Tool<{
4549
+ org: string;
4550
+ team_slug: string;
4551
+ githubToken?: string | undefined;
4552
+ }, {
4553
+ error: string;
4554
+ id?: undefined;
4555
+ name?: undefined;
4556
+ slug?: undefined;
4557
+ description?: undefined;
4558
+ privacy?: undefined;
4559
+ permission?: undefined;
4560
+ members_count?: undefined;
4561
+ repos_count?: undefined;
4562
+ html_url?: undefined;
4563
+ } | {
4564
+ id: number;
4565
+ name: string;
4566
+ slug: string;
4567
+ description: string | null;
4568
+ privacy: "closed" | "secret" | undefined;
4569
+ permission: string;
4570
+ members_count: number;
4571
+ repos_count: number;
4572
+ html_url: string;
4573
+ error?: undefined;
4574
+ }>;
4575
+ requiredAuth: "githubToken";
4576
+ } | {
4577
+ name: string;
4578
+ description: string;
4579
+ tool: import("ai").Tool<{
4580
+ org: string;
4581
+ team_slug: string;
4582
+ description?: string | undefined;
4583
+ githubToken?: string | undefined;
4584
+ name?: string | undefined;
4585
+ permission?: "push" | "admin" | "pull" | "maintain" | "triage" | undefined;
4586
+ privacy?: "closed" | "secret" | undefined;
4587
+ parent_team_id?: number | undefined;
4588
+ }, {
4589
+ error: string;
4590
+ id?: undefined;
4591
+ name?: undefined;
4592
+ slug?: undefined;
4593
+ description?: undefined;
4594
+ privacy?: undefined;
4595
+ permission?: undefined;
4596
+ } | {
4597
+ id: number;
4598
+ name: string;
4599
+ slug: string;
4600
+ description: string | null;
4601
+ privacy: "closed" | "secret" | undefined;
4602
+ permission: string;
4603
+ error?: undefined;
4604
+ }>;
4605
+ requiredAuth: "githubToken";
4606
+ } | {
4607
+ name: string;
4608
+ description: string;
4609
+ tool: import("ai").Tool<{
4610
+ org: string;
4611
+ team_slug: string;
4612
+ githubToken?: string | undefined;
4613
+ }, {
4614
+ error: string;
4615
+ message?: undefined;
4616
+ } | {
4617
+ message: string;
4618
+ error?: undefined;
4619
+ }>;
4620
+ requiredAuth: "githubToken";
4621
+ } | {
4622
+ name: string;
4623
+ description: string;
4624
+ tool: import("ai").Tool<{
4625
+ org: string;
4626
+ team_slug: string;
4627
+ githubToken?: string | undefined;
4628
+ page?: number | undefined;
4629
+ per_page?: number | undefined;
4630
+ role?: "all" | "member" | "maintainer" | undefined;
4631
+ }, {
4632
+ login: string;
4633
+ id: number;
4634
+ avatar_url: string;
4635
+ type: string;
4636
+ }[] | {
4637
+ error: string;
4638
+ }>;
4639
+ requiredAuth: "githubToken";
4640
+ } | {
4641
+ name: string;
4642
+ description: string;
4643
+ tool: import("ai").Tool<{
4644
+ org: string;
4645
+ team_slug: string;
4646
+ githubToken?: string | undefined;
4647
+ page?: number | undefined;
4648
+ per_page?: number | undefined;
4649
+ }, {
4650
+ id: number;
4651
+ name: string;
4652
+ full_name: string;
4653
+ owner: string;
4654
+ permissions: {
4655
+ admin?: boolean;
4656
+ maintain?: boolean;
4657
+ push?: boolean;
4658
+ triage?: boolean;
4659
+ pull?: boolean;
4660
+ } | undefined;
4661
+ }[] | {
4662
+ error: string;
4663
+ }>;
4664
+ requiredAuth: "githubToken";
4665
+ } | {
4666
+ name: string;
4667
+ description: string;
4668
+ tool: import("ai").Tool<{
4669
+ repo: string;
4670
+ owner: string;
4671
+ org: string;
4672
+ team_slug: string;
4673
+ githubToken?: string | undefined;
4674
+ permission?: "push" | "admin" | "pull" | "maintain" | "triage" | undefined;
4675
+ }, {
4676
+ error: string;
4677
+ message?: undefined;
4678
+ } | {
4679
+ message: string;
4680
+ error?: undefined;
4681
+ }>;
4682
+ requiredAuth: "githubToken";
4683
+ } | {
4684
+ name: string;
4685
+ description: string;
4686
+ tool: import("ai").Tool<{
4687
+ repo: string;
4688
+ owner: string;
4689
+ org: string;
4690
+ team_slug: string;
4691
+ githubToken?: string | undefined;
4692
+ }, {
4693
+ error: string;
4694
+ message?: undefined;
4695
+ } | {
4696
+ message: string;
4697
+ error?: undefined;
4698
+ }>;
4699
+ requiredAuth: "githubToken";
4700
+ } | {
4701
+ name: string;
4702
+ description: string;
4703
+ tool: import("ai").Tool<{
4704
+ repo: string;
4705
+ owner: string;
4706
+ githubToken?: string | undefined;
4707
+ page?: number | undefined;
4708
+ per_page?: number | undefined;
4709
+ }, {
4710
+ id: number;
4711
+ name: string;
4712
+ active: boolean;
4713
+ events: string[];
4714
+ config: {
4715
+ url?: import("@octokit/openapi-types").components["schemas"]["webhook-config-url"];
4716
+ content_type?: import("@octokit/openapi-types").components["schemas"]["webhook-config-content-type"];
4717
+ secret?: import("@octokit/openapi-types").components["schemas"]["webhook-config-secret"];
4718
+ insecure_ssl?: import("@octokit/openapi-types").components["schemas"]["webhook-config-insecure-ssl"];
4719
+ };
4720
+ updated_at: string;
4721
+ created_at: string;
4722
+ url: string;
4723
+ test_url: string;
4724
+ ping_url: string;
4725
+ last_response: {
4726
+ code: number | null;
4727
+ status: string | null;
4728
+ message: string | null;
4729
+ };
4730
+ }[] | {
4731
+ error: string;
4732
+ }>;
4733
+ requiredAuth: "githubToken";
4734
+ } | {
4735
+ name: string;
4736
+ description: string;
4737
+ tool: import("ai").Tool<{
4738
+ repo: string;
4739
+ owner: string;
4740
+ config: {
4741
+ url: string;
4742
+ secret?: string | undefined;
4743
+ content_type?: string | undefined;
4744
+ insecure_ssl?: string | undefined;
4745
+ };
4746
+ githubToken?: string | undefined;
4747
+ name?: string | undefined;
4748
+ active?: boolean | undefined;
4749
+ events?: string[] | undefined;
4750
+ }, {
4751
+ error: string;
4752
+ id?: undefined;
4753
+ name?: undefined;
4754
+ active?: undefined;
4755
+ events?: undefined;
4756
+ config?: undefined;
4757
+ } | {
4758
+ id: number;
4759
+ name: string;
4760
+ active: boolean;
4761
+ events: string[];
4762
+ config: {
4763
+ url?: import("@octokit/openapi-types").components["schemas"]["webhook-config-url"];
4764
+ content_type?: import("@octokit/openapi-types").components["schemas"]["webhook-config-content-type"];
4765
+ secret?: import("@octokit/openapi-types").components["schemas"]["webhook-config-secret"];
4766
+ insecure_ssl?: import("@octokit/openapi-types").components["schemas"]["webhook-config-insecure-ssl"];
4767
+ };
4768
+ error?: undefined;
4769
+ }>;
4770
+ requiredAuth: "githubToken";
4771
+ } | {
4772
+ name: string;
4773
+ description: string;
4774
+ tool: import("ai").Tool<{
4775
+ repo: string;
4776
+ owner: string;
4777
+ hook_id: number;
4778
+ githubToken?: string | undefined;
4779
+ }, {
4780
+ error: string;
4781
+ id?: undefined;
4782
+ name?: undefined;
4783
+ active?: undefined;
4784
+ events?: undefined;
4785
+ config?: undefined;
4786
+ updated_at?: undefined;
4787
+ created_at?: undefined;
4788
+ } | {
4789
+ id: number;
4790
+ name: string;
4791
+ active: boolean;
4792
+ events: string[];
4793
+ config: {
4794
+ url?: import("@octokit/openapi-types").components["schemas"]["webhook-config-url"];
4795
+ content_type?: import("@octokit/openapi-types").components["schemas"]["webhook-config-content-type"];
4796
+ secret?: import("@octokit/openapi-types").components["schemas"]["webhook-config-secret"];
4797
+ insecure_ssl?: import("@octokit/openapi-types").components["schemas"]["webhook-config-insecure-ssl"];
4798
+ };
4799
+ updated_at: string;
4800
+ created_at: string;
4801
+ error?: undefined;
4802
+ }>;
4803
+ requiredAuth: "githubToken";
4804
+ } | {
4805
+ name: string;
4806
+ description: string;
4807
+ tool: import("ai").Tool<{
4808
+ repo: string;
4809
+ owner: string;
4810
+ hook_id: number;
4811
+ githubToken?: string | undefined;
4812
+ active?: boolean | undefined;
4813
+ events?: string[] | undefined;
4814
+ config?: {
4815
+ url: string;
4816
+ secret?: string | undefined;
4817
+ content_type?: string | undefined;
4818
+ insecure_ssl?: string | undefined;
4819
+ } | undefined;
4820
+ add_events?: string[] | undefined;
4821
+ remove_events?: string[] | undefined;
4822
+ }, {
4823
+ error: string;
4824
+ id?: undefined;
4825
+ name?: undefined;
4826
+ active?: undefined;
4827
+ events?: undefined;
4828
+ config?: undefined;
4829
+ } | {
4830
+ id: number;
4831
+ name: string;
4832
+ active: boolean;
4833
+ events: string[];
4834
+ config: {
4835
+ url?: import("@octokit/openapi-types").components["schemas"]["webhook-config-url"];
4836
+ content_type?: import("@octokit/openapi-types").components["schemas"]["webhook-config-content-type"];
4837
+ secret?: import("@octokit/openapi-types").components["schemas"]["webhook-config-secret"];
4838
+ insecure_ssl?: import("@octokit/openapi-types").components["schemas"]["webhook-config-insecure-ssl"];
4839
+ };
4840
+ error?: undefined;
4841
+ }>;
4842
+ requiredAuth: "githubToken";
4843
+ } | {
4844
+ name: string;
4845
+ description: string;
4846
+ tool: import("ai").Tool<{
4847
+ repo: string;
4848
+ owner: string;
4849
+ hook_id: number;
4850
+ githubToken?: string | undefined;
4851
+ }, {
4852
+ error: string;
4853
+ message?: undefined;
4854
+ } | {
4855
+ message: string;
4856
+ error?: undefined;
4857
+ }>;
4858
+ requiredAuth: "githubToken";
4859
+ })[];
176
4860
  //# sourceMappingURL=index.d.ts.map