@github-tools/sdk 1.2.0 → 1.3.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,431 +1,8 @@
1
- import { Octokit, Octokit as Octokit$1 } from "octokit";
1
+ import { A as listPullRequests, B as ToolOptions, C as closeIssue, D as addPullRequestComment, E as listIssues, F as forkRepository, I as getFileContent, L as getRepository, M as createBranch, N as createOrUpdateFile, O as createPullRequest, P as createRepository, R as listBranches, S as addIssueComment, T as getIssue, V as createOctokit, _ 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 mergePullRequest, k as getPullRequest, l as triggerWorkflow, m as listGistComments, n as createGithubAgent, o as listWorkflowRuns, p as getGist, r as cancelWorkflowRun, s as listWorkflows, t as CreateGithubAgentOptions, u as createGist, v as getCommit, w as createIssue, x as searchRepositories, y as listCommits, z as Octokit } from "./agents-CnwdZ0Wk.mjs";
2
2
  import * as ai from "ai";
3
- import { ToolLoopAgent, ToolLoopAgentSettings } from "ai";
4
3
 
5
- //#region src/client.d.ts
6
- declare function createOctokit(token: string): Octokit$1;
7
- //#endregion
8
- //#region src/types.d.ts
9
- type ToolOptions = {
10
- needsApproval?: boolean;
11
- };
12
- //#endregion
13
- //#region src/tools/repository.d.ts
14
- declare const getRepository: (octokit: Octokit) => ai.Tool<{
15
- owner: string;
16
- repo: string;
17
- }, {
18
- name: string;
19
- fullName: string;
20
- description: string | null;
21
- url: string;
22
- defaultBranch: string;
23
- stars: number;
24
- forks: number;
25
- openIssues: number;
26
- language: string | null;
27
- private: boolean;
28
- createdAt: string;
29
- updatedAt: string;
30
- }>;
31
- declare const listBranches: (octokit: Octokit) => ai.Tool<{
32
- owner: string;
33
- repo: string;
34
- perPage: number;
35
- }, {
36
- name: string;
37
- sha: string;
38
- protected: boolean;
39
- }[]>;
40
- declare const getFileContent: (octokit: Octokit) => ai.Tool<{
41
- owner: string;
42
- repo: string;
43
- path: string;
44
- ref?: string | undefined;
45
- }, {
46
- type: string;
47
- entries: {
48
- name: string;
49
- type: "file" | "dir" | "submodule" | "symlink";
50
- path: string;
51
- }[];
52
- path?: undefined;
53
- sha?: undefined;
54
- size?: undefined;
55
- content?: undefined;
56
- } | {
57
- type: "submodule" | "symlink";
58
- path: string;
59
- entries?: undefined;
60
- sha?: undefined;
61
- size?: undefined;
62
- content?: undefined;
63
- } | {
64
- type: string;
65
- path: string;
66
- sha: string;
67
- size: number;
68
- content: string;
69
- entries?: undefined;
70
- }>;
71
- declare const createBranch: (octokit: Octokit, {
72
- needsApproval
73
- }?: ToolOptions) => ai.Tool<{
74
- owner: string;
75
- repo: string;
76
- branch: string;
77
- from?: string | undefined;
78
- }, {
79
- ref: string;
80
- sha: string;
81
- url: string;
82
- }>;
83
- declare const forkRepository: (octokit: Octokit, {
84
- needsApproval
85
- }?: ToolOptions) => ai.Tool<{
86
- owner: string;
87
- repo: string;
88
- organization?: string | undefined;
89
- name?: string | undefined;
90
- }, {
91
- name: string;
92
- fullName: string;
93
- url: string;
94
- cloneUrl: string;
95
- sshUrl: string;
96
- defaultBranch: string;
97
- private: boolean;
98
- parent: {
99
- fullName: string;
100
- url: string;
101
- } | null;
102
- }>;
103
- declare const createRepository: (octokit: Octokit, {
104
- needsApproval
105
- }?: ToolOptions) => ai.Tool<{
106
- name: string;
107
- isPrivate: boolean;
108
- autoInit: boolean;
109
- description?: string | undefined;
110
- gitignoreTemplate?: string | undefined;
111
- licenseTemplate?: string | undefined;
112
- org?: string | undefined;
113
- }, {
114
- name: string;
115
- fullName: string;
116
- description: string | null;
117
- url: string;
118
- cloneUrl: string;
119
- sshUrl: string;
120
- defaultBranch: string;
121
- private: boolean;
122
- createdAt: string;
123
- }>;
124
- declare const createOrUpdateFile: (octokit: Octokit, {
125
- needsApproval
126
- }?: ToolOptions) => ai.Tool<{
127
- owner: string;
128
- repo: string;
129
- path: string;
130
- message: string;
131
- content: string;
132
- branch?: string | undefined;
133
- sha?: string | undefined;
134
- }, {
135
- path: string | undefined;
136
- sha: string | undefined;
137
- commitSha: string | undefined;
138
- commitUrl: string | undefined;
139
- }>;
140
- //#endregion
141
- //#region src/tools/pull-requests.d.ts
142
- declare const listPullRequests: (octokit: Octokit) => ai.Tool<{
143
- owner: string;
144
- repo: string;
145
- state: "open" | "closed" | "all";
146
- perPage: number;
147
- }, {
148
- number: number;
149
- title: string;
150
- state: string;
151
- url: string;
152
- author: string | undefined;
153
- branch: string;
154
- base: string;
155
- draft: boolean | undefined;
156
- createdAt: string;
157
- updatedAt: string;
158
- }[]>;
159
- declare const getPullRequest: (octokit: Octokit) => ai.Tool<{
160
- owner: string;
161
- repo: string;
162
- pullNumber: number;
163
- }, {
164
- number: number;
165
- title: string;
166
- body: string | null;
167
- state: "open" | "closed";
168
- url: string;
169
- author: string;
170
- branch: string;
171
- base: string;
172
- draft: boolean | undefined;
173
- merged: boolean;
174
- mergeable: boolean | null;
175
- additions: number;
176
- deletions: number;
177
- changedFiles: number;
178
- createdAt: string;
179
- updatedAt: string;
180
- mergedAt: string | null;
181
- }>;
182
- declare const createPullRequest: (octokit: Octokit, {
183
- needsApproval
184
- }?: ToolOptions) => ai.Tool<{
185
- owner: string;
186
- repo: string;
187
- title: string;
188
- head: string;
189
- base: string;
190
- draft: boolean;
191
- body?: string | undefined;
192
- }, {
193
- number: number;
194
- title: string;
195
- url: string;
196
- state: "open" | "closed";
197
- draft: boolean | undefined;
198
- branch: string;
199
- base: string;
200
- }>;
201
- declare const mergePullRequest: (octokit: Octokit, {
202
- needsApproval
203
- }?: ToolOptions) => ai.Tool<{
204
- owner: string;
205
- repo: string;
206
- pullNumber: number;
207
- mergeMethod: "merge" | "squash" | "rebase";
208
- commitTitle?: string | undefined;
209
- commitMessage?: string | undefined;
210
- }, {
211
- merged: boolean;
212
- message: string;
213
- sha: string;
214
- }>;
215
- declare const addPullRequestComment: (octokit: Octokit, {
216
- needsApproval
217
- }?: ToolOptions) => ai.Tool<{
218
- owner: string;
219
- repo: string;
220
- pullNumber: number;
221
- body: string;
222
- }, {
223
- id: number;
224
- url: string;
225
- body: string | undefined;
226
- author: string | undefined;
227
- createdAt: string;
228
- }>;
229
- //#endregion
230
- //#region src/tools/issues.d.ts
231
- declare const listIssues: (octokit: Octokit) => ai.Tool<{
232
- owner: string;
233
- repo: string;
234
- state: "open" | "closed" | "all";
235
- perPage: number;
236
- labels?: string | undefined;
237
- }, {
238
- number: number;
239
- title: string;
240
- state: string;
241
- url: string;
242
- author: string | undefined;
243
- labels: (string | undefined)[];
244
- createdAt: string;
245
- updatedAt: string;
246
- }[]>;
247
- declare const getIssue: (octokit: Octokit) => ai.Tool<{
248
- owner: string;
249
- repo: string;
250
- issueNumber: number;
251
- }, {
252
- number: number;
253
- title: string;
254
- body: string | null | undefined;
255
- state: string;
256
- url: string;
257
- author: string | undefined;
258
- assignees: string[] | undefined;
259
- labels: (string | undefined)[];
260
- comments: number;
261
- createdAt: string;
262
- updatedAt: string;
263
- closedAt: string | null;
264
- }>;
265
- declare const createIssue: (octokit: Octokit, {
266
- needsApproval
267
- }?: ToolOptions) => ai.Tool<{
268
- owner: string;
269
- repo: string;
270
- title: string;
271
- body?: string | undefined;
272
- labels?: string[] | undefined;
273
- assignees?: string[] | undefined;
274
- }, {
275
- number: number;
276
- title: string;
277
- url: string;
278
- state: string;
279
- labels: (string | undefined)[];
280
- }>;
281
- declare const addIssueComment: (octokit: Octokit, {
282
- needsApproval
283
- }?: ToolOptions) => ai.Tool<{
284
- owner: string;
285
- repo: string;
286
- issueNumber: number;
287
- body: string;
288
- }, {
289
- id: number;
290
- url: string;
291
- body: string | undefined;
292
- author: string | undefined;
293
- createdAt: string;
294
- }>;
295
- declare const closeIssue: (octokit: Octokit, {
296
- needsApproval
297
- }?: ToolOptions) => ai.Tool<{
298
- owner: string;
299
- repo: string;
300
- issueNumber: number;
301
- stateReason: "completed" | "not_planned";
302
- }, {
303
- number: number;
304
- title: string;
305
- state: string;
306
- url: string;
307
- closedAt: string | null;
308
- }>;
309
- //#endregion
310
- //#region src/tools/search.d.ts
311
- declare const searchCode: (octokit: Octokit) => ai.Tool<{
312
- query: string;
313
- perPage: number;
314
- }, {
315
- totalCount: number;
316
- items: {
317
- name: string;
318
- path: string;
319
- url: string;
320
- repository: string;
321
- sha: string;
322
- }[];
323
- }>;
324
- declare const searchRepositories: (octokit: Octokit) => ai.Tool<{
325
- query: string;
326
- perPage: number;
327
- order: "asc" | "desc";
328
- sort?: "stars" | "forks" | "help-wanted-issues" | "updated" | undefined;
329
- }, {
330
- totalCount: number;
331
- items: {
332
- name: string;
333
- fullName: string;
334
- description: string | null;
335
- url: string;
336
- stars: number;
337
- forks: number;
338
- language: string | null;
339
- topics: string[] | undefined;
340
- }[];
341
- }>;
342
- //#endregion
343
- //#region src/tools/commits.d.ts
344
- declare const listCommits: (octokit: Octokit) => ai.Tool<{
345
- owner: string;
346
- repo: string;
347
- perPage: number;
348
- path?: string | undefined;
349
- sha?: string | undefined;
350
- author?: string | undefined;
351
- since?: string | undefined;
352
- until?: string | undefined;
353
- }, {
354
- sha: string;
355
- message: string;
356
- author: string | undefined;
357
- authorLogin: string | undefined;
358
- date: string | undefined;
359
- url: string;
360
- }[]>;
361
- declare const getCommit: (octokit: Octokit) => ai.Tool<{
362
- owner: string;
363
- repo: string;
364
- ref: string;
365
- }, {
366
- sha: string;
367
- message: string;
368
- author: string | undefined;
369
- authorLogin: string | undefined;
370
- date: string | undefined;
371
- url: string;
372
- stats: {
373
- additions: number | undefined;
374
- deletions: number | undefined;
375
- total: number | undefined;
376
- } | null;
377
- files: {
378
- filename: string;
379
- status: "added" | "removed" | "modified" | "renamed" | "copied" | "changed" | "unchanged";
380
- additions: number;
381
- deletions: number;
382
- patch: string | undefined;
383
- }[] | undefined;
384
- }>;
385
- //#endregion
386
- //#region src/agents.d.ts
387
- type AgentOptions = Omit<ToolLoopAgentSettings, 'model' | 'tools' | 'instructions'>;
388
- type CreateGithubAgentOptions = AgentOptions & {
389
- model: ToolLoopAgentSettings['model'];
390
- /**
391
- * GitHub personal access token.
392
- * Falls back to `process.env.GITHUB_TOKEN` when omitted.
393
- */
394
- token?: string;
395
- preset?: GithubToolPreset | GithubToolPreset[];
396
- requireApproval?: ApprovalConfig;
397
- instructions?: string;
398
- additionalInstructions?: string;
399
- };
400
- /**
401
- * Create a pre-configured GitHub agent powered by the AI SDK's `ToolLoopAgent`.
402
- *
403
- * Returns a `ToolLoopAgent` instance with `.generate()` and `.stream()` methods.
404
- *
405
- * @example
406
- * ```ts
407
- * import { createGithubAgent } from '@github-tools/sdk'
408
- *
409
- * const agent = createGithubAgent({
410
- * model: 'anthropic/claude-sonnet-4.6',
411
- * token: process.env.GITHUB_TOKEN!,
412
- * preset: 'code-review',
413
- * })
414
- *
415
- * const result = await agent.generate({ prompt: 'Review PR #42 on vercel/ai' })
416
- * ```
417
- */
418
- declare function createGithubAgent({
419
- token,
420
- preset,
421
- requireApproval,
422
- instructions,
423
- additionalInstructions,
424
- ...agentOptions
425
- }: CreateGithubAgentOptions): ToolLoopAgent<never, {}, never>;
426
- //#endregion
427
4
  //#region src/index.d.ts
