@github-tools/sdk 1.16.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +18 -9
  2. package/dist/connect/eve.d.mts +2 -3
  3. package/dist/connect/eve.d.mts.map +1 -1
  4. package/dist/connect/eve.mjs +1 -1
  5. package/dist/connect.d.mts +19 -11
  6. package/dist/connect.d.mts.map +1 -1
  7. package/dist/connect.mjs +2 -2
  8. package/dist/{eve-runtime-Bu8Gy8CS.d.mts → eve-runtime-DwPFaBlj.d.mts} +5 -5
  9. package/dist/{eve-runtime-Bu8Gy8CS.d.mts.map → eve-runtime-DwPFaBlj.d.mts.map} +1 -1
  10. package/dist/{eve-runtime-Cfyy1tzp.mjs → eve-runtime-NBFRz1SB.mjs} +11 -10
  11. package/dist/eve-runtime-NBFRz1SB.mjs.map +1 -0
  12. package/dist/eve-runtime.d.mts +5 -5
  13. package/dist/eve-runtime.mjs +3 -3
  14. package/dist/eve.d.mts +55 -55
  15. package/dist/eve.d.mts.map +1 -1
  16. package/dist/eve.mjs +2 -2
  17. package/dist/{index-BOerqLIm.d.mts → index-DglfkoWk.d.mts} +35 -10
  18. package/dist/{index-BOerqLIm.d.mts.map → index-DglfkoWk.d.mts.map} +1 -1
  19. package/dist/index.d.mts +3 -3
  20. package/dist/index.mjs +3 -3
  21. package/dist/{src-C54blWpT.mjs → src-SH7fl4eI.mjs} +135 -99
  22. package/dist/src-SH7fl4eI.mjs.map +1 -0
  23. package/dist/{token-Iop2lapd.mjs → token-C4lAap1Y.mjs} +65 -10
  24. package/dist/token-C4lAap1Y.mjs.map +1 -0
  25. package/dist/{tool-types-DbZpOYFG.d.mts → tool-types-DcfQIOAY.d.mts} +987 -38
  26. package/dist/tool-types-DcfQIOAY.d.mts.map +1 -0
  27. package/dist/{types-v39VrZ-m.d.mts → types-6nsCJ0Pu.d.mts} +19 -8
  28. package/dist/types-6nsCJ0Pu.d.mts.map +1 -0
  29. package/dist/{types-CCoH12WC.d.mts → types-vuvgvlL-.d.mts} +2 -2
  30. package/dist/{types-CCoH12WC.d.mts.map → types-vuvgvlL-.d.mts.map} +1 -1
  31. package/dist/workflow.d.mts +14 -12
  32. package/dist/workflow.d.mts.map +1 -1
  33. package/dist/workflow.mjs +2 -2
  34. package/dist/workflow.mjs.map +1 -1
  35. package/dist/{write-tools-BvuWAzwo.mjs → write-tools-BidBkLtv.mjs} +2388 -2216
  36. package/dist/write-tools-BidBkLtv.mjs.map +1 -0
  37. package/package.json +14 -14
  38. package/dist/eve-runtime-Cfyy1tzp.mjs.map +0 -1
  39. package/dist/src-C54blWpT.mjs.map +0 -1
  40. package/dist/token-Iop2lapd.mjs.map +0 -1
  41. package/dist/tool-types-DbZpOYFG.d.mts.map +0 -1
  42. package/dist/types-v39VrZ-m.d.mts.map +0 -1
  43. package/dist/write-tools-BvuWAzwo.mjs.map +0 -1
package/dist/eve.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { _ as CommitIdentity, d as GithubToolPreset, f as PRESET_TOOLS, g as GithubWriteToolName, h as GithubToolName, i as PickGithubTools, l as GITHUB_WRITE_TOOLS, m as GITHUB_TOOL_NAMES, p as PresetToolName, r as GithubToolsForPreset, t as AllGithubTools, u as CombinedPresetToolNames } from "./tool-types-DbZpOYFG.mjs";
2
- import { a as EveToolOverrides, i as EveToolFactoryOptions, n as EveApprovalValue, r as EveGithubToolsOptions, t as EveApprovalConfig } from "./types-CCoH12WC.mjs";
3
- import { a as resolveEveToolApproval, c as createEveGithubToolsDynamic, d as listResolvedEveToolNames, i as resolveEveApproval, l as executeGithubEveTool, n as isEveApprovalDisabled, o as buildEveToolDefinition, r as mapEveApprovalValue, s as buildEveToolMap, t as MISSING_EVE_MESSAGE, u as listEveToolDescriptors } from "./eve-runtime-Bu8Gy8CS.mjs";
1
+ import { C as GITHUB_TOOL_NAMES, E as CommitIdentity, S as PresetToolName, T as GithubWriteToolName, b as GithubToolPreset, h as GITHUB_WRITE_TOOLS, i as PickGithubTools, r as GithubToolsForPreset, t as AllGithubTools, w as GithubToolName, x as PRESET_TOOLS, y as CombinedPresetToolNames } from "./tool-types-DcfQIOAY.mjs";
2
+ import { a as EveToolOverrides, i as EveToolFactoryOptions, n as EveApprovalValue, r as EveGithubToolsOptions, t as EveApprovalConfig } from "./types-vuvgvlL-.mjs";
3
+ import { a as resolveEveToolApproval, c as createEveGithubToolsDynamic, d as listResolvedEveToolNames, i as resolveEveApproval, l as executeGithubEveTool, n as isEveApprovalDisabled, o as buildEveToolDefinition, r as mapEveApprovalValue, s as buildEveToolMap, t as MISSING_EVE_MESSAGE, u as listEveToolDescriptors } from "./eve-runtime-DwPFaBlj.mjs";
4
4
  //#region src/eve.d.ts
5
5
  /**
6
6
  * Register all GitHub tools (or a preset subset) as eve dynamic capabilities.
@@ -16,357 +16,357 @@ import { a as resolveEveToolApproval, c as createEveGithubToolsDynamic, d as lis
16
16
  * recommended way to add GitHub tools to an eve agent. This direct import keeps working but is no longer
17
17
  * the recommended path. See https://github-tools.com/frameworks/eve-extension.
18
18
  */
