@github-tools/sdk 1.4.0 → 1.6.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.
package/dist/index.d.mts CHANGED
@@ -1,777 +1,2 @@
1
- import { A as addPullRequestComment, B as createRepository, C as addLabels, D as listIssues, E as getIssue, F as listPullRequestReviews, G as createOctokit, H as getFileContent, I as listPullRequests, J as ToolOverrides, K as Octokit, L as mergePullRequest, M as createPullRequestReview, N as getPullRequest, O as listLabels, P as listPullRequestFiles, R as createBranch, S as addIssueComment, T as createIssue, U as getRepository, V as forkRepository, W as listBranches, _ as getBlame, a as listWorkflowJobs, b as searchCode, c as rerunWorkflowRun, d as createGistComment, f as deleteGist, g as updateGist, h as listGists, i as getWorkflowRun, j as createPullRequest, k as removeLabel, l as triggerWorkflow, m as listGistComments, n as createGithubAgent, o as listWorkflowRuns, p as getGist, q as ToolOptions, r as cancelWorkflowRun, s as listWorkflows, t as CreateGithubAgentOptions, u as createGist, v as getCommit, w as closeIssue, x as searchRepositories, y as listCommits, z as createOrUpdateFile } from "./agents-C6nqZiYp.mjs";
2
- import * as ai from "ai";
3
-
4
- //#region src/index.d.ts
5
- type GithubWriteToolName = 'createBranch' | 'forkRepository' | 'createRepository' | 'createOrUpdateFile' | 'createPullRequest' | 'mergePullRequest' | 'addPullRequestComment' | 'createPullRequestReview' | 'createIssue' | 'addIssueComment' | 'closeIssue' | 'addLabels' | 'removeLabel' | 'createGist' | 'updateGist' | 'deleteGist' | 'createGistComment' | 'triggerWorkflow' | 'cancelWorkflowRun' | 'rerunWorkflowRun';
6
- /**
7
- * Whether write operations require user approval.
8
- * - `true` — all write tools need approval (default)
9
- * - `false` — no approval needed for any write tool
10
- * - object — per-tool override; unspecified write tools default to `true`
11
- *
12
- * @example
13
- * ```ts
14
- * requireApproval: {
15
- * mergePullRequest: true,
16
- * createOrUpdateFile: true,
17
- * addPullRequestComment: false,
18
- * addIssueComment: false,
19
- * }
20
- * ```
21
- */
22
- type ApprovalConfig = boolean | Partial<Record<GithubWriteToolName, boolean>>;
23
- /**
24
- * Predefined tool presets for common use cases.
25
- *
26
- * - `'code-review'` — Review PRs: read PRs, file content, commits, and post comments
27
- * - `'issue-triage'` — Triage issues: read/create/close issues, search, and comment
28
- * - `'repo-explorer'` — Explore repos: read-only access to repos, branches, code, and search
29
- * - `'ci-ops'` — CI operations: monitor and manage GitHub Actions workflows
30
- * - `'maintainer'` — Full maintenance: all read + create PRs, merge, manage issues
31
- */
32
- type GithubToolPreset = 'code-review' | 'issue-triage' | 'repo-explorer' | 'ci-ops' | 'maintainer';
33
- type GithubToolsOptions = {
34
- /**
35
- * GitHub personal access token.
36
- * Falls back to `process.env.GITHUB_TOKEN` when omitted.
37
- */
38
- token?: string;
39
- requireApproval?: ApprovalConfig;
40
- /**
41
- * Per-tool overrides for customizing tool behavior (description, title, needsApproval, etc.)
42
- * without changing the underlying implementation. `execute`, `inputSchema`, and `outputSchema`
43
- * cannot be overridden.
44
- *
45
- * @example
46
- * ```ts
47
- * createGithubTools({
48
- * overrides: {
49
- * deleteGist: { needsApproval: false },
50
- * listIssues: { description: 'List bugs for the current sprint' },
51
- * }
52
- * })
53
- * ```
54
- */
55
- overrides?: Partial<Record<string, ToolOverrides>>;
56
- /**
57
- * Restrict the returned tools to a predefined preset.
58
- * Omit to get all tools.
59
- *
60
- * @example
61
- * ```ts
62
- * // Only code-review tools
63
- * createGithubTools({ token, preset: 'code-review' })
64
- *
65
- * // Combine presets
66
- * createGithubTools({ token, preset: ['code-review', 'issue-triage'] })
67
- * ```
68
- */
69
- preset?: GithubToolPreset | GithubToolPreset[];
70
- };
71
- /**
72
- * Create a set of GitHub tools for the Vercel AI SDK.
73
- *
74
- * Write operations require user approval by default.
75
- * Control this globally or per-tool via `requireApproval`.
76
- * Use `preset` to get only the tools you need.
77
- *
78
- * @example
79
- * ```ts
80
- * // All tools (default)
81
- * createGithubTools({ token })
82
- *
83
- * // Code-review agent — only PR & commit tools
84
- * createGithubTools({ token, preset: 'code-review' })
85
- *
86
- * // Combine presets
87
- * createGithubTools({ token, preset: ['code-review', 'issue-triage'] })
88
- *
89
- * // Granular approval
90
- * createGithubTools({
91
- * token,
92
- * preset: 'maintainer',
93
- * requireApproval: {
94
- * mergePullRequest: true,
95
- * createOrUpdateFile: true,
96
- * addPullRequestComment: false,
97
- * }
98
- * })
99
- * ```
100
- */
101
- declare function createGithubTools({
102
- token,
103
- requireApproval,
104
- preset,
105
- overrides
106
- }?: GithubToolsOptions): Partial<{
107
- getRepository: ai.Tool<{
108
- owner: string;
109
- repo: string;
110
- }, {
111
- name: string;
112
- fullName: string;
113
- description: string | null;
114
- url: string;
115
- defaultBranch: string;
116
- stars: number;
117
- forks: number;
118
- openIssues: number;
119
- language: string | null;
120
- private: boolean;
121
- createdAt: string;
122
- updatedAt: string;
123
- }>;
124
- listBranches: ai.Tool<{
125
- owner: string;
126
- repo: string;
127
- perPage: number;
128
- }, {
129
- name: string;
130
- sha: string;
131
- protected: boolean;
132
- }[]>;
133
- getFileContent: ai.Tool<{
134
- owner: string;
135
- repo: string;
136
- path: string;
137
- ref?: string | undefined;
138
- }, {
139
- type: string;
140
- entries: {
141
- name: string;
142
- type: "file" | "dir" | "submodule" | "symlink";
143
- path: string;
144
- }[];
145
- path?: undefined;
146
- sha?: undefined;
147
- size?: undefined;
148
- content?: undefined;
149
- } | {
150
- type: "submodule" | "symlink";
151
- path: string;
152
- entries?: undefined;
153
- sha?: undefined;
154
- size?: undefined;
155
- content?: undefined;
156
- } | {
157
- type: string;
158
- path: string;
159
- sha: string;
160
- size: number;
161
- content: string;
162
- entries?: undefined;
163
- }>;
164
- listPullRequests: ai.Tool<{
165
- owner: string;
166
- repo: string;
167
- state: "open" | "closed" | "all";
168
- perPage: number;
169
- }, {
170
- number: number;
171
- title: string;
172
- state: string;
173
- url: string;
174
- author: string | undefined;
175
- branch: string;
176
- base: string;
177
- draft: boolean | undefined;
178
- createdAt: string;
179
- updatedAt: string;
180
- }[]>;
181
- getPullRequest: ai.Tool<{
182
- owner: string;
183
- repo: string;
184
- pullNumber: number;
185
- }, {
186
- number: number;
187
- title: string;
188
- body: string | null;
189
- state: "open" | "closed";
190
- url: string;
191
- author: string;
192
- branch: string;
193
- base: string;
194
- draft: boolean | undefined;
195
- merged: boolean;
196
- mergeable: boolean | null;
197
- additions: number;
198
- deletions: number;
199
- changedFiles: number;
200
- createdAt: string;
201
- updatedAt: string;
202
- mergedAt: string | null;
203
- }>;
204
- listIssues: ai.Tool<{
205
- owner: string;
206
- repo: string;
207
- state: "open" | "closed" | "all";
208
- perPage: number;
209
- labels?: string | undefined;
210
- }, {
211
- number: number;
212
- title: string;
213
- state: string;
214
- url: string;
215
- author: string | undefined;
216
- labels: (string | undefined)[];
217
- createdAt: string;
218
- updatedAt: string;
219
- }[]>;
220
- getIssue: ai.Tool<{
221
- owner: string;
222
- repo: string;
223
- issueNumber: number;
224
- }, {
225
- number: number;
226
- title: string;
227
- body: string | null | undefined;
228
- state: string;
229
- url: string;
230
- author: string | undefined;
231
- assignees: string[] | undefined;
232
- labels: (string | undefined)[];
233
- comments: number;
234
- createdAt: string;
235
- updatedAt: string;
236
- closedAt: string | null;
237
- }>;
238
- searchCode: ai.Tool<{
239
- query: string;
240
- perPage: number;
241
- }, {
242
- totalCount: number;
243
- items: {
244
- name: string;
245
- path: string;
246
- url: string;
247
- repository: string;
248
- sha: string;
249
- }[];
250
- }>;
251
- searchRepositories: ai.Tool<{
252
- query: string;
253
- perPage: number;
254
- order: "asc" | "desc";
255
- sort?: "stars" | "forks" | "help-wanted-issues" | "updated" | undefined;
256
- }, {
257
- totalCount: number;
258
- items: {
259
- name: string;
260
- fullName: string;
261
- description: string | null;
262
- url: string;
263
- stars: number;
264
- forks: number;
265
- language: string | null;
266
- topics: string[] | undefined;
267
- }[];
268
- }>;
269
- listCommits: ai.Tool<{
270
- owner: string;
271
- repo: string;
272
- perPage: number;
273
- path?: string | undefined;
274
- sha?: string | undefined;
275
- author?: string | undefined;
276
- since?: string | undefined;
277
- until?: string | undefined;
278
- }, {
279
- sha: string;
280
- message: string;
281
- author: string | undefined;
282
- authorLogin: string | undefined;
283
- date: string | undefined;
284
- url: string;
285
- }[]>;
286
- getCommit: ai.Tool<{
287
- owner: string;
288
- repo: string;
289
- ref: string;
290
- }, {
291
- sha: string;
292
- message: string;
293
- author: string | undefined;
294
- authorLogin: string | undefined;
295
- date: string | undefined;
296
- url: string;
297
- stats: {
298
- additions: number | undefined;
299
- deletions: number | undefined;
300
- total: number | undefined;
301
- } | null;
302
- files: {
303
- filename: string;
304
- status: "added" | "removed" | "modified" | "renamed" | "copied" | "changed" | "unchanged";
305
- additions: number;
306
- deletions: number;
307
- patch: string | undefined;
308
- }[] | undefined;
309
- }>;
310
- getBlame: ai.Tool<{
311
- owner: string;
312
- repo: string;
313
- path: string;
314
- ref?: string | undefined;
315
- line?: number | undefined;
316
- lineStart?: number | undefined;
317
- lineEnd?: number | undefined;
318
- }, {
319
- error: string;
320
- ref?: undefined;
321
- tipSha?: undefined;
322
- path?: undefined;
323
- rangeCount?: undefined;
324
- ranges?: undefined;
325
- } | {
326
- ref: string;
327
- tipSha: string;
328
- path: string;
329
- rangeCount: number;
330
- ranges: {
331
- startingLine: number;
332
- endingLine: number;
333
- age: number;
334
- commit: {
335
- sha: string;
336
- abbreviatedSha: string;
337
- messageHeadline: string;
338
- authoredDate: string;
339
- url: string;
340
- authorName: string | null;
341
- authorEmail: string | null;
342
- authorLogin: string | null;
343
- };
344
- }[];
345
- error?: undefined;
346
- }>;
347
- createBranch: ai.Tool<{
348
- owner: string;
349
- repo: string;
350
- branch: string;
351
- from?: string | undefined;
352
- }, {
353
- ref: string;
354
- sha: string;
355
- url: string;
356
- }>;
357
- forkRepository: ai.Tool<{
358
- owner: string;
359
- repo: string;
360
- organization?: string | undefined;
361
- name?: string | undefined;
362
- }, {
363
- name: string;
364
- fullName: string;
365
- url: string;
366
- cloneUrl: string;
367
- sshUrl: string;
368
- defaultBranch: string;
369
- private: boolean;
370
- parent: {
371
- fullName: string;
372
- url: string;
373
- } | null;
374
- }>;
375
- createRepository: ai.Tool<{
376
- name: string;
377
- isPrivate: boolean;
378
- autoInit: boolean;
379
- description?: string | undefined;
380
- gitignoreTemplate?: string | undefined;
381
- licenseTemplate?: string | undefined;
382
- org?: string | undefined;
383
- }, {
384
- name: string;
385
- fullName: string;
386
- description: string | null;
387
- url: string;
388
- cloneUrl: string;
389
- sshUrl: string;
390
- defaultBranch: string;
391
- private: boolean;
392
- createdAt: string;
393
- }>;
394
- createOrUpdateFile: ai.Tool<{
395
- owner: string;
396
- repo: string;
397
- path: string;
398
- message: string;
399
- content: string;
400
- branch?: string | undefined;
401
- sha?: string | undefined;
402
- }, {
403
- path: string | undefined;
404
- sha: string | undefined;
405
- commitSha: string | undefined;
406
- commitUrl: string | undefined;
407
- }>;
408
- createPullRequest: ai.Tool<{
409
- owner: string;
410
- repo: string;
411
- title: string;
412
- head: string;
413
- base: string;
414
- draft: boolean;
415
- body?: string | undefined;
416
- }, {
417
- number: number;
418
- title: string;
419
- url: string;
420
- state: "open" | "closed";
421
- draft: boolean | undefined;
422
- branch: string;
423
- base: string;
424
- }>;
425
- mergePullRequest: ai.Tool<{
426
- owner: string;
427
- repo: string;
428
- pullNumber: number;
429
- mergeMethod: "merge" | "squash" | "rebase";
430
- commitTitle?: string | undefined;
431
- commitMessage?: string | undefined;
432
- }, {
433
- merged: boolean;
434
- message: string;
435
- sha: string;
436
- }>;
437
- addPullRequestComment: ai.Tool<{
438
- owner: string;
439
- repo: string;
440
- pullNumber: number;
441
- body: string;
442
- }, {
443
- id: number;
444
- url: string;
445
- body: string | undefined;
446
- author: string | undefined;
447
- createdAt: string;
448
- }>;
449
- listPullRequestFiles: ai.Tool<{
450
- owner: string;
451
- repo: string;
452
- pullNumber: number;
453
- perPage: number;
454
- page: number;
455
- }, {
456
- filename: string;
457
- status: "added" | "removed" | "modified" | "renamed" | "copied" | "changed" | "unchanged";
458
- additions: number;
459
- deletions: number;
460
- changes: number;
461
- patch: string | undefined;
462
- }[]>;
463
- listPullRequestReviews: ai.Tool<{
464
- owner: string;
465
- repo: string;
466
- pullNumber: number;
467
- perPage: number;
468
- page: number;
469
- }, {
470
- id: number;
471
- state: string;
472
- body: string;
473
- author: string | undefined;
474
- url: string;
475
- submittedAt: string | undefined;
476
- }[]>;
477
- createPullRequestReview: ai.Tool<{
478
- owner: string;
479
- repo: string;
480
- pullNumber: number;
481
- event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT";
482
- body?: string | undefined;
483
- comments?: {
484
- path: string;
485
- body: string;
486
- line?: number | undefined;
487
- side?: "LEFT" | "RIGHT" | undefined;
488
- }[] | undefined;
489
- }, {
490
- id: number;
491
- state: string;
492
- body: string;
493
- url: string;
494
- author: string | undefined;
495
- submittedAt: string | undefined;
496
- }>;
497
- createIssue: ai.Tool<{
498
- owner: string;
499
- repo: string;
500
- title: string;
501
- body?: string | undefined;
502
- labels?: string[] | undefined;
503
- assignees?: string[] | undefined;
504
- }, {
505
- number: number;
506
- title: string;
507
- url: string;
508
- state: string;
509
- labels: (string | undefined)[];
510
- }>;
511
- addIssueComment: ai.Tool<{
512
- owner: string;
513
- repo: string;
514
- issueNumber: number;
515
- body: string;
516
- }, {
517
- id: number;
518
- url: string;
519
- body: string | undefined;
520
- author: string | undefined;
521
- createdAt: string;
522
- }>;
523
- closeIssue: ai.Tool<{
524
- owner: string;
525
- repo: string;
526
- issueNumber: number;
527
- stateReason: "completed" | "not_planned";
528
- }, {
529
- number: number;
530
- title: string;
531
- state: string;
532
- url: string;
533
- closedAt: string | null;
534
- }>;
535
- listLabels: ai.Tool<{
536
- owner: string;
537
- repo: string;
538
- perPage: number;
539
- page: number;
540
- }, {
541
- name: string;
542
- color: string;
543
- description: string | null;
544
- }[]>;
545
- addLabels: ai.Tool<{
546
- owner: string;
547
- repo: string;
548
- issueNumber: number;
549
- labels: string[];
550
- }, {
551
- name: string;
552
- color: string;
553
- description: string | null;
554
- }[]>;
555
- removeLabel: ai.Tool<{
556
- owner: string;
557
- repo: string;
558
- issueNumber: number;
559
- label: string;
560
- }, {
561
- removed: boolean;
562
- label: string;
563
- issueNumber: number;
564
- }>;
565
- listGists: ai.Tool<{
566
- perPage: number;
567
- page: number;
568
- username?: string | undefined;
569
- }, {
570
- id: string;
571
- description: string | null;
572
- public: boolean;
573
- url: string;
574
- files: string[];
575
- owner: string | undefined;
576
- comments: number;
577
- createdAt: string;
578
- updatedAt: string;
579
- }[]>;
580
- getGist: ai.Tool<{
581
- gistId: string;
582
- }, {
583
- id: string | undefined;
584
- description: string | null | undefined;
585
- public: boolean | undefined;
586
- url: string | undefined;
587
- owner: string | undefined;
588
- files: {
589
- filename: string | undefined;
590
- language: string | undefined;
591
- size: number | undefined;
592
- content: string | undefined;
593
- }[];
594
- comments: number | undefined;
595
- createdAt: string | undefined;
596
- updatedAt: string | undefined;
597
- }>;
598
- listGistComments: ai.Tool<{
599
- gistId: string;
600
- perPage: number;
601
- page: number;
602
- }, {
603
- id: number;
604
- body: string;
605
- author: string | undefined;
606
- url: string;
607
- createdAt: string;
608
- updatedAt: string;
609
- }[]>;
610
- createGist: ai.Tool<{
611
- files: Record<string, {
612
- content: string;
613
- }>;
614
- isPublic: boolean;
615
- description?: string | undefined;
616
- }, {
617
- id: string | undefined;
618
- description: string | null | undefined;
619
- public: boolean | undefined;
620
- url: string | undefined;
621
- files: string[];
622
- owner: string | undefined;
623
- }>;
624
- updateGist: ai.Tool<{
625
- gistId: string;
626
- description?: string | undefined;
627
- files?: Record<string, {
628
- content: string;
629
- }> | undefined;
630
- filesToDelete?: string[] | undefined;
631
- }, {
632
- id: string | undefined;
633
- description: string | null | undefined;
634
- url: string | undefined;
635
- files: string[];
636
- }>;
637
- deleteGist: ai.Tool<{
638
- gistId: string;
639
- }, {
640
- deleted: boolean;
641
- gistId: string;
642
- }>;
643
- createGistComment: ai.Tool<{
644
- gistId: string;
645
- body: string;
646
- }, {
647
- id: number;
648
- url: string;
649
- body: string;
650
- author: string | undefined;
651
- createdAt: string;
652
- }>;
653
- listWorkflows: ai.Tool<{
654
- owner: string;
655
- repo: string;
656
- perPage: number;
657
- page: number;
658
- }, {
659
- totalCount: number;
660
- workflows: {
661
- id: number;
662
- name: string;
663
- path: string;
664
- state: "active" | "deleted" | "disabled_fork" | "disabled_inactivity" | "disabled_manually";
665
- url: string;
666
- createdAt: string;
667
- updatedAt: string;
668
- }[];
669
- }>;
670
- listWorkflowRuns: ai.Tool<{
671
- owner: string;
672
- repo: string;
673
- perPage: number;
674
- page: number;
675
- workflowId?: string | number | undefined;
676
- branch?: string | undefined;
677
- event?: string | undefined;
678
- status?: "success" | "completed" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "stale" | "timed_out" | "in_progress" | "queued" | "requested" | "waiting" | "pending" | undefined;
679
- }, {
680
- totalCount: number;
681
- runs: {
682
- id: number;
683
- name: string | null | undefined;
684
- status: string | null;
685
- conclusion: string | null;
686
- branch: string | null;
687
- event: string;
688
- url: string;
689
- actor: string | undefined;
690
- createdAt: string;
691
- updatedAt: string;
692
- runNumber: number;
693
- runAttempt: number | undefined;
694
- }[];
695
- }>;
696
- getWorkflowRun: ai.Tool<{
697
- owner: string;
698
- repo: string;
699
- runId: number;
700
- }, {
701
- id: number;
702
- name: string | null | undefined;
703
- status: string | null;
704
- conclusion: string | null;
705
- branch: string | null;
706
- sha: string;
707
- event: string;
708
- url: string;
709
- actor: string | undefined;
710
- runNumber: number;
711
- runAttempt: number | undefined;
712
- createdAt: string;
713
- updatedAt: string;
714
- runStartedAt: string | undefined;
715
- }>;
716
- listWorkflowJobs: ai.Tool<{
717
- owner: string;
718
- repo: string;
719
- runId: number;
720
- filter: "all" | "latest";
721
- perPage: number;
722
- page: number;
723
- }, {
724
- totalCount: number;
725
- jobs: {
726
- id: number;
727
- name: string;
728
- status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
729
- conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
730
- url: string | null;
731
- startedAt: string;
732
- completedAt: string | null;
733
- runnerName: string | null;
734
- steps: {
735
- name: string;
736
- status: "completed" | "in_progress" | "queued";
737
- conclusion: string | null;
738
- number: number;
739
- startedAt: string | null | undefined;
740
- completedAt: string | null | undefined;
741
- }[] | undefined;
742
- }[];
743
- }>;
744
- triggerWorkflow: ai.Tool<{
745
- owner: string;
746
- repo: string;
747
- workflowId: string | number;
748
- ref: string;
749
- inputs?: Record<string, string> | undefined;
750
- }, {
751
- triggered: boolean;
752
- workflowId: string | number;
753
- ref: string;
754
- }>;
755
- cancelWorkflowRun: ai.Tool<{
756
- owner: string;
757
- repo: string;
758
- runId: number;
759
- }, {
760
- cancelled: boolean;
761
- runId: number;
762
- }>;
763
- rerunWorkflowRun: ai.Tool<{
764
- owner: string;
765
- repo: string;
766
- runId: number;
767
- onlyFailedJobs: boolean;
768
- }, {
769
- rerun: boolean;
770
- runId: number;
771
- onlyFailedJobs: boolean;
772
- }>;
773
- }>;
774
- type GithubTools = ReturnType<typeof createGithubTools>;
775
- //#endregion
776
- export { ApprovalConfig, type CreateGithubAgentOptions, GithubToolPreset, GithubTools, GithubToolsOptions, GithubWriteToolName, type Octokit, type ToolOptions, type ToolOverrides, addIssueComment, addLabels, addPullRequestComment, cancelWorkflowRun, closeIssue, createBranch, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, forkRepository, getBlame, getCommit, getFileContent, getGist, getIssue, getPullRequest, getRepository, getWorkflowRun, listBranches, listCommits, listGistComments, listGists, listIssues, listLabels, listPullRequestFiles, listPullRequestReviews, listPullRequests, listWorkflowJobs, listWorkflowRuns, listWorkflows, mergePullRequest, removeLabel, rerunWorkflowRun, searchCode, searchRepositories, triggerWorkflow, updateGist };
777
- //# sourceMappingURL=index.d.mts.map
1
+ import { $ as CommitToolOptions, A as closeIssue, B as listPullRequestFiles, C as getBlame, D as searchRepositories, E as searchCode, F as removeLabel, G as createOrUpdateFile, H as listPullRequests, I as addPullRequestComment, J as getFileContent, K as createRepository, L as createPullRequest, M as getIssue, N as listIssues, O as addIssueComment, P as listLabels, Q as CommitIdentity, R as createPullRequestReview, S as updateGist, T as listCommits, U as mergePullRequest, V as listPullRequestReviews, W as createBranch, X as listBranches, Y as getRepository, Z as createOctokit, _ as createGistComment, a as GithubWriteToolName, b as listGistComments, c as createGithubAgent, d as listWorkflowJobs, et as Octokit, f as listWorkflowRuns, g as createGist, h as triggerWorkflow, i as GithubToolsOptions, j as createIssue, k as addLabels, l as cancelWorkflowRun, m as rerunWorkflowRun, n as GithubToolPreset, nt as ToolOverrides, o as createGithubTools, p as listWorkflows, q as forkRepository, r as GithubTools, s as CreateGithubAgentOptions, t as ApprovalConfig, tt as ToolOptions, u as getWorkflowRun, v as deleteGist, w as getCommit, x as listGists, y as getGist, z as getPullRequest } from "./index-ikP-LT-3.mjs";
2
+ export { ApprovalConfig, CommitIdentity, CommitToolOptions, CreateGithubAgentOptions, GithubToolPreset, GithubTools, GithubToolsOptions, GithubWriteToolName, Octokit, ToolOptions, ToolOverrides, addIssueComment, addLabels, addPullRequestComment, cancelWorkflowRun, closeIssue, createBranch, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, forkRepository, getBlame, getCommit, getFileContent, getGist, getIssue, getPullRequest, getRepository, getWorkflowRun, listBranches, listCommits, listGistComments, listGists, listIssues, listLabels, listPullRequestFiles, listPullRequestReviews, listPullRequests, listWorkflowJobs, listWorkflowRuns, listWorkflows, mergePullRequest, removeLabel, rerunWorkflowRun, searchCode, searchRepositories, triggerWorkflow, updateGist };