428
- type GithubWriteToolName = 'createBranch' | 'forkRepository' | 'createRepository' | 'createOrUpdateFile' | 'createPullRequest' | 'mergePullRequest' | 'addPullRequestComment' | 'createIssue' | 'addIssueComment' | 'closeIssue';
5
+ type GithubWriteToolName = 'createBranch' | 'forkRepository' | 'createRepository' | 'createOrUpdateFile' | 'createPullRequest' | 'mergePullRequest' | 'addPullRequestComment' | 'createIssue' | 'addIssueComment' | 'closeIssue' | 'createGist' | 'updateGist' | 'deleteGist' | 'createGistComment' | 'triggerWorkflow' | 'cancelWorkflowRun' | 'rerunWorkflowRun';
429
6
  /**
430
7
  * Whether write operations require user approval.
431
8
  * - `true` — all write tools need approval (default)
@@ -449,9 +26,10 @@ type ApprovalConfig = boolean | Partial<Record<GithubWriteToolName, boolean>>;
449
26
  * - `'code-review'` — Review PRs: read PRs, file content, commits, and post comments
450
27
  * - `'issue-triage'` — Triage issues: read/create/close issues, search, and comment
451
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
452
30
  * - `'maintainer'` — Full maintenance: all read + create PRs, merge, manage issues
453
31
  */