19
- declare function createGithubTools(options?: EveGithubToolsOptions): import("eve/tools").DynamicSentinel<Partial<Record<"getPullRequest" | "listPullRequests" | "listPullRequestFiles" | "listPullRequestReviews" | "listPullRequestReviewThreads" | "getPullRequestContext" | "getFileContent" | "listCommits" | "getCommit" | "getBlame" | "compareCommits" | "getRepository" | "listBranches" | "searchCode" | "listCheckRuns" | "getCombinedStatus" | "updatePullRequest" | "addPullRequestComment" | "updatePullRequestComment" | "deletePullRequestComment" | "createPullRequestReview" | "replyToReviewComment" | "resolveReviewThread" | "requestReviewers" | "listIssues" | "getIssueContext" | "listIssueComments" | "createIssue" | "addIssueComment" | "updateIssueComment" | "deleteIssueComment" | "closeIssue" | "updateIssue" | "addLabels" | "removeLabel" | "createLabel" | "updateLabel" | "deleteLabel" | "addAssignees" | "removeAssignees" | "listIssueReactions" | "addIssueReaction" | "listCommentReactions" | "addCommentReaction" | "searchRepositories" | "searchIssues" | "listWorkflows" | "listWorkflowRuns" | "getWorkflowRun" | "listWorkflowJobs" | "getWorkflowJobLogs" | "getCiFailureContext" | "triggerWorkflow" | "cancelWorkflowRun" | "rerunWorkflowRun" | "getRepositoryTree" | "getIssue" | "listDiscussions" | "getDiscussion" | "listLabels" | "listGists" | "getGist" | "listGistComments" | "listReleases" | "getLatestRelease" | "getRelease" | "getReleaseContext" | "createRelease" | "updateRelease" | "deleteRelease" | "addDiscussionComment" | "listNotifications" | "markNotificationRead" | "createBranch" | "deleteBranch" | "createOrUpdateFile" | "createPullRequest" | "forkRepository" | "createRepository" | "mergePullRequest" | "createGist" | "updateGist" | "deleteGist" | "createGistComment", import("eve/tools").ToolDefinition<unknown, unknown>>>>;
19
+ export declare function createGithubTools(options?: EveGithubToolsOptions): import("eve").DynamicSentinel<Partial<Record<"getPullRequest" | "listPullRequests" | "listPullRequestFiles" | "listPullRequestReviews" | "listPullRequestReviewThreads" | "getPullRequestContext" | "getFileContent" | "listCommits" | "getCommit" | "getBlame" | "compareCommits" | "getRepository" | "listBranches" | "searchCode" | "listCheckRuns" | "getCombinedStatus" | "updatePullRequest" | "addPullRequestComment" | "updatePullRequestComment" | "deletePullRequestComment" | "createPullRequestReview" | "replyToReviewComment" | "resolveReviewThread" | "requestReviewers" | "listIssues" | "getIssueContext" | "listIssueComments" | "createIssue" | "addIssueComment" | "updateIssueComment" | "deleteIssueComment" | "closeIssue" | "updateIssue" | "addLabels" | "removeLabel" | "createLabel" | "updateLabel" | "deleteLabel" | "addAssignees" | "removeAssignees" | "listIssueReactions" | "addIssueReaction" | "listCommentReactions" | "addCommentReaction" | "searchRepositories" | "searchIssues" | "listWorkflows" | "listWorkflowRuns" | "getWorkflowRun" | "listWorkflowJobs" | "getWorkflowJobLogs" | "getCiFailureContext" | "triggerWorkflow" | "cancelWorkflowRun" | "rerunWorkflowRun" | "getRepositoryTree" | "getIssue" | "listDiscussions" | "getDiscussion" | "listLabels" | "listGists" | "getGist" | "listGistComments" | "listReleases" | "getLatestRelease" | "getRelease" | "getReleaseContext" | "createRelease" | "updateRelease" | "deleteRelease" | "addDiscussionComment" | "listNotifications" | "markNotificationRead" | "createBranch" | "deleteBranch" | "createOrUpdateFile" | "createPullRequest" | "forkRepository" | "createRepository" | "mergePullRequest" | "createGist" | "updateGist" | "deleteGist" | "createGistComment", import("eve/tools").ToolDefinition<unknown, unknown>>>>;
20
20
  /**
21
21
  * Get information about a GitHub repository including description, stars, forks, language, and default branch.
22
22
  *
23
23
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
24
24
  * instead. See https://github-tools.com/frameworks/eve-extension.
25
25
  */
26
- declare const getRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
26
+ export declare const getRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
27
27
  /**
28
28
  * List branches in a GitHub repository.
29
29
  *
30
30
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
31
31
  * instead. See https://github-tools.com/frameworks/eve-extension.
32
32
  */
33
- declare const listBranches: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
33
+ export declare const listBranches: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
34
34
  /**
35
35
  * Get the content of a file from a GitHub repository.
36
36
  *
37
37
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
38
38
  * instead. See https://github-tools.com/frameworks/eve-extension.
39
39
  */
40
- declare const getFileContent: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
40
+ export declare const getFileContent: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
41
41
  /**
42
42
  * Create a new branch in a GitHub repository from an existing branch or commit SHA. Requires approval by default.
43
43
  *
44
44
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
45
45
  * instead. See https://github-tools.com/frameworks/eve-extension.
46
46
  */
47
- declare const createBranch: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
47
+ export declare const createBranch: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
48
48
  /**
49
49
  * Fork a GitHub repository to the authenticated user account or a specified organization. Requires approval by default.
50
50
  *
51
51
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
52
52
  * instead. See https://github-tools.com/frameworks/eve-extension.
53
53
  */
54
- declare const forkRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
54
+ export declare const forkRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
55
55
  /**
56
56
  * Create a new GitHub repository for the authenticated user or a specified organization. Requires approval by default.
57
57
  *
58
58
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
59
59
  * instead. See https://github-tools.com/frameworks/eve-extension.
60
60
  */
61
- declare const createRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
61
+ export declare const createRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
62
62
  /**
63
63
  * Create or update a file in a GitHub repository. Provide the SHA when updating an existing file. Requires approval by default.
64
64
  *
65
65
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
66
66
  * instead. See https://github-tools.com/frameworks/eve-extension.
67
67
  */
68
- declare const createOrUpdateFile: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
68
+ export declare const createOrUpdateFile: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
69
69
  /**
70
70
  * List pull requests for a GitHub repository.
71
71
  *
72
72
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
73
73
  * instead. See https://github-tools.com/frameworks/eve-extension.
74
74
  */
75
- declare const listPullRequests: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
75
+ export declare const listPullRequests: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
76
76
  /**
77
77
  * Get detailed information about a specific pull request.
78
78
  *
79
79
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
80
80
  * instead. See https://github-tools.com/frameworks/eve-extension.
81
81
  */
82
- declare const getPullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
82
+ export declare const getPullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
83
83
  /**
84
84
  * Create a new pull request in a GitHub repository. Requires approval by default.
85
85
  *
86
86
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
87
87
  * instead. See https://github-tools.com/frameworks/eve-extension.
88
88
  */
89
- declare const createPullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
89
+ export declare const createPullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
90
90
  /**
91
91
  * Merge a pull request. Requires approval by default.
92
92
  *
93
93
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
94
94
  * instead. See https://github-tools.com/frameworks/eve-extension.
95
95
  */
96
- declare const mergePullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
96
+ export declare const mergePullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
97
97
  /**
98
98
  * Add a comment to a pull request. Requires approval by default.
99
99
  *
100
100
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
101
101
  * instead. See https://github-tools.com/frameworks/eve-extension.
102
102
  */
