github-rest-mcp 1.0.2

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 (190) hide show
  1. package/README.md +123 -0
  2. package/dist/client.d.ts +2 -0
  3. package/dist/client.d.ts.map +1 -0
  4. package/dist/client.js +55 -0
  5. package/dist/client.js.map +1 -0
  6. package/dist/index.d.ts +3 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +133 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/tools/actions.d.ts +25 -0
  11. package/dist/tools/actions.d.ts.map +1 -0
  12. package/dist/tools/actions.js +2202 -0
  13. package/dist/tools/actions.js.map +1 -0
  14. package/dist/tools/activity.d.ts +8 -0
  15. package/dist/tools/activity.d.ts.map +1 -0
  16. package/dist/tools/activity.js +385 -0
  17. package/dist/tools/activity.js.map +1 -0
  18. package/dist/tools/agent-tasks.d.ts +38 -0
  19. package/dist/tools/agent-tasks.d.ts.map +1 -0
  20. package/dist/tools/agent-tasks.js +78 -0
  21. package/dist/tools/agent-tasks.js.map +1 -0
  22. package/dist/tools/apps.d.ts +8 -0
  23. package/dist/tools/apps.d.ts.map +1 -0
  24. package/dist/tools/apps.js +402 -0
  25. package/dist/tools/apps.js.map +1 -0
  26. package/dist/tools/billing.d.ts +46 -0
  27. package/dist/tools/billing.d.ts.map +1 -0
  28. package/dist/tools/billing.js +145 -0
  29. package/dist/tools/billing.js.map +1 -0
  30. package/dist/tools/campaigns.d.ts +39 -0
  31. package/dist/tools/campaigns.d.ts.map +1 -0
  32. package/dist/tools/campaigns.js +69 -0
  33. package/dist/tools/campaigns.js.map +1 -0
  34. package/dist/tools/checks.d.ts +43 -0
  35. package/dist/tools/checks.d.ts.map +1 -0
  36. package/dist/tools/checks.js +171 -0
  37. package/dist/tools/checks.js.map +1 -0
  38. package/dist/tools/classroom.d.ts +25 -0
  39. package/dist/tools/classroom.d.ts.map +1 -0
  40. package/dist/tools/classroom.js +74 -0
  41. package/dist/tools/classroom.js.map +1 -0
  42. package/dist/tools/code-scanning.d.ts +35 -0
  43. package/dist/tools/code-scanning.d.ts.map +1 -0
  44. package/dist/tools/code-scanning.js +297 -0
  45. package/dist/tools/code-scanning.js.map +1 -0
  46. package/dist/tools/code-security.d.ts +25 -0
  47. package/dist/tools/code-security.d.ts.map +1 -0
  48. package/dist/tools/code-security.js +245 -0
  49. package/dist/tools/code-security.js.map +1 -0
  50. package/dist/tools/codes-of-conduct.d.ts +8 -0
  51. package/dist/tools/codes-of-conduct.d.ts.map +1 -0
  52. package/dist/tools/codes-of-conduct.js +27 -0
  53. package/dist/tools/codes-of-conduct.js.map +1 -0
  54. package/dist/tools/codespaces.d.ts +8 -0
  55. package/dist/tools/codespaces.d.ts.map +1 -0
  56. package/dist/tools/codespaces.js +555 -0
  57. package/dist/tools/codespaces.js.map +1 -0
  58. package/dist/tools/copilot.d.ts +17 -0
  59. package/dist/tools/copilot.d.ts.map +1 -0
  60. package/dist/tools/copilot.js +284 -0
  61. package/dist/tools/copilot.js.map +1 -0
  62. package/dist/tools/credentials.d.ts +10 -0
  63. package/dist/tools/credentials.d.ts.map +1 -0
  64. package/dist/tools/credentials.js +19 -0
  65. package/dist/tools/credentials.js.map +1 -0
  66. package/dist/tools/dependabot.d.ts +49 -0
  67. package/dist/tools/dependabot.d.ts.map +1 -0
  68. package/dist/tools/dependabot.js +311 -0
  69. package/dist/tools/dependabot.js.map +1 -0
  70. package/dist/tools/dependency-graph.d.ts +11 -0
  71. package/dist/tools/dependency-graph.d.ts.map +1 -0
  72. package/dist/tools/dependency-graph.js +45 -0
  73. package/dist/tools/dependency-graph.js.map +1 -0
  74. package/dist/tools/emojis.d.ts +8 -0
  75. package/dist/tools/emojis.d.ts.map +1 -0
  76. package/dist/tools/emojis.js +17 -0
  77. package/dist/tools/emojis.js.map +1 -0
  78. package/dist/tools/enterprise-team-memberships.d.ts +31 -0
  79. package/dist/tools/enterprise-team-memberships.d.ts.map +1 -0
  80. package/dist/tools/enterprise-team-memberships.js +82 -0
  81. package/dist/tools/enterprise-team-memberships.js.map +1 -0
  82. package/dist/tools/enterprise-team-organizations.d.ts +31 -0
  83. package/dist/tools/enterprise-team-organizations.d.ts.map +1 -0
  84. package/dist/tools/enterprise-team-organizations.js +82 -0
  85. package/dist/tools/enterprise-team-organizations.js.map +1 -0
  86. package/dist/tools/enterprise-teams.d.ts +28 -0
  87. package/dist/tools/enterprise-teams.d.ts.map +1 -0
  88. package/dist/tools/enterprise-teams.js +66 -0
  89. package/dist/tools/enterprise-teams.js.map +1 -0
  90. package/dist/tools/gists.d.ts +26 -0
  91. package/dist/tools/gists.d.ts.map +1 -0
  92. package/dist/tools/gists.js +231 -0
  93. package/dist/tools/gists.js.map +1 -0
  94. package/dist/tools/git.d.ts +58 -0
  95. package/dist/tools/git.d.ts.map +1 -0
  96. package/dist/tools/git.js +167 -0
  97. package/dist/tools/git.js.map +1 -0
  98. package/dist/tools/gitignore.d.ts +8 -0
  99. package/dist/tools/gitignore.d.ts.map +1 -0
  100. package/dist/tools/gitignore.js +27 -0
  101. package/dist/tools/gitignore.js.map +1 -0
  102. package/dist/tools/hosted-compute.d.ts +36 -0
  103. package/dist/tools/hosted-compute.d.ts.map +1 -0
  104. package/dist/tools/hosted-compute.js +77 -0
  105. package/dist/tools/hosted-compute.js.map +1 -0
  106. package/dist/tools/index.d.ts +45 -0
  107. package/dist/tools/index.d.ts.map +1 -0
  108. package/dist/tools/index.js +93 -0
  109. package/dist/tools/index.js.map +1 -0
  110. package/dist/tools/interactions.d.ts +8 -0
  111. package/dist/tools/interactions.d.ts.map +1 -0
  112. package/dist/tools/interactions.js +100 -0
  113. package/dist/tools/interactions.js.map +1 -0
  114. package/dist/tools/issues.d.ts +126 -0
  115. package/dist/tools/issues.d.ts.map +1 -0
  116. package/dist/tools/issues.js +746 -0
  117. package/dist/tools/issues.js.map +1 -0
  118. package/dist/tools/licenses.d.ts +28 -0
  119. package/dist/tools/licenses.d.ts.map +1 -0
  120. package/dist/tools/licenses.js +43 -0
  121. package/dist/tools/licenses.js.map +1 -0
  122. package/dist/tools/markdown.d.ts +10 -0
  123. package/dist/tools/markdown.d.ts.map +1 -0
  124. package/dist/tools/markdown.js +29 -0
  125. package/dist/tools/markdown.js.map +1 -0
  126. package/dist/tools/meta.d.ts +8 -0
  127. package/dist/tools/meta.d.ts.map +1 -0
  128. package/dist/tools/meta.js +51 -0
  129. package/dist/tools/meta.js.map +1 -0
  130. package/dist/tools/migrations.d.ts +33 -0
  131. package/dist/tools/migrations.d.ts.map +1 -0
  132. package/dist/tools/migrations.js +261 -0
  133. package/dist/tools/migrations.js.map +1 -0
  134. package/dist/tools/oidc.d.ts +17 -0
  135. package/dist/tools/oidc.d.ts.map +1 -0
  136. package/dist/tools/oidc.js +94 -0
  137. package/dist/tools/oidc.js.map +1 -0
  138. package/dist/tools/orgs.d.ts +26 -0
  139. package/dist/tools/orgs.d.ts.map +1 -0
  140. package/dist/tools/orgs.js +1304 -0
  141. package/dist/tools/orgs.js.map +1 -0
  142. package/dist/tools/packages.d.ts +8 -0
  143. package/dist/tools/packages.d.ts.map +1 -0
  144. package/dist/tools/packages.js +341 -0
  145. package/dist/tools/packages.js.map +1 -0
  146. package/dist/tools/private-registries.d.ts +10 -0
  147. package/dist/tools/private-registries.d.ts.map +1 -0
  148. package/dist/tools/private-registries.js +76 -0
  149. package/dist/tools/private-registries.js.map +1 -0
  150. package/dist/tools/projects.d.ts +50 -0
  151. package/dist/tools/projects.d.ts.map +1 -0
  152. package/dist/tools/projects.js +347 -0
  153. package/dist/tools/projects.js.map +1 -0
  154. package/dist/tools/pulls.d.ts +77 -0
  155. package/dist/tools/pulls.d.ts.map +1 -0
  156. package/dist/tools/pulls.js +374 -0
  157. package/dist/tools/pulls.js.map +1 -0
  158. package/dist/tools/rate-limit.d.ts +8 -0
  159. package/dist/tools/rate-limit.d.ts.map +1 -0
  160. package/dist/tools/rate-limit.js +17 -0
  161. package/dist/tools/rate-limit.js.map +1 -0
  162. package/dist/tools/reactions.d.ts +124 -0
  163. package/dist/tools/reactions.d.ts.map +1 -0
  164. package/dist/tools/reactions.js +214 -0
  165. package/dist/tools/reactions.js.map +1 -0
  166. package/dist/tools/repos.d.ts +56 -0
  167. package/dist/tools/repos.d.ts.map +1 -0
  168. package/dist/tools/repos.js +2514 -0
  169. package/dist/tools/repos.js.map +1 -0
  170. package/dist/tools/search.d.ts +12 -0
  171. package/dist/tools/search.d.ts.map +1 -0
  172. package/dist/tools/search.js +108 -0
  173. package/dist/tools/search.js.map +1 -0
  174. package/dist/tools/secret-scanning.d.ts +18 -0
  175. package/dist/tools/secret-scanning.d.ts.map +1 -0
  176. package/dist/tools/secret-scanning.js +148 -0
  177. package/dist/tools/secret-scanning.js.map +1 -0
  178. package/dist/tools/security-advisories.d.ts +112 -0
  179. package/dist/tools/security-advisories.d.ts.map +1 -0
  180. package/dist/tools/security-advisories.js +152 -0
  181. package/dist/tools/security-advisories.js.map +1 -0
  182. package/dist/tools/teams.d.ts +34 -0
  183. package/dist/tools/teams.d.ts.map +1 -0
  184. package/dist/tools/teams.js +392 -0
  185. package/dist/tools/teams.js.map +1 -0
  186. package/dist/tools/users.d.ts +8 -0
  187. package/dist/tools/users.d.ts.map +1 -0
  188. package/dist/tools/users.js +510 -0
  189. package/dist/tools/users.js.map +1 -0
  190. package/package.json +50 -0