454
- type GithubToolPreset = 'code-review' | 'issue-triage' | 'repo-explorer' | 'maintainer';
32
+ type GithubToolPreset = 'code-review' | 'issue-triage' | 'repo-explorer' | 'ci-ops' | 'maintainer';
455
33
  type GithubToolsOptions = {
456
34
  /**
457
35
  * GitHub personal access token.
@@ -712,6 +290,43 @@ declare function createGithubTools({
712
290
  patch: string | undefined;
713
291
  }[] | undefined;
714
292
  }>;
293
+ getBlame: ai.Tool<{
294
+ owner: string;
295
+ repo: string;
296
+ path: string;
297
+ ref?: string | undefined;
298
+ line?: number | undefined;
299
+ lineStart?: number | undefined;
300
+ lineEnd?: number | undefined;
301
+ }, {
302
+ error: string;
303
+ ref?: undefined;
304
+ tipSha?: undefined;
305
+ path?: undefined;
306
+ rangeCount?: undefined;
307
+ ranges?: undefined;
308
+ } | {
309
+ ref: string;
310
+ tipSha: string;
311
+ path: string;
312
+ rangeCount: number;
313
+ ranges: {
314
+ startingLine: number;
315
+ endingLine: number;
316
+ age: number;
317
+ commit: {
318
+ sha: string;
319
+ abbreviatedSha: string;
320
+ messageHeadline: string;
321
+ authoredDate: string;
322
+ url: string;
323
+ authorName: string | null;
324
+ authorEmail: string | null;
325
+ authorLogin: string | null;
326
+ };
327
+ }[];
328
+ error?: undefined;
329
+ }>;
715
330
  createBranch: ai.Tool<{
716
331
  owner: string;
717
332
  repo: string;
@@ -852,8 +467,216 @@ declare function createGithubTools({
852
467
  url: string;
853
468
  closedAt: string | null;
854
469
  }>;
470
+ listGists: ai.Tool<{
471
+ perPage: number;
472
+ page: number;
473
+ username?: string | undefined;
474
+ }, {
475
+ id: string;
476
+ description: string | null;
477
+ public: boolean;
478
+ url: string;
479
+ files: string[];
480
+ owner: string | undefined;
481
+ comments: number;
482
+ createdAt: string;
483
+ updatedAt: string;
484
+ }[]>;
485
+ getGist: ai.Tool<{
486
+ gistId: string;
487
+ }, {
488
+ id: string | undefined;
489
+ description: string | null | undefined;
490
+ public: boolean | undefined;
491
+ url: string | undefined;
492
+ owner: string | undefined;
493
+ files: {
494
+ filename: string | undefined;
495
+ language: string | undefined;
496
+ size: number | undefined;
497
+ content: string | undefined;
498
+ }[];
499
+ comments: number | undefined;
500
+ createdAt: string | undefined;
501
+ updatedAt: string | undefined;
502
+ }>;
503
+ listGistComments: ai.Tool<{
504
+ gistId: string;
505
+ perPage: number;
506
+ page: number;
507
+ }, {
508
+ id: number;
509
+ body: string;
510
+ author: string | undefined;
511
+ url: string;
512
+ createdAt: string;
513
+ updatedAt: string;
514
+ }[]>;
515
+ createGist: ai.Tool<{
516
+ files: Record<string, {
517
+ content: string;
518
+ }>;
519
+ isPublic: boolean;
520
+ description?: string | undefined;
521
+ }, {
522
+ id: string | undefined;
523
+ description: string | null | undefined;
524
+ public: boolean | undefined;
525
+ url: string | undefined;
526
+ files: string[];
527
+ owner: string | undefined;
528
+ }>;
529
+ updateGist: ai.Tool<{
530
+ gistId: string;
531
+ description?: string | undefined;
532
+ files?: Record<string, {
533
+ content: string;
534
+ }> | undefined;
535
+ filesToDelete?: string[] | undefined;
536
+ }, {
537
+ id: string | undefined;
538
+ description: string | null | undefined;
539
+ url: string | undefined;
540
+ files: string[];
541
+ }>;
542
+ deleteGist: ai.Tool<{
543
+ gistId: string;
544
+ }, {
545
+ deleted: boolean;
546
+ gistId: string;
547
+ }>;
548
+ createGistComment: ai.Tool<{
549
+ gistId: string;
550
+ body: string;
551
+ }, {
552
+ id: number;
553
+ url: string;
554
+ body: string;
555
+ author: string | undefined;
556
+ createdAt: string;
557
+ }>;
558
+ listWorkflows: ai.Tool<{
559
+ owner: string;
560
+ repo: string;
561
+ perPage: number;
562
+ page: number;
563
+ }, {
564
+ totalCount: number;
565
+ workflows: {
566
+ id: number;
567
+ name: string;
568
+ path: string;
569
+ state: "active" | "deleted" | "disabled_fork" | "disabled_inactivity" | "disabled_manually";
570
+ url: string;
571
+ createdAt: string;
572
+ updatedAt: string;
573
+ }[];
574
+ }>;
575
+ listWorkflowRuns: ai.Tool<{
576
+ owner: string;
577
+ repo: string;
578
+ perPage: number;
579
+ page: number;
580
+ workflowId?: string | number | undefined;
581
+ branch?: string | undefined;
582
+ event?: string | undefined;
583
+ status?: "success" | "completed" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "stale" | "timed_out" | "in_progress" | "queued" | "requested" | "waiting" | "pending" | undefined;
584
+ }, {
585
+ totalCount: number;
586
+ runs: {
587
+ id: number;
588
+ name: string | null | undefined;
589
+ status: string | null;
590
+ conclusion: string | null;
591
+ branch: string | null;
592
+ event: string;
593
+ url: string;
594
+ actor: string | undefined;
595
+ createdAt: string;
596
+ updatedAt: string;
597
+ runNumber: number;
598
+ runAttempt: number | undefined;
599
+ }[];
600
+ }>;
601
+ getWorkflowRun: ai.Tool<{
602
+ owner: string;
603
+ repo: string;
604
+ runId: number;
605
+ }, {
606
+ id: number;
607
+ name: string | null | undefined;
608
+ status: string | null;
609
+ conclusion: string | null;
610
+ branch: string | null;
611
+ sha: string;
612
+ event: string;
613
+ url: string;
614
+ actor: string | undefined;
615
+ runNumber: number;
616
+ runAttempt: number | undefined;
617
+ createdAt: string;
618
+ updatedAt: string;
619
+ runStartedAt: string | undefined;
620
+ }>;
621
+ listWorkflowJobs: ai.Tool<{
622
+ owner: string;
623
+ repo: string;
624
+ runId: number;
625
+ filter: "all" | "latest";
626
+ perPage: number;
627
+ page: number;
628
+ }, {
629
+ totalCount: number;
630
+ jobs: {
631
+ id: number;
632
+ name: string;
633
+ status: "completed" | "in_progress" | "queued" | "requested" | "waiting" | "pending";
634
+ conclusion: "success" | "action_required" | "cancelled" | "failure" | "neutral" | "skipped" | "timed_out" | null;
635
+ url: string | null;
636
+ startedAt: string;
637
+ completedAt: string | null;
638
+ runnerName: string | null;
639
+ steps: {
640
+ name: string;
641
+ status: "completed" | "in_progress" | "queued";
642
+ conclusion: string | null;
643
+ number: number;
644
+ startedAt: string | null | undefined;
645
+ completedAt: string | null | undefined;
646
+ }[] | undefined;
647
+ }[];
648
+ }>;
649
+ triggerWorkflow: ai.Tool<{
650
+ owner: string;
651
+ repo: string;
652
+ workflowId: string | number;
653
+ ref: string;
654
+ inputs?: Record<string, string> | undefined;
655
+ }, {
656
+ triggered: boolean;
657
+ workflowId: string | number;
658
+ ref: string;
659
+ }>;
660
+ cancelWorkflowRun: ai.Tool<{
661
+ owner: string;
662
+ repo: string;
663
+ runId: number;
664
+ }, {
665
+ cancelled: boolean;
666
+ runId: number;
667
+ }>;
668
+ rerunWorkflowRun: ai.Tool<{
669
+ owner: string;
670
+ repo: string;
671
+ runId: number;
672
+ onlyFailedJobs: boolean;
673
+ }, {
674
+ rerun: boolean;
675
+ runId: number;
676
+ onlyFailedJobs: boolean;
677
+ }>;
855
678
  }>;
856
679
  type GithubTools = ReturnType<typeof createGithubTools>;
857
680
  //#endregion
858
- export { ApprovalConfig, type CreateGithubAgentOptions, GithubToolPreset, GithubTools, GithubToolsOptions, GithubWriteToolName, type Octokit, type ToolOptions, addIssueComment, addPullRequestComment, closeIssue, createBranch, createGithubAgent, createGithubTools, createIssue, createOctokit, createOrUpdateFile, createPullRequest, createRepository, forkRepository, getCommit, getFileContent, getIssue, getPullRequest, getRepository, listBranches, listCommits, listIssues, listPullRequests, mergePullRequest, searchCode, searchRepositories };
681
+ export { ApprovalConfig, type CreateGithubAgentOptions, GithubToolPreset, GithubTools, GithubToolsOptions, GithubWriteToolName, type Octokit, type ToolOptions, addIssueComment, addPullRequestComment, cancelWorkflowRun, closeIssue, createBranch, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createOctokit, createOrUpdateFile, createPullRequest, createRepository, deleteGist, forkRepository, getBlame, getCommit, getFileContent, getGist, getIssue, getPullRequest, getRepository, getWorkflowRun, listBranches, listCommits, listGistComments, listGists, listIssues, listPullRequests, listWorkflowJobs, listWorkflowRuns, listWorkflows, mergePullRequest, rerunWorkflowRun, searchCode, searchRepositories, triggerWorkflow, updateGist };
859
682
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/client.ts","../src/types.ts","../src/tools/repository.ts","../src/tools/pull-requests.ts","../src/tools/issues.ts","../src/tools/search.ts","../src/tools/commits.ts","../src/agents.ts","../src/index.ts"],"mappings":";;;;;iBAEgB,aAAA,CAAc,KAAA,WAAgB,SAAA;;;KCAlC,WAAA;EAAgB,aAAA;AAAA;;;cCEf,aAAA,GAAiB,OAAA,EAAS,OAAA,KAAO,EAAA,CAAA,IAAA;;;;;;;;;;;;;;;;;cA0BjC,YAAA,GAAgB,OAAA,EAAS,OAAA,KAAO,EAAA,CAAA,IAAA;;;;;;;;;cAkBhC,cAAA,GAAkB,OAAA,EAAS,OAAA,KAAO,EAAA,CAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BlC,YAAA,GAAgB,OAAA,EAAS,OAAA;EAAS;AAAA,IAA0B,WAAA,KAAgB,EAAA,CAAA,IAAA;;;;;;;;;;cAkC5E,cAAA,GAAkB,OAAA,EAAS,OAAA;EAAS;AAAA,IAA0B,WAAA,KAAgB,EAAA,CAAA,IAAA;;;;;;;;;;;;;;;;;;cA8B9E,gBAAA,GAAoB,OAAA,EAAS,OAAA;EAAS;AAAA,IAA0B,WAAA,KAAgB,EAAA,CAAA,IAAA;;;;;;;;;;;;;;;;;;;cAyChF,kBAAA,GAAsB,OAAA,EAAS,OAAA;EAAS;AAAA,IAA0B,WAAA,KAAgB,EAAA,CAAA,IAAA;;;;;;;;;;;;;;;;cCjLlF,gBAAA,GAAoB,OAAA,EAAS,OAAA,KAAO,EAAA,CAAA,IAAA;;;;;;;;;;;;;;;;;cA0BpC,c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