@github-tools/sdk 1.20.0 → 1.22.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 (66) hide show
  1. package/README.md +50 -17
  2. package/dist/{approval-policy--kByBqhT.mjs → approval-policy-C2rcAY77.mjs} +3 -4
  3. package/dist/{approval-policy--kByBqhT.mjs.map → approval-policy-C2rcAY77.mjs.map} +1 -1
  4. package/dist/connect/eve.d.mts +2 -4
  5. package/dist/connect/eve.d.mts.map +1 -1
  6. package/dist/connect/eve.mjs +3 -4
  7. package/dist/connect/eve.mjs.map +1 -1
  8. package/dist/connect.d.mts +5 -11
  9. package/dist/connect.d.mts.map +1 -1
  10. package/dist/connect.mjs +3 -4
  11. package/dist/{cores-FLzAv2tu.mjs → cores-CMUr_SEv.mjs} +21 -4
  12. package/dist/cores-CMUr_SEv.mjs.map +1 -0
  13. package/dist/{tool-types-OFyE3z0C.d.mts → dry-run-BAbes7Mv.d.mts} +168 -40
  14. package/dist/dry-run-BAbes7Mv.d.mts.map +1 -0
  15. package/dist/{evaluation-BtoHbxuQ.mjs → evaluation-DskA4Lzk.mjs} +4 -6
  16. package/dist/{evaluation-BtoHbxuQ.mjs.map → evaluation-DskA4Lzk.mjs.map} +1 -1
  17. package/dist/eve-runtime-Bmdw1C-K.d.mts +127 -0
  18. package/dist/eve-runtime-Bmdw1C-K.d.mts.map +1 -0
  19. package/dist/{eve-runtime-C-0doyHq.mjs → eve-runtime-DM9yjOsG.mjs} +193 -22
  20. package/dist/eve-runtime-DM9yjOsG.mjs.map +1 -0
  21. package/dist/eve-runtime.d.mts +5 -5
  22. package/dist/eve-runtime.mjs +4 -4
  23. package/dist/eve.d.mts +103 -63
  24. package/dist/eve.d.mts.map +1 -1
  25. package/dist/eve.mjs +104 -63
  26. package/dist/eve.mjs.map +1 -1
  27. package/dist/{index-C3wlz660.d.mts → index-DgCZi9Ns.d.mts} +52 -56
  28. package/dist/index-DgCZi9Ns.d.mts.map +1 -0
  29. package/dist/index.d.mts +3 -3
  30. package/dist/index.mjs +4 -4
  31. package/dist/{interrupts-BSDPwdJ2.d.mts → interrupts-MwQ_v_PF.d.mts} +1 -3
  32. package/dist/interrupts-MwQ_v_PF.d.mts.map +1 -0
  33. package/dist/rolldown-runtime-D8jQpDG7.mjs +12 -0
  34. package/dist/{src-DyiAVHKl.mjs → src-Djn_FFj1.mjs} +183 -55
  35. package/dist/src-Djn_FFj1.mjs.map +1 -0
  36. package/dist/tanstack/interrupts.d.mts +1 -1
  37. package/dist/tanstack/interrupts.mjs +1 -2
  38. package/dist/tanstack.d.mts +534 -208
  39. package/dist/tanstack.d.mts.map +1 -1
  40. package/dist/tanstack.mjs +37 -21
  41. package/dist/tanstack.mjs.map +1 -1
  42. package/dist/{token-DIwB-wtp.mjs → token-HpJhSRkl.mjs} +7 -10
  43. package/dist/token-HpJhSRkl.mjs.map +1 -0
  44. package/dist/{types-CJqhvQwi.d.mts → types-8KtcPTao.d.mts} +3 -7
  45. package/dist/types-8KtcPTao.d.mts.map +1 -0
  46. package/dist/{types-ITYfXMtY.d.mts → types-C-BIKmas.d.mts} +14 -4
  47. package/dist/types-C-BIKmas.d.mts.map +1 -0
  48. package/dist/workflow.d.mts +9 -4
  49. package/dist/workflow.d.mts.map +1 -1
  50. package/dist/workflow.mjs +7 -6
  51. package/dist/workflow.mjs.map +1 -1
  52. package/dist/{write-tools-DnGZw-RD.mjs → write-tools-BR29EOoM.mjs} +483 -113
  53. package/dist/write-tools-BR29EOoM.mjs.map +1 -0
  54. package/package.json +1 -1
  55. package/dist/cores-FLzAv2tu.mjs.map +0 -1
  56. package/dist/eve-runtime-C-0doyHq.mjs.map +0 -1
  57. package/dist/eve-runtime-CflZNuXD.d.mts +0 -85
  58. package/dist/eve-runtime-CflZNuXD.d.mts.map +0 -1
  59. package/dist/index-C3wlz660.d.mts.map +0 -1
  60. package/dist/interrupts-BSDPwdJ2.d.mts.map +0 -1
  61. package/dist/src-DyiAVHKl.mjs.map +0 -1
  62. package/dist/token-DIwB-wtp.mjs.map +0 -1
  63. package/dist/tool-types-OFyE3z0C.d.mts.map +0 -1
  64. package/dist/types-CJqhvQwi.d.mts.map +0 -1
  65. package/dist/types-ITYfXMtY.d.mts.map +0 -1
  66. package/dist/write-tools-DnGZw-RD.mjs.map +0 -1