103
- declare const addPullRequestComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
103
+ export declare const addPullRequestComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
104
104
  /**
105
105
  * List files changed in a pull request, including diff status and patch content.
106
106
  *
107
107
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
108
108
  * instead. See https://github-tools.com/frameworks/eve-extension.
109
109
  */
110
- declare const listPullRequestFiles: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
110
+ export declare const listPullRequestFiles: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
111
111
  /**
112
112
  * List reviews on a pull request (approvals, change requests, and comments).
113
113
  *
114
114
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
115
115
  * instead. See https://github-tools.com/frameworks/eve-extension.
116
116
  */
117
- declare const listPullRequestReviews: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
117
+ export declare const listPullRequestReviews: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
118
118
  /**
119
119
  * Submit a pull request review with optional inline comments. Requires approval by default.
120
120
  *
121
121
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
122
122
  * instead. See https://github-tools.com/frameworks/eve-extension.
123
123
  */
124
- declare const createPullRequestReview: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
124
+ export declare const createPullRequestReview: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
125
125
  /**
126
126
  * Fetch pull request details plus files, reviews, and optional CI checks in one call.
127
127
  *
128
128
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
129
129
  * instead. See https://github-tools.com/frameworks/eve-extension.
130
130
  */
131
- declare const getPullRequestContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
131
+ export declare const getPullRequestContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
132
132
  /**
133
133
  * Fetch an issue plus available label names and recent comments in one call.
134
134
  *
135
135
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
136
136
  * instead. See https://github-tools.com/frameworks/eve-extension.
137
137
  */
138
- declare const getIssueContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
138
+ export declare const getIssueContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
139
139
  /**
140
140
  * List issues for a GitHub repository (excludes pull requests).
141
141
  *
142
142
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
143
143
  * instead. See https://github-tools.com/frameworks/eve-extension.
144
144
  */
145
- declare const listIssues: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
145
+ export declare const listIssues: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
146
146
  /**
147
147
  * Get detailed information about a specific issue.
148
148
  *
149
149
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
150
150
  * instead. See https://github-tools.com/frameworks/eve-extension.
151
151
  */
152
- declare const getIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
152
+ export declare const getIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
153
153
  /**
154
154
  * List comments on a GitHub issue. Prefer getIssueContext for the first page when triaging.
155
155
  *
156
156
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
157
157
  * instead. See https://github-tools.com/frameworks/eve-extension.
158
158
  */
159
- declare const listIssueComments: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
159
+ export declare const listIssueComments: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
160
160
  /**
161
161
  * Create a new issue in a GitHub repository. Requires approval by default.
162
162
  *
163
163
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
164
164
  * instead. See https://github-tools.com/frameworks/eve-extension.
165
165
  */
166
- declare const createIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
166
+ export declare const createIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
167
167
  /**
168
168
  * Add a comment to a GitHub issue. Requires approval by default.
169
169
  *
170
170
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
171
171
  * instead. See https://github-tools.com/frameworks/eve-extension.
172
172
  */
173
- declare const addIssueComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
173
+ export declare const addIssueComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
174
174
  /**
175
175
  * Close an open GitHub issue. Requires approval by default.
176
176
  *
177
177
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
178
178
  * instead. See https://github-tools.com/frameworks/eve-extension.
179
179
  */
180
- declare const closeIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
180
+ export declare const closeIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
181
181
  /**
182
182
  * List labels available in a GitHub repository.
183
183
  *
184
184
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
185
185
  * instead. See https://github-tools.com/frameworks/eve-extension.
186
186
  */
187
- declare const listLabels: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
187
+ export declare const listLabels: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
188
188
  /**
189
189
  * Add labels to an issue or pull request. Requires approval by default.
190
190
  *
191
191
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
192
192
  * instead. See https://github-tools.com/frameworks/eve-extension.
193
193
  */
194
- declare const addLabels: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
194
+ export declare const addLabels: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
195
195
  /**
196
196
  * Remove a label from an issue or pull request. Requires approval by default.
197
197
  *
198
198
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
199
199
  * instead. See https://github-tools.com/frameworks/eve-extension.
200
200
  */
201
- declare const removeLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
201
+ export declare const removeLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
202
202
  /**
203
203
  * Create a label in a GitHub repository. Requires approval by default.
204
204
  *
205
205
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
206
206
  * instead. See https://github-tools.com/frameworks/eve-extension.
207
207
  */
208
- declare const createLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
208
+ export declare const createLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
209
209
  /**
210
210
  * Update a label in a GitHub repository. Requires approval by default.
211
211
  *
212
212
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
213
213
  * instead. See https://github-tools.com/frameworks/eve-extension.
214
214
  */
215
- declare const updateLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
215
+ export declare const updateLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
216
216
  /**
217
217
  * Delete a label from a GitHub repository permanently. Requires approval by default.
218
218
  *
219
219
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
220
220
  * instead. See https://github-tools.com/frameworks/eve-extension.
221
221
  */
222
- declare const deleteLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
222
+ export declare const deleteLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
223
223
  /**
224
224
  * Search for code in GitHub repositories. Use qualifiers like "repo:owner/name" to scope the search.
225
225
  *
226
226
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
227
227
  * instead. See https://github-tools.com/frameworks/eve-extension.
228
228
  */
229
- declare const searchCode: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
229
+ export declare const searchCode: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
230
230
  /**
231
231
  * Search for GitHub repositories by keyword, topic, language, or other qualifiers.
232
232
  *
233
233
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
234
234
  * instead. See https://github-tools.com/frameworks/eve-extension.
235
235
  */
236
- declare const searchRepositories: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
236
+ export declare const searchRepositories: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
237
237
  /**
238
238
  * List commits for a GitHub repository. Filter by file path to see commits that touched a file.
239
239
  *
240
240
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
241
241
  * instead. See https://github-tools.com/frameworks/eve-extension.
242
242
  */
243
- declare const listCommits: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
243
+ export declare const listCommits: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
244
244
  /**
245
245
  * Get detailed information about a specific commit, including files changed with additions and deletions.
246
246
  *
247
247
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
248
248
  * instead. See https://github-tools.com/frameworks/eve-extension.
249
249
  */
250
- declare const getCommit: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
250
+ export declare const getCommit: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
251
251
  /**
252
252
  * Line-level git blame for a file at a commit-like ref (branch, tag, or SHA).
253
253
  *
254
254
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
255
255
  * instead. See https://github-tools.com/frameworks/eve-extension.
256
256
  */
257
- declare const getBlame: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
257
+ export declare const getBlame: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
258
258
  /**
259
259
  * List gists for the authenticated user or a specific user.
260
260
  *
261
261
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
262
262
  * instead. See https://github-tools.com/frameworks/eve-extension.
263
263
  */
264
- declare const listGists: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
264
+ export declare const listGists: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
265
265
  /**
266
266
  * Get a gist by ID, including file contents.
267
267
  *
268
268
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
269
269
  * instead. See https://github-tools.com/frameworks/eve-extension.
270
270
  */
