@github-tools/sdk 1.15.0 → 1.16.1

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 (40) hide show
  1. package/README.md +8 -0
  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 +11 -11
  6. package/dist/connect.d.mts.map +1 -1
  7. package/dist/connect.mjs +2 -2
  8. package/dist/{eve-runtime-D1v4C0UP.d.mts → eve-runtime-BnWUzXdV.d.mts} +4 -4
  9. package/dist/{eve-runtime-D1v4C0UP.d.mts.map → eve-runtime-BnWUzXdV.d.mts.map} +1 -1
  10. package/dist/{eve-runtime-BdolQrBF.mjs → eve-runtime-Cfyy1tzp.mjs} +3 -2
  11. package/dist/eve-runtime-Cfyy1tzp.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-PqQNoVuw.d.mts → index-JH3DVh1R.d.mts} +115 -3
  18. package/dist/index-JH3DVh1R.d.mts.map +1 -0
  19. package/dist/index.d.mts +3 -3
  20. package/dist/index.mjs +3 -3
  21. package/dist/{src-D9WxaIVj.mjs → src-C54blWpT.mjs} +2 -2
  22. package/dist/{src-D9WxaIVj.mjs.map → src-C54blWpT.mjs.map} +1 -1
  23. package/dist/{token-B7uiRRTI.mjs → token-Iop2lapd.mjs} +55 -4
  24. package/dist/{token-B7uiRRTI.mjs.map → token-Iop2lapd.mjs.map} +1 -1
  25. package/dist/{tool-types-DbZpOYFG.d.mts → tool-types-BsfalcyC.d.mts} +878 -27
  26. package/dist/tool-types-BsfalcyC.d.mts.map +1 -0
  27. package/dist/{types-CCoH12WC.d.mts → types-BKXTeCqT.d.mts} +2 -2
  28. package/dist/{types-CCoH12WC.d.mts.map → types-BKXTeCqT.d.mts.map} +1 -1
  29. package/dist/{types-v39VrZ-m.d.mts → types-ve9shBaf.d.mts} +3 -3
  30. package/dist/{types-v39VrZ-m.d.mts.map → types-ve9shBaf.d.mts.map} +1 -1
  31. package/dist/workflow.d.mts +9 -9
  32. package/dist/workflow.d.mts.map +1 -1
  33. package/dist/workflow.mjs +2 -2
  34. package/dist/{write-tools-Ct0ZV87Z.mjs → write-tools-BvuWAzwo.mjs} +154 -14
  35. package/dist/write-tools-BvuWAzwo.mjs.map +1 -0
  36. package/package.json +14 -13
  37. package/dist/eve-runtime-BdolQrBF.mjs.map +0 -1
  38. package/dist/index-PqQNoVuw.d.mts.map +0 -1
  39. package/dist/tool-types-DbZpOYFG.d.mts.map +0 -1
  40. package/dist/write-tools-Ct0ZV87Z.mjs.map +0 -1
@@ -1,10 +1,27 @@
1
1
  import { Tool } from "ai";
2
2
  import { z } from "zod";
3
3
  import { Octokit as Octokit$1 } from "octokit";
4
+ //#endregion
4
5
  //#region src/core/detail.d.ts
5
6
  type DetailLevel = 'summary' | 'full';