package/dist/eve.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { _ as PRESET_TOOLS, h as GITHUB_TOOL_NAMES, t as GITHUB_WRITE_TOOLS } from "./write-tools-DnGZw-RD.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-C-0doyHq.mjs";
3
- //#region src/eve.ts
1
+ import { _ as MISSING_EVE_MESSAGE, a as buildEveToolMap, c as listEveToolDescriptors, g as resolveEveToolApproval, h as resolveEveApproval, i as buildEveToolDefinition, l as listResolvedEveToolNames, m as mapEveApprovalValue, o as createEveGithubToolsDynamic, p as isEveApprovalDisabled, s as executeGithubEveTool } from "./eve-runtime-DM9yjOsG.mjs";
2
+ import { g as GITHUB_TOOL_NAMES, t as GITHUB_WRITE_TOOLS, v as PRESET_TOOLS } from "./write-tools-BR29EOoM.mjs";
3
+ // src/eve.ts
4
4
  /**
5
5
  * Legacy eve registration for `agent/tools/` (direct import).
6
6
  *
@@ -20,7 +20,7 @@ import { a as listEveToolDescriptors, d as resolveEveApproval, f as resolveEveTo
20
20
  *
21
21
  * @deprecated Use the mountable `@github-tools/eve-extension` (`githubExtension`) instead — it is now the
22
22
  * recommended way to add GitHub tools to an eve agent. This direct import keeps working but is no longer
23
- * the recommended path. See https://github-tools.com/frameworks/eve-extension.
23
+ * the recommended path. See https://github-tools.com/integrations/eve.
24
24
  */