271
- declare const getGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
271
+ export declare const getGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
272
272
  /**
273
273
  * List comments on a gist.
274
274
  *
275
275
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
276
276
  * instead. See https://github-tools.com/frameworks/eve-extension.
277
277
  */
278
- declare const listGistComments: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
278
+ export declare const listGistComments: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
279
279
  /**
280
280
  * Create a new gist with one or more files. Requires approval by default.
281
281
  *
282
282
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
283
283
  * instead. See https://github-tools.com/frameworks/eve-extension.
284
284
  */
285
- declare const createGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
285
+ export declare const createGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
286
286
  /**
287
287
  * Update an existing gist. Requires approval by default.
288
288
  *
289
289
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
290
290
  * instead. See https://github-tools.com/frameworks/eve-extension.
291
291
  */
292
- declare const updateGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
292
+ export declare const updateGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
293
293
  /**
294
294
  * Delete a gist permanently. Requires approval by default.
295
295
  *
296
296
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
297
297
  * instead. See https://github-tools.com/frameworks/eve-extension.
298
298
  */
299
- declare const deleteGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
299
+ export declare const deleteGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
300
300
  /**
301
301
  * Add a comment to a gist. Requires approval by default.
302
302
  *
303
303
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
304
304
  * instead. See https://github-tools.com/frameworks/eve-extension.
305
305
  */
306
- declare const createGistComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
306
+ export declare const createGistComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
307
307
  /**
308
308
  * List GitHub Actions workflows in a repository.
309
309
  *
310
310
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
311
311
  * instead. See https://github-tools.com/frameworks/eve-extension.
312
312
  */
313
- declare const listWorkflows: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
313
+ export declare const listWorkflows: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
314
314
  /**
315
315
  * List workflow runs for a repository, optionally filtered by workflow, branch, status, or event.
316
316
  *
317
317
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
318
318
  * instead. See https://github-tools.com/frameworks/eve-extension.
319
319
  */
320
- declare const listWorkflowRuns: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
320
+ export declare const listWorkflowRuns: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
321
321
  /**
322
322
  * Get details of a specific workflow run including status, timing, and trigger info.
323
323
  *
324
324
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
325
325
  * instead. See https://github-tools.com/frameworks/eve-extension.
326
326
  */
327
- declare const getWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
327
+ export declare const getWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
328
328
  /**
329
329
  * List jobs for a workflow run, including step-level status and timing.
330
330
  *
331
331
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
332
332
  * instead. See https://github-tools.com/frameworks/eve-extension.
333
333
  */
334
- declare const listWorkflowJobs: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
334
+ export declare const listWorkflowJobs: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
335
335
  /**
336
336
  * Trigger a workflow via workflow_dispatch event. Requires approval by default.
337
337
  *
338
338
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
339
339
  * instead. See https://github-tools.com/frameworks/eve-extension.
340
340
  */
341
- declare const triggerWorkflow: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
341
+ export declare const triggerWorkflow: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
342
342
  /**
343
343
  * Cancel an in-progress workflow run. Requires approval by default.
344
344
  *
345
345
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
346
346
  * instead. See https://github-tools.com/frameworks/eve-extension.
347
347
  */
348
- declare const cancelWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
348
+ export declare const cancelWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
349
349
  /**
350
350
  * Re-run a workflow run, optionally only the failed jobs. Requires approval by default.
351
351
  *
352
352
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
353
353
  * instead. See https://github-tools.com/frameworks/eve-extension.
354
354
  */
355
- declare const rerunWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
355
+ export declare const rerunWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
356
356
  /**
357
357
  * Diagnose CI failures for a ref — combined status, failing checks, and failed workflow jobs in one call.
358
358
  *
359
359
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
360
360
  * instead. See https://github-tools.com/frameworks/eve-extension.
361
361
  */
362
- declare const getCiFailureContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
362
+ export declare const getCiFailureContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
363
363
  /**
364
364
  * Fetch a release plus the previous release and tag comparison in one call.
365
365
  *
366
366
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
367
367
  * instead. See https://github-tools.com/frameworks/eve-extension.
368
368
  */
369
- declare const getReleaseContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
369
+ export declare const getReleaseContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
370
370
  //#endregion