6
- //#endregion
7
- //#region src/core/bundles.d.ts
7
+ declare namespace bundles_d_exports {
8
+ export { getCiFailureContextCore, getCiFailureContextDescription, getCiFailureContextInputSchema, getIssueContextCore, getIssueContextDescription, getIssueContextInputSchema, getPullRequestContextCore, getPullRequestContextDescription, getPullRequestContextInputSchema, getReleaseContextCore, getReleaseContextDescription, getReleaseContextInputSchema };
9
+ }
10
+ declare const getPullRequestContextInputSchema: z.ZodObject<{
11
+ owner: z.ZodString;
12
+ repo: z.ZodString;
13
+ pullNumber: z.ZodNumber;
14
+ includeFiles: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15
+ includeReviews: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16
+ includeChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17
+ includePatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18
+ filesPerPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
19
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
20
+ summary: "summary";
21
+ full: "full";
22
+ }>>>;
23
+ }, z.core.$strip>;
24
+ declare const getPullRequestContextDescription = "Fetch pull request details plus files, reviews, and optional CI checks in one call — prefer this over separate getPullRequest / listPullRequestFiles / listPullRequestReviews calls. filesHasMore / reviewsHasMore mean more pages exist on those lists.";
8
25
  declare function getPullRequestContextCore({ token, owner, repo, pullNumber, includeFiles, includeReviews, includeChecks, includePatch, filesPerPage, detail }: {
9
26
  token: string;
10
27
  owner: string;
@@ -84,6 +101,19 @@ declare function getPullRequestContextCore({ token, owner, repo, pullNumber, inc
84
101
  mergedAt: string | null;
85
102
  };
86
103
  }>;
104
+ declare const getIssueContextInputSchema: z.ZodObject<{
105
+ owner: z.ZodString;
106
+ repo: z.ZodString;
107
+ issueNumber: z.ZodNumber;
108
+ includeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
109
+ includeComments: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
110
+ maxComments: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
111
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
112
+ summary: "summary";
113
+ full: "full";
114
+ }>>>;
115
+ }, z.core.$strip>;
116
+ declare const getIssueContextDescription = "Fetch an issue plus available label names and recent comments in one call — prefer this over separate getIssue / listLabels / comment calls when triaging. Call once; do not re-fetch the same issue. commentsHasMore means more comments exist — use listIssueComments with nextPage.";
87
117
  declare function getIssueContextCore({ token, owner, repo, issueNumber, includeLabels, includeComments, maxComments, detail }: {
88
118
  token: string;
89
119
  owner: string;
@@ -119,6 +149,18 @@ declare function getIssueContextCore({ token, owner, repo, issueNumber, includeL
119
149
  closedAt: string | null;
120
150
  };
121
151
  }>;
152
+ declare const getReleaseContextInputSchema: z.ZodObject<{
153
+ owner: z.ZodString;
154
+ repo: z.ZodString;
155
+ releaseId: z.ZodOptional<z.ZodNumber>;
156
+ includePrevious: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
157
+ includeCompare: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
158
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
159
+ summary: "summary";
160
+ full: "full";
161
+ }>>>;
162
+ }, z.core.$strip>;
163
+ declare const getReleaseContextDescription = "Fetch a release (latest or by ID) plus the previous release and tag comparison in one call — prefer this when preparing or reviewing a release";
122
164
  declare function getReleaseContextCore({ token, owner, repo, releaseId, includePrevious, includeCompare, detail }: {
123
165
  token: string;
124
166
  owner: string;
@@ -177,6 +219,14 @@ declare function getReleaseContextCore({ token, owner, repo, releaseId, includeP
177
219
  }[];
178
220
  };
179
221
  }>;
222
+ declare const getCiFailureContextInputSchema: z.ZodObject<{
223
+ owner: z.ZodString;
224
+ repo: z.ZodString;
225
+ ref: z.ZodString;
226
+ maxFailedRuns: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
227
+ maxFailedJobs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
228
+ }, z.core.$strip>;
229
+ declare const getCiFailureContextDescription = "Diagnose CI failures for a ref in one call — combined status, failing check runs, recent failed workflow runs, and failed jobs/steps from the latest failure";
180
230
  declare function getCiFailureContextCore({ token, owner, repo, ref, maxFailedRuns, maxFailedJobs }: {
181
231
  token: string;
182
232
  owner: string;
@@ -254,8 +304,18 @@ declare function getCiFailureContextCore({ token, owner, repo, ref, maxFailedRun
254
304
  runAttempt: number | undefined;
255
305
  }[];
256
306
  }>;
257
- //#endregion
258
- //#region src/core/checks.d.ts
307
+ declare namespace checks_d_exports {
308
+ export { getCombinedStatusCore, getCombinedStatusDescription, getCombinedStatusInputSchema, listCheckRunsCore, listCheckRunsDescription, listCheckRunsInputSchema };
309
+ }
310
+ declare const listCheckRunsInputSchema: z.ZodObject<{
311
+ owner: z.ZodString;
312
+ repo: z.ZodString;
313
+ ref: z.ZodString;
314
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
315
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
316
+ maxPages: z.ZodOptional<z.ZodNumber>;
317
+ }, z.core.$strip>;
318
+ declare const listCheckRunsDescription = "List check runs (Checks API — GitHub Actions and other CI providers) for a commit, branch, or tag. When hasMore, pass nextPage or raise maxPages — do not repeat the same call.";
259
319
  declare function listCheckRunsCore({ token, owner, repo, ref, perPage, page, maxPages }: {
260
320
  token: string;
261
321
  owner: string;
@@ -280,6 +340,12 @@ declare function listCheckRunsCore({ token, owner, repo, ref, perPage, page, max
280
340
  completedAt: string | null;
281
341
  }[];
282
342
  }>;
343
+ declare const getCombinedStatusInputSchema: z.ZodObject<{
344
+ owner: z.ZodString;
345
+ repo: z.ZodString;
346
+ ref: z.ZodString;
347
+ }, z.core.$strip>;
348
+ declare const getCombinedStatusDescription = "Get the combined commit status (Statuses API — legacy CI integrations) for a commit, branch, or tag";
283
349
  declare function getCombinedStatusCore({ token, owner, repo, ref }: {
284
350
  token: string;
285
351
  owner: string;
@@ -306,8 +372,23 @@ type PagingFields = {
306
372
  type PagedList<T> = {
307
373
  items: T[];
308
374
  } & PagingFields;
309
- //#endregion
310
- //#region src/core/commits.d.ts
375
+ declare namespace commits_d_exports {
376
+ export { BLAME_QUERY, compareCommitsCore, compareCommitsDescription, compareCommitsInputSchema, getBlameCore, getBlameDescription, getBlameInputSchema, getCommitCore, getCommitDescription, getCommitInputSchema, listCommitsCore, listCommitsDescription, listCommitsInputSchema };
377
+ }
378
+ declare const BLAME_QUERY = "\n query ($owner: String!, $name: String!, $expression: String!, $path: String!) {\n repository(owner: $owner, name: $name) {\n object(expression: $expression) {\n ... on Commit {\n oid\n blame(path: $path) {\n ranges {\n startingLine\n endingLine\n age\n commit {\n oid\n abbreviatedOid\n messageHeadline\n authoredDate\n url\n author {\n name\n email\n user {\n login\n }\n }\n }\n }\n }\n }\n }\n }\n }\n";
379
+ declare const listCommitsInputSchema: z.ZodObject<{
380
+ owner: z.ZodString;
381
+ repo: z.ZodString;
382
+ path: z.ZodOptional<z.ZodString>;
383
+ sha: z.ZodOptional<z.ZodString>;
384
+ author: z.ZodOptional<z.ZodString>;
385
+ since: z.ZodOptional<z.ZodString>;
386
+ until: z.ZodOptional<z.ZodString>;
387
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
388
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
389
+ maxPages: z.ZodOptional<z.ZodNumber>;
390
+ }, z.core.$strip>;
391
+ declare const listCommitsDescription = "List commits for a GitHub repository. Filter with path, author, since, or until instead of paging the full history. When hasMore, pass nextPage or raise maxPages — do not repeat the same call. For line-by-line attribution, use getBlame.";
311
392
  declare function listCommitsCore({ token, owner, repo, path, sha, author, since, until, perPage, page, maxPages }: {
312
393
  token: string;
313
394
  owner: string;
@@ -328,6 +409,13 @@ declare function listCommitsCore({ token, owner, repo, path, sha, author, since,
328
409
  date: string | undefined;
329
410
  url: string;
330
411
  }>>;
412
+ declare const getCommitInputSchema: z.ZodObject<{
413
+ owner: z.ZodString;
414
+ repo: z.ZodString;
415
+ ref: z.ZodString;
416
+ includePatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
417
+ }, z.core.$strip>;
418
+ declare const getCommitDescription = "Get detailed information about a specific commit, including the list of files changed with additions and deletions. Patches are omitted by default — set includePatch true to include diffs";
331
419
  declare function getCommitCore({ token, owner, repo, ref, includePatch }: {
332
420
  token: string;
333
421
  owner: string;
@@ -354,6 +442,16 @@ declare function getCommitCore({ token, owner, repo, ref, includePatch }: {
354
442
  deletions: number;
355
443
  }[] | undefined;
356
444
  }>;
445
+ declare const getBlameInputSchema: z.ZodObject<{
446
+ owner: z.ZodString;
447
+ repo: z.ZodString;
448
+ path: z.ZodString;
449
+ ref: z.ZodOptional<z.ZodString>;
450
+ line: z.ZodOptional<z.ZodNumber>;
451
+ lineStart: z.ZodOptional<z.ZodNumber>;
452
+ lineEnd: z.ZodOptional<z.ZodNumber>;
453
+ }, z.core.$strip>;
454
+ declare const getBlameDescription = "Line-level git blame for a file at a commit-like ref (branch, tag, or SHA). Returns contiguous ranges mapping lines to the commits that last modified them — use this to see who introduced a line and when (GitHub GraphQL API).";
357
455
  declare function getBlameCore({ token, owner, repo, path, ref, line, lineStart, lineEnd }: {
358
456
  token: string;
359
457
  owner: string;
@@ -392,6 +490,14 @@ declare function getBlameCore({ token, owner, repo, path, ref, line, lineStart,
392
490
  }[];
393
491
  error?: undefined;
394
492
  }>;
493
+ declare const compareCommitsInputSchema: z.ZodObject<{
494
+ owner: z.ZodString;
495
+ repo: z.ZodString;
496
+ base: z.ZodString;
497
+ head: z.ZodString;
498
+ includePatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
499
+ }, z.core.$strip>;
500
+ declare const compareCommitsDescription = "Compare two branches, tags, or commits — shows ahead/behind counts, the commits in between, and the files that differ. Patches are omitted by default — set includePatch true to include diffs";
395
501
  declare function compareCommitsCore({ token, owner, repo, base, head, includePatch }: {
396
502
  token: string;
397
503
  owner: string;
@@ -419,8 +525,22 @@ declare function compareCommitsCore({ token, owner, repo, base, head, includePat
419
525
  deletions: number;
420
526
  }[] | undefined;
421
527
  }>;
422
- //#endregion
423
- //#region src/core/discussions.d.ts
528
+ declare namespace discussions_d_exports {
529
+ export { ADD_DISCUSSION_COMMENT_MUTATION, DISCUSSION_CATEGORIES_QUERY, DISCUSSION_ID_QUERY, GET_DISCUSSION_QUERY, LIST_DISCUSSIONS_QUERY, addDiscussionCommentCore, addDiscussionCommentDescription, addDiscussionCommentInputSchema, getDiscussionCore, getDiscussionDescription, getDiscussionInputSchema, listDiscussionsCore, listDiscussionsDescription, listDiscussionsInputSchema };
530
+ }
531
+ declare const DISCUSSION_CATEGORIES_QUERY = "\n query ($owner: String!, $name: String!) {\n repository(owner: $owner, name: $name) {\n discussionCategories(first: 100) {\n nodes {\n id\n name\n }\n }\n }\n }\n";
532
+ declare const LIST_DISCUSSIONS_QUERY = "\n query ($owner: String!, $name: String!, $first: Int!, $after: String, $categoryId: ID) {\n repository(owner: $owner, name: $name) {\n discussions(first: $first, after: $after, categoryId: $categoryId, orderBy: { field: UPDATED_AT, direction: DESC }) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n id\n number\n title\n url\n createdAt\n updatedAt\n isAnswered\n author {\n login\n }\n category {\n name\n }\n }\n }\n }\n }\n";
533
+ declare const GET_DISCUSSION_QUERY = "\n query ($owner: String!, $name: String!, $number: Int!) {\n repository(owner: $owner, name: $name) {\n discussion(number: $number) {\n id\n number\n title\n body\n url\n createdAt\n updatedAt\n isAnswered\n author {\n login\n }\n category {\n name\n }\n comments {\n totalCount\n }\n }\n }\n }\n";
534
+ declare const DISCUSSION_ID_QUERY = "\n query ($owner: String!, $name: String!, $number: Int!) {\n repository(owner: $owner, name: $name) {\n discussion(number: $number) {\n id\n }\n }\n }\n";
535
+ declare const ADD_DISCUSSION_COMMENT_MUTATION = "\n mutation ($discussionId: ID!, $body: String!) {\n addDiscussionComment(input: { discussionId: $discussionId, body: $body }) {\n comment {\n id\n url\n body\n createdAt\n author {\n login\n }\n }\n }\n }\n";
536
+ declare const listDiscussionsInputSchema: z.ZodObject<{
537
+ owner: z.ZodString;
538
+ repo: z.ZodString;
539
+ category: z.ZodOptional<z.ZodString>;
540
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
541
+ after: z.ZodOptional<z.ZodString>;
542
+ }, z.core.$strip>;
543
+ declare const listDiscussionsDescription = "List discussions in a GitHub repository, most recently updated first, optionally filtered by category (GitHub GraphQL API)";
424
544
  declare function listDiscussionsCore({ token, owner, repo, category, perPage, after }: {
425
545
  token: string;
426
546
  owner: string;
@@ -449,6 +569,16 @@ declare function listDiscussionsCore({ token, owner, repo, category, perPage, af
449
569
  }[];
450
570
  error?: undefined;
451
571
  }>;
572
+ declare const getDiscussionInputSchema: z.ZodObject<{
573
+ owner: z.ZodString;
574
+ repo: z.ZodString;
575
+ discussionNumber: z.ZodNumber;
576
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
577
+ summary: "summary";
578
+ full: "full";
579
+ }>>>;
580
+ }, z.core.$strip>;
581
+ declare const getDiscussionDescription = "Get a GitHub discussion by number. Body is truncated by default (detail: summary) — set detail full for the complete text (GitHub GraphQL API)";
452
582
  declare function getDiscussionCore({ token, owner, repo, discussionNumber, detail }: {
453
583
  token: string;
454
584
  owner: string;
@@ -482,6 +612,13 @@ declare function getDiscussionCore({ token, owner, repo, discussionNumber, detai
482
612
  updatedAt: string;
483
613
  error?: undefined;
484
614
  }>;
615
+ declare const addDiscussionCommentInputSchema: z.ZodObject<{
616
+ owner: z.ZodString;
617
+ repo: z.ZodString;
618
+ discussionNumber: z.ZodNumber;
619
+ body: z.ZodString;
620
+ }, z.core.$strip>;
621
+ declare const addDiscussionCommentDescription = "Add a comment to a GitHub discussion (GitHub GraphQL API)";
485
622
  /** Not idempotent — each call adds another comment. */
486
623
  declare function addDiscussionCommentCore({ token, owner, repo, discussionNumber, body }: {
487
624
  token: string;
@@ -504,8 +641,15 @@ declare function addDiscussionCommentCore({ token, owner, repo, discussionNumber
504
641
  createdAt: string;
505
642
  error?: undefined;
506
643
  }>;
507
- //#endregion
508
- //#region src/core/gists.d.ts
644
+ declare namespace gists_d_exports {
645
+ export { createGistCommentCore, createGistCommentDescription, createGistCommentInputSchema, createGistCore, createGistDescription, createGistInputSchema, deleteGistCore, deleteGistDescription, deleteGistInputSchema, getGistCore, getGistDescription, getGistInputSchema, listGistCommentsCore, listGistCommentsDescription, listGistCommentsInputSchema, listGistsCore, listGistsDescription, listGistsInputSchema, updateGistCore, updateGistDescription, updateGistInputSchema };
646
+ }
647
+ declare const listGistsInputSchema: z.ZodObject<{
648
+ username: z.ZodOptional<z.ZodString>;
649
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
650
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
651
+ }, z.core.$strip>;
652
+ declare const listGistsDescription = "List gists for the authenticated user or a specific user. When hasMore, pass nextPage — do not repeat the same call.";
509
653
  declare function listGistsCore({ token, username, perPage, page }: {
510
654
  token: string;
511
655
  username?: string;
@@ -522,6 +666,10 @@ declare function listGistsCore({ token, username, perPage, page }: {
522
666
  createdAt: string;
523
667
  updatedAt: string;
524
668
  }>>;
669
+ declare const getGistInputSchema: z.ZodObject<{
670
+ gistId: z.ZodString;
671
+ }, z.core.$strip>;
672
+ declare const getGistDescription = "Get a gist by ID, including file contents";
525
673
  declare function getGistCore({ token, gistId }: {
526
674
  token: string;
527
675
  gistId: string;
@@ -541,6 +689,12 @@ declare function getGistCore({ token, gistId }: {
541
689
  createdAt: string | undefined;
542
690
  updatedAt: string | undefined;
543
691
  }>;
692
+ declare const listGistCommentsInputSchema: z.ZodObject<{
693
+ gistId: z.ZodString;
694
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
695
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
696
+ }, z.core.$strip>;
697
+ declare const listGistCommentsDescription = "List comments on a gist. When hasMore, pass nextPage — do not repeat the same call.";
544
698
  declare function listGistCommentsCore({ token, gistId, perPage, page }: {
545
699
  token: string;
546
700
  gistId: string;
@@ -554,6 +708,14 @@ declare function listGistCommentsCore({ token, gistId, perPage, page }: {
554
708
  createdAt: string;
555
709
  updatedAt: string;
556
710
  }>>;
711
+ declare const createGistInputSchema: z.ZodObject<{
712
+ description: z.ZodOptional<z.ZodString>;
713
+ files: z.ZodRecord<z.ZodString, z.ZodObject<{
714
+ content: z.ZodString;
715
+ }, z.core.$strip>>;
716
+ isPublic: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
717
+ }, z.core.$strip>;
718
+ declare const createGistDescription = "Create a new gist with one or more files";
557
719
  /** Not idempotent — each call creates a new gist. */
558
720
  declare function createGistCore({ token, description, files, isPublic }: {
559
721
  token: string;
@@ -570,6 +732,15 @@ declare function createGistCore({ token, description, files, isPublic }: {
570
732
  files: string[];
571
733
  owner: string | undefined;
572
734
  }>;
735
+ declare const updateGistInputSchema: z.ZodObject<{
736
+ gistId: z.ZodString;
737
+ description: z.ZodOptional<z.ZodString>;
738
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
739
+ content: z.ZodString;
740
+ }, z.core.$strip>>>;
741
+ filesToDelete: z.ZodOptional<z.ZodArray<z.ZodString>>;
742
+ }, z.core.$strip>;
743
+ declare const updateGistDescription = "Update an existing gist — edit description, update files, or remove files";
573
744
  /** Not idempotent — each call applies a new revision. */
574
745
  declare function updateGistCore({ token, gistId, description, files, filesToDelete }: {
575
746
  token: string;
@@ -585,6 +756,10 @@ declare function updateGistCore({ token, gistId, description, files, filesToDele
585
756
  url: string | undefined;
586
757
  files: string[];
587
758
  }>;
759
+ declare const deleteGistInputSchema: z.ZodObject<{
760
+ gistId: z.ZodString;
761
+ }, z.core.$strip>;
762
+ declare const deleteGistDescription = "Delete a gist permanently";
588
763
  /** Not idempotent — deleting an already-deleted gist returns 404 from GitHub. */
589
764
  declare function deleteGistCore({ token, gistId }: {
590
765
  token: string;
@@ -593,6 +768,11 @@ declare function deleteGistCore({ token, gistId }: {
593
768
  deleted: boolean;
594
769
  gistId: string;
595
770
  }>;
771
+ declare const createGistCommentInputSchema: z.ZodObject<{
772
+ gistId: z.ZodString;
773
+ body: z.ZodString;
774
+ }, z.core.$strip>;
775
+ declare const createGistCommentDescription = "Add a comment to a gist";
596
776
  /** Not idempotent — each call adds another comment. */
597
777
  declare function createGistCommentCore({ token, gistId, body }: {
598
778
  token: string;
@@ -605,8 +785,23 @@ declare function createGistCommentCore({ token, gistId, body }: {
605
785
  author: string | undefined;
606
786
  createdAt: string;
607
787
  }>;
608
- //#endregion
609
- //#region src/core/issues.d.ts
788
+ declare namespace issues_d_exports {
789
+ export { addAssigneesCore, addAssigneesDescription, addAssigneesInputSchema, addIssueCommentCore, addIssueCommentDescription, addIssueCommentInputSchema, addLabelsCore, addLabelsDescription, addLabelsInputSchema, closeIssueCore, closeIssueDescription, closeIssueInputSchema, createIssueCore, createIssueDescription, createIssueInputSchema, createLabelCore, createLabelDescription, createLabelInputSchema, deleteIssueCommentCore, deleteIssueCommentDescription, deleteIssueCommentInputSchema, deleteLabelCore, deleteLabelDescription, deleteLabelInputSchema, getIssueCore, getIssueDescription, getIssueInputSchema, listIssueCommentsCore, listIssueCommentsDescription, listIssueCommentsInputSchema, listIssuesCore, listIssuesDescription, listIssuesInputSchema, listLabelsCore, listLabelsDescription, listLabelsInputSchema, removeAssigneesCore, removeAssigneesDescription, removeAssigneesInputSchema, removeLabelCore, removeLabelDescription, removeLabelInputSchema, updateIssueCommentCore, updateIssueCommentDescription, updateIssueCommentInputSchema, updateIssueCore, updateIssueDescription, updateIssueInputSchema, updateLabelCore, updateLabelDescription, updateLabelInputSchema };
790
+ }
791
+ declare const listIssuesInputSchema: z.ZodObject<{
792
+ owner: z.ZodString;
793
+ repo: z.ZodString;
794
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
795
+ open: "open";
796
+ closed: "closed";
797
+ all: "all";
798
+ }>>>;
799
+ labels: z.ZodOptional<z.ZodString>;
800
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
801
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
802
+ maxPages: z.ZodOptional<z.ZodNumber>;
803
+ }, z.core.$strip>;
804
+ declare const listIssuesDescription = "List issues for a GitHub repository (excludes pull requests). When hasMore, pass nextPage or raise maxPages — do not repeat the same call.";
610
805
  declare function listIssuesCore({ token, owner, repo, state, labels, perPage, page, maxPages }: {
611
806
  token: string;
612
807
  owner: string;
@@ -626,6 +821,16 @@ declare function listIssuesCore({ token, owner, repo, state, labels, perPage, pa
626
821
  createdAt: string;
627
822
  updatedAt: string;
628
823
  }>>;
824
+ declare const getIssueInputSchema: z.ZodObject<{
825
+ owner: z.ZodString;
826
+ repo: z.ZodString;
827
+ issueNumber: z.ZodNumber;
828
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
829
+ summary: "summary";
830
+ full: "full";
831
+ }>>>;
832
+ }, z.core.$strip>;
833
+ declare const getIssueDescription = "Get detailed information about a specific issue. Body is truncated by default (detail: summary) — set detail full for the complete description";
629
834
  declare function getIssueCore({ token, owner, repo, issueNumber, detail }: {
630
835
  token: string;
631
836
  owner: string;
@@ -646,6 +851,18 @@ declare function getIssueCore({ token, owner, repo, issueNumber, detail }: {
646
851
  updatedAt: string;
647
852
  closedAt: string | null;
648
853
  }>;
854
+ declare const listIssueCommentsInputSchema: z.ZodObject<{
855
+ owner: z.ZodString;
856
+ repo: z.ZodString;
857
+ issueNumber: z.ZodNumber;
858
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
859
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
860
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
861
+ summary: "summary";
862
+ full: "full";
863
+ }>>>;
864
+ }, z.core.$strip>;
865
+ declare const listIssueCommentsDescription = "List comments on a GitHub issue. Bodies are truncated by default (detail: summary). When hasMore, pass nextPage — do not repeat the same call.";
649
866
  declare function listIssueCommentsCore({ token, owner, repo, issueNumber, perPage, page, detail }: {
650
867
  token: string;
651
868
  owner: string;
@@ -662,6 +879,15 @@ declare function listIssueCommentsCore({ token, owner, repo, issueNumber, perPag
662
879
  createdAt: string;
663
880
  updatedAt: string;
664
881
  }>>;
882
+ declare const createIssueInputSchema: z.ZodObject<{
883
+ owner: z.ZodString;
884
+ repo: z.ZodString;
885
+ title: z.ZodString;
886
+ body: z.ZodOptional<z.ZodString>;
887
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
888
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
889
+ }, z.core.$strip>;
890
+ declare const createIssueDescription = "Create a new issue in a GitHub repository";
665
891
  /** Not idempotent — each call creates a new issue. */
666
892
  declare function createIssueCore({ token, owner, repo, title, body, labels, assignees }: {
667
893
  token: string;
@@ -678,6 +904,13 @@ declare function createIssueCore({ token, owner, repo, title, body, labels, assi
678
904
  state: string;
679
905
  labels: (string | undefined)[];
680
906
  }>;
907
+ declare const addIssueCommentInputSchema: z.ZodObject<{
908
+ owner: z.ZodString;
909
+ repo: z.ZodString;
910
+ issueNumber: z.ZodNumber;
911
+ body: z.ZodString;
912
+ }, z.core.$strip>;
913
+ declare const addIssueCommentDescription = "Add a comment to a GitHub issue";
681
914
  /** Not idempotent — each call adds another comment. */
682
915
  declare function addIssueCommentCore({ token, owner, repo, issueNumber, body }: {
683
916
  token: string;
@@ -692,6 +925,16 @@ declare function addIssueCommentCore({ token, owner, repo, issueNumber, body }:
692
925
  author: string | undefined;
693
926
  createdAt: string;
694
927
  }>;
928
+ declare const closeIssueInputSchema: z.ZodObject<{
929
+ owner: z.ZodString;
930
+ repo: z.ZodString;
931
+ issueNumber: z.ZodNumber;
932
+ stateReason: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
933
+ completed: "completed";
934
+ not_planned: "not_planned";
935
+ }>>>;
936
+ }, z.core.$strip>;
937
+ declare const closeIssueDescription = "Close an open GitHub issue";
695
938
  /** Idempotent when the issue is already closed. */
696
939
  declare function closeIssueCore({ token, owner, repo, issueNumber, stateReason }: {
697
940
  token: string;
@@ -706,6 +949,26 @@ declare function closeIssueCore({ token, owner, repo, issueNumber, stateReason }
706
949
  url: string;
707
950
  closedAt: string | null;
708
951
  }>;
952
+ declare const updateIssueInputSchema: z.ZodObject<{
953
+ owner: z.ZodString;
954
+ repo: z.ZodString;
955
+ issueNumber: z.ZodNumber;
956
+ title: z.ZodOptional<z.ZodString>;
957
+ body: z.ZodOptional<z.ZodString>;
958
+ state: z.ZodOptional<z.ZodEnum<{
959
+ open: "open";
960
+ closed: "closed";
961
+ }>>;
962
+ stateReason: z.ZodOptional<z.ZodEnum<{
963
+ completed: "completed";
964
+ not_planned: "not_planned";
965
+ reopened: "reopened";
966
+ }>>;
967
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
968
+ milestone: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
969
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
970
+ }, z.core.$strip>;
971
+ declare const updateIssueDescription = "Update a GitHub issue — title, body, labels, milestone, or assignees. Set state open to reopen a closed issue, or closed to close it";
709
972
  /** Not idempotent — each call applies a new revision. */
710
973
  declare function updateIssueCore({ token, owner, repo, issueNumber, title, body, state, stateReason, labels, milestone, assignees }: {
711
974
  token: string;
@@ -730,6 +993,13 @@ declare function updateIssueCore({ token, owner, repo, issueNumber, title, body,
730
993
  closedAt: string | null;
731
994
  updatedAt: string;
732
995
  }>;
996
+ declare const updateIssueCommentInputSchema: z.ZodObject<{
997
+ owner: z.ZodString;
998
+ repo: z.ZodString;
999
+ commentId: z.ZodNumber;
1000
+ body: z.ZodString;
1001
+ }, z.core.$strip>;
1002
+ declare const updateIssueCommentDescription = "Update the body of a comment on a GitHub issue";
733
1003
  /** Not idempotent — each call applies a new revision. */
734
1004
  declare function updateIssueCommentCore({ token, owner, repo, commentId, body }: {
735
1005
  token: string;
@@ -743,6 +1013,12 @@ declare function updateIssueCommentCore({ token, owner, repo, commentId, body }:
743
1013
  body: string | undefined;
744
1014
  updatedAt: string;
745
1015
  }>;
1016
+ declare const deleteIssueCommentInputSchema: z.ZodObject<{
1017
+ owner: z.ZodString;
1018
+ repo: z.ZodString;
1019
+ commentId: z.ZodNumber;
1020
+ }, z.core.$strip>;
1021
+ declare const deleteIssueCommentDescription = "Delete a comment from a GitHub issue permanently";
746
1022
  /** Not idempotent — deleting an already-deleted comment returns 404 from GitHub. */
747
1023
  declare function deleteIssueCommentCore({ token, owner, repo, commentId }: {
748
1024
  token: string;
@@ -753,6 +1029,13 @@ declare function deleteIssueCommentCore({ token, owner, repo, commentId }: {
753
1029
  deleted: boolean;
754
1030
  commentId: number;
755
1031
  }>;
1032
+ declare const listLabelsInputSchema: z.ZodObject<{
1033
+ owner: z.ZodString;
1034
+ repo: z.ZodString;
1035
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1036
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1037
+ }, z.core.$strip>;
1038
+ declare const listLabelsDescription = "List labels available in a GitHub repository. When hasMore, pass nextPage — do not repeat the same call.";
756
1039
  declare function listLabelsCore({ token, owner, repo, perPage, page }: {
757
1040
  token: string;
758
1041
  owner: string;
@@ -764,6 +1047,13 @@ declare function listLabelsCore({ token, owner, repo, perPage, page }: {
764
1047
  color: string;
765
1048
  description: string | null;
766
1049
  }>>;
1050
+ declare const addLabelsInputSchema: z.ZodObject<{
1051
+ owner: z.ZodString;
1052
+ repo: z.ZodString;
1053
+ issueNumber: z.ZodNumber;
1054
+ labels: z.ZodArray<z.ZodString>;
1055
+ }, z.core.$strip>;
1056
+ declare const addLabelsDescription = "Add labels to an issue or pull request";
767
1057
  /** Not idempotent — re-adding labels is a no-op on GitHub but still mutates. */
768
1058
  declare function addLabelsCore({ token, owner, repo, issueNumber, labels }: {
769
1059
  token: string;
@@ -776,6 +1066,13 @@ declare function addLabelsCore({ token, owner, repo, issueNumber, labels }: {
776
1066
  color: string;
777
1067
  description: string | null;
778
1068
  }[]>;
1069
+ declare const removeLabelInputSchema: z.ZodObject<{
1070
+ owner: z.ZodString;
1071
+ repo: z.ZodString;
1072
+ issueNumber: z.ZodNumber;
1073
+ label: z.ZodString;
1074
+ }, z.core.$strip>;
1075
+ declare const removeLabelDescription = "Remove a label from an issue or pull request";
779
1076
  /** Not idempotent — removing a missing label returns 404 from GitHub. */
780
1077
  declare function removeLabelCore({ token, owner, repo, issueNumber, label }: {
781
1078
  token: string;
@@ -788,6 +1085,14 @@ declare function removeLabelCore({ token, owner, repo, issueNumber, label }: {
788
1085
  label: string;
789
1086
  issueNumber: number;
790
1087
  }>;
1088
+ declare const createLabelInputSchema: z.ZodObject<{
1089
+ owner: z.ZodString;
1090
+ repo: z.ZodString;
1091
+ name: z.ZodString;
1092
+ color: z.ZodString;
1093
+ description: z.ZodOptional<z.ZodString>;
1094
+ }, z.core.$strip>;
1095
+ declare const createLabelDescription = "Create a label in a GitHub repository";
791
1096
  /** Not idempotent — creating a label that already exists returns 422 from GitHub. */
792
1097
  declare function createLabelCore({ token, owner, repo, name, color, description }: {
793
1098
  token: string;
@@ -801,6 +1106,15 @@ declare function createLabelCore({ token, owner, repo, name, color, description
801
1106
  color: string;
802
1107
  description: string | null;
803
1108
  }>;
1109
+ declare const updateLabelInputSchema: z.ZodObject<{
1110
+ owner: z.ZodString;
1111
+ repo: z.ZodString;
1112
+ name: z.ZodString;
1113
+ newName: z.ZodOptional<z.ZodString>;
1114
+ color: z.ZodOptional<z.ZodString>;
1115
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
+ }, z.core.$strip>;
1117
+ declare const updateLabelDescription = "Update a label in a GitHub repository — name, color, or description";
804
1118
  /** Not idempotent — each call applies a new revision. */
805
1119
  declare function updateLabelCore({ token, owner, repo, name, newName, color, description }: {
806
1120
  token: string;
@@ -815,6 +1129,12 @@ declare function updateLabelCore({ token, owner, repo, name, newName, color, des
815
1129
  color: string;
816
1130
  description: string | null;
817
1131
  }>;
1132
+ declare const deleteLabelInputSchema: z.ZodObject<{
1133
+ owner: z.ZodString;
1134
+ repo: z.ZodString;
1135
+ name: z.ZodString;
1136
+ }, z.core.$strip>;
1137
+ declare const deleteLabelDescription = "Delete a label from a GitHub repository permanently";
818
1138
  /** Not idempotent — deleting a missing label returns 404 from GitHub. */
819
1139
  declare function deleteLabelCore({ token, owner, repo, name }: {
820
1140
  token: string;
@@ -825,6 +1145,13 @@ declare function deleteLabelCore({ token, owner, repo, name }: {
825
1145
  deleted: boolean;
826
1146
  name: string;
827
1147
  }>;
1148
+ declare const addAssigneesInputSchema: z.ZodObject<{
1149
+ owner: z.ZodString;
1150
+ repo: z.ZodString;
1151
+ issueNumber: z.ZodNumber;
1152
+ assignees: z.ZodArray<z.ZodString>;
1153
+ }, z.core.$strip>;
1154
+ declare const addAssigneesDescription = "Assign users to an issue or pull request";
828
1155
  /** Not idempotent — re-adding an existing assignee is a no-op on GitHub but still mutates. */
829
1156
  declare function addAssigneesCore({ token, owner, repo, issueNumber, assignees }: {
830
1157
  token: string;
@@ -836,6 +1163,13 @@ declare function addAssigneesCore({ token, owner, repo, issueNumber, assignees }
836
1163
  number: number;
837
1164
  assignees: string[] | undefined;
838
1165
  }>;
1166
+ declare const removeAssigneesInputSchema: z.ZodObject<{
1167
+ owner: z.ZodString;
1168
+ repo: z.ZodString;
1169
+ issueNumber: z.ZodNumber;
1170
+ assignees: z.ZodArray<z.ZodString>;
1171
+ }, z.core.$strip>;
1172
+ declare const removeAssigneesDescription = "Remove assignees from an issue or pull request";
839
1173
  /** Idempotent — removing an assignee that is not assigned is a no-op on GitHub. */
840
1174
  declare function removeAssigneesCore({ token, owner, repo, issueNumber, assignees }: {
841
1175
  token: string;
@@ -847,8 +1181,16 @@ declare function removeAssigneesCore({ token, owner, repo, issueNumber, assignee
847
1181
  number: number;
848
1182
  assignees: string[] | undefined;
849
1183
  }>;
850
- //#endregion
851
- //#region src/core/notifications.d.ts
1184
+ declare namespace notifications_d_exports {
1185
+ export { listNotificationsCore, listNotificationsDescription, listNotificationsInputSchema, markNotificationReadCore, markNotificationReadDescription, markNotificationReadInputSchema };
1186
+ }
1187
+ declare const listNotificationsInputSchema: z.ZodObject<{
1188
+ all: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1189
+ participating: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1190
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1191
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1192
+ }, z.core.$strip>;
1193
+ declare const listNotificationsDescription = "List notification threads for the authenticated user. Unread only by default — set all true to include read threads. Requires a token with notifications access. When hasMore, pass nextPage — do not repeat the same call.";
852
1194
  declare function listNotificationsCore({ token, all, participating, perPage, page }: {
853
1195
  token: string;
854
1196
  all: boolean;
@@ -867,6 +1209,10 @@ declare function listNotificationsCore({ token, all, participating, perPage, pag
867
1209
  unread: boolean;
868
1210
  updatedAt: string;
869
1211
  }>>;
1212
+ declare const markNotificationReadInputSchema: z.ZodObject<{
1213
+ threadId: z.ZodString;
1214
+ }, z.core.$strip>;
1215
+ declare const markNotificationReadDescription = "Mark a single notification thread as read";
870
1216
  /** Idempotent — marking an already-read thread is a no-op on GitHub. */
871
1217
  declare function markNotificationReadCore({ token, threadId }: {
872
1218
  token: string;
@@ -930,8 +1276,22 @@ type CommitToolOptions = ToolOptions & {
930
1276
  * ```
931
1277
  */
932
1278
  type ToolOverrides = Partial<Pick<Tool, 'description' | 'needsApproval' | 'onInputAvailable' | 'onInputDelta' | 'onInputStart' | 'providerOptions' | 'strict' | 'title' | 'toModelOutput'>>;
933
- //#endregion
934
- //#region src/core/pull-requests.d.ts
1279
+ declare namespace pull_requests_d_exports {
1280
+ export { addPullRequestCommentCore, addPullRequestCommentDescription, addPullRequestCommentInputSchema, createPullRequestCore, createPullRequestDescription, createPullRequestInputSchema, createPullRequestReviewCore, createPullRequestReviewDescription, createPullRequestReviewInputSchema, deletePullRequestCommentCore, deletePullRequestCommentDescription, deletePullRequestCommentInputSchema, getPullRequestCore, getPullRequestDescription, getPullRequestInputSchema, listPullRequestFilesCore, listPullRequestFilesDescription, listPullRequestFilesInputSchema, listPullRequestReviewThreadsCore, listPullRequestReviewThreadsDescription, listPullRequestReviewThreadsInputSchema, listPullRequestReviewsCore, listPullRequestReviewsDescription, listPullRequestReviewsInputSchema, listPullRequestsCore, listPullRequestsDescription, listPullRequestsInputSchema, mergePullRequestCore, mergePullRequestDescription, mergePullRequestInputSchema, replyToReviewCommentCore, replyToReviewCommentDescription, replyToReviewCommentInputSchema, requestReviewersCore, requestReviewersDescription, requestReviewersInputSchema, resolveReviewThreadCore, resolveReviewThreadDescription, resolveReviewThreadInputSchema, updatePullRequestCommentCore, updatePullRequestCommentDescription, updatePullRequestCommentInputSchema, updatePullRequestCore, updatePullRequestDescription, updatePullRequestInputSchema };
1281
+ }
1282
+ declare const listPullRequestsInputSchema: z.ZodObject<{
1283
+ owner: z.ZodString;
1284
+ repo: z.ZodString;
1285
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1286
+ open: "open";
1287
+ closed: "closed";
1288
+ all: "all";
1289
+ }>>>;
1290
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1291
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1292
+ maxPages: z.ZodOptional<z.ZodNumber>;
1293
+ }, z.core.$strip>;
1294
+ declare const listPullRequestsDescription = "List pull requests for a GitHub repository. When hasMore, pass nextPage or raise maxPages — do not repeat the same call.";
935
1295
  declare function listPullRequestsCore({ token, owner, repo, state, perPage, page, maxPages }: {
936
1296
  token: string;
937
1297
  owner: string;
@@ -952,6 +1312,16 @@ declare function listPullRequestsCore({ token, owner, repo, state, perPage, page
952
1312
  createdAt: string;
953
1313
  updatedAt: string;
954
1314
  }>>;
1315
+ declare const getPullRequestInputSchema: z.ZodObject<{
1316
+ owner: z.ZodString;
1317
+ repo: z.ZodString;
1318
+ pullNumber: z.ZodNumber;
1319
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1320
+ summary: "summary";
1321
+ full: "full";
1322
+ }>>>;
1323
+ }, z.core.$strip>;
1324
+ declare const getPullRequestDescription = "Get detailed information about a specific pull request. Body is truncated by default (detail: summary) — set detail full for the complete description";
955
1325
  declare function getPullRequestCore({ token, owner, repo, pullNumber, detail }: {
956
1326
  token: string;
957
1327
  owner: string;
@@ -978,6 +1348,16 @@ declare function getPullRequestCore({ token, owner, repo, pullNumber, detail }:
978
1348
  updatedAt: string;
979
1349
  mergedAt: string | null;
980
1350
  }>;
1351
+ declare const createPullRequestInputSchema: z.ZodObject<{
1352
+ owner: z.ZodString;
1353
+ repo: z.ZodString;
1354
+ title: z.ZodString;
1355
+ body: z.ZodOptional<z.ZodString>;
1356
+ head: z.ZodString;
1357
+ base: z.ZodString;
1358
+ draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1359
+ }, z.core.$strip>;
1360
+ declare const createPullRequestDescription = "Create a new pull request in a GitHub repository";
981
1361
  /** Not idempotent — each call creates a new pull request. */
982
1362
  declare function createPullRequestCore({ token, owner, repo, title, body, head, base, draft }: {
983
1363
  token: string;
@@ -997,6 +1377,20 @@ declare function createPullRequestCore({ token, owner, repo, title, body, head,
997
1377
  branch: string;
998
1378
  base: string;
999
1379
  }>;
1380
+ declare const updatePullRequestInputSchema: z.ZodObject<{
1381
+ owner: z.ZodString;
1382
+ repo: z.ZodString;
1383
+ pullNumber: z.ZodNumber;
1384
+ title: z.ZodOptional<z.ZodString>;
1385
+ body: z.ZodOptional<z.ZodString>;
1386
+ state: z.ZodOptional<z.ZodEnum<{
1387
+ open: "open";
1388
+ closed: "closed";
1389
+ }>>;
1390
+ base: z.ZodOptional<z.ZodString>;
1391
+ draft: z.ZodOptional<z.ZodBoolean>;
1392
+ }, z.core.$strip>;
1393
+ declare const updatePullRequestDescription = "Update a pull request — title, body, state, base branch, or draft status. Draft toggling uses the GitHub GraphQL API since the REST update endpoint does not support it";
1000
1394
  /** Not idempotent — each call applies a new revision. */
1001
1395
  declare function updatePullRequestCore({ token, owner, repo, pullNumber, title, body, state, base, draft }: {
1002
1396
  token: string;
@@ -1017,6 +1411,19 @@ declare function updatePullRequestCore({ token, owner, repo, pullNumber, title,
1017
1411
  base: string;
1018
1412
  updatedAt: string;
1019
1413
  }>;
1414
+ declare const mergePullRequestInputSchema: z.ZodObject<{
1415
+ owner: z.ZodString;
1416
+ repo: z.ZodString;
1417
+ pullNumber: z.ZodNumber;
1418
+ commitTitle: z.ZodOptional<z.ZodString>;
1419
+ commitMessage: z.ZodOptional<z.ZodString>;
1420
+ mergeMethod: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1421
+ merge: "merge";
1422
+ squash: "squash";
1423
+ rebase: "rebase";
1424
+ }>>>;
1425
+ }, z.core.$strip>;
1426
+ declare const mergePullRequestDescription = "Merge a pull request";
1020
1427
  /** Not idempotent — merging an already-merged PR returns an error from GitHub. */
1021
1428
  declare function mergePullRequestCore({ token, owner, repo, pullNumber, commitTitle, commitMessage, mergeMethod, coAuthors }: {
1022
1429
  token: string;
@@ -1032,6 +1439,13 @@ declare function mergePullRequestCore({ token, owner, repo, pullNumber, commitTi
1032
1439
  message: string;
1033
1440
  sha: string;
1034
1441
  }>;
1442
+ declare const addPullRequestCommentInputSchema: z.ZodObject<{
1443
+ owner: z.ZodString;
1444
+ repo: z.ZodString;
1445
+ pullNumber: z.ZodNumber;
1446
+ body: z.ZodString;
1447
+ }, z.core.$strip>;
1448
+ declare const addPullRequestCommentDescription = "Add a comment to a pull request";
1035
1449
  /** Not idempotent — each call adds another comment. */
1036
1450
  declare function addPullRequestCommentCore({ token, owner, repo, pullNumber, body }: {
1037
1451
  token: string;
@@ -1046,6 +1460,13 @@ declare function addPullRequestCommentCore({ token, owner, repo, pullNumber, bod
1046
1460
  author: string | undefined;
1047
1461
  createdAt: string;
1048
1462
  }>;
1463
+ declare const updatePullRequestCommentInputSchema: z.ZodObject<{
1464
+ owner: z.ZodString;
1465
+ repo: z.ZodString;
1466
+ commentId: z.ZodNumber;
1467
+ body: z.ZodString;
1468
+ }, z.core.$strip>;
1469
+ declare const updatePullRequestCommentDescription = "Update the body of a comment on a pull request";
1049
1470
  /** Not idempotent — each call applies a new revision. */
1050
1471
  declare function updatePullRequestCommentCore({ token, owner, repo, commentId, body }: {
1051
1472
  token: string;
@@ -1059,6 +1480,12 @@ declare function updatePullRequestCommentCore({ token, owner, repo, commentId, b
1059
1480
  body: string | undefined;
1060
1481
  updatedAt: string;
1061
1482
  }>;
1483
+ declare const deletePullRequestCommentInputSchema: z.ZodObject<{
1484
+ owner: z.ZodString;
1485
+ repo: z.ZodString;
1486
+ commentId: z.ZodNumber;
1487
+ }, z.core.$strip>;
1488
+ declare const deletePullRequestCommentDescription = "Delete a comment from a pull request permanently";
1062
1489
  /** Not idempotent — deleting an already-deleted comment returns 404 from GitHub. */
1063
1490
  declare function deletePullRequestCommentCore({ token, owner, repo, commentId }: {
1064
1491
  token: string;
@@ -1069,6 +1496,16 @@ declare function deletePullRequestCommentCore({ token, owner, repo, commentId }:
1069
1496
  deleted: boolean;
1070
1497
  commentId: number;
1071
1498
  }>;
1499
+ declare const listPullRequestFilesInputSchema: z.ZodObject<{
1500
+ owner: z.ZodString;
1501
+ repo: z.ZodString;
1502
+ pullNumber: z.ZodNumber;
1503
+ includePatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1504
+ filenames: z.ZodOptional<z.ZodArray<z.ZodString>>;
1505
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1506
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1507
+ }, z.core.$strip>;
1508
+ declare const listPullRequestFilesDescription = "List files changed in a pull request with status and stats. Patches are omitted by default — set includePatch true (optionally with filenames) to fetch diffs. When hasMore, pass nextPage — do not repeat the same call.";
1072
1509
  declare function listPullRequestFilesCore({ token, owner, repo, pullNumber, includePatch, filenames, perPage, page }: {
1073
1510
  token: string;
1074
1511
  owner: string;
@@ -1086,6 +1523,14 @@ declare function listPullRequestFilesCore({ token, owner, repo, pullNumber, incl
1086
1523
  deletions: number;
1087
1524
  changes: number;
1088
1525
  }>>;
1526
+ declare const listPullRequestReviewsInputSchema: z.ZodObject<{
1527
+ owner: z.ZodString;
1528
+ repo: z.ZodString;
1529
+ pullNumber: z.ZodNumber;
1530
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1531
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1532
+ }, z.core.$strip>;
1533
+ declare const listPullRequestReviewsDescription = "List reviews on a pull request (approvals, change requests, and comments). When hasMore, pass nextPage — do not repeat the same call.";
1089
1534
  declare function listPullRequestReviewsCore({ token, owner, repo, pullNumber, perPage, page }: {
1090
1535
  token: string;
1091
1536
  owner: string;
@@ -1101,6 +1546,27 @@ declare function listPullRequestReviewsCore({ token, owner, repo, pullNumber, pe
1101
1546
  url: string;
1102
1547
  submittedAt: string | undefined;
1103
1548
  }>>;
1549
+ declare const createPullRequestReviewInputSchema: z.ZodObject<{
1550
+ owner: z.ZodString;
1551
+ repo: z.ZodString;
1552
+ pullNumber: z.ZodNumber;
1553
+ body: z.ZodOptional<z.ZodString>;
1554
+ event: z.ZodEnum<{
1555
+ APPROVE: "APPROVE";
1556
+ REQUEST_CHANGES: "REQUEST_CHANGES";
1557
+ COMMENT: "COMMENT";
1558
+ }>;
1559
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1560
+ path: z.ZodString;
1561
+ body: z.ZodString;
1562
+ line: z.ZodOptional<z.ZodNumber>;
1563
+ side: z.ZodOptional<z.ZodEnum<{
1564
+ LEFT: "LEFT";
1565
+ RIGHT: "RIGHT";
1566
+ }>>;
1567
+ }, z.core.$strip>>>;
1568
+ }, z.core.$strip>;
1569
+ declare const createPullRequestReviewDescription = "Submit a pull request review — approve, request changes, or comment with optional inline comments on specific lines";
1104
1570
  /** Not idempotent — each call submits a new review. */
1105
1571
  declare function createPullRequestReviewCore({ token, owner, repo, pullNumber, body, event, comments }: {
1106
1572
  token: string;
@@ -1123,6 +1589,22 @@ declare function createPullRequestReviewCore({ token, owner, repo, pullNumber, b
1123
1589
  author: string | undefined;
1124
1590
  submittedAt: string | undefined;
1125
1591
  }>;
1592
+ declare const listPullRequestReviewThreadsInputSchema: z.ZodObject<{
1593
+ owner: z.ZodString;
1594
+ repo: z.ZodString;
1595
+ pullNumber: z.ZodNumber;
1596
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1597
+ all: "all";
1598
+ unresolved: "unresolved";
1599
+ }>>>;
1600
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1601
+ summary: "summary";
1602
+ full: "full";
1603
+ }>>>;
1604
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1605
+ after: z.ZodOptional<z.ZodString>;
1606
+ }, z.core.$strip>;
1607
+ declare const listPullRequestReviewThreadsDescription = "List review threads on a pull request with their comments, resolution state, and the IDs needed to reply (commentId) or resolve (threadId). Unresolved threads only by default (GitHub GraphQL API)";
1126
1608
  declare function listPullRequestReviewThreadsCore({ token, owner, repo, pullNumber, status, detail, perPage, after }: {
1127
1609
  token: string;
1128
1610
  owner: string;
@@ -1162,6 +1644,14 @@ declare function listPullRequestReviewThreadsCore({ token, owner, repo, pullNumb
1162
1644
  }[];
1163
1645
  error?: undefined;
1164
1646
  }>;
1647
+ declare const replyToReviewCommentInputSchema: z.ZodObject<{
1648
+ owner: z.ZodString;
1649
+ repo: z.ZodString;
1650
+ pullNumber: z.ZodNumber;
1651
+ commentId: z.ZodNumber;
1652
+ body: z.ZodString;
1653
+ }, z.core.$strip>;
1654
+ declare const replyToReviewCommentDescription = "Reply to a pull request review comment, adding a message to its review thread";
1165
1655
  /** Not idempotent — each call posts a new reply. */
1166
1656
  declare function replyToReviewCommentCore({ token, owner, repo, pullNumber, commentId, body }: {
1167
1657
  token: string;
@@ -1176,6 +1666,10 @@ declare function replyToReviewCommentCore({ token, owner, repo, pullNumber, comm
1176
1666
  author: string;
1177
1667
  createdAt: string;
1178
1668
  }>;
1669
+ declare const resolveReviewThreadInputSchema: z.ZodObject<{
1670
+ threadId: z.ZodString;
1671
+ }, z.core.$strip>;
1672
+ declare const resolveReviewThreadDescription = "Mark a pull request review thread as resolved";
1179
1673
  /** Idempotent — resolving an already-resolved thread is a no-op on GitHub. */
1180
1674
  declare function resolveReviewThreadCore({ token, threadId }: {
1181
1675
  token: string;
@@ -1189,6 +1683,14 @@ declare function resolveReviewThreadCore({ token, threadId }: {
1189
1683
  isResolved: boolean;
1190
1684
  error?: undefined;
1191
1685
  }>;
1686
+ declare const requestReviewersInputSchema: z.ZodObject<{
1687
+ owner: z.ZodString;
1688
+ repo: z.ZodString;
1689
+ pullNumber: z.ZodNumber;
1690
+ reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1691
+ teamReviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1692
+ }, z.core.$strip>;
1693
+ declare const requestReviewersDescription = "Request reviews from users or teams on a pull request";
1192
1694
  /** Not idempotent — re-requesting an existing reviewer is a no-op on GitHub but still mutates. */
1193
1695
  declare function requestReviewersCore({ token, owner, repo, pullNumber, reviewers, teamReviewers }: {
1194
1696
  token: string;
@@ -1203,10 +1705,29 @@ declare function requestReviewersCore({ token, owner, repo, pullNumber, reviewer
1203
1705
  requestedReviewers: string[] | undefined;
1204
1706
  requestedTeams: string[] | undefined;
1205
1707
  }>;
1206
- //#endregion
1207
- //#region src/core/reactions.d.ts
1708
+ declare namespace reactions_d_exports {
1709
+ export { ReactionContent, addCommentReactionCore, addCommentReactionDescription, addCommentReactionInputSchema, addIssueReactionCore, addIssueReactionDescription, addIssueReactionInputSchema, listCommentReactionsCore, listCommentReactionsDescription, listCommentReactionsInputSchema, listIssueReactionsCore, listIssueReactionsDescription, listIssueReactionsInputSchema };
1710
+ }
1208
1711
  declare const REACTION_CONTENTS: readonly ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"];
1209
1712
  type ReactionContent = typeof REACTION_CONTENTS[number];
1713
+ declare const listIssueReactionsInputSchema: z.ZodObject<{
1714
+ owner: z.ZodString;
1715
+ repo: z.ZodString;
1716
+ issueNumber: z.ZodNumber;
1717
+ content: z.ZodOptional<z.ZodEnum<{
1718
+ "+1": "+1";
1719
+ [-1]: "-1";
1720
+ laugh: "laugh";
1721
+ confused: "confused";
1722
+ heart: "heart";
1723
+ hooray: "hooray";
1724
+ rocket: "rocket";
1725
+ eyes: "eyes";
1726
+ }>>;
1727
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1728
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1729
+ }, z.core.$strip>;
1730
+ declare const listIssueReactionsDescription = "List reactions on an issue or pull request conversation, with per-emoji counts for the returned page. When hasMore, pass nextPage — do not repeat the same call.";
1210
1731
  declare function listIssueReactionsCore({ token, owner, repo, issueNumber, content, perPage, page }: {
1211
1732
  token: string;
1212
1733
  owner: string;
@@ -1227,6 +1748,22 @@ declare function listIssueReactionsCore({ token, owner, repo, issueNumber, conte
1227
1748
  user: string | undefined;
1228
1749
  }[];
1229
1750
  }>;
1751
+ declare const addIssueReactionInputSchema: z.ZodObject<{
1752
+ owner: z.ZodString;
1753
+ repo: z.ZodString;
1754
+ issueNumber: z.ZodNumber;
1755
+ content: z.ZodEnum<{
1756
+ "+1": "+1";
1757
+ [-1]: "-1";
1758
+ laugh: "laugh";
1759
+ confused: "confused";
1760
+ heart: "heart";
1761
+ hooray: "hooray";
1762
+ rocket: "rocket";
1763
+ eyes: "eyes";
1764
+ }>;
1765
+ }, z.core.$strip>;
1766
+ declare const addIssueReactionDescription = "React to an issue or pull request with an emoji. Prefer this over posting a comment to acknowledge a report without adding noise to the thread";
1230
1767
  /** Idempotent — GitHub returns the existing reaction when the user already reacted with the same content. */
1231
1768
  declare function addIssueReactionCore({ token, owner, repo, issueNumber, content }: {
1232
1769
  token: string;
@@ -1240,6 +1777,24 @@ declare function addIssueReactionCore({ token, owner, repo, issueNumber, content
1240
1777
  user: string | undefined;
1241
1778
  issueNumber: number;
1242
1779
  }>;
1780
+ declare const listCommentReactionsInputSchema: z.ZodObject<{
1781
+ owner: z.ZodString;
1782
+ repo: z.ZodString;
1783
+ commentId: z.ZodNumber;
1784
+ content: z.ZodOptional<z.ZodEnum<{
1785
+ "+1": "+1";
1786
+ [-1]: "-1";
1787
+ laugh: "laugh";
1788
+ confused: "confused";
1789
+ heart: "heart";
1790
+ hooray: "hooray";
1791
+ rocket: "rocket";
1792
+ eyes: "eyes";
1793
+ }>>;
1794
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1795
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1796
+ }, z.core.$strip>;
1797
+ declare const listCommentReactionsDescription = "List reactions on an issue or pull request comment, with per-emoji counts for the returned page. When hasMore, pass nextPage — do not repeat the same call.";
1243
1798
  declare function listCommentReactionsCore({ token, owner, repo, commentId, content, perPage, page }: {
1244
1799
  token: string;
1245
1800
  owner: string;
@@ -1260,6 +1815,22 @@ declare function listCommentReactionsCore({ token, owner, repo, commentId, conte
1260
1815
  user: string | undefined;
1261
1816
  }[];
1262
1817
  }>;
1818
+ declare const addCommentReactionInputSchema: z.ZodObject<{
1819
+ owner: z.ZodString;
1820
+ repo: z.ZodString;
1821
+ commentId: z.ZodNumber;
1822
+ content: z.ZodEnum<{
1823
+ "+1": "+1";
1824
+ [-1]: "-1";
1825
+ laugh: "laugh";
1826
+ confused: "confused";
1827
+ heart: "heart";
1828
+ hooray: "hooray";
1829
+ rocket: "rocket";
1830
+ eyes: "eyes";
1831
+ }>;
1832
+ }, z.core.$strip>;
1833
+ declare const addCommentReactionDescription = "React to an issue or pull request comment with an emoji. Prefer this over a reply when acknowledging a comment";
1263
1834
  /** Idempotent — GitHub returns the existing reaction when the user already reacted with the same content. */
1264
1835
  declare function addCommentReactionCore({ token, owner, repo, commentId, content }: {
1265
1836
  token: string;
@@ -1273,8 +1844,21 @@ declare function addCommentReactionCore({ token, owner, repo, commentId, content
1273
1844
  user: string | undefined;
1274
1845
  commentId: number;
1275
1846
  }>;
1276
- //#endregion
1277
- //#region src/core/releases.d.ts
1847
+ declare namespace releases_d_exports {
1848
+ export { createReleaseCore, createReleaseDescription, createReleaseInputSchema, deleteReleaseCore, deleteReleaseDescription, deleteReleaseInputSchema, getLatestReleaseCore, getLatestReleaseDescription, getLatestReleaseInputSchema, getReleaseCore, getReleaseDescription, getReleaseInputSchema, listReleasesCore, listReleasesDescription, listReleasesInputSchema, updateReleaseCore, updateReleaseDescription, updateReleaseInputSchema };
1849
+ }
1850
+ declare const listReleasesInputSchema: z.ZodObject<{
1851
+ owner: z.ZodString;
1852
+ repo: z.ZodString;
1853
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1854
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1855
+ maxPages: z.ZodOptional<z.ZodNumber>;
1856
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1857
+ summary: "summary";
1858
+ full: "full";
1859
+ }>>>;
1860
+ }, z.core.$strip>;
1861
+ declare const listReleasesDescription = "List releases for a GitHub repository, newest first (includes drafts and prereleases). Bodies truncated by default (detail: summary). When hasMore, pass nextPage or raise maxPages — do not repeat the same call.";
1278
1862
  declare function listReleasesCore({ token, owner, repo, perPage, page, maxPages, detail }: {
1279
1863
  token: string;
1280
1864
  owner: string;
@@ -1295,6 +1879,15 @@ declare function listReleasesCore({ token, owner, repo, perPage, page, maxPages,
1295
1879
  createdAt: string;
1296
1880
  publishedAt: string | null;
1297
1881
  }>>;
1882
+ declare const getLatestReleaseInputSchema: z.ZodObject<{
1883
+ owner: z.ZodString;
1884
+ repo: z.ZodString;
1885
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1886
+ summary: "summary";
1887
+ full: "full";
1888
+ }>>>;
1889
+ }, z.core.$strip>;
1890
+ declare const getLatestReleaseDescription = "Get the latest published release for a GitHub repository (excludes drafts and prereleases). Body truncated by default (detail: summary)";
1298
1891
  declare function getLatestReleaseCore({ token, owner, repo, detail }: {
1299
1892
  token: string;
1300
1893
  owner: string;
@@ -1316,6 +1909,16 @@ declare function getLatestReleaseCore({ token, owner, repo, detail }: {
1316
1909
  downloadCount: number;
1317
1910
  }[];
1318
1911
  }>;
1912
+ declare const getReleaseInputSchema: z.ZodObject<{
1913
+ owner: z.ZodString;
1914
+ repo: z.ZodString;
1915
+ releaseId: z.ZodNumber;
1916
+ detail: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1917
+ summary: "summary";
1918
+ full: "full";
1919
+ }>>>;
1920
+ }, z.core.$strip>;
1921
+ declare const getReleaseDescription = "Get a specific release by ID, including its assets. Body truncated by default (detail: summary)";
1319
1922
  declare function getReleaseCore({ token, owner, repo, releaseId, detail }: {
1320
1923
  token: string;
1321
1924
  owner: string;
@@ -1340,6 +1943,18 @@ declare function getReleaseCore({ token, owner, repo, releaseId, detail }: {
1340
1943
  downloadCount: number;
1341
1944
  }[];
1342
1945
  }>;
1946
+ declare const createReleaseInputSchema: z.ZodObject<{
1947
+ owner: z.ZodString;
1948
+ repo: z.ZodString;
1949
+ tagName: z.ZodString;
1950
+ target: z.ZodOptional<z.ZodString>;
1951
+ name: z.ZodOptional<z.ZodString>;
1952
+ body: z.ZodOptional<z.ZodString>;
1953
+ draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1954
+ prerelease: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1955
+ generateReleaseNotes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1956
+ }, z.core.$strip>;
1957
+ declare const createReleaseDescription = "Create a new release (and its tag if needed) in a GitHub repository";
1343
1958
  /** Not idempotent — creating a release with an existing tag name returns an error from GitHub. */
1344
1959
  declare function createReleaseCore({ token, owner, repo, tagName, target, name, body, draft, prerelease, generateReleaseNotes }: {
1345
1960
  token: string;
@@ -1362,6 +1977,18 @@ declare function createReleaseCore({ token, owner, repo, tagName, target, name,
1362
1977
  prerelease: boolean;
1363
1978
  createdAt: string;
1364
1979
  }>;
1980
+ declare const updateReleaseInputSchema: z.ZodObject<{
1981
+ owner: z.ZodString;
1982
+ repo: z.ZodString;
1983
+ releaseId: z.ZodNumber;
1984
+ tagName: z.ZodOptional<z.ZodString>;
1985
+ target: z.ZodOptional<z.ZodString>;
1986
+ name: z.ZodOptional<z.ZodString>;
1987
+ body: z.ZodOptional<z.ZodString>;
1988
+ draft: z.ZodOptional<z.ZodBoolean>;
1989
+ prerelease: z.ZodOptional<z.ZodBoolean>;
1990
+ }, z.core.$strip>;
1991
+ declare const updateReleaseDescription = "Update an existing release — tag, target, title, notes, draft, or prerelease status";
1365
1992
  /** Not idempotent — each call applies a new revision. */
1366
1993
  declare function updateReleaseCore({ token, owner, repo, releaseId, tagName, target, name, body, draft, prerelease }: {
1367
1994
  token: string;
@@ -1384,6 +2011,12 @@ declare function updateReleaseCore({ token, owner, repo, releaseId, tagName, tar
1384
2011
  prerelease: boolean;
1385
2012
  publishedAt: string | null;
1386
2013
  }>;
2014
+ declare const deleteReleaseInputSchema: z.ZodObject<{
2015
+ owner: z.ZodString;
2016
+ repo: z.ZodString;
2017
+ releaseId: z.ZodNumber;
2018
+ }, z.core.$strip>;
2019
+ declare const deleteReleaseDescription = "Delete a release permanently (does not delete the underlying git tag)";
1387
2020
  /** Not idempotent — deleting an already-deleted release returns 404 from GitHub. */
1388
2021
  declare function deleteReleaseCore({ token, owner, repo, releaseId }: {
1389
2022
  token: string;
@@ -1394,8 +2027,33 @@ declare function deleteReleaseCore({ token, owner, repo, releaseId }: {
1394
2027
  deleted: boolean;
1395
2028
  releaseId: number;
1396
2029
  }>;
1397
- //#endregion
1398
- //#region src/core/repository.d.ts
2030
+ declare namespace repository_d_exports {
2031
+ export { composeCommitMessage, createBranchCore, createBranchDescription, createBranchInputSchema, createCommitOnBranch, createOrUpdateFileCore, createOrUpdateFileDescription, createOrUpdateFileInputSchema, createRepositoryCore, createRepositoryDescription, createRepositoryInputSchema, deleteBranchCore, deleteBranchDescription, deleteBranchInputSchema, forkRepositoryCore, forkRepositoryDescription, forkRepositoryInputSchema, getFileContentCore, getFileContentDescription, getFileContentInputSchema, getRepositoryCore, getRepositoryDescription, getRepositoryInputSchema, getRepositoryTreeCore, getRepositoryTreeDescription, getRepositoryTreeInputSchema, listBranchesCore, listBranchesDescription, listBranchesInputSchema };
2032
+ }
2033
+ declare function createCommitOnBranch(octokit: Octokit$1, input: {
2034
+ owner: string;
2035
+ repo: string;
2036
+ branch: string;
2037
+ expectedHeadOid: string;
2038
+ headline: string;
2039
+ body?: string;
2040
+ additions?: Array<{
2041
+ path: string;
2042
+ contents: string;
2043
+ }>;
2044
+ deletions?: Array<{
2045
+ path: string;
2046
+ }>;
2047
+ }): Promise<{
2048
+ commitSha: string;
2049
+ commitUrl: string;
2050
+ }>;
2051
+ declare function composeCommitMessage(message: string, coAuthors?: CommitIdentity[]): string;
2052
+ declare const getRepositoryInputSchema: z.ZodObject<{
2053
+ owner: z.ZodString;
2054
+ repo: z.ZodString;
2055
+ }, z.core.$strip>;
2056
+ declare const getRepositoryDescription = "Get information about a GitHub repository including description, stars, forks, language, and default branch";
1399
2057
  declare function getRepositoryCore({ token, owner, repo }: {
1400
2058
  token: string;
1401
2059
  owner: string;
@@ -1414,6 +2072,13 @@ declare function getRepositoryCore({ token, owner, repo }: {
1414
2072
  createdAt: string;
1415
2073
  updatedAt: string;
1416
2074
  }>;
2075
+ declare const listBranchesInputSchema: z.ZodObject<{
2076
+ owner: z.ZodString;
2077
+ repo: z.ZodString;
2078
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2079
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2080
+ }, z.core.$strip>;
2081
+ declare const listBranchesDescription = "List branches in a GitHub repository. When hasMore, pass nextPage — do not repeat the same call.";
1417
2082
  declare function listBranchesCore({ token, owner, repo, perPage, page }: {
1418
2083
  token: string;
1419
2084
  owner: string;
@@ -1425,6 +2090,16 @@ declare function listBranchesCore({ token, owner, repo, perPage, page }: {
1425
2090
  sha: string;
1426
2091
  protected: boolean;
1427
2092
  }>>;
2093
+ declare const getFileContentInputSchema: z.ZodObject<{
2094
+ owner: z.ZodString;
2095
+ repo: z.ZodString;
2096
+ path: z.ZodString;
2097
+ ref: z.ZodOptional<z.ZodString>;
2098
+ startLine: z.ZodOptional<z.ZodNumber>;
2099
+ endLine: z.ZodOptional<z.ZodNumber>;
2100
+ maxLines: z.ZodOptional<z.ZodNumber>;
2101
+ }, z.core.$strip>;
2102
+ declare const getFileContentDescription = "Get the content of a file from a GitHub repository. Prefer startLine/endLine or maxLines to read only the lines you need";
1428
2103
  declare function getFileContentCore({ token, owner, repo, path, ref, startLine, endLine, maxLines }: {
1429
2104
  token: string;
1430
2105
  owner: string;
@@ -1483,6 +2158,14 @@ declare function getFileContentCore({ token, owner, repo, path, ref, startLine,
1483
2158
  content: string;
1484
2159
  entries?: undefined;
1485
2160
  }>;
2161
+ declare const getRepositoryTreeInputSchema: z.ZodObject<{
2162
+ owner: z.ZodString;
2163
+ repo: z.ZodString;
2164
+ ref: z.ZodOptional<z.ZodString>;
2165
+ path: z.ZodOptional<z.ZodString>;
2166
+ recursive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2167
+ }, z.core.$strip>;
2168
+ declare const getRepositoryTreeDescription = "List the file and directory structure of a repository at a given ref. Prefer a path prefix over recursive true. If truncated, narrow path instead of recalling the full tree.";
1486
2169
  declare function getRepositoryTreeCore({ token, owner, repo, ref, path, recursive }: {
1487
2170
  token: string;
1488
2171
  owner: string;
@@ -1501,6 +2184,13 @@ declare function getRepositoryTreeCore({ token, owner, repo, ref, path, recursiv
1501
2184
  sha: string;
1502
2185
  }[];
1503
2186
  }>;
2187
+ declare const createBranchInputSchema: z.ZodObject<{
2188
+ owner: z.ZodString;
2189
+ repo: z.ZodString;
2190
+ branch: z.ZodString;
2191
+ from: z.ZodOptional<z.ZodString>;
2192
+ }, z.core.$strip>;
2193
+ declare const createBranchDescription = "Create a new branch in a GitHub repository from an existing branch or commit SHA";
1504
2194
  /** Idempotent when the branch already exists at the target SHA. Not idempotent otherwise. */
1505
2195
  declare function createBranchCore({ token, owner, repo, branch, from }: {
1506
2196
  token: string;
@@ -1513,6 +2203,12 @@ declare function createBranchCore({ token, owner, repo, branch, from }: {
1513
2203
  sha: string;
1514
2204
  url: string;
1515
2205
  }>;
2206
+ declare const deleteBranchInputSchema: z.ZodObject<{
2207
+ owner: z.ZodString;
2208
+ repo: z.ZodString;
2209
+ branch: z.ZodString;
2210
+ }, z.core.$strip>;
2211
+ declare const deleteBranchDescription = "Delete a branch from a GitHub repository permanently";
1516
2212
  /** Not idempotent — deleting a branch that no longer exists fails with a 422. */
1517
2213
  declare function deleteBranchCore({ token, owner, repo, branch }: {
1518
2214
  token: string;
@@ -1523,6 +2219,13 @@ declare function deleteBranchCore({ token, owner, repo, branch }: {
1523
2219
  deleted: boolean;
1524
2220
  branch: string;
1525
2221
  }>;
2222
+ declare const forkRepositoryInputSchema: z.ZodObject<{
2223
+ owner: z.ZodString;
2224
+ repo: z.ZodString;
2225
+ organization: z.ZodOptional<z.ZodString>;
2226
+ name: z.ZodOptional<z.ZodString>;
2227
+ }, z.core.$strip>;
2228
+ declare const forkRepositoryDescription = "Fork a GitHub repository to the authenticated user account or a specified organization";
1526
2229
  /** Not idempotent — each call may create another fork attempt. */
1527
2230
  declare function forkRepositoryCore({ token, owner, repo, organization, name }: {
1528
2231
  token: string;
@@ -1543,6 +2246,16 @@ declare function forkRepositoryCore({ token, owner, repo, organization, name }:
1543
2246
  url: string;
1544
2247
  } | null;
1545
2248
  }>;
2249
+ declare const createRepositoryInputSchema: z.ZodObject<{
2250
+ name: z.ZodString;
2251
+ description: z.ZodOptional<z.ZodString>;
2252
+ isPrivate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2253
+ autoInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2254
+ gitignoreTemplate: z.ZodOptional<z.ZodString>;
2255
+ licenseTemplate: z.ZodOptional<z.ZodString>;
2256
+ org: z.ZodOptional<z.ZodString>;
2257
+ }, z.core.$strip>;
2258
+ declare const createRepositoryDescription = "Create a new GitHub repository for the authenticated user or a specified organization";
1546
2259
  /** Not idempotent — each call creates a new repository. */
1547
2260
  declare function createRepositoryCore({ token, name, description, isPrivate, autoInit, gitignoreTemplate, licenseTemplate, org }: {
1548
2261
  token: string;
@@ -1564,6 +2277,16 @@ declare function createRepositoryCore({ token, name, description, isPrivate, aut
1564
2277
  private: boolean;
1565
2278
  createdAt: string;
1566
2279
  }>;
2280
+ declare const createOrUpdateFileInputSchema: z.ZodObject<{
2281
+ owner: z.ZodString;
2282
+ repo: z.ZodString;
2283
+ path: z.ZodString;
2284
+ message: z.ZodString;
2285
+ content: z.ZodString;
2286
+ branch: z.ZodOptional<z.ZodString>;
2287
+ sha: z.ZodOptional<z.ZodString>;
2288
+ }, z.core.$strip>;
2289
+ declare const createOrUpdateFileDescription = "Create or update a file in a GitHub repository. Provide the SHA when updating an existing file.";
1567
2290
  /** Idempotent when updating with sha and content is unchanged. Not idempotent for new commits. */
1568
2291
  declare function createOrUpdateFileCore({ token, owner, repo, path, message, content, branch, sha, author, committer, coAuthors }: {
1569
2292
  token: string;
@@ -1592,8 +2315,14 @@ declare function createOrUpdateFileCore({ token, owner, repo, path, message, con
1592
2315
  skipped?: undefined;
1593
2316
  message?: undefined;
1594
2317
  }>;
1595
- //#endregion
1596
- //#region src/core/search.d.ts
2318
+ declare namespace search_d_exports {
2319
+ export { searchCodeCore, searchCodeDescription, searchCodeInputSchema, searchIssuesCore, searchIssuesDescription, searchIssuesInputSchema, searchRepositoriesCore, searchRepositoriesDescription, searchRepositoriesInputSchema };
2320
+ }
2321
+ declare const searchCodeInputSchema: z.ZodObject<{
2322
+ query: z.ZodString;
2323
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2324
+ }, z.core.$strip>;
2325
+ declare const searchCodeDescription = "Search for code in GitHub repositories. Use qualifiers like \"repo:owner/name\" to scope the search. Results include matching text snippets when GitHub returns them.";
1597
2326
  declare function searchCodeCore({ token, query, perPage }: {
1598
2327
  token: string;
1599
2328
  query: string;
@@ -1611,6 +2340,21 @@ declare function searchCodeCore({ token, query, perPage }: {
1611
2340
  }[] | undefined;
1612
2341
  }[];
1613
2342
  }>;
2343
+ declare const searchRepositoriesInputSchema: z.ZodObject<{
2344
+ query: z.ZodString;
2345
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2346
+ sort: z.ZodOptional<z.ZodEnum<{
2347
+ stars: "stars";
2348
+ forks: "forks";
2349
+ "help-wanted-issues": "help-wanted-issues";
2350
+ updated: "updated";
2351
+ }>>;
2352
+ order: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2353
+ asc: "asc";
2354
+ desc: "desc";
2355
+ }>>>;
2356
+ }, z.core.$strip>;
2357
+ declare const searchRepositoriesDescription = "Search for GitHub repositories by keyword, topic, language, or other qualifiers";
1614
2358
  declare function searchRepositoriesCore({ token, query, perPage, sort, order }: {
1615
2359
  token: string;
1616
2360
  query: string;
@@ -1630,6 +2374,22 @@ declare function searchRepositoriesCore({ token, query, perPage, sort, order }:
1630
2374
  topics: string[] | undefined;
1631
2375
  }[];
1632
2376
  }>;
2377
+ declare const searchIssuesInputSchema: z.ZodObject<{
2378
+ query: z.ZodString;
2379
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2380
+ sort: z.ZodOptional<z.ZodEnum<{
2381
+ comments: "comments";
2382
+ updated: "updated";
2383
+ reactions: "reactions";
2384
+ created: "created";
2385
+ interactions: "interactions";
2386
+ }>>;
2387
+ order: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2388
+ asc: "asc";
2389
+ desc: "desc";
2390
+ }>>>;
2391
+ }, z.core.$strip>;
2392
+ declare const searchIssuesDescription = "Search for issues and pull requests across GitHub using search qualifiers like \"repo:owner/name is:open\"";
1633
2393
  declare function searchIssuesCore({ token, query, perPage, sort, order }: {
1634
2394
  token: string;
1635
2395
  query: string;
@@ -1652,8 +2412,16 @@ declare function searchIssuesCore({ token, query, perPage, sort, order }: {
1652
2412
  isPullRequest: boolean;
1653
2413
  }[];
1654
2414
  }>;
1655
- //#endregion
1656
- //#region src/core/workflows.d.ts
2415
+ declare namespace workflows_d_exports {
2416
+ export { cancelWorkflowRunCore, cancelWorkflowRunDescription, cancelWorkflowRunInputSchema, getWorkflowJobLogsCore, getWorkflowJobLogsDescription, getWorkflowJobLogsInputSchema, getWorkflowRunCore, getWorkflowRunDescription, getWorkflowRunInputSchema, listWorkflowJobsCore, listWorkflowJobsDescription, listWorkflowJobsInputSchema, listWorkflowRunsCore, listWorkflowRunsDescription, listWorkflowRunsInputSchema, listWorkflowsCore, listWorkflowsDescription, listWorkflowsInputSchema, rerunWorkflowRunCore, rerunWorkflowRunDescription, rerunWorkflowRunInputSchema, shapeJobLog, triggerWorkflowCore, triggerWorkflowDescription, triggerWorkflowInputSchema };
2417
+ }
2418
+ declare const listWorkflowsInputSchema: z.ZodObject<{
2419
+ owner: z.ZodString;
2420
+ repo: z.ZodString;
2421
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2422
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2423
+ }, z.core.$strip>;
2424
+ declare const listWorkflowsDescription = "List GitHub Actions workflows in a repository. When hasMore, pass nextPage — do not repeat the same call.";
1657
2425
  declare function listWorkflowsCore({ token, owner, repo, perPage, page }: {
1658
2426
  token: string;
1659
2427
  owner: string;
@@ -1677,6 +2445,33 @@ declare function listWorkflowsCore({ token, owner, repo, perPage, page }: {
1677
2445
  }[];
1678
2446
  }>;
1679
2447
  type WorkflowRunStatus = 'completed' | 'action_required' | 'cancelled' | 'failure' | 'neutral' | 'skipped' | 'stale' | 'success' | 'timed_out' | 'in_progress' | 'queued' | 'requested' | 'waiting' | 'pending';
2448
+ declare const listWorkflowRunsInputSchema: z.ZodObject<{
2449
+ owner: z.ZodString;
2450
+ repo: z.ZodString;
2451
+ workflowId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
2452
+ branch: z.ZodOptional<z.ZodString>;
2453
+ event: z.ZodOptional<z.ZodString>;
2454
+ status: z.ZodOptional<z.ZodEnum<{
2455
+ success: "success";
2456
+ completed: "completed";
2457
+ action_required: "action_required";
2458
+ cancelled: "cancelled";
2459
+ failure: "failure";
2460
+ neutral: "neutral";
2461
+ skipped: "skipped";
2462
+ stale: "stale";
2463
+ timed_out: "timed_out";
2464
+ in_progress: "in_progress";
2465
+ queued: "queued";
2466
+ requested: "requested";
2467
+ waiting: "waiting";
2468
+ pending: "pending";
2469
+ }>>;
2470
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2471
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2472
+ maxPages: z.ZodOptional<z.ZodNumber>;
2473
+ }, z.core.$strip>;
2474
+ declare const listWorkflowRunsDescription = "List workflow runs for a repository, optionally filtered by workflow, branch, status, or event. When hasMore, pass nextPage or raise maxPages — do not repeat the same call.";
1680
2475
  declare function listWorkflowRunsCore({ token, owner, repo, workflowId, branch, event, status, perPage, page, maxPages }: {
1681
2476
  token: string;
1682
2477
  owner: string;
@@ -1709,6 +2504,12 @@ declare function listWorkflowRunsCore({ token, owner, repo, workflowId, branch,
1709
2504
  runAttempt: number | undefined;
1710
2505
  }[];
1711
2506
  }>;
2507
+ declare const getWorkflowRunInputSchema: z.ZodObject<{
2508
+ owner: z.ZodString;
2509
+ repo: z.ZodString;
2510
+ runId: z.ZodNumber;
2511
+ }, z.core.$strip>;
2512
+ declare const getWorkflowRunDescription = "Get details of a specific workflow run including status, timing, and trigger info";
1712
2513
  declare function getWorkflowRunCore({ token, owner, repo, runId }: {
1713
2514
  token: string;
1714
2515
  owner: string;
@@ -1730,6 +2531,18 @@ declare function getWorkflowRunCore({ token, owner, repo, runId }: {
1730
2531
  updatedAt: string;
1731
2532
  runStartedAt: string | undefined;
1732
2533
  }>;
2534
+ declare const listWorkflowJobsInputSchema: z.ZodObject<{
2535
+ owner: z.ZodString;
2536
+ repo: z.ZodString;
2537
+ runId: z.ZodNumber;
2538
+ filter: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2539
+ all: "all";
2540
+ latest: "latest";
2541
+ }>>>;
2542
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2543
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2544
+ }, z.core.$strip>;
2545
+ declare const listWorkflowJobsDescription = "List jobs for a workflow run, including step-level status and timing. When hasMore, pass nextPage — do not repeat the same call.";
1733
2546
  declare function listWorkflowJobsCore({ token, owner, repo, runId, filter, perPage, page }: {
1734
2547
  token: string;
1735
2548
  owner: string;
@@ -1763,6 +2576,23 @@ declare function listWorkflowJobsCore({ token, owner, repo, runId, filter, perPa
1763
2576
  }[] | undefined;
1764
2577
  }[];
1765
2578
  }>;
2579
+ declare const getWorkflowJobLogsInputSchema: z.ZodObject<{
2580
+ owner: z.ZodString;
2581
+ repo: z.ZodString;
2582
+ jobId: z.ZodNumber;
2583
+ maxLines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2584
+ }, z.core.$strip>;
2585
+ declare const getWorkflowJobLogsDescription = "Get the log output of a workflow job to diagnose failures. Returns the last maxLines lines (default 200) with per-line timestamps stripped to save tokens";
2586
+ /**
2587
+ * Tail-truncate a raw job log and strip the ISO timestamp GitHub prefixes on
2588
+ * every line (~29 tokens-worth of noise per line the model never needs).
2589
+ */
2590
+ declare function shapeJobLog(raw: string, maxLines: number): {
2591
+ totalLines: number;
2592
+ returnedLines: number;
2593
+ omittedLines: number;
2594
+ log: string;
2595
+ };
1766
2596
  declare function getWorkflowJobLogsCore({ token, owner, repo, jobId, maxLines }: {
1767
2597
  token: string;
1768
2598
  owner: string;
@@ -1776,6 +2606,14 @@ declare function getWorkflowJobLogsCore({ token, owner, repo, jobId, maxLines }:
1776
2606
  log: string;
1777
2607
  jobId: number;
1778
2608
  }>;
2609
+ declare const triggerWorkflowInputSchema: z.ZodObject<{
2610
+ owner: z.ZodString;
2611
+ repo: z.ZodString;
2612
+ workflowId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
2613
+ ref: z.ZodString;
2614
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2615
+ }, z.core.$strip>;
2616
+ declare const triggerWorkflowDescription = "Trigger a workflow via workflow_dispatch event";
1779
2617
  /** Not idempotent — each call starts a new workflow run. */
1780
2618
  declare function triggerWorkflowCore({ token, owner, repo, workflowId, ref, inputs }: {
1781
2619
  token: string;
@@ -1789,6 +2627,12 @@ declare function triggerWorkflowCore({ token, owner, repo, workflowId, ref, inpu
1789
2627
  workflowId: string | number;
1790
2628
  ref: string;
1791
2629
  }>;
2630
+ declare const cancelWorkflowRunInputSchema: z.ZodObject<{
2631
+ owner: z.ZodString;
2632
+ repo: z.ZodString;
2633
+ runId: z.ZodNumber;
2634
+ }, z.core.$strip>;
2635
+ declare const cancelWorkflowRunDescription = "Cancel an in-progress workflow run";
1792
2636
  /** Not idempotent — cancelling an already-finished run is a no-op on GitHub but still mutates. */
1793
2637
  declare function cancelWorkflowRunCore({ token, owner, repo, runId }: {
1794
2638
  token: string;
@@ -1799,6 +2643,13 @@ declare function cancelWorkflowRunCore({ token, owner, repo, runId }: {
1799
2643
  cancelled: boolean;
1800
2644
  runId: number;
1801
2645
  }>;
2646
+ declare const rerunWorkflowRunInputSchema: z.ZodObject<{
2647
+ owner: z.ZodString;
2648
+ repo: z.ZodString;
2649
+ runId: z.ZodNumber;
2650
+ onlyFailedJobs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2651
+ }, z.core.$strip>;
2652
+ declare const rerunWorkflowRunDescription = "Re-run a workflow run, optionally only the failed jobs";
1802
2653
  /** Not idempotent — each call starts another run attempt. */
1803
2654
  declare function rerunWorkflowRunCore({ token, owner, repo, runId, onlyFailedJobs }: {
1804
2655
  token: string;
@@ -3309,4 +4160,4 @@ type GithubToolsForPreset<P extends GithubToolPreset | readonly GithubToolPreset
3309
4160
  type PickGithubTools<T extends GithubToolName> = Pick<AllGithubTools, T>;
3310
4161
  //#endregion
3311
4162
  export { ToolOverrides as S, CommitIdentity as _, GithubTokenInput as a, Octokit$1 as b, ApprovalConfig as c, GithubToolPreset as d, PRESET_TOOLS as f, GithubWriteToolName as g, GithubToolName as h, PickGithubTools as i, GITHUB_WRITE_TOOLS as l, GITHUB_TOOL_NAMES as m, GithubToolsBaseOptions as n, resolveGithubToken as o, PresetToolName as p, GithubToolsForPreset as r, GithubToolsContext as s, AllGithubTools as t, CombinedPresetToolNames as u, CommitToolOptions as v, ToolOptions as x, GithubTool as y };
3312
- //# sourceMappingURL=tool-types-DbZpOYFG.d.mts.map
4163
+ //# sourceMappingURL=tool-types-BsfalcyC.d.mts.map