25
25
  function createGithubTools(options) {
26
26
  return createEveGithubToolsDynamic(options ?? {});
@@ -32,402 +32,443 @@ function factory(name) {
32
32
  * Get information about a GitHub repository including description, stars, forks, language, and default branch.
33
33
  *
34
34
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
35
- * instead. See https://github-tools.com/frameworks/eve-extension.
35
+ * instead. See https://github-tools.com/integrations/eve.
36
36
  */
37
37
  const getRepository = factory("getRepository");
38
38
  /**
39
39
  * List branches in a GitHub repository.
40
40
  *
41
41
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
42
- * instead. See https://github-tools.com/frameworks/eve-extension.
42
+ * instead. See https://github-tools.com/integrations/eve.
43
43
  */
44
44
  const listBranches = factory("listBranches");
45
45
  /**
46
46
  * Get the content of a file from a GitHub repository.
47
47
  *
48
48
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
49
- * instead. See https://github-tools.com/frameworks/eve-extension.
49
+ * instead. See https://github-tools.com/integrations/eve.
50
50
  */
51
51
  const getFileContent = factory("getFileContent");
52
52
  /**
53
53
  * Create a new branch in a GitHub repository from an existing branch or commit SHA. Requires approval by default.
54
54
  *
55
55
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
56
- * instead. See https://github-tools.com/frameworks/eve-extension.
56
+ * instead. See https://github-tools.com/integrations/eve.
57
57
  */
58
58
  const createBranch = factory("createBranch");
59
59
  /**
60
60
  * Fork a GitHub repository to the authenticated user account or a specified organization. Requires approval by default.
61
61
  *
62
62
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
63
- * instead. See https://github-tools.com/frameworks/eve-extension.
63
+ * instead. See https://github-tools.com/integrations/eve.
64
64
  */
65
65
  const forkRepository = factory("forkRepository");
66
66
  /**
67
67
  * Create a new GitHub repository for the authenticated user or a specified organization. Requires approval by default.
68
68
  *
69
69
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
70
- * instead. See https://github-tools.com/frameworks/eve-extension.
70
+ * instead. See https://github-tools.com/integrations/eve.
71
71
  */
72
72
  const createRepository = factory("createRepository");
73
73
  /**
74
74
  * Create or update a file in a GitHub repository. Provide the SHA when updating an existing file. Requires approval by default.
75
75
  *
76
76
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
77
- * instead. See https://github-tools.com/frameworks/eve-extension.
77
+ * instead. See https://github-tools.com/integrations/eve.
78
78
  */
79
79
  const createOrUpdateFile = factory("createOrUpdateFile");
80
80
  /**
81
81
  * Edit files in one commit, by exact text replacement or whole contents, on a new or existing branch, and optionally open a pull request. Requires approval by default.
82
82
  *
83
83
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
84
- * instead. See https://github-tools.com/frameworks/eve-extension.
84
+ * instead. See https://github-tools.com/integrations/eve.
85
85
  */
86
86
  const editFiles = factory("editFiles");
87
87
  /**
88
88
  * List the required checks, required reviews and other rules that protect a branch.
89
89
  *
90
90
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
91
- * instead. See https://github-tools.com/frameworks/eve-extension.
91
+ * instead. See https://github-tools.com/integrations/eve.
92
92
  */
93
93
  const getBranchRules = factory("getBranchRules");
94
94
  /**
95
+ * Get a user's permission and role on a repository, to check whether they may trigger the bot or approve an action.
96
+ *
97
+ * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
98
+ * instead. See https://github-tools.com/integrations/eve.
99
+ */
100
+ const getCollaboratorPermission = factory("getCollaboratorPermission");
101
+ /**
95
102
  * List code scanning alerts for a repository.
96
103
  *
97
104
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
98
- * instead. See https://github-tools.com/frameworks/eve-extension.
105
+ * instead. See https://github-tools.com/integrations/eve.
99
106
  */
100
107
  const listCodeScanningAlerts = factory("listCodeScanningAlerts");
101
108
  /**
102
109
  * List Dependabot alerts for vulnerable dependencies.
103
110
  *
104
111
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
105
- * instead. See https://github-tools.com/frameworks/eve-extension.
112
+ * instead. See https://github-tools.com/integrations/eve.
106
113
  */
107
114
  const listDependabotAlerts = factory("listDependabotAlerts");
108
115
  /**
109
116
  * List secret scanning alerts, without the secrets.
110
117
  *
111
118
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
112
- * instead. See https://github-tools.com/frameworks/eve-extension.
119
+ * instead. See https://github-tools.com/integrations/eve.
113
120
  */
114
121
  const listSecretScanningAlerts = factory("listSecretScanningAlerts");
115
122
  /**
116
123
  * List pull requests for a GitHub repository.
117
124
  *
118
125
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
119
- * instead. See https://github-tools.com/frameworks/eve-extension.
126
+ * instead. See https://github-tools.com/integrations/eve.
120
127
  */
121
128
  const listPullRequests = factory("listPullRequests");
122
129
  /**
123
130
  * Get detailed information about a specific pull request.
124
131
  *
125
132
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
126
- * instead. See https://github-tools.com/frameworks/eve-extension.
133
+ * instead. See https://github-tools.com/integrations/eve.
127
134
  */
128
135
  const getPullRequest = factory("getPullRequest");
129
136
  /**
130
137
  * Create a new pull request in a GitHub repository. Requires approval by default.
131
138
  *
132
139
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
133
- * instead. See https://github-tools.com/frameworks/eve-extension.
140
+ * instead. See https://github-tools.com/integrations/eve.
134
141
  */
135
142
  const createPullRequest = factory("createPullRequest");
136
143
  /**
137
144
  * Merge a pull request. Requires approval by default.
138
145
  *
139
146
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
140
- * instead. See https://github-tools.com/frameworks/eve-extension.
147
+ * instead. See https://github-tools.com/integrations/eve.
141
148
  */
142
149
  const mergePullRequest = factory("mergePullRequest");
143
150
  /**
144
151
  * Merge a pull request once its required checks and reviews pass. Requires approval by default.
145
152
  *
146
153
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
147
- * instead. See https://github-tools.com/frameworks/eve-extension.
154
+ * instead. See https://github-tools.com/integrations/eve.
148
155
  */
149
156
  const enablePullRequestAutoMerge = factory("enablePullRequestAutoMerge");
150
157
  /**
151
158
  * Cancel a pending auto-merge. Requires approval by default.
152
159
  *
153
160
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
154
- * instead. See https://github-tools.com/frameworks/eve-extension.
161
+ * instead. See https://github-tools.com/integrations/eve.
155
162
  */
156
163
  const disablePullRequestAutoMerge = factory("disablePullRequestAutoMerge");
157
164
  /**
165
+ * Bring a pull request branch up to date by merging its base branch into it. Requires approval by default.
166
+ *
167
+ * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
168
+ * instead. See https://github-tools.com/integrations/eve.
169
+ */
170
+ const updatePullRequestBranch = factory("updatePullRequestBranch");
171
+ /**
158
172
  * Add a comment to a pull request. Requires approval by default.
159
173
  *
160
174
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
161
- * instead. See https://github-tools.com/frameworks/eve-extension.
175
+ * instead. See https://github-tools.com/integrations/eve.
162
176
  */
163
177
  const addPullRequestComment = factory("addPullRequestComment");
164
178
  /**
165
179
  * List files changed in a pull request, including diff status and patch content.
166
180
  *
167
181
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
168
- * instead. See https://github-tools.com/frameworks/eve-extension.
182
+ * instead. See https://github-tools.com/integrations/eve.
169
183
  */
170
184
  const listPullRequestFiles = factory("listPullRequestFiles");
171
185
  /**
172
186
  * List reviews on a pull request (approvals, change requests, and comments).
173
187
  *
174
188
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
175
- * instead. See https://github-tools.com/frameworks/eve-extension.
189
+ * instead. See https://github-tools.com/integrations/eve.
176
190
  */
177
191
  const listPullRequestReviews = factory("listPullRequestReviews");
178
192
  /**
179
193
  * Submit a pull request review with optional inline comments. Requires approval by default.
180
194
  *
181
195
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
182
- * instead. See https://github-tools.com/frameworks/eve-extension.
196
+ * instead. See https://github-tools.com/integrations/eve.
183
197
  */
184
198
  const createPullRequestReview = factory("createPullRequestReview");
185
199
  /**
186
200
  * Fetch pull request details plus files, reviews, and optional CI checks in one call.
187
201
  *
188
202
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
189
- * instead. See https://github-tools.com/frameworks/eve-extension.
203
+ * instead. See https://github-tools.com/integrations/eve.
190
204
  */
191
205
  const getPullRequestContext = factory("getPullRequestContext");
192
206
  /**
193
207
  * Fetch an issue plus available label names and recent comments in one call.
194
208
  *
195
209
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
196
- * instead. See https://github-tools.com/frameworks/eve-extension.
210
+ * instead. See https://github-tools.com/integrations/eve.
197
211
  */
198
212
  const getIssueContext = factory("getIssueContext");
199
213
  /**
200
214
  * List issues for a GitHub repository (excludes pull requests).
201
215
  *
202
216
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
203
- * instead. See https://github-tools.com/frameworks/eve-extension.
217
+ * instead. See https://github-tools.com/integrations/eve.
204
218
  */
205
219
  const listIssues = factory("listIssues");
206
220
  /**
207
221
  * Get detailed information about a specific issue.
208
222
  *
209
223
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
210
- * instead. See https://github-tools.com/frameworks/eve-extension.
224
+ * instead. See https://github-tools.com/integrations/eve.
211
225
  */
212
226
  const getIssue = factory("getIssue");
213
227
  /**
214
228
  * List comments on a GitHub issue. Prefer getIssueContext for the first page when triaging.
215
229
  *
216
230
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
217
- * instead. See https://github-tools.com/frameworks/eve-extension.
231
+ * instead. See https://github-tools.com/integrations/eve.
218
232
  */
219
233
  const listIssueComments = factory("listIssueComments");
220
234
  /**
221
235
  * Create a new issue in a GitHub repository. Requires approval by default.
222
236
  *
223
237
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
224
- * instead. See https://github-tools.com/frameworks/eve-extension.
238
+ * instead. See https://github-tools.com/integrations/eve.
225
239
  */
226
240
  const createIssue = factory("createIssue");
227
241
  /**
228
242
  * Add a comment to a GitHub issue. Requires approval by default.
229
243
  *
230
244
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
231
- * instead. See https://github-tools.com/frameworks/eve-extension.
245
+ * instead. See https://github-tools.com/integrations/eve.
232
246
  */
233
247
  const addIssueComment = factory("addIssueComment");
234
248
  /**
235
249
  * Close an open GitHub issue. Requires approval by default.
236
250
  *
237
251
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
238
- * instead. See https://github-tools.com/frameworks/eve-extension.
252
+ * instead. See https://github-tools.com/integrations/eve.
239
253
  */
240
254
  const closeIssue = factory("closeIssue");
241
255
  /**
256
+ * List milestones in a GitHub repository with their due dates and issue counts.
257
+ *
258
+ * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
259
+ * instead. See https://github-tools.com/integrations/eve.
260
+ */
261
+ const listMilestones = factory("listMilestones");
262
+ /**
263
+ * List the sub-issues of an issue.
264
+ *
265
+ * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
266
+ * instead. See https://github-tools.com/integrations/eve.
267
+ */
268
+ const listSubIssues = factory("listSubIssues");
269
+ /**
270
+ * Add an existing issue as a sub-issue of another issue. Requires approval by default.
271
+ *
272
+ * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
273
+ * instead. See https://github-tools.com/integrations/eve.
274
+ */
275
+ const addSubIssue = factory("addSubIssue");
276
+ /**
242
277
  * List labels available in a GitHub repository.
243
278
  *
244
279
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
245
- * instead. See https://github-tools.com/frameworks/eve-extension.
280
+ * instead. See https://github-tools.com/integrations/eve.
246
281
  */
247
282
  const listLabels = factory("listLabels");
248
283
  /**
249
284
  * Add labels to an issue or pull request. Requires approval by default.
250
285
  *
251
286
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
252
- * instead. See https://github-tools.com/frameworks/eve-extension.
287
+ * instead. See https://github-tools.com/integrations/eve.
253
288
  */
254
289
  const addLabels = factory("addLabels");
255
290
  /**
256
291
  * Remove a label from an issue or pull request. Requires approval by default.
257
292
  *
258
293
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
259
- * instead. See https://github-tools.com/frameworks/eve-extension.
294
+ * instead. See https://github-tools.com/integrations/eve.
260
295
  */
261
296
  const removeLabel = factory("removeLabel");
262
297
  /**
263
298
  * Create a label in a GitHub repository. Requires approval by default.
264
299
  *
265
300
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
266
- * instead. See https://github-tools.com/frameworks/eve-extension.
301
+ * instead. See https://github-tools.com/integrations/eve.
267
302
  */
268
303
  const createLabel = factory("createLabel");
269
304
  /**
270
305
  * Update a label in a GitHub repository. Requires approval by default.
271
306
  *
272
307
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
273
- * instead. See https://github-tools.com/frameworks/eve-extension.
308
+ * instead. See https://github-tools.com/integrations/eve.
274
309
  */
275
310
  const updateLabel = factory("updateLabel");
276
311
  /**
277
312
  * Delete a label from a GitHub repository permanently. Requires approval by default.
278
313
  *
279
314
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
280
- * instead. See https://github-tools.com/frameworks/eve-extension.
315
+ * instead. See https://github-tools.com/integrations/eve.
281
316
  */
282
317
  const deleteLabel = factory("deleteLabel");
283
318
  /**
284
319
  * Search for code in GitHub repositories. Use qualifiers like "repo:owner/name" to scope the search.
285
320
  *
286
321
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
287
- * instead. See https://github-tools.com/frameworks/eve-extension.
322
+ * instead. See https://github-tools.com/integrations/eve.
288
323
  */
289
324
  const searchCode = factory("searchCode");
290
325
  /**
291
326
  * Search for GitHub repositories by keyword, topic, language, or other qualifiers.
292
327
  *
293
328
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
294
- * instead. See https://github-tools.com/frameworks/eve-extension.
329
+ * instead. See https://github-tools.com/integrations/eve.
295
330
  */
296
331
  const searchRepositories = factory("searchRepositories");
297
332
  /**
298
333
  * List commits for a GitHub repository. Filter by file path to see commits that touched a file.
299
334
  *
300
335
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
301
- * instead. See https://github-tools.com/frameworks/eve-extension.
336
+ * instead. See https://github-tools.com/integrations/eve.
302
337
  */
303
338
  const listCommits = factory("listCommits");
304
339
  /**
305
340
  * Get detailed information about a specific commit, including files changed with additions and deletions.
306
341
  *
307
342
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
308
- * instead. See https://github-tools.com/frameworks/eve-extension.
343
+ * instead. See https://github-tools.com/integrations/eve.
309
344
  */
310
345
  const getCommit = factory("getCommit");
311
346
  /**
312
347
  * Line-level git blame for a file at a commit-like ref (branch, tag, or SHA).
313
348
  *
314
349
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
315
- * instead. See https://github-tools.com/frameworks/eve-extension.
350
+ * instead. See https://github-tools.com/integrations/eve.
316
351
  */
317
352
  const getBlame = factory("getBlame");
318
353
  /**
319
354
  * List gists for the authenticated user or a specific user.
320
355
  *
321
356
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
322
- * instead. See https://github-tools.com/frameworks/eve-extension.
357
+ * instead. See https://github-tools.com/integrations/eve.
323
358
  */
324
359
  const listGists = factory("listGists");
325
360
  /**
326
361
  * Get a gist by ID, including file contents.
327
362
  *
328
363
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
329
- * instead. See https://github-tools.com/frameworks/eve-extension.
364
+ * instead. See https://github-tools.com/integrations/eve.
330
365
  */
331
366
  const getGist = factory("getGist");
332
367
  /**
333
368
  * List comments on a gist.
334
369
  *
335
370
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
336
- * instead. See https://github-tools.com/frameworks/eve-extension.
371
+ * instead. See https://github-tools.com/integrations/eve.
337
372
  */
338
373
  const listGistComments = factory("listGistComments");
339
374
  /**
340
375
  * Create a new gist with one or more files. Requires approval by default.
341
376
  *
342
377
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
343
- * instead. See https://github-tools.com/frameworks/eve-extension.
378
+ * instead. See https://github-tools.com/integrations/eve.
344
379
  */
345
380
  const createGist = factory("createGist");
346
381
  /**
347
382
  * Update an existing gist. Requires approval by default.
348
383
  *
349
384
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
350
- * instead. See https://github-tools.com/frameworks/eve-extension.
385
+ * instead. See https://github-tools.com/integrations/eve.
351
386
  */
352
387
  const updateGist = factory("updateGist");
353
388
  /**
354
389
  * Delete a gist permanently. Requires approval by default.
355
390
  *
356
391
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
357
- * instead. See https://github-tools.com/frameworks/eve-extension.
392
+ * instead. See https://github-tools.com/integrations/eve.
358
393
  */
359
394
  const deleteGist = factory("deleteGist");
360
395
  /**
361
396
  * Add a comment to a gist. Requires approval by default.
362
397
  *
363
398
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
364
- * instead. See https://github-tools.com/frameworks/eve-extension.
399
+ * instead. See https://github-tools.com/integrations/eve.
365
400
  */
366
401
  const createGistComment = factory("createGistComment");
367
402
  /**
368
403
  * List GitHub Actions workflows in a repository.
369
404
  *
370
405
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
371
- * instead. See https://github-tools.com/frameworks/eve-extension.
406
+ * instead. See https://github-tools.com/integrations/eve.
372
407
  */
373
408
  const listWorkflows = factory("listWorkflows");
374
409
  /**
375
410
  * List workflow runs for a repository, optionally filtered by workflow, branch, status, or event.
376
411
  *
377
412
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
378
- * instead. See https://github-tools.com/frameworks/eve-extension.
413
+ * instead. See https://github-tools.com/integrations/eve.
379
414
  */
380
415
  const listWorkflowRuns = factory("listWorkflowRuns");
381
416
  /**
382
417
  * Get details of a specific workflow run including status, timing, and trigger info.
383
418
  *
384
419
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
385
- * instead. See https://github-tools.com/frameworks/eve-extension.
420
+ * instead. See https://github-tools.com/integrations/eve.
386
421
  */
387
422
  const getWorkflowRun = factory("getWorkflowRun");
388
423
  /**
389
424
  * List jobs for a workflow run, including step-level status and timing.
390
425
  *
391
426
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
392
- * instead. See https://github-tools.com/frameworks/eve-extension.
427
+ * instead. See https://github-tools.com/integrations/eve.
393
428
  */
394
429
  const listWorkflowJobs = factory("listWorkflowJobs");
395
430
  /**
396
431
  * Trigger a workflow via workflow_dispatch event. Requires approval by default.
397
432
  *
398
433
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
399
- * instead. See https://github-tools.com/frameworks/eve-extension.
434
+ * instead. See https://github-tools.com/integrations/eve.
400
435
  */
401
436
  const triggerWorkflow = factory("triggerWorkflow");
402
437
  /**
403
438
  * Cancel an in-progress workflow run. Requires approval by default.
404
439
  *
405
440
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
406
- * instead. See https://github-tools.com/frameworks/eve-extension.
441
+ * instead. See https://github-tools.com/integrations/eve.
407
442
  */
408
443
  const cancelWorkflowRun = factory("cancelWorkflowRun");
409
444
  /**
410
445
  * Re-run a workflow run, optionally only the failed jobs. Requires approval by default.
411
446
  *
412
447
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
413
- * instead. See https://github-tools.com/frameworks/eve-extension.
448
+ * instead. See https://github-tools.com/integrations/eve.
414
449
  */
415
450
  const rerunWorkflowRun = factory("rerunWorkflowRun");
416
451
  /**
452
+ * Report a result on a commit as a commit status. Requires approval by default.
453
+ *
454
+ * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
455
+ * instead. See https://github-tools.com/integrations/eve.
456
+ */
457
+ const createCommitStatus = factory("createCommitStatus");
458
+ /**
417
459
  * Diagnose CI failures for a ref — combined status, failing checks, and failed workflow jobs in one call.
418
460
  *
419
461
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
420
- * instead. See https://github-tools.com/frameworks/eve-extension.
462
+ * instead. See https://github-tools.com/integrations/eve.
421
463
  */
422
464
  const getCiFailureContext = factory("getCiFailureContext");
423
465
  /**
424
466
  * Fetch a release plus the previous release and tag comparison in one call.
425
467
  *
426
468
  * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
427
- * instead. See https://github-tools.com/frameworks/eve-extension.
469
+ * instead. See https://github-tools.com/integrations/eve.
428
470
  */
429
471
  const getReleaseContext = factory("getReleaseContext");
430
- //#endregion
431
- export { GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, MISSING_EVE_MESSAGE, PRESET_TOOLS, addIssueComment, addLabels, addPullRequestComment, buildEveToolDefinition, buildEveToolMap, cancelWorkflowRun, closeIssue, createBranch, createEveGithubToolsDynamic, createGist, createGistComment, createGithubTools, createIssue, createLabel, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, deleteLabel, disablePullRequestAutoMerge, editFiles, enablePullRequestAutoMerge, executeGithubEveTool, forkRepository, getBlame, getBranchRules, getCiFailureContext, getCommit, getFileContent, getGist, getIssue, getIssueContext, getPullRequest, getPullRequestContext, getReleaseContext, getRepository, getWorkflowRun, isEveApprovalDisabled, listBranches, listCodeScanningAlerts, listCommits, listDependabotAlerts, listEveToolDescriptors, listGistComments, listGists, listIssueComments, listIssues, listLabels, listPullRequestFiles, listPullRequestReviews, listPullRequests, listResolvedEveToolNames, listSecretScanningAlerts, listWorkflowJobs, listWorkflowRuns, listWorkflows, mapEveApprovalValue, mergePullRequest, removeLabel, rerunWorkflowRun, resolveEveApproval, resolveEveToolApproval, searchCode, searchRepositories, triggerWorkflow, updateGist, updateLabel };
472
+ export { GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, MISSING_EVE_MESSAGE, PRESET_TOOLS, addIssueComment, addLabels, addPullRequestComment, addSubIssue, buildEveToolDefinition, buildEveToolMap, cancelWorkflowRun, closeIssue, createBranch, createCommitStatus, createEveGithubToolsDynamic, createGist, createGistComment, createGithubTools, createIssue, createLabel, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, deleteLabel, disablePullRequestAutoMerge, editFiles, enablePullRequestAutoMerge, executeGithubEveTool, forkRepository, getBlame, getBranchRules, getCiFailureContext, getCollaboratorPermission, getCommit, getFileContent, getGist, getIssue, getIssueContext, getPullRequest, getPullRequestContext, getReleaseContext, getRepository, getWorkflowRun, isEveApprovalDisabled, listBranches, listCodeScanningAlerts, listCommits, listDependabotAlerts, listEveToolDescriptors, listGistComments, listGists, listIssueComments, listIssues, listLabels, listMilestones, listPullRequestFiles, listPullRequestReviews, listPullRequests, listResolvedEveToolNames, listSecretScanningAlerts, listSubIssues, listWorkflowJobs, listWorkflowRuns, listWorkflows, mapEveApprovalValue, mergePullRequest, removeLabel, rerunWorkflowRun, resolveEveApproval, resolveEveToolApproval, searchCode, searchRepositories, triggerWorkflow, updateGist, updateLabel, updatePullRequestBranch };
432
473
 
433
474
  //# sourceMappingURL=eve.mjs.map