371
- export { type AllGithubTools, type CombinedPresetToolNames, type CommitIdentity, type EveApprovalConfig, type EveApprovalValue, type EveGithubToolsOptions, type EveToolFactoryOptions, type EveToolOverrides, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, type GithubToolName, type GithubToolPreset, type GithubToolsForPreset, type GithubWriteToolName, MISSING_EVE_MESSAGE, PRESET_TOOLS, type PickGithubTools, type PresetToolName, addIssueComment, addLabels, addPullRequestComment, buildEveToolDefinition, buildEveToolMap, cancelWorkflowRun, closeIssue, createBranch, createEveGithubToolsDynamic, createGist, createGistComment, createGithubTools, createIssue, createLabel, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, deleteLabel, executeGithubEveTool, forkRepository, getBlame, getCiFailureContext, getCommit, getFileContent, getGist, getIssue, getIssueContext, getPullRequest, getPullRequestContext, getReleaseContext, getRepository, getWorkflowRun, isEveApprovalDisabled, listBranches, listCommits, listEveToolDescriptors, listGistComments, listGists, listIssueComments, listIssues, listLabels, listPullRequestFiles, listPullRequestReviews, listPullRequests, listResolvedEveToolNames, listWorkflowJobs, listWorkflowRuns, listWorkflows, mapEveApprovalValue, mergePullRequest, removeLabel, rerunWorkflowRun, resolveEveApproval, resolveEveToolApproval, searchCode, searchRepositories, triggerWorkflow, updateGist, updateLabel };
371
+ export { type AllGithubTools, type CombinedPresetToolNames, type CommitIdentity, type EveApprovalConfig, type EveApprovalValue, type EveGithubToolsOptions, type EveToolFactoryOptions, type EveToolOverrides, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, type GithubToolName, type GithubToolPreset, type GithubToolsForPreset, type GithubWriteToolName, MISSING_EVE_MESSAGE, PRESET_TOOLS, type PickGithubTools, type PresetToolName, buildEveToolDefinition, buildEveToolMap, createEveGithubToolsDynamic, executeGithubEveTool, isEveApprovalDisabled, listEveToolDescriptors, listResolvedEveToolNames, mapEveApprovalValue, resolveEveApproval, resolveEveToolApproval };
372
372
  //# sourceMappingURL=eve.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eve.d.mts","names":[],"sources":["../src/eve.ts"],"mappings":";;;;;;;;;;;;;;;;;;iBA0DgB,kBAAkB,UAAlB,4CAAuE,gBAAA,QAAA,qqDAAA;;;;;;;cAc1E,gBAAa,UATN,8CAAqB;;;;;;;cAgB5B,eAAY,UAhBL,8CAAqB;;;;;;;cAuB5B,iBAAc,UAvBP,8CAAqB;;;;;;;cA8B5B,eAAY,UA9BL,8CAAqB;;;;;;;cAqC5B,iBAAc,UArCP,8CAAqB;;;;;;;cA4C5B,mBAAgB,UA5CT,8CAAqB;;;;;;;cAmD5B,qBAAkB,UAnDX,8CAAqB;;;;;;;cA0D5B,mBAAgB,UA1DT,8CAAqB;;;;;;;cAiE5B,iBAAc,UAjEP,8CAAqB;;;;;;;cAwE5B,oBAAiB,UAxEV,8CAAqB;;;;;;;cA+E5B,mBAAgB,UA/ET,8CAAqB;;;;;;;cAsF5B,wBAAqB,UAtFd,8CAAqB;;;;;;;cA6F5B,uBAAoB,UA7Fb,8CAAqB;;;;;;;cAoG5B,yBAAsB,UApGf,8CAAqB;;;;;;;cA2G5B,0BAAuB,UA3GhB,8CAAqB;;;;;;;cAkH5B,wBAAqB,UAlHd,8CAAqB;;;;;;;cAyH5B,kBAAe,UAzHR,8CAAqB;;;;;;;cAgI5B,aAAU,UAhIH,8CAAqB;;;;;;;cAuI5B,WAAQ,UAvID,8CAAqB;;;;;;;cA8I5B,oBAAiB,UA9IV,8CAAqB;;;;;;;cAqJ5B,cAAW,UArJJ,8CAAqB;;;;;;;cA4J5B,kBAAe,UA5JR,8CAAqB;;;;;;;cAmK5B,aAAU,UAnKH,8CAAqB;;;;;;;cA0K5B,aAAU,UA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;;qBAgP5B,WAAQ,UAhPD,8CAAqB;;;;;;;qBAuP5B,YAAS,UAvPF,8CAAqB;;;;;;;qBA8P5B,UAAO,UA9PA,8CAAqB;;;;;;;qBAqQ5B,mBAAgB,UArQT,8CAAqB;;;;;;;qBA4Q5B,aAAU,UA5QH,8CAAqB;;;;;;;qBAmR5B,aAAU,UAnRH,8CAAqB;;;;;;;qBA0R5B,aAAU,UA1RH,8CAAqB;;;;;;;qBAiS5B,oBAAiB,UAjSV,8CAAqB;;;;;;;qBAwS5B,gBAAa,UAxSN,8CAAqB;;;;;;;qBA+S5B,mBAAgB,UA/ST,8CAAqB;;;;;;;qBAsT5B,iBAAc,UAtTP,8CAAqB;;;;;;;qBA6T5B,mBAAgB,UA7TT,8CAAqB;;;;;;;qBAoU5B,kBAAe,UApUR,8CAAqB;;;;;;;qBA2U5B,oBAAiB,UA3UV,8CAAqB;;;;;;;qBAkV5B,mBAAgB,UAlVT,8CAAqB;;;;;;;qBAyV5B,sBAAmB,UAzVZ,8CAAqB;;;;;;;qBAgW5B,oBAAiB,UAhWV,8CAAqB"}
package/dist/eve.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { n as GITHUB_TOOL_NAMES, o as PRESET_TOOLS, t as GITHUB_WRITE_TOOLS } from "./write-tools-BvuWAzwo.mjs";
2
- import { a as listEveToolDescriptors, d as resolveEveApproval, f as resolveEveToolApproval, i as executeGithubEveTool, l as isEveApprovalDisabled, n as buildEveToolMap, o as listResolvedEveToolNames, p as MISSING_EVE_MESSAGE, r as createEveGithubToolsDynamic, t as buildEveToolDefinition, u as mapEveApprovalValue } from "./eve-runtime-Cfyy1tzp.mjs";
1
+ import { f as PRESET_TOOLS, n as GITHUB_TOOL_NAMES, t as GITHUB_WRITE_TOOLS } from "./write-tools-BidBkLtv.mjs";
2
+ import { a as listEveToolDescriptors, d as resolveEveApproval, f as resolveEveToolApproval, i as executeGithubEveTool, l as isEveApprovalDisabled, n as buildEveToolMap, o as listResolvedEveToolNames, p as MISSING_EVE_MESSAGE, r as createEveGithubToolsDynamic, t as buildEveToolDefinition, u as mapEveApprovalValue } from "./eve-runtime-NBFRz1SB.mjs";
3
3
  //#region src/eve.ts