@@ -0,0 +1,50 @@
1
+ import { z } from "zod";
2
+ export declare const projectsTools: ({
3
+ name: string;
4
+ description: string;
5
+ inputSchema: z.ZodObject<{
6
+ org: z.ZodString;
7
+ q: z.ZodOptional<z.ZodString>;
8
+ before: z.ZodOptional<z.ZodString>;
9
+ after: z.ZodOptional<z.ZodString>;
10
+ per_page: z.ZodOptional<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ handler: (args: Record<string, any>) => Promise<unknown>;
13
+ } | {
14
+ name: string;
15
+ description: string;
16
+ inputSchema: z.ZodObject<{
17
+ org: z.ZodString;
18
+ project_number: z.ZodString;
19
+ }, z.core.$strip>;
20
+ handler: (args: Record<string, any>) => Promise<unknown>;
21
+ } | {
22
+ name: string;
23
+ description: string;
24
+ inputSchema: z.ZodObject<{
25
+ user_id: z.ZodString;
26
+ project_number: z.ZodString;
27
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28
+ }, z.core.$strip>;
29
+ handler: (args: Record<string, any>) => Promise<unknown>;
30
+ } | {
31
+ name: string;
32
+ description: string;
33
+ inputSchema: z.ZodObject<{
34
+ username: z.ZodString;
35
+ q: z.ZodOptional<z.ZodString>;
36
+ before: z.ZodOptional<z.ZodString>;
37
+ after: z.ZodOptional<z.ZodString>;
38
+ per_page: z.ZodOptional<z.ZodNumber>;
39
+ }, z.core.$strip>;
40
+ handler: (args: Record<string, any>) => Promise<unknown>;
41
+ } | {
42
+ name: string;
43
+ description: string;
44
+ inputSchema: z.ZodObject<{
45
+ username: z.ZodString;
46
+ project_number: z.ZodString;
47
+ }, z.core.$strip>;
48
+ handler: (args: Record<string, any>) => Promise<unknown>;
49
+ })[];
50
+ //# sourceMappingURL=projects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa;;;;;;;;;;oBAWA,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;oBAWnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;oBA4JnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;oBA0BnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;oBAWnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IA4H5C,CAAC"}
@@ -0,0 +1,347 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.projectsTools = void 0;
4
+ // AUTO-GENERATED by scripts/generate.ts — DO NOT EDIT
5
+ const zod_1 = require("zod");
6
+ const client_js_1 = require("../client.js");
7
+ exports.projectsTools = [
8
+ {
9
+ name: "github_projects_list_for_org",
10
+ description: "List projects for organization",
11
+ inputSchema: zod_1.z.object({
12
+ org: zod_1.z.string().describe("org"),
13
+ q: zod_1.z.string().optional().describe("Limit results to projects of the specified type."),
14
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
15
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
16
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"")
17
+ }),
18
+ handler: async (args) => {
19
+ return (0, client_js_1.githubRequest)("GET", `/orgs/${args.org}/projectsV2`, undefined, { q: args.q, before: args.before, after: args.after, per_page: args.per_page });
20
+ },
21
+ },
22
+ {
23
+ name: "github_projects_get_for_org",
24
+ description: "Get project for organization",
25
+ inputSchema: zod_1.z.object({
26
+ org: zod_1.z.string().describe("org"),
27
+ project_number: zod_1.z.string().describe("project_number")
28
+ }),
29
+ handler: async (args) => {
30
+ return (0, client_js_1.githubRequest)("GET", `/orgs/${args.org}/projectsV2/${args.project_number}`, undefined, undefined);
31
+ },
32
+ },
33
+ {
34
+ name: "github_projects_create_draft_item_for_org",
35
+ description: "Create draft item for organization owned project",
36
+ inputSchema: zod_1.z.object({
37
+ org: zod_1.z.string().describe("org"),
38
+ project_number: zod_1.z.string().describe("project_number"),
39
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
40
+ }),
41
+ handler: async (args) => {
42
+ return (0, client_js_1.githubRequest)("POST", `/orgs/${args.org}/projectsV2/${args.project_number}/drafts`, args.body, undefined);
43
+ },
44
+ },
45
+ {
46
+ name: "github_projects_list_fields_for_org",
47
+ description: "List project fields for organization",
48
+ inputSchema: zod_1.z.object({
49
+ org: zod_1.z.string().describe("org"),
50
+ project_number: zod_1.z.string().describe("project_number"),
51
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
52
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
53
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"")
54
+ }),
55
+ handler: async (args) => {
56
+ return (0, client_js_1.githubRequest)("GET", `/orgs/${args.org}/projectsV2/${args.project_number}/fields`, undefined, { per_page: args.per_page, before: args.before, after: args.after });
57
+ },
58
+ },
59
+ {
60
+ name: "github_projects_add_field_for_org",
61
+ description: "Add a field to an organization-owned project.",
62
+ inputSchema: zod_1.z.object({
63
+ org: zod_1.z.string().describe("org"),
64
+ project_number: zod_1.z.string().describe("project_number"),
65
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
66
+ }),
67
+ handler: async (args) => {
68
+ return (0, client_js_1.githubRequest)("POST", `/orgs/${args.org}/projectsV2/${args.project_number}/fields`, args.body, undefined);
69
+ },
70
+ },
71
+ {
72
+ name: "github_projects_get_field_for_org",
73
+ description: "Get project field for organization",
74
+ inputSchema: zod_1.z.object({
75
+ org: zod_1.z.string().describe("org"),
76
+ project_number: zod_1.z.string().describe("project_number"),
77
+ field_id: zod_1.z.string().describe("field_id")
78
+ }),
79
+ handler: async (args) => {
80
+ return (0, client_js_1.githubRequest)("GET", `/orgs/${args.org}/projectsV2/${args.project_number}/fields/${args.field_id}`, undefined, undefined);
81
+ },
82
+ },
83
+ {
84
+ name: "github_projects_list_items_for_org",
85
+ description: "List items for an organization owned project",
86
+ inputSchema: zod_1.z.object({
87
+ org: zod_1.z.string().describe("org"),
88
+ project_number: zod_1.z.string().describe("project_number"),
89
+ q: zod_1.z.string().optional().describe("Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information."),
90
+ fields: zod_1.z.unknown().optional().describe("Limit results to specific fields, by their IDs. If not specified, the title field will be returned. Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`"),
91
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
92
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
93
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"")
94
+ }),
95
+ handler: async (args) => {
96
+ return (0, client_js_1.githubRequest)("GET", `/orgs/${args.org}/projectsV2/${args.project_number}/items`, undefined, { q: args.q, fields: args.fields, before: args.before, after: args.after, per_page: args.per_page });
97
+ },
98
+ },
99
+ {
100
+ name: "github_projects_add_item_for_org",
101
+ description: "Add item to organization owned project",
102
+ inputSchema: zod_1.z.object({
103
+ org: zod_1.z.string().describe("org"),
104
+ project_number: zod_1.z.string().describe("project_number"),
105
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
106
+ }),
107
+ handler: async (args) => {
108
+ return (0, client_js_1.githubRequest)("POST", `/orgs/${args.org}/projectsV2/${args.project_number}/items`, args.body, undefined);
109
+ },
110
+ },
111
+ {
112
+ name: "github_projects_get_org_item",
113
+ description: "Get an item for an organization owned project",
114
+ inputSchema: zod_1.z.object({
115
+ org: zod_1.z.string().describe("org"),
116
+ project_number: zod_1.z.string().describe("project_number"),
117
+ item_id: zod_1.z.string().describe("item_id"),
118
+ fields: zod_1.z.unknown().optional().describe("Limit results to specific fields, by their IDs. If not specified, the title field will be returned. Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789")
119
+ }),
120
+ handler: async (args) => {
121
+ return (0, client_js_1.githubRequest)("GET", `/orgs/${args.org}/projectsV2/${args.project_number}/items/${args.item_id}`, undefined, { fields: args.fields });
122
+ },
123
+ },
124
+ {
125
+ name: "github_projects_update_item_for_org",
126
+ description: "Update project item for organization",
127
+ inputSchema: zod_1.z.object({
128
+ org: zod_1.z.string().describe("org"),
129
+ project_number: zod_1.z.string().describe("project_number"),
130
+ item_id: zod_1.z.string().describe("item_id"),
131
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
132
+ }),
133
+ handler: async (args) => {
134
+ return (0, client_js_1.githubRequest)("PATCH", `/orgs/${args.org}/projectsV2/${args.project_number}/items/${args.item_id}`, args.body, undefined);
135
+ },
136
+ },
137
+ {
138
+ name: "github_projects_delete_item_for_org",
139
+ description: "Delete project item for organization",
140
+ inputSchema: zod_1.z.object({
141
+ org: zod_1.z.string().describe("org"),
142
+ project_number: zod_1.z.string().describe("project_number"),
143
+ item_id: zod_1.z.string().describe("item_id")
144
+ }),
145
+ handler: async (args) => {
146
+ return (0, client_js_1.githubRequest)("DELETE", `/orgs/${args.org}/projectsV2/${args.project_number}/items/${args.item_id}`, undefined, undefined);
147
+ },
148
+ },
149
+ {
150
+ name: "github_projects_create_view_for_org",
151
+ description: "Create a view for an organization-owned project",
152
+ inputSchema: zod_1.z.object({
153
+ org: zod_1.z.string().describe("org"),
154
+ project_number: zod_1.z.string().describe("project_number"),
155
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
156
+ }),
157
+ handler: async (args) => {
158
+ return (0, client_js_1.githubRequest)("POST", `/orgs/${args.org}/projectsV2/${args.project_number}/views`, args.body, undefined);
159
+ },
160
+ },
161
+ {
162
+ name: "github_projects_list_view_items_for_org",
163
+ description: "List items for an organization project view",
164
+ inputSchema: zod_1.z.object({
165
+ org: zod_1.z.string().describe("org"),
166
+ project_number: zod_1.z.string().describe("project_number"),
167
+ view_number: zod_1.z.string().describe("view_number"),
168
+ fields: zod_1.z.unknown().optional().describe("Limit results to specific fields, by their IDs. If not specified, the title field will be returned. Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`"),
169
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
170
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
171
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"")
172
+ }),
173
+ handler: async (args) => {
174
+ return (0, client_js_1.githubRequest)("GET", `/orgs/${args.org}/projectsV2/${args.project_number}/views/${args.view_number}/items`, undefined, { fields: args.fields, before: args.before, after: args.after, per_page: args.per_page });
175
+ },
176
+ },
177
+ {
178
+ name: "github_projects_create_draft_item_for_authenticated_user",
179
+ description: "Create draft item for user owned project",
180
+ inputSchema: zod_1.z.object({
181
+ user_id: zod_1.z.string().describe("user_id"),
182
+ project_number: zod_1.z.string().describe("project_number"),
183
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
184
+ }),
185
+ handler: async (args) => {
186
+ return (0, client_js_1.githubRequest)("POST", `/user/${args.user_id}/projectsV2/${args.project_number}/drafts`, args.body, undefined);
187
+ },
188
+ },
189
+ {
190
+ name: "github_projects_create_view_for_user",
191
+ description: "Create a view for a user-owned project",
192
+ inputSchema: zod_1.z.object({
193
+ user_id: zod_1.z.string().describe("user_id"),
194
+ project_number: zod_1.z.string().describe("project_number"),
195
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
196
+ }),
197
+ handler: async (args) => {
198
+ return (0, client_js_1.githubRequest)("POST", `/users/${args.user_id}/projectsV2/${args.project_number}/views`, args.body, undefined);
199
+ },
200
+ },
201
+ {
202
+ name: "github_projects_list_for_user",
203
+ description: "List projects for user",
204
+ inputSchema: zod_1.z.object({
205
+ username: zod_1.z.string().describe("username"),
206
+ q: zod_1.z.string().optional().describe("Limit results to projects of the specified type."),
207
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
208
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
209
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"")
210
+ }),
211
+ handler: async (args) => {
212
+ return (0, client_js_1.githubRequest)("GET", `/users/${args.username}/projectsV2`, undefined, { q: args.q, before: args.before, after: args.after, per_page: args.per_page });
213
+ },
214
+ },
215
+ {
216
+ name: "github_projects_get_for_user",
217
+ description: "Get project for user",
218
+ inputSchema: zod_1.z.object({
219
+ username: zod_1.z.string().describe("username"),
220
+ project_number: zod_1.z.string().describe("project_number")
221
+ }),
222
+ handler: async (args) => {
223
+ return (0, client_js_1.githubRequest)("GET", `/users/${args.username}/projectsV2/${args.project_number}`, undefined, undefined);
224
+ },
225
+ },
226
+ {
227
+ name: "github_projects_list_fields_for_user",
228
+ description: "List project fields for user",
229
+ inputSchema: zod_1.z.object({
230
+ username: zod_1.z.string().describe("username"),
231
+ project_number: zod_1.z.string().describe("project_number"),
232
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
233
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
234
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"")
235
+ }),
236
+ handler: async (args) => {
237
+ return (0, client_js_1.githubRequest)("GET", `/users/${args.username}/projectsV2/${args.project_number}/fields`, undefined, { per_page: args.per_page, before: args.before, after: args.after });
238
+ },
239
+ },
240
+ {
241
+ name: "github_projects_add_field_for_user",
242
+ description: "Add field to user owned project",
243
+ inputSchema: zod_1.z.object({
244
+ username: zod_1.z.string().describe("username"),
245
+ project_number: zod_1.z.string().describe("project_number"),
246
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
247
+ }),
248
+ handler: async (args) => {
249
+ return (0, client_js_1.githubRequest)("POST", `/users/${args.username}/projectsV2/${args.project_number}/fields`, args.body, undefined);
250
+ },
251
+ },
252
+ {
253
+ name: "github_projects_get_field_for_user",
254
+ description: "Get project field for user",
255
+ inputSchema: zod_1.z.object({
256
+ username: zod_1.z.string().describe("username"),
257
+ project_number: zod_1.z.string().describe("project_number"),
258
+ field_id: zod_1.z.string().describe("field_id")
259
+ }),
260
+ handler: async (args) => {
261
+ return (0, client_js_1.githubRequest)("GET", `/users/${args.username}/projectsV2/${args.project_number}/fields/${args.field_id}`, undefined, undefined);
262
+ },
263
+ },
264
+ {
265
+ name: "github_projects_list_items_for_user",
266
+ description: "List items for a user owned project",
267
+ inputSchema: zod_1.z.object({
268
+ username: zod_1.z.string().describe("username"),
269
+ project_number: zod_1.z.string().describe("project_number"),
270
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
271
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
272
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
273
+ q: zod_1.z.string().optional().describe("Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information."),
274
+ fields: zod_1.z.unknown().optional().describe("Limit results to specific fields, by their IDs. If not specified, the title field will be returned. Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`")
275
+ }),
276
+ handler: async (args) => {
277
+ return (0, client_js_1.githubRequest)("GET", `/users/${args.username}/projectsV2/${args.project_number}/items`, undefined, { before: args.before, after: args.after, per_page: args.per_page, q: args.q, fields: args.fields });
278
+ },
279
+ },
280
+ {
281
+ name: "github_projects_add_item_for_user",
282
+ description: "Add item to user owned project",
283
+ inputSchema: zod_1.z.object({
284
+ username: zod_1.z.string().describe("username"),
285
+ project_number: zod_1.z.string().describe("project_number"),
286
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
287
+ }),
288
+ handler: async (args) => {
289
+ return (0, client_js_1.githubRequest)("POST", `/users/${args.username}/projectsV2/${args.project_number}/items`, args.body, undefined);
290
+ },
291
+ },
292
+ {
293
+ name: "github_projects_get_user_item",
294
+ description: "Get an item for a user owned project",
295
+ inputSchema: zod_1.z.object({
296
+ username: zod_1.z.string().describe("username"),
297
+ project_number: zod_1.z.string().describe("project_number"),
298
+ item_id: zod_1.z.string().describe("item_id"),
299
+ fields: zod_1.z.unknown().optional().describe("Limit results to specific fields, by their IDs. If not specified, the title field will be returned. Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789")
300
+ }),
301
+ handler: async (args) => {
302
+ return (0, client_js_1.githubRequest)("GET", `/users/${args.username}/projectsV2/${args.project_number}/items/${args.item_id}`, undefined, { fields: args.fields });
303
+ },
304
+ },
305
+ {
306
+ name: "github_projects_update_item_for_user",
307
+ description: "Update project item for user",
308
+ inputSchema: zod_1.z.object({
309
+ username: zod_1.z.string().describe("username"),
310
+ project_number: zod_1.z.string().describe("project_number"),
311
+ item_id: zod_1.z.string().describe("item_id"),
312
+ body: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe("Request body (JSON object)")
313
+ }),
314
+ handler: async (args) => {
315
+ return (0, client_js_1.githubRequest)("PATCH", `/users/${args.username}/projectsV2/${args.project_number}/items/${args.item_id}`, args.body, undefined);
316
+ },
317
+ },
318
+ {
319
+ name: "github_projects_delete_item_for_user",
320
+ description: "Delete project item for user",
321
+ inputSchema: zod_1.z.object({
322
+ username: zod_1.z.string().describe("username"),
323
+ project_number: zod_1.z.string().describe("project_number"),
324
+ item_id: zod_1.z.string().describe("item_id")
325
+ }),
326
+ handler: async (args) => {
327
+ return (0, client_js_1.githubRequest)("DELETE", `/users/${args.username}/projectsV2/${args.project_number}/items/${args.item_id}`, undefined, undefined);
328
+ },
329
+ },
330
+ {
331
+ name: "github_projects_list_view_items_for_user",
332
+ description: "List items for a user project view",
333
+ inputSchema: zod_1.z.object({
334
+ username: zod_1.z.string().describe("username"),
335
+ project_number: zod_1.z.string().describe("project_number"),
336
+ view_number: zod_1.z.string().describe("view_number"),
337
+ fields: zod_1.z.unknown().optional().describe("Limit results to specific fields, by their IDs. If not specified, the title field will be returned. Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`"),
338
+ before: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
339
+ after: zod_1.z.string().optional().describe("A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""),
340
+ per_page: zod_1.z.number().optional().describe("The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"")
341
+ }),
342
+ handler: async (args) => {
343
+ return (0, client_js_1.githubRequest)("GET", `/users/${args.username}/projectsV2/${args.project_number}/views/${args.view_number}/items`, undefined, { fields: args.fields, before: args.before, after: args.after, per_page: args.per_page });
344
+ },
345
+ },
346
+ ];
347
+ //# sourceMappingURL=projects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.js","sourceRoot":"","sources":["../../src/tools/projects.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,6BAAwB;AACxB,4CAA6C;AAEhC,QAAA,aAAa,GAAG;IAC3B;QACE,IAAI,EAAE,8BAA8B;QACpC,WAAW,EAAE,gCAAgC;QAC7C,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC;YACpB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;YAC/B,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kDAAkD,CAAC;YACrF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6VAA6V,CAAC;YACrY,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4VAA4V,CAAC;YACnY,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+LAA+L,CAAC;SAC1O,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,IAAyB,EAAE,EAAE;YAC3C,OAAO,IAAA,yBAAa,EAAC,KAAK,EAAE,SAAS,IAAI,CAAC,GAAG,aAAa,EAAE,SAAS,EAAE,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAA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ACzC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;YACrD,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;YAC/C,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gLAAgL,CAAC;YACzN,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6VAA6V,CAAC;YACrY,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4VAA4V,CAAC;YACnY,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+LAA+L,CAAC;SAC1O,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,IAAyB,EAAE,EAAE;YAC3C,OAAO,IAAA,yBAAa,EAAC,KAAK,EAAE,UAAU,IAAI,CAAC,QAAQ,eAAe,IAAI,CAAC,cAAc,UAAU,IAAI,CAAC,WAAW,QAAQ,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAChO,CAAC;KACF;CACF,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { z } from "zod";
2
+ export declare const pullsTools: ({
3
+ name: string;
4
+ description: string;
5
+ inputSchema: z.ZodObject<{
6
+ owner: z.ZodString;
7
+ repo: z.ZodString;
8
+ state: z.ZodOptional<z.ZodEnum<{
9
+ all: "all";
10
+ open: "open";
11
+ closed: "closed";
12
+ }>>;
13
+ head: z.ZodOptional<z.ZodString>;
14
+ base: z.ZodOptional<z.ZodString>;
15
+ sort: z.ZodOptional<z.ZodEnum<{
16
+ created: "created";
17
+ updated: "updated";
18
+ popularity: "popularity";
19
+ "long-running": "long-running";
20
+ }>>;
21
+ direction: z.ZodOptional<z.ZodEnum<{
22
+ asc: "asc";
23
+ desc: "desc";
24
+ }>>;
25
+ per_page: z.ZodOptional<z.ZodNumber>;
26
+ page: z.ZodOptional<z.ZodNumber>;
27
+ }, z.core.$strip>;
28
+ handler: (args: Record<string, any>) => Promise<unknown>;
29
+ } | {
30
+ name: string;
31
+ description: string;
32
+ inputSchema: z.ZodObject<{
33
+ owner: z.ZodString;
34
+ repo: z.ZodString;
35
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
36
+ }, z.core.$strip>;
37
+ handler: (args: Record<string, any>) => Promise<unknown>;
38
+ } | {
39
+ name: string;
40
+ description: string;
41
+ inputSchema: z.ZodObject<{
42
+ owner: z.ZodString;
43
+ repo: z.ZodString;
44
+ sort: z.ZodOptional<z.ZodEnum<{
45
+ created_at: "created_at";
46
+ created: "created";
47
+ updated: "updated";
48
+ }>>;
49
+ direction: z.ZodOptional<z.ZodEnum<{
50
+ asc: "asc";
51
+ desc: "desc";
52
+ }>>;
53
+ since: z.ZodOptional<z.ZodString>;
54
+ per_page: z.ZodOptional<z.ZodNumber>;
55
+ page: z.ZodOptional<z.ZodNumber>;
56
+ }, z.core.$strip>;
57
+ handler: (args: Record<string, any>) => Promise<unknown>;
58
+ } | {
59
+ name: string;
60
+ description: string;
61
+ inputSchema: z.ZodObject<{
62
+ owner: z.ZodString;
63
+ repo: z.ZodString;
64
+ comment_id: z.ZodString;
65
+ }, z.core.$strip>;
66
+ handler: (args: Record<string, any>) => Promise<unknown>;
67
+ } | {
68
+ name: string;
69
+ description: string;
70
+ inputSchema: z.ZodObject<{
71
+ owner: z.ZodString;
72
+ repo: z.ZodString;
73
+ pull_number: z.ZodString;
74
+ }, z.core.$strip>;
75
+ handler: (args: Record<string, any>) => Promise<unknown>;
76
+ })[];
77
+ //# sourceMappingURL=pulls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pulls.d.ts","sourceRoot":"","sources":["../../src/tools/pulls.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;oBAeG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;oBAYnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;oBAgBnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;oBAYnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;oBAqCnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAkR5C,CAAC"}