4
4
  /**
5
5
  * Legacy eve registration for `agent/tools/` (direct import).
@@ -1,4 +1,4 @@
1
- import { _ as CommitIdentity, a as GithubTokenInput, d as GithubToolPreset, h as GithubToolName, n as GithubToolsBaseOptions, p as PresetToolName, t as AllGithubTools, u as CombinedPresetToolNames, v as CommitToolOptions, x as ToolOptions, y as GithubTool } from "./tool-types-DbZpOYFG.mjs";
1
+ import { A as ToolOptions, D as CommitToolOptions, E as CommitIdentity, O as GithubTool, S as PresetToolName, _ as GithubTokenInput, b as GithubToolPreset, n as GithubToolsBaseOptions, t as AllGithubTools, w as GithubToolName, y as CombinedPresetToolNames } from "./tool-types-DcfQIOAY.mjs";
2
2
  import { ToolLoopAgent, ToolLoopAgentSettings, ToolSet } from "ai";
3
3
  import { Octokit } from "octokit";
4
4
  import "evlog";
@@ -260,20 +260,39 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
260
260
  };
261
261
  readonly CONNECT_INSTALLATION_REQUIRED: {
262
262
  readonly status: 401;
263
- readonly message: ({ detail }: {
263
+ readonly message: ({ detail, owner }: {
264
264
  detail: string;
265
+ owner?: string;
265
266
  }) => string;
266
- readonly why: "The connector exists but its GitHub App is not installed on the target org or user account.";
267
- readonly fix: "Install the connector's GitHub App on the org or account the agent needs, from the Vercel Connect dashboard.";
267
+ readonly why: "The connector exists but its GitHub App is not installed on the target org or user account, so Connect cannot mint a token for it.";
268
+ readonly fix: "Install the connector's GitHub App on the org or account named in the message (from the Vercel Connect dashboard), or target a repository on an account where it is installed.";
268
269
  readonly link: "https://github-tools.com/guide/vercel-connect#create-a-github-connector";
269
270
  };
270
271
  readonly SUBJECT_CONTEXT_REQUIRED: {
271
272
  readonly status: 500;
272
- readonly message: "connect.subject resolver needs the tool execution context — it is only available while a tool call executes.";
273
- readonly why: "The per-caller subject resolver was invoked without an eve ToolContext, which only exists during tool execution.";
274
- readonly fix: "Keep `connect.subject` resolution on the tool execute path; use a static subject when no execution context is available.";
273
+ readonly message: "A `connect` or `connect.subject` resolver needs the tool execution context — it is only available while a tool call executes.";
274
+ readonly why: "A per-call Connect resolver was invoked without an eve ToolContext and tool call, which only exist during tool execution.";
275
+ readonly fix: "Keep Connect resolver calls on the tool execute path; use static `connect` params when no execution context is available.";
275
276
  readonly link: "https://github-tools.com/frameworks/eve-extension#per-user-tokens";
276
277
  };
278
+ readonly EVALUATION_UNAVAILABLE: {
279
+ readonly status: 500;
280
+ readonly message: "`requireApproval: 'auto'` and `preset: 'auto'` need `experimental_evaluate` from `ai` 7.0.105 or later.";
281
+ readonly why: "The installed `ai` package does not export `experimental_evaluate`, which runs the evaluation model behind the `'auto'` options.";
282
+ readonly fix: "Upgrade `ai` to 7.0.105 or later, or replace `'auto'` with `true` / `false` or an explicit preset.";
283
+ readonly link: "https://github-tools.com/guide/approval-control#auto-approval";
284
+ };
285
+ readonly EVALUATION_FAILED: {
286
+ readonly status: 502;
287
+ readonly message: ({ model, fallback, detail }: {
288
+ model: string;
289
+ fallback: string;
290
+ detail: string;
291
+ }) => string;
292
+ readonly why: "The `experimental_evaluate` call behind `requireApproval: 'auto'` or `preset: 'auto'` threw — typically the model is not enabled for the AI Gateway project, the team has no credits, or the gateway is rate limiting or unavailable.";
293
+ readonly fix: "Check the evaluation model is available to the project on AI Gateway and has credits, or set `evaluation.model` to one that is. The agent keeps running on the fallback until then.";
294
+ readonly link: "https://github-tools.com/guide/approval-control#auto-approval";
295
+ };
277
296
  readonly UNAUTHORIZED: {
278
297
  readonly status: 401;
279
298
  readonly message: ({ detail }: {
@@ -336,9 +355,15 @@ type CreateGithubAgentOptions = AgentOptions & GithubToolsBaseOptions & {
336
355
  * Selects a subset of tools and, when a single preset is passed,
337
356
  * sets a matching system prompt. Combine presets with an array to merge tool sets.
338
357
  *
358
+ * `'auto'` picks presets per call from the latest user message with an evaluation model
359
+ * (Jev by default, see `evaluation`), then narrows `activeTools` and uses the matching
360
+ * system prompt. Combines at most two presets (`evaluation.maxPresets`), and only uses
361
+ * read-only `repo-explorer` when no other preset qualifies; when none clears the threshold,
362
+ * uses the most likely one. Never exposes the full catalog. Needs `ai` 7.0.105 or later.
363
+ *
339
364
  * @see {@link GithubToolPreset} for available presets and included tools.
340
365
  */
341
- preset?: GithubToolPreset | GithubToolPreset[];
366
+ preset?: GithubToolPreset | GithubToolPreset[] | 'auto';
342
367
  /**
343
368
  * Fully replace the default system prompt.
344
369
  * When set, `preset` system prompts and `additionalInstructions` are ignored.
@@ -352,7 +377,7 @@ type CreateGithubAgentOptions = AgentOptions & GithubToolsBaseOptions & {
352
377
  additionalInstructions?: string;
353
378
  };
354
379
  declare function createGithubAgent(options: CreateGithubAgentOptions & {
355
- preset?: undefined;
380
+ preset?: undefined | 'auto';
356
381
  }): ToolLoopAgent<never, AllGithubTools>;
357
382
  declare function createGithubAgent<P extends GithubToolPreset>(options: CreateGithubAgentOptions & {
358
383
  preset: P;
@@ -396,4 +421,4 @@ declare function createGithubTools(options?: GithubToolsOptions): AllGithubTools
396
421
  type GithubTools = AllGithubTools & ToolSet;
397
422
  //#endregion
398
423
  export { addLabels as $, deleteGist as A, createOrUpdateFile as At, searchIssues as B, listWorkflowJobs as C, mergePullRequest as Ct, triggerWorkflow as D, updatePullRequest as Dt, rerunWorkflowRun as E, resolveReviewThread as Et, compareCommits as F, getRepository as Ft, getDiscussion as G, listNotifications as H, getBlame as I, getRepositoryTree as It, addIssueReaction as J, listDiscussions as K, getCommit as L, listBranches as Lt, listGistComments as M, deleteBranch as Mt, listGists as N, forkRepository as Nt, createGist as O, updatePullRequestComment as Ot, updateGist as P, getFileContent as Pt, addIssueComment as Q, listCommits as R, createOctokit as Rt, getWorkflowRun as S, listPullRequests as St, listWorkflows as T, requestReviewers as Tt, markNotificationRead as U, searchRepositories as V, addDiscussionComment as W, listIssueReactions as X, listCommentReactions as Y, addAssignees as Z, updateRelease as _, deletePullRequestComment as _t, createGithubAgent as a, getIssue as at, cancelWorkflowRun as b, listPullRequestReviewThreads as bt, getCiFailureContext as c, listLabels as ct, getReleaseContext as d, updateIssue as dt, closeIssue as et, createRelease as f, updateIssueComment as ft, listReleases as g, createPullRequestReview as gt, getRelease as h, createPullRequest as ht, CreateGithubAgentOptions as i, deleteLabel as it, getGist as j, createRepository as jt, createGistComment as k, createBranch as kt, getIssueContext as l, removeAssignees as lt, getLatestRelease as m, addPullRequestComment as mt, GithubToolsOptions as n, createLabel as nt, githubToolsErrors as o, listIssueComments as ot, deleteRelease as p, updateLabel as pt, addCommentReaction as q, createGithubTools as r, deleteIssueComment as rt, GithubRateLimit as s, listIssues as st, GithubTools as t, createIssue as tt, getPullRequestContext as u, removeLabel as ut, getCombinedStatus as v, getPullRequest as vt, listWorkflowRuns as w, replyToReviewComment as wt, getWorkflowJobLogs as x, listPullRequestReviews as xt, listCheckRuns as y, listPullRequestFiles as yt, searchCode as z };
399
- //# sourceMappingURL=index-BOerqLIm.d.mts.map
424
+ //# sourceMappingURL=index-DglfkoWk.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BOerqLIm.d.mts","names":[],"sources":["../src/client.ts","../src/tools/repository.ts","../src/tools/pull-requests.ts","../src/tools/issues.ts","../src/tools/reactions.ts","../src/tools/discussions.ts","../src/tools/notifications.ts","../src/tools/search.ts","../src/tools/commits.ts","../src/tools/gists.ts","../src/tools/workflows.ts","../src/tools/checks.ts","../src/tools/releases.ts","../src/tools/bundles.ts","../src/core/rate-limit.ts","../src/core/errors.ts","../src/agents.ts","../src/index.ts"],"mappings":";;;;;iBAiBgB,cAAc,gBAAgB;;;;cC0BjC,gBAAiB,OAAO,qBAAmB;;cAa3C,eAAgB,OAAO,qBAAmB;;cAa1C,iBAAkB,OAAO,qBAAmB;;cAc5C,oBAAqB,OAAO,qBAAmB;;cAc/C,eAAgB,OAAO,oBAAkB,kBAA0B,gBAAmB;;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B,UAAU,kBAC1C,SAAS;EAA6B,QAAQ;IAC7C,qBAAqB,KAAK,gBAAgB,eAAe;iBAC5C,kBAAkB,mBAAmB,oBACnD,SAAS;EAA6B,QAAQ;IAC7C,qBAAqB,KAAK,gBAAgB,wBAAwB;;;KC7JzD,qBAAqB;;;;;;;;;;;;;;;;;;;EAmB/B,SAAS,mBAAmB;;iBAGd,kBAAkB,UAAU;EAA2B;IAAuB;iBAC9E,kBAAkB,UAAU,kBAC1C,SAAS;EAA2B,QAAQ;IAC3C,KAAK,gBAAgB,eAAe;iBACvB,kBAAkB,mBAAmB,oBACnD,SAAS;EAA2B,QAAQ;IAC3C,KAAK,gBAAgB,wBAAwB;iBAChC,kBAAkB,UAAU,qBAAqB,iBAAiB,KAAK,gBAAgB;KA+K3F,cAAc,iBAAiB"}
1
+ {"version":3,"file":"index-DglfkoWk.d.mts","names":[],"sources":["../src/client.ts","../src/tools/repository.ts","../src/tools/pull-requests.ts","../src/tools/issues.ts","../src/tools/reactions.ts","../src/tools/discussions.ts","../src/tools/notifications.ts","../src/tools/search.ts","../src/tools/commits.ts","../src/tools/gists.ts","../src/tools/workflows.ts","../src/tools/checks.ts","../src/tools/releases.ts","../src/tools/bundles.ts","../src/core/rate-limit.ts","../src/core/errors.ts","../src/agents.ts","../src/index.ts"],"mappings":";;;;;iBAiBgB,cAAc,gBAAgB;;;;cC0BjC,gBAAiB,OAAO,qBAAmB;;cAa3C,eAAgB,OAAO,qBAAmB;;cAa1C,iBAAkB,OAAO,qBAAmB;;cAc5C,oBAAqB,OAAO,qBAAmB;;cAc/C,eAAgB,OAAO,oBAAkB,kBAA0B,gBAAmB;;cActF,eAAgB,OAAO,oBAAkB,kBAA0B,gBAAmB;;cActF,iBAAkB,OAAO,oBAAkB,kBAA0B,gBAAmB;;cAcxF,mBAAoB,OAAO,oBAAkB,kBAA0B,gBAAmB;;cAc1F,qBACX,OAAO,oBACP,eAAA,QAAA,WAAA,cAAwD,sBACvD;;;KCxGS,mBAAm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AC7C,qBAAqB,KAAK,gBAAgB,wBAAwB;;;KClKzD,qBAAqB;;;;;;;;;;;;;;;;;;;EAmB/B,SAAS,mBAAmB;;iBAGd,kBAAkB,UAAU;EAA2B;IAAuB;iBAC9E,kBAAkB,UAAU,kBAC1C,SAAS;EAA2B,QAAQ;IAC3C,KAAK,gBAAgB,eAAe;iBACvB,kBAAkB,mBAAmB,oBACnD,SAAS;EAA2B,QAAQ;IAC3C,KAAK,gBAAgB,wBAAwB;iBAChC,kBAAkB,UAAU,qBAAqB,iBAAiB,KAAK,gBAAgB;KAmL3F,cAAc,iBAAiB"}
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { S as ToolOverrides, _ as CommitIdentity, a as GithubTokenInput, b as Octokit, c as ApprovalConfig, d as GithubToolPreset, f as PRESET_TOOLS, g as GithubWriteToolName, h as GithubToolName, i as PickGithubTools, l as GITHUB_WRITE_TOOLS, m as GITHUB_TOOL_NAMES, o as resolveGithubToken, p as PresetToolName, r as GithubToolsForPreset, s as GithubToolsContext, t as AllGithubTools, u as CombinedPresetToolNames, v as CommitToolOptions, x as ToolOptions, y as GithubTool } from "./tool-types-DbZpOYFG.mjs";
2
- import { $ as addLabels, A as deleteGist, At as createOrUpdateFile, B as searchIssues, C as listWorkflowJobs, Ct as mergePullRequest, D as triggerWorkflow, Dt as updatePullRequest, E as rerunWorkflowRun, Et as resolveReviewThread, F as compareCommits, Ft as getRepository, G as getDiscussion, H as listNotifications, I as getBlame, It as getRepositoryTree, J as addIssueReaction, K as listDiscussions, L as getCommit, Lt as listBranches, M as listGistComments, Mt as deleteBranch, N as listGists, Nt as forkRepository, O as createGist, Ot as updatePullRequestComment, P as updateGist, Pt as getFileContent, Q as addIssueComment, R as listCommits, Rt as createOctokit, S as getWorkflowRun, St as listPullRequests, T as listWorkflows, Tt as requestReviewers, U as markNotificationRead, V as searchRepositories, W as addDiscussionComment, X as listIssueReactions, Y as listCommentReactions, Z as addAssignees, _ as updateRelease, _t as deletePullRequestComment, a as createGithubAgent, at as getIssue, b as cancelWorkflowRun, bt as listPullRequestReviewThreads, c as getCiFailureContext, ct as listLabels, d as getReleaseContext, dt as updateIssue, et as closeIssue, f as createRelease, ft as updateIssueComment, g as listReleases, gt as createPullRequestReview, h as getRelease, ht as createPullRequest, i as CreateGithubAgentOptions, it as deleteLabel, j as getGist, jt as createRepository, k as createGistComment, kt as createBranch, l as getIssueContext, lt as removeAssignees, m as getLatestRelease, mt as addPullRequestComment, n as GithubToolsOptions, nt as createLabel, o as githubToolsErrors, ot as listIssueComments, p as deleteRelease, pt as updateLabel, q as addCommentReaction, r as createGithubTools, rt as deleteIssueComment, s as GithubRateLimit, st as listIssues, t as GithubTools, tt as createIssue, u as getPullRequestContext, ut as removeLabel, v as getCombinedStatus, vt as getPullRequest, w as listWorkflowRuns, wt as replyToReviewComment, x as getWorkflowJobLogs, xt as listPullRequestReviews, y as listCheckRuns, yt as listPullRequestFiles, z as searchCode } from "./index-BOerqLIm.mjs";
3
- export { type AllGithubTools, type ApprovalConfig, type CombinedPresetToolNames, type CommitIdentity, type CommitToolOptions, type CreateGithubAgentOptions, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, type GithubRateLimit, type GithubTokenInput, type GithubTool, type GithubToolName, type GithubToolPreset, GithubTools, type GithubToolsContext, type GithubToolsForPreset, GithubToolsOptions, type GithubWriteToolName, type Octokit, PRESET_TOOLS, type PickGithubTools, type PresetToolName, type ToolOptions, type ToolOverrides, addAssignees, addCommentReaction, addDiscussionComment, addIssueComment, addIssueReaction, addLabels, addPullRequestComment, cancelWorkflowRun, closeIssue, compareCommits, createBranch, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createLabel, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRelease, createRepository, deleteBranch, deleteGist, deleteIssueComment, deleteLabel, deletePullRequestComment, deleteRelease, forkRepository, getBlame, getCiFailureContext, getCombinedStatus, getCommit, getDiscussion, getFileContent, getGist, getIssue, getIssueContext, getLatestRelease, getPullRequest, getPullRequestContext, getRelease, getReleaseContext, getRepository, getRepositoryTree, getWorkflowJobLogs, getWorkflowRun, githubToolsErrors, listBranches, listCheckRuns, listCommentReactions, listCommits, listDiscussions, listGistComments, listGists, listIssueComments, listIssueReactions, listIssues, listLabels, listNotifications, listPullRequestFiles, listPullRequestReviewThreads, listPullRequestReviews, listPullRequests, listReleases, listWorkflowJobs, listWorkflowRuns, listWorkflows, markNotificationRead, mergePullRequest, removeAssignees, removeLabel, replyToReviewComment, requestReviewers, rerunWorkflowRun, resolveGithubToken, resolveReviewThread, searchCode, searchIssues, searchRepositories, triggerWorkflow, updateGist, updateIssue, updateIssueComment, updateLabel, updatePullRequest, updatePullRequestComment, updateRelease };
1
+ import { A as ToolOptions, C as GITHUB_TOOL_NAMES, D as CommitToolOptions, E as CommitIdentity, O as GithubTool, S as PresetToolName, T as GithubWriteToolName, _ as GithubTokenInput, a as GithubToolsContext, b as GithubToolPreset, c as ToolApprovalMode, d as GithubEvaluationOptions, g as GithubTokenCall, h as GITHUB_WRITE_TOOLS, i as PickGithubTools, j as ToolOverrides, k as Octokit, l as AUTO_APPROVAL_TOOLS, o as ApprovalConfig, r as GithubToolsForPreset, s as StaticApprovalConfig, t as AllGithubTools, u as DEFAULT_EVALUATION_MODEL, v as resolveGithubToken, w as GithubToolName, x as PRESET_TOOLS, y as CombinedPresetToolNames } from "./tool-types-DcfQIOAY.mjs";
2
+ import { $ as addLabels, A as deleteGist, At as createOrUpdateFile, B as searchIssues, C as listWorkflowJobs, Ct as mergePullRequest, D as triggerWorkflow, Dt as updatePullRequest, E as rerunWorkflowRun, Et as resolveReviewThread, F as compareCommits, Ft as getRepository, G as getDiscussion, H as listNotifications, I as getBlame, It as getRepositoryTree, J as addIssueReaction, K as listDiscussions, L as getCommit, Lt as listBranches, M as listGistComments, Mt as deleteBranch, N as listGists, Nt as forkRepository, O as createGist, Ot as updatePullRequestComment, P as updateGist, Pt as getFileContent, Q as addIssueComment, R as listCommits, Rt as createOctokit, S as getWorkflowRun, St as listPullRequests, T as listWorkflows, Tt as requestReviewers, U as markNotificationRead, V as searchRepositories, W as addDiscussionComment, X as listIssueReactions, Y as listCommentReactions, Z as addAssignees, _ as updateRelease, _t as deletePullRequestComment, a as createGithubAgent, at as getIssue, b as cancelWorkflowRun, bt as listPullRequestReviewThreads, c as getCiFailureContext, ct as listLabels, d as getReleaseContext, dt as updateIssue, et as closeIssue, f as createRelease, ft as updateIssueComment, g as listReleases, gt as createPullRequestReview, h as getRelease, ht as createPullRequest, i as CreateGithubAgentOptions, it as deleteLabel, j as getGist, jt as createRepository, k as createGistComment, kt as createBranch, l as getIssueContext, lt as removeAssignees, m as getLatestRelease, mt as addPullRequestComment, n as GithubToolsOptions, nt as createLabel, o as githubToolsErrors, ot as listIssueComments, p as deleteRelease, pt as updateLabel, q as addCommentReaction, r as createGithubTools, rt as deleteIssueComment, s as GithubRateLimit, st as listIssues, t as GithubTools, tt as createIssue, u as getPullRequestContext, ut as removeLabel, v as getCombinedStatus, vt as getPullRequest, w as listWorkflowRuns, wt as replyToReviewComment, x as getWorkflowJobLogs, xt as listPullRequestReviews, y as listCheckRuns, yt as listPullRequestFiles, z as searchCode } from "./index-DglfkoWk.mjs";
3
+ export { AUTO_APPROVAL_TOOLS, type AllGithubTools, type ApprovalConfig, type CombinedPresetToolNames, type CommitIdentity, type CommitToolOptions, type CreateGithubAgentOptions, DEFAULT_EVALUATION_MODEL, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, type GithubEvaluationOptions, type GithubRateLimit, type GithubTokenCall, type GithubTokenInput, type GithubTool, type GithubToolName, type GithubToolPreset, GithubTools, type GithubToolsContext, type GithubToolsForPreset, GithubToolsOptions, type GithubWriteToolName, type Octokit, PRESET_TOOLS, type PickGithubTools, type PresetToolName, type StaticApprovalConfig, type ToolApprovalMode, type ToolOptions, type ToolOverrides, addAssignees, addCommentReaction, addDiscussionComment, addIssueComment, addIssueReaction, addLabels, addPullRequestComment, cancelWorkflowRun, closeIssue, compareCommits, createBranch, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createLabel, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRelease, createRepository, deleteBranch, deleteGist, deleteIssueComment, deleteLabel, deletePullRequestComment, deleteRelease, forkRepository, getBlame, getCiFailureContext, getCombinedStatus, getCommit, getDiscussion, getFileContent, getGist, getIssue, getIssueContext, getLatestRelease, getPullRequest, getPullRequestContext, getRelease, getReleaseContext, getRepository, getRepositoryTree, getWorkflowJobLogs, getWorkflowRun, githubToolsErrors, listBranches, listCheckRuns, listCommentReactions, listCommits, listDiscussions, listGistComments, listGists, listIssueComments, listIssueReactions, listIssues, listLabels, listNotifications, listPullRequestFiles, listPullRequestReviewThreads, listPullRequestReviews, listPullRequests, listReleases, listWorkflowJobs, listWorkflowRuns, listWorkflows, markNotificationRead, mergePullRequest, removeAssignees, removeLabel, replyToReviewComment, requestReviewers, rerunWorkflowRun, resolveGithubToken, resolveReviewThread, searchCode, searchIssues, searchRepositories, triggerWorkflow, updateGist, updateIssue, updateIssueComment, updateLabel, updatePullRequest, updatePullRequestComment, updateRelease };