@tool-bridge/server 0.21.0 → 0.22.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 (178) hide show
  1. package/dist/admin.js +170 -0
  2. package/dist/airtable-ML2GIGCH.js +790 -0
  3. package/dist/{alt_text_generator_ai-RELFQ5FV.js → alt_text_generator_ai-FGYQAF2A.js} +12 -11
  4. package/dist/{amap-YSYEACKQ.js → amap-G7V65NGK.js} +221 -220
  5. package/dist/anthropic-6ZK24TBB.js +203 -0
  6. package/dist/apify-VDGYHP6W.js +248 -0
  7. package/dist/brave_search-TAATLZOS.js +302 -0
  8. package/dist/chunk-2IAI3XQM.js +302 -0
  9. package/dist/chunk-7ISGFRC6.js +161 -0
  10. package/dist/{chunk-Q74GLIDK.js → chunk-BNMLA2RC.js} +6 -5
  11. package/dist/chunk-HA4BGL6C.js +8429 -0
  12. package/dist/{chunk-MDY7K5CX.js → chunk-RMAWSG7E.js} +20135 -26920
  13. package/dist/{chunk-JEWFX6Z6.js → chunk-RTW5VRTK.js} +3 -3
  14. package/dist/chunk-U7PTOA3U.js +7320 -0
  15. package/dist/chunk-UY6ANCOY.js +378 -0
  16. package/dist/{chunk-QR4LK3HF.js → chunk-X7ZUTKHR.js} +4 -2
  17. package/dist/circleci-BQ2UWXL2.js +389 -0
  18. package/dist/clerk-2JYWQNOI.js +1019 -0
  19. package/dist/cohere-6MI7AQM4.js +185 -0
  20. package/dist/{confluence-52I37IUT.js → confluence-6Y6GDETF.js} +105 -104
  21. package/dist/{convertapi-3TRJ3WEO.js → convertapi-HBZCSWOX.js} +32 -31
  22. package/dist/{currencyapi-LWEANWVI.js → currencyapi-337U5TGI.js} +71 -71
  23. package/dist/deepseek-OSPASO7O.js +210 -0
  24. package/dist/docker_hub-3ATQOY5L.js +933 -0
  25. package/dist/dropbox-LSA4GM2Y.js +1305 -0
  26. package/dist/dub-VZPJSPI6.js +680 -0
  27. package/dist/e2b-6SDYQZL2.js +278 -0
  28. package/dist/exa-B6EUYDVP.js +332 -0
  29. package/dist/{fal_ai-VJPMCNRH.js → fal_ai-K4Q27IME.js} +81 -80
  30. package/dist/feishu-4TKXG4SU.js +11975 -0
  31. package/dist/{feishu_custom_bot-ADSE23KU.js → feishu_custom_bot-7CTEAKRB.js} +57 -53
  32. package/dist/figma-OUKSZLD5.js +777 -0
  33. package/dist/firehydrant-7MOYL7QH.js +563 -0
  34. package/dist/{fixer-OAMF4DKP.js → fixer-H2BV2NO4.js} +34 -33
  35. package/dist/fly-PXKY6PNH.js +469 -0
  36. package/dist/{front-6GTVYKUM.js → front-UZYIV5DW.js} +104 -104
  37. package/dist/geocodio-NSYO7TFP.js +213 -0
  38. package/dist/ghost-QBKKQQMF.js +338 -0
  39. package/dist/github-ENLSJ4CL.js +5421 -0
  40. package/dist/gmail-KQSDEB47.js +1887 -0
  41. package/dist/googlecalendar-5YCX4SZF.js +2524 -0
  42. package/dist/{googledocs-YNKKBM6Q.js → googledocs-SSWIVFKA.js} +343 -341
  43. package/dist/{grafana-353VSGXN.js → grafana-TF2LXDQA.js} +221 -220
  44. package/dist/graphhopper-CURBVHYK.js +325 -0
  45. package/dist/index.d.ts +1132 -332
  46. package/dist/index.js +31 -13
  47. package/dist/{ip2proxy-DBGRWH7S.js → ip2proxy-YNVMTZEM.js} +28 -27
  48. package/dist/ipgeolocation_io-NAU7VJ4J.js +315 -0
  49. package/dist/ipqualityscore-OT63L4TI.js +279 -0
  50. package/dist/{jina_ai-L5BH455V.js → jina_ai-6WBMBGWM.js} +23 -23
  51. package/dist/{jira-IGTILUZA.js → jira-DVDVTHNO.js} +118 -117
  52. package/dist/langsmith-IM5N4YAU.js +593 -0
  53. package/dist/lemlist-277SHUQF.js +289 -0
  54. package/dist/{linear-HLGOWISN.js → linear-AEPH7B5V.js} +329 -327
  55. package/dist/logsnag-VEWRAGBG.js +150 -0
  56. package/dist/main.js +57 -279
  57. package/dist/{mattermost-BONGXVC7.js → mattermost-Q3A2BIZA.js} +59 -58
  58. package/dist/mem0-AXS7GZGI.js +544 -0
  59. package/dist/memos-7TXG4ZTU.js +744 -0
  60. package/dist/{metabase-ZHXHRHZK.js → metabase-NSVACWQM.js} +90 -89
  61. package/dist/mistral_ai-YZ52RGD4.js +1196 -0
  62. package/dist/{mother_duck-TKVQM35M.js → mother_duck-XLLL6FVL.js} +94 -93
  63. package/dist/ngrok-4O4W3WZW.js +356 -0
  64. package/dist/{notes-KXRNNYDW.js → notes-YTB3TJOO.js} +11 -9
  65. package/dist/notion-4W4O7J7V.js +940 -0
  66. package/dist/open_exchange_rates-23QJXVO5.js +215 -0
  67. package/dist/openai-ZS7GLSLH.js +800 -0
  68. package/dist/opengraph_io-PMVH7OYI.js +362 -0
  69. package/dist/openrouter-ONRGFNB6.js +441 -0
  70. package/dist/outline-UCUYZZ7J.js +599 -0
  71. package/dist/paddle-35HTKTUL.js +454 -0
  72. package/dist/perplexity-NVOBYN24.js +220 -0
  73. package/dist/pinecone-55CJY73C.js +571 -0
  74. package/dist/{pipedrive-CW7HONYW.js → pipedrive-WMCAKS72.js} +99 -98
  75. package/dist/polar-SM4ZM53B.js +395 -0
  76. package/dist/posthog-NWCXVXNJ.js +3464 -0
  77. package/dist/postmark-QJV5PHUQ.js +427 -0
  78. package/dist/{prerender-5EAY7GDM.js → prerender-2W7UT4SC.js} +31 -30
  79. package/dist/{pubmed-GRQUBGVA.js → pubmed-VVV7XYLU.js} +241 -239
  80. package/dist/{railway-FTM75TMX.js → railway-KGI57S3O.js} +118 -117
  81. package/dist/readwise-AGHTQB42.js +470 -0
  82. package/dist/render-O4HBROCK.js +461 -0
  83. package/dist/{replicate-RJCMDB7H.js → replicate-KWBOMX7D.js} +81 -80
  84. package/dist/{resend-YYN22NIL.js → resend-DRH6Y6I4.js} +20 -16
  85. package/dist/rootly-XGCUDW6X.js +336 -0
  86. package/dist/{scrapfly-ZJJ6XM4Q.js → scrapfly-OIQ3OY6L.js} +62 -61
  87. package/dist/{scrapingbee-QNGEOD6D.js → scrapingbee-OCZO4FHX.js} +56 -56
  88. package/dist/{screenshot_fyi-SPZAABVD.js → screenshot_fyi-CUNGFZOC.js} +16 -16
  89. package/dist/semantic_scholar-3UJRLKES.js +611 -0
  90. package/dist/{sentry-SJ5NN4C4.js → sentry-5BWVZFJV.js} +208 -207
  91. package/dist/{shodan-YMGOY7KW.js → shodan-HI37CTEW.js} +62 -61
  92. package/dist/shopify-LJ2EV2HH.js +610 -0
  93. package/dist/stripe-3LHMV55K.js +585 -0
  94. package/dist/{supabase-GQ2OFVIL.js → supabase-H2KPX3Q2.js} +245 -244
  95. package/dist/tavily-FBEWGH3Z.js +326 -0
  96. package/dist/telegram-MYYO3JND.js +1767 -0
  97. package/dist/{telnyx-4JGMC3K7.js → telnyx-H4ALEGAX.js} +57 -56
  98. package/dist/todoist-OBWICA5Q.js +664 -0
  99. package/dist/trello-GUFUJRWO.js +1080 -0
  100. package/dist/turso-NIAK4UMS.js +416 -0
  101. package/dist/{twilio-VYF3HUU6.js → twilio-K6SLK2CX.js} +72 -70
  102. package/dist/umami-42RS2EPS.js +389 -0
  103. package/dist/unsplash-V7TOTETT.js +351 -0
  104. package/dist/{upstash_redis-IUM2HDLU.js → upstash_redis-AWQMB6Y3.js} +51 -50
  105. package/dist/uptimerobot-AZC2DHOT.js +483 -0
  106. package/dist/v2ex-4TVRNMLS.js +667 -0
  107. package/dist/vercel-DPHTJ3XR.js +1076 -0
  108. package/dist/{wolfram_alpha_api-6CRVUZOJ.js → wolfram_alpha_api-XAG7IXBW.js} +36 -35
  109. package/dist/wordpress-KMPKVGUX.js +812 -0
  110. package/dist/workos-PKB2YR7S.js +664 -0
  111. package/dist/zhihu-Y4H4XYPB.js +254 -0
  112. package/package.json +18 -9
  113. package/dist/airtable-DMJEEGJP.js +0 -789
  114. package/dist/anthropic-D5X5GSYE.js +0 -202
  115. package/dist/apify-5NVFU3IZ.js +0 -247
  116. package/dist/brave_search-X557FMGO.js +0 -301
  117. package/dist/chunk-MZCIPUNQ.js +0 -23424
  118. package/dist/chunk-ZTTN6AJG.js +0 -977
  119. package/dist/circleci-3P3QTUX2.js +0 -388
  120. package/dist/clerk-GNMZQ2MY.js +0 -1019
  121. package/dist/cloudflare_dns-VWZH3ZTR.js +0 -588
  122. package/dist/cohere-C7QVIIMG.js +0 -185
  123. package/dist/deepseek-5U24YG4P.js +0 -209
  124. package/dist/docker_hub-CMISLRSE.js +0 -932
  125. package/dist/dropbox-TW4QN6FT.js +0 -1304
  126. package/dist/dub-EFXGI5UH.js +0 -679
  127. package/dist/e2b-PHM63OVF.js +0 -277
  128. package/dist/exa-DYOQWURR.js +0 -331
  129. package/dist/feishu-TFIZXPIN.js +0 -231
  130. package/dist/figma-4AK47AYY.js +0 -773
  131. package/dist/firehydrant-RGPTW4EA.js +0 -562
  132. package/dist/fly-YB4AQD4O.js +0 -468
  133. package/dist/geocodio-YRT4K25M.js +0 -212
  134. package/dist/ghost-JCW6UIP2.js +0 -337
  135. package/dist/github-CEGVRMNX.js +0 -5420
  136. package/dist/gmail-JCMJD55P.js +0 -1886
  137. package/dist/googlecalendar-2EAW4MNM.js +0 -2522
  138. package/dist/graphhopper-H3IVJNDS.js +0 -324
  139. package/dist/ipgeolocation_io-5I2BDVMG.js +0 -315
  140. package/dist/ipqualityscore-ILV7TQCV.js +0 -277
  141. package/dist/langsmith-BYRX4AOF.js +0 -592
  142. package/dist/lemlist-ZGNYTIQO.js +0 -288
  143. package/dist/logsnag-5RGTMTU2.js +0 -150
  144. package/dist/mem0-RUVNUPTE.js +0 -543
  145. package/dist/memos-TED4HI54.js +0 -739
  146. package/dist/mistral_ai-NGP5SHU7.js +0 -1195
  147. package/dist/ngrok-BYCUJ7QV.js +0 -356
  148. package/dist/notion-2ILYKJOO.js +0 -936
  149. package/dist/open_exchange_rates-JU4DC6HZ.js +0 -214
  150. package/dist/openai-6SOT26ZK.js +0 -799
  151. package/dist/opengraph_io-ZEFHV2OL.js +0 -361
  152. package/dist/openrouter-R4P7JL5L.js +0 -437
  153. package/dist/outline-VCTQ5V2X.js +0 -595
  154. package/dist/paddle-AZOAKBJS.js +0 -453
  155. package/dist/perplexity-OMRLGVAT.js +0 -219
  156. package/dist/pinecone-DI62W3ZX.js +0 -570
  157. package/dist/polar-5DRGTXNR.js +0 -394
  158. package/dist/posthog-3DTHFCKE.js +0 -3463
  159. package/dist/postmark-ME2V2XXI.js +0 -426
  160. package/dist/readwise-IJQGV6IQ.js +0 -469
  161. package/dist/render-TMSPHRTY.js +0 -460
  162. package/dist/rootly-7RXE4K7L.js +0 -336
  163. package/dist/semantic_scholar-SDPVGDDI.js +0 -610
  164. package/dist/shopify-SU5ABP54.js +0 -609
  165. package/dist/stripe-JAC425KE.js +0 -584
  166. package/dist/tavily-Y7MDA5CI.js +0 -326
  167. package/dist/telegram-OIDT3ZLH.js +0 -1766
  168. package/dist/todoist-O7S2OUGX.js +0 -663
  169. package/dist/trello-3LDE4TAQ.js +0 -1079
  170. package/dist/turso-MUQ44KCA.js +0 -415
  171. package/dist/umami-SVQIK26J.js +0 -388
  172. package/dist/unsplash-333XYDCJ.js +0 -350
  173. package/dist/uptimerobot-7ZRU2NJV.js +0 -482
  174. package/dist/v2ex-AVSJCQPS.js +0 -666
  175. package/dist/vercel-J7RGXNSA.js +0 -1075
  176. package/dist/wordpress-THOJLPKA.js +0 -811
  177. package/dist/workos-ENTGRWF2.js +0 -663
  178. package/dist/zhihu-W2BXICTX.js +0 -253
@@ -7,14 +7,15 @@ import {
7
7
  createProviderPlugin,
8
8
  requireApiKey,
9
9
  upstreamError
10
- } from "./chunk-QR4LK3HF.js";
10
+ } from "./chunk-X7ZUTKHR.js";
11
11
  import {
12
12
  guardedFetch
13
- } from "./chunk-ZTTN6AJG.js";
13
+ } from "./chunk-7ISGFRC6.js";
14
+ import "./chunk-UY6ANCOY.js";
14
15
  import {
15
16
  TBError,
16
- external_exports
17
- } from "./chunk-MZCIPUNQ.js";
17
+ isTBError
18
+ } from "./chunk-HA4BGL6C.js";
18
19
  import "./chunk-U67V476Y.js";
19
20
 
20
21
  // ../plugins/src/linear/api.ts
@@ -314,7 +315,7 @@ async function graphqlRequest(ctx, query, variables) {
314
315
  });
315
316
  body = await readJson(response);
316
317
  } catch (error) {
317
- if (error instanceof TBError) throw error;
318
+ if (isTBError(error)) throw error;
318
319
  throw upstreamError(502, error instanceof Error ? `linear \u8BF7\u6C42\u5931\u8D25: ${error.message}` : "linear \u8BF7\u6C42\u5931\u8D25");
319
320
  }
320
321
  if (!response.ok) throw upstreamError(response.status, extractErrorMessage(body));
@@ -1539,567 +1540,568 @@ async function updateLinearProject(input, ctx) {
1539
1540
  }
1540
1541
 
1541
1542
  // ../plugins/src/linear/schema.ts
1542
- var createAttachmentInput = external_exports.strictObject({
1543
- issue_id: external_exports.string().min(1).describe("Linear resource ID."),
1544
- title: external_exports.string().min(1).describe("Attachment title."),
1545
- url: external_exports.string().min(1).describe("Attachment URL."),
1546
- subtitle: external_exports.string().describe("Attachment subtitle.").optional()
1543
+ import { z } from "zod/v4";
1544
+ var createAttachmentInput = z.strictObject({
1545
+ issue_id: z.string().min(1).describe("Linear resource ID."),
1546
+ title: z.string().min(1).describe("Attachment title."),
1547
+ url: z.string().min(1).describe("Attachment URL."),
1548
+ subtitle: z.string().describe("Attachment subtitle.").optional()
1547
1549
  }).describe("The input payload for this action.");
1548
- var createAttachmentOutput = external_exports.looseObject({
1549
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1550
- issue_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1551
- title: external_exports.string().describe("Attachment title.").optional(),
1552
- url: external_exports.string().describe("Attachment URL.").optional(),
1553
- subtitle: external_exports.string().describe("Attachment subtitle.").nullable().optional()
1550
+ var createAttachmentOutput = z.looseObject({
1551
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1552
+ issue_id: z.string().min(1).describe("Linear resource ID.").optional(),
1553
+ title: z.string().describe("Attachment title.").optional(),
1554
+ url: z.string().describe("Attachment URL.").optional(),
1555
+ subtitle: z.string().describe("Attachment subtitle.").nullable().optional()
1554
1556
  }).describe("Linear action output.");
1555
- var createCommentReactionInput = external_exports.strictObject({
1556
- comment_id: external_exports.string().min(1).describe("Linear resource ID."),
1557
- emoji: external_exports.string().min(1).describe("Emoji to add.")
1557
+ var createCommentReactionInput = z.strictObject({
1558
+ comment_id: z.string().min(1).describe("Linear resource ID."),
1559
+ emoji: z.string().min(1).describe("Emoji to add.")
1558
1560
  }).describe("The input payload for this action.");
1559
- var createCommentReactionOutput = external_exports.looseObject({
1560
- reaction_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1561
- comment_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1562
- emoji: external_exports.string().optional()
1561
+ var createCommentReactionOutput = z.looseObject({
1562
+ reaction_id: z.string().min(1).describe("Linear resource ID.").optional(),
1563
+ comment_id: z.string().min(1).describe("Linear resource ID.").optional(),
1564
+ emoji: z.string().optional()
1563
1565
  }).describe("Linear action output.");
1564
- var createLinearCommentInput = external_exports.strictObject({
1565
- issueId: external_exports.string().min(1).describe("Linear resource ID."),
1566
- body: external_exports.string().min(1).describe("Comment text in Markdown.")
1566
+ var createLinearCommentInput = z.strictObject({
1567
+ issueId: z.string().min(1).describe("Linear resource ID."),
1568
+ body: z.string().min(1).describe("Comment text in Markdown.")
1567
1569
  }).describe("The input payload for this action.");
1568
- var createLinearCommentOutput = external_exports.looseObject({
1569
- comment_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1570
- issue_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1571
- body: external_exports.string().optional()
1570
+ var createLinearCommentOutput = z.looseObject({
1571
+ comment_id: z.string().min(1).describe("Linear resource ID.").optional(),
1572
+ issue_id: z.string().min(1).describe("Linear resource ID.").optional(),
1573
+ body: z.string().optional()
1572
1574
  }).describe("Linear action output.");
1573
- var createLinearIssueInput = external_exports.strictObject({
1574
- title: external_exports.string().min(1).describe("Issue title."),
1575
- team_id: external_exports.string().min(1).describe("Linear resource ID."),
1576
- cycle_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1577
- due_date: external_exports.string().describe("Issue due date.").optional(),
1578
- estimate: external_exports.number().describe("Issue estimate.").optional(),
1579
- priority: external_exports.number().describe("Issue priority.").optional(),
1580
- state_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1581
- label_ids: external_exports.array(external_exports.string().min(1).describe("Linear resource ID.")).describe("Label IDs.").optional(),
1582
- parent_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1583
- project_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1584
- assignee_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1585
- description: external_exports.string().describe("Issue description in Markdown.").optional()
1575
+ var createLinearIssueInput = z.strictObject({
1576
+ title: z.string().min(1).describe("Issue title."),
1577
+ team_id: z.string().min(1).describe("Linear resource ID."),
1578
+ cycle_id: z.string().min(1).describe("Linear resource ID.").optional(),
1579
+ due_date: z.string().describe("Issue due date.").optional(),
1580
+ estimate: z.number().describe("Issue estimate.").optional(),
1581
+ priority: z.number().describe("Issue priority.").optional(),
1582
+ state_id: z.string().min(1).describe("Linear resource ID.").optional(),
1583
+ label_ids: z.array(z.string().min(1).describe("Linear resource ID.")).describe("Label IDs.").optional(),
1584
+ parent_id: z.string().min(1).describe("Linear resource ID.").optional(),
1585
+ project_id: z.string().min(1).describe("Linear resource ID.").optional(),
1586
+ assignee_id: z.string().min(1).describe("Linear resource ID.").optional(),
1587
+ description: z.string().describe("Issue description in Markdown.").optional()
1586
1588
  }).describe("The input payload for this action.");
1587
- var createLinearIssueOutput = external_exports.looseObject({
1588
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1589
- identifier: external_exports.string().describe("Issue identifier.").optional(),
1590
- issue_title: external_exports.string().describe("Issue title.").optional(),
1591
- issue_description: external_exports.string().describe("Issue description.").nullable().optional(),
1592
- ticket_url: external_exports.string().describe("Issue URL.").optional()
1589
+ var createLinearIssueOutput = z.looseObject({
1590
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1591
+ identifier: z.string().describe("Issue identifier.").optional(),
1592
+ issue_title: z.string().describe("Issue title.").optional(),
1593
+ issue_description: z.string().describe("Issue description.").nullable().optional(),
1594
+ ticket_url: z.string().describe("Issue URL.").optional()
1593
1595
  }).describe("Linear action output.");
1594
- var createLinearIssueRelationInput = external_exports.strictObject({
1595
- issue_id: external_exports.string().min(1).describe("Linear resource ID."),
1596
- related_issue_id: external_exports.string().min(1).describe("Linear resource ID."),
1597
- relation_type: external_exports.enum(["blocks", "duplicate", "related", "similar"]).describe("Relationship type.")
1596
+ var createLinearIssueRelationInput = z.strictObject({
1597
+ issue_id: z.string().min(1).describe("Linear resource ID."),
1598
+ related_issue_id: z.string().min(1).describe("Linear resource ID."),
1599
+ relation_type: z.enum(["blocks", "duplicate", "related", "similar"]).describe("Relationship type.")
1598
1600
  }).describe("The input payload for this action.");
1599
- var createLinearIssueRelationOutput = external_exports.looseObject({
1600
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1601
- issue_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1602
- related_issue_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1603
- relation_type: external_exports.string().optional()
1601
+ var createLinearIssueRelationOutput = z.looseObject({
1602
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1603
+ issue_id: z.string().min(1).describe("Linear resource ID.").optional(),
1604
+ related_issue_id: z.string().min(1).describe("Linear resource ID.").optional(),
1605
+ relation_type: z.string().optional()
1604
1606
  }).describe("Linear action output.");
1605
- var createLinearLabelInput = external_exports.strictObject({
1606
- team_id: external_exports.string().min(1).describe("Linear resource ID."),
1607
- name: external_exports.string().min(1).describe("Label name."),
1608
- color: external_exports.string().min(1).describe("Label color."),
1609
- description: external_exports.string().describe("Label description.").optional()
1607
+ var createLinearLabelInput = z.strictObject({
1608
+ team_id: z.string().min(1).describe("Linear resource ID."),
1609
+ name: z.string().min(1).describe("Label name."),
1610
+ color: z.string().min(1).describe("Label color."),
1611
+ description: z.string().describe("Label description.").optional()
1610
1612
  }).describe("The input payload for this action.");
1611
- var createLinearLabelOutput = external_exports.looseObject({
1612
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1613
- team_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1614
- name: external_exports.string().optional(),
1615
- color: external_exports.string().optional(),
1616
- description: external_exports.string().nullable().optional()
1613
+ var createLinearLabelOutput = z.looseObject({
1614
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1615
+ team_id: z.string().min(1).describe("Linear resource ID.").optional(),
1616
+ name: z.string().optional(),
1617
+ color: z.string().optional(),
1618
+ description: z.string().nullable().optional()
1617
1619
  }).describe("Linear action output.");
1618
- var createLinearProjectInput = external_exports.strictObject({
1619
- icon: external_exports.string().describe("Project icon.").optional(),
1620
- name: external_exports.string().min(1).describe("Project name."),
1621
- color: external_exports.string().describe("Project color.").optional(),
1622
- lead_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1623
- priority: external_exports.number().describe("Project priority.").optional(),
1624
- status_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1625
- state: external_exports.string().describe("Project state type.").optional(),
1626
- start_date: external_exports.string().describe("Project start date.").optional(),
1627
- description: external_exports.string().describe("Project description.").optional(),
1628
- target_date: external_exports.string().describe("Project target date.").optional(),
1629
- team_ids: external_exports.array(external_exports.string().min(1).describe("Linear resource ID.")).min(1).describe("Team IDs associated with the project.")
1620
+ var createLinearProjectInput = z.strictObject({
1621
+ icon: z.string().describe("Project icon.").optional(),
1622
+ name: z.string().min(1).describe("Project name."),
1623
+ color: z.string().describe("Project color.").optional(),
1624
+ lead_id: z.string().min(1).describe("Linear resource ID.").optional(),
1625
+ priority: z.number().describe("Project priority.").optional(),
1626
+ status_id: z.string().min(1).describe("Linear resource ID.").optional(),
1627
+ state: z.string().describe("Project state type.").optional(),
1628
+ start_date: z.string().describe("Project start date.").optional(),
1629
+ description: z.string().describe("Project description.").optional(),
1630
+ target_date: z.string().describe("Project target date.").optional(),
1631
+ team_ids: z.array(z.string().min(1).describe("Linear resource ID.")).min(1).describe("Team IDs associated with the project.")
1630
1632
  }).describe("The input payload for this action.");
1631
- var createLinearProjectOutput = external_exports.looseObject({
1632
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1633
- name: external_exports.string().optional(),
1634
- url: external_exports.string().optional(),
1635
- state: external_exports.string().optional()
1633
+ var createLinearProjectOutput = z.looseObject({
1634
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1635
+ name: z.string().optional(),
1636
+ url: z.string().optional(),
1637
+ state: z.string().optional()
1636
1638
  }).describe("Linear action output.");
1637
- var createProjectMilestoneInput = external_exports.strictObject({
1638
- name: external_exports.string().min(1).describe("Milestone name."),
1639
- project_id: external_exports.string().min(1).describe("Linear resource ID."),
1640
- sort_order: external_exports.number().describe("Milestone sort order.").optional(),
1641
- description: external_exports.string().describe("Milestone description.").optional(),
1642
- target_date: external_exports.string().describe("Target date.").optional()
1639
+ var createProjectMilestoneInput = z.strictObject({
1640
+ name: z.string().min(1).describe("Milestone name."),
1641
+ project_id: z.string().min(1).describe("Linear resource ID."),
1642
+ sort_order: z.number().describe("Milestone sort order.").optional(),
1643
+ description: z.string().describe("Milestone description.").optional(),
1644
+ target_date: z.string().describe("Target date.").optional()
1643
1645
  }).describe("The input payload for this action.");
1644
- var createProjectMilestoneOutput = external_exports.looseObject({
1645
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1646
- project_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1647
- name: external_exports.string().optional(),
1648
- target_date: external_exports.string().nullable().optional()
1646
+ var createProjectMilestoneOutput = z.looseObject({
1647
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1648
+ project_id: z.string().min(1).describe("Linear resource ID.").optional(),
1649
+ name: z.string().optional(),
1650
+ target_date: z.string().nullable().optional()
1649
1651
  }).describe("Linear action output.");
1650
- var createProjectUpdateInput = external_exports.strictObject({
1651
- body: external_exports.string().min(1).describe("Project update body."),
1652
- health: external_exports.enum(["onTrack", "atRisk", "offTrack"]).describe("Project health.").optional(),
1653
- project_id: external_exports.string().min(1).describe("Linear resource ID."),
1654
- is_diff_hidden: external_exports.boolean().describe("Whether to hide diff.").optional()
1652
+ var createProjectUpdateInput = z.strictObject({
1653
+ body: z.string().min(1).describe("Project update body."),
1654
+ health: z.enum(["onTrack", "atRisk", "offTrack"]).describe("Project health.").optional(),
1655
+ project_id: z.string().min(1).describe("Linear resource ID."),
1656
+ is_diff_hidden: z.boolean().describe("Whether to hide diff.").optional()
1655
1657
  }).describe("The input payload for this action.");
1656
- var createProjectUpdateOutput = external_exports.looseObject({
1657
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1658
- project_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1659
- body: external_exports.string().nullable().optional(),
1660
- health: external_exports.string().nullable().optional(),
1661
- is_diff_hidden: external_exports.boolean().optional()
1658
+ var createProjectUpdateOutput = z.looseObject({
1659
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1660
+ project_id: z.string().min(1).describe("Linear resource ID.").optional(),
1661
+ body: z.string().nullable().optional(),
1662
+ health: z.string().nullable().optional(),
1663
+ is_diff_hidden: z.boolean().optional()
1662
1664
  }).describe("Linear action output.");
1663
- var deleteLinearIssueInput = external_exports.strictObject({
1664
- issue_id: external_exports.string().min(1).describe("Linear resource ID.")
1665
+ var deleteLinearIssueInput = z.strictObject({
1666
+ issue_id: z.string().min(1).describe("Linear resource ID.")
1665
1667
  }).describe("The input payload for this action.");
1666
- var deleteLinearIssueOutput = external_exports.looseObject({
1667
- id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1668
- deleted: external_exports.boolean().optional()
1668
+ var deleteLinearIssueOutput = z.looseObject({
1669
+ id: z.string().min(1).describe("Linear resource ID.").optional(),
1670
+ deleted: z.boolean().optional()
1669
1671
  }).describe("Linear action output.");
1670
- var getAllLinearTeamsInput = external_exports.strictObject({}).describe("The input payload for this action.");
1671
- var getAllLinearTeamsOutput = external_exports.looseObject({
1672
- teams: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("teams returned by Linear.").optional()
1672
+ var getAllLinearTeamsInput = z.strictObject({}).describe("The input payload for this action.");
1673
+ var getAllLinearTeamsOutput = z.looseObject({
1674
+ teams: z.array(z.looseObject({}).describe("Linear API object.")).describe("teams returned by Linear.").optional()
1673
1675
  }).describe("Linear action output.");
1674
- var getAttachmentInput = external_exports.strictObject({
1675
- issue_id: external_exports.string().min(1).describe("Linear resource ID."),
1676
- attachment_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1677
- file_name: external_exports.string().min(1).describe("Attachment file name or title.").optional()
1676
+ var getAttachmentInput = z.strictObject({
1677
+ issue_id: z.string().min(1).describe("Linear resource ID."),
1678
+ attachment_id: z.string().min(1).describe("Linear resource ID.").optional(),
1679
+ file_name: z.string().min(1).describe("Attachment file name or title.").optional()
1678
1680
  }).describe("The input payload for this action.");
1679
- var getAttachmentOutput = external_exports.looseObject({
1680
- attachment: external_exports.looseObject({}).describe("Linear API object.").optional()
1681
+ var getAttachmentOutput = z.looseObject({
1682
+ attachment: z.looseObject({}).describe("Linear API object.").optional()
1681
1683
  }).describe("Linear action output.");
1682
- var getCurrentUserInput = external_exports.strictObject({}).describe("The input payload for this action.");
1683
- var getCurrentUserOutput = external_exports.looseObject({
1684
- viewer: external_exports.looseObject({}).describe("Linear API object.").optional()
1684
+ var getCurrentUserInput = z.strictObject({}).describe("The input payload for this action.");
1685
+ var getCurrentUserOutput = z.looseObject({
1686
+ viewer: z.looseObject({}).describe("Linear API object.").optional()
1685
1687
  }).describe("Linear action output.");
1686
- var getCyclesByTeamIdInput = external_exports.strictObject({
1687
- team_id: external_exports.string().min(1).describe("Linear resource ID.")
1688
+ var getCyclesByTeamIdInput = z.strictObject({
1689
+ team_id: z.string().min(1).describe("Linear resource ID.")
1688
1690
  }).describe("The input payload for this action.");
1689
- var getCyclesByTeamIdOutput = external_exports.looseObject({
1690
- cycles: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("cycles returned by Linear.").optional()
1691
+ var getCyclesByTeamIdOutput = z.looseObject({
1692
+ cycles: z.array(z.looseObject({}).describe("Linear API object.")).describe("cycles returned by Linear.").optional()
1691
1693
  }).describe("Linear action output.");
1692
- var getIssueDefaultsInput = external_exports.strictObject({
1693
- team_id: external_exports.string().min(1).describe("Linear resource ID.")
1694
+ var getIssueDefaultsInput = z.strictObject({
1695
+ team_id: z.string().min(1).describe("Linear resource ID.")
1694
1696
  }).describe("The input payload for this action.");
1695
- var getIssueDefaultsOutput = external_exports.looseObject({
1696
- team: external_exports.looseObject({}).describe("Linear API object.").optional()
1697
+ var getIssueDefaultsOutput = z.looseObject({
1698
+ team: z.looseObject({}).describe("Linear API object.").optional()
1697
1699
  }).describe("Linear action output.");
1698
- var getLinearIssueInput = external_exports.strictObject({
1699
- issue_id: external_exports.string().min(1).describe("Linear resource ID.")
1700
+ var getLinearIssueInput = z.strictObject({
1701
+ issue_id: z.string().min(1).describe("Linear resource ID.")
1700
1702
  }).describe("The input payload for this action.");
1701
- var getLinearIssueOutput = external_exports.looseObject({
1702
- issue: external_exports.looseObject({}).describe("Linear API object.").optional()
1703
+ var getLinearIssueOutput = z.looseObject({
1704
+ issue: z.looseObject({}).describe("Linear API object.").optional()
1703
1705
  }).describe("Linear action output.");
1704
- var getLinearProjectInput = external_exports.strictObject({
1705
- project_id: external_exports.string().min(1).describe("Linear resource ID."),
1706
- include_teams: external_exports.boolean().describe("Include project teams.").optional(),
1707
- include_members: external_exports.boolean().describe("Include project members.").optional(),
1708
- include_initiatives: external_exports.boolean().describe("Include project initiatives.").optional()
1706
+ var getLinearProjectInput = z.strictObject({
1707
+ project_id: z.string().min(1).describe("Linear resource ID."),
1708
+ include_teams: z.boolean().describe("Include project teams.").optional(),
1709
+ include_members: z.boolean().describe("Include project members.").optional(),
1710
+ include_initiatives: z.boolean().describe("Include project initiatives.").optional()
1709
1711
  }).describe("The input payload for this action.");
1710
- var getLinearProjectOutput = external_exports.looseObject({
1711
- project: external_exports.looseObject({}).describe("Linear API object.").optional()
1712
+ var getLinearProjectOutput = z.looseObject({
1713
+ project: z.looseObject({}).describe("Linear API object.").optional()
1712
1714
  }).describe("Linear action output.");
1713
- var listIssuesByTeamIdInput = external_exports.strictObject({
1714
- after: external_exports.string().describe("Pagination cursor.").optional(),
1715
- first: external_exports.int().min(1).describe("Number of records to return.").optional(),
1716
- team_id: external_exports.string().min(1).describe("Linear resource ID."),
1717
- include_archived: external_exports.boolean().describe("Include archived issues.").optional()
1715
+ var listIssuesByTeamIdInput = z.strictObject({
1716
+ after: z.string().describe("Pagination cursor.").optional(),
1717
+ first: z.int().min(1).describe("Number of records to return.").optional(),
1718
+ team_id: z.string().min(1).describe("Linear resource ID."),
1719
+ include_archived: z.boolean().describe("Include archived issues.").optional()
1718
1720
  }).describe("The input payload for this action.");
1719
- var listIssuesByTeamIdOutput = external_exports.looseObject({
1720
- team: external_exports.looseObject({}).describe("Linear API object.").optional(),
1721
- issues: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).optional(),
1722
- page_info: external_exports.looseObject({
1723
- startCursor: external_exports.string().describe("Previous-page start cursor.").nullable().optional(),
1724
- endCursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1725
- hasPreviousPage: external_exports.boolean().describe("Whether a previous page exists.").optional(),
1726
- hasNextPage: external_exports.boolean().describe("Whether a next page exists.").optional(),
1727
- end_cursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1728
- has_next_page: external_exports.boolean().describe("Whether a next page exists.").optional()
1721
+ var listIssuesByTeamIdOutput = z.looseObject({
1722
+ team: z.looseObject({}).describe("Linear API object.").optional(),
1723
+ issues: z.array(z.looseObject({}).describe("Linear API object.")).optional(),
1724
+ page_info: z.looseObject({
1725
+ startCursor: z.string().describe("Previous-page start cursor.").nullable().optional(),
1726
+ endCursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1727
+ hasPreviousPage: z.boolean().describe("Whether a previous page exists.").optional(),
1728
+ hasNextPage: z.boolean().describe("Whether a next page exists.").optional(),
1729
+ end_cursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1730
+ has_next_page: z.boolean().describe("Whether a next page exists.").optional()
1729
1731
  }).describe("Pagination information.").optional()
1730
1732
  }).describe("Linear action output.");
1731
- var listIssueDraftsInput = external_exports.strictObject({
1732
- after: external_exports.string().describe("Pagination cursor.").optional(),
1733
- first: external_exports.int().min(1).describe("Number of records to return.").optional()
1733
+ var listIssueDraftsInput = z.strictObject({
1734
+ after: z.string().describe("Pagination cursor.").optional(),
1735
+ first: z.int().min(1).describe("Number of records to return.").optional()
1734
1736
  }).describe("The input payload for this action.");
1735
- var listIssueDraftsOutput = external_exports.looseObject({
1736
- drafts: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).optional(),
1737
- page_info: external_exports.looseObject({
1738
- startCursor: external_exports.string().describe("Previous-page start cursor.").nullable().optional(),
1739
- endCursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1740
- hasPreviousPage: external_exports.boolean().describe("Whether a previous page exists.").optional(),
1741
- hasNextPage: external_exports.boolean().describe("Whether a next page exists.").optional(),
1742
- end_cursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1743
- has_next_page: external_exports.boolean().describe("Whether a next page exists.").optional()
1737
+ var listIssueDraftsOutput = z.looseObject({
1738
+ drafts: z.array(z.looseObject({}).describe("Linear API object.")).optional(),
1739
+ page_info: z.looseObject({
1740
+ startCursor: z.string().describe("Previous-page start cursor.").nullable().optional(),
1741
+ endCursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1742
+ hasPreviousPage: z.boolean().describe("Whether a previous page exists.").optional(),
1743
+ hasNextPage: z.boolean().describe("Whether a next page exists.").optional(),
1744
+ end_cursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1745
+ has_next_page: z.boolean().describe("Whether a next page exists.").optional()
1744
1746
  }).describe("Pagination information.").optional()
1745
1747
  }).describe("Linear action output.");
1746
- var listLinearCyclesInput = external_exports.strictObject({}).describe("The input payload for this action.");
1747
- var listLinearCyclesOutput = external_exports.looseObject({
1748
- cycles: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("cycles returned by Linear.").optional()
1748
+ var listLinearCyclesInput = z.strictObject({}).describe("The input payload for this action.");
1749
+ var listLinearCyclesOutput = z.looseObject({
1750
+ cycles: z.array(z.looseObject({}).describe("Linear API object.")).describe("cycles returned by Linear.").optional()
1749
1751
  }).describe("Linear action output.");
1750
- var listLinearIssuesInput = external_exports.strictObject({
1751
- after: external_exports.string().describe("Pagination cursor.").optional(),
1752
- first: external_exports.int().min(1).describe("Number of records to return.").optional(),
1753
- project_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1754
- assignee_id: external_exports.string().min(1).describe("Linear resource ID.").optional()
1752
+ var listLinearIssuesInput = z.strictObject({
1753
+ after: z.string().describe("Pagination cursor.").optional(),
1754
+ first: z.int().min(1).describe("Number of records to return.").optional(),
1755
+ project_id: z.string().min(1).describe("Linear resource ID.").optional(),
1756
+ assignee_id: z.string().min(1).describe("Linear resource ID.").optional()
1755
1757
  }).describe("The input payload for this action.");
1756
- var listLinearIssuesOutput = external_exports.looseObject({
1757
- issues: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).optional(),
1758
- page_info: external_exports.looseObject({
1759
- startCursor: external_exports.string().describe("Previous-page start cursor.").nullable().optional(),
1760
- endCursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1761
- hasPreviousPage: external_exports.boolean().describe("Whether a previous page exists.").optional(),
1762
- hasNextPage: external_exports.boolean().describe("Whether a next page exists.").optional(),
1763
- end_cursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1764
- has_next_page: external_exports.boolean().describe("Whether a next page exists.").optional()
1758
+ var listLinearIssuesOutput = z.looseObject({
1759
+ issues: z.array(z.looseObject({}).describe("Linear API object.")).optional(),
1760
+ page_info: z.looseObject({
1761
+ startCursor: z.string().describe("Previous-page start cursor.").nullable().optional(),
1762
+ endCursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1763
+ hasPreviousPage: z.boolean().describe("Whether a previous page exists.").optional(),
1764
+ hasNextPage: z.boolean().describe("Whether a next page exists.").optional(),
1765
+ end_cursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1766
+ has_next_page: z.boolean().describe("Whether a next page exists.").optional()
1765
1767
  }).describe("Pagination information.").optional()
1766
1768
  }).describe("Linear action output.");
1767
- var listLinearLabelsInput = external_exports.strictObject({
1768
- team_id: external_exports.string().min(1).describe("Linear resource ID.").optional()
1769
+ var listLinearLabelsInput = z.strictObject({
1770
+ team_id: z.string().min(1).describe("Linear resource ID.").optional()
1769
1771
  }).describe("The input payload for this action.");
1770
- var listLinearLabelsOutput = external_exports.looseObject({
1771
- labels: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("labels returned by Linear.").optional()
1772
+ var listLinearLabelsOutput = z.looseObject({
1773
+ labels: z.array(z.looseObject({}).describe("Linear API object.")).describe("labels returned by Linear.").optional()
1772
1774
  }).describe("Linear action output.");
1773
- var listLinearProjectsInput = external_exports.strictObject({}).describe("The input payload for this action.");
1774
- var listLinearProjectsOutput = external_exports.looseObject({
1775
- projects: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("projects returned by Linear.").optional()
1775
+ var listLinearProjectsInput = z.strictObject({}).describe("The input payload for this action.");
1776
+ var listLinearProjectsOutput = z.looseObject({
1777
+ projects: z.array(z.looseObject({}).describe("Linear API object.")).describe("projects returned by Linear.").optional()
1776
1778
  }).describe("Linear action output.");
1777
- var listLinearStatesInput = external_exports.strictObject({
1778
- team_id: external_exports.string().min(1).describe("Linear resource ID.")
1779
+ var listLinearStatesInput = z.strictObject({
1780
+ team_id: z.string().min(1).describe("Linear resource ID.")
1779
1781
  }).describe("The input payload for this action.");
1780
- var listLinearStatesOutput = external_exports.looseObject({
1781
- states: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("states returned by Linear.").optional()
1782
+ var listLinearStatesOutput = z.looseObject({
1783
+ states: z.array(z.looseObject({}).describe("Linear API object.")).describe("states returned by Linear.").optional()
1782
1784
  }).describe("Linear action output.");
1783
- var listLinearTeamsInput = external_exports.strictObject({
1784
- project_id: external_exports.string().min(1).describe("Linear resource ID.").optional()
1785
+ var listLinearTeamsInput = z.strictObject({
1786
+ project_id: z.string().min(1).describe("Linear resource ID.").optional()
1785
1787
  }).describe("The input payload for this action.");
1786
- var listLinearTeamsOutput = external_exports.looseObject({
1787
- teams: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("teams returned by Linear.").optional()
1788
+ var listLinearTeamsOutput = z.looseObject({
1789
+ teams: z.array(z.looseObject({}).describe("Linear API object.")).describe("teams returned by Linear.").optional()
1788
1790
  }).describe("Linear action output.");
1789
- var listLinearUsersInput = external_exports.strictObject({
1790
- after: external_exports.string().describe("Pagination cursor.").optional(),
1791
- first: external_exports.int().min(1).describe("Number of records to return.").optional()
1791
+ var listLinearUsersInput = z.strictObject({
1792
+ after: z.string().describe("Pagination cursor.").optional(),
1793
+ first: z.int().min(1).describe("Number of records to return.").optional()
1792
1794
  }).describe("The input payload for this action.");
1793
- var listLinearUsersOutput = external_exports.looseObject({
1794
- users: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).optional(),
1795
- page_info: external_exports.looseObject({
1796
- startCursor: external_exports.string().describe("Previous-page start cursor.").nullable().optional(),
1797
- endCursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1798
- hasPreviousPage: external_exports.boolean().describe("Whether a previous page exists.").optional(),
1799
- hasNextPage: external_exports.boolean().describe("Whether a next page exists.").optional(),
1800
- end_cursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1801
- has_next_page: external_exports.boolean().describe("Whether a next page exists.").optional()
1795
+ var listLinearUsersOutput = z.looseObject({
1796
+ users: z.array(z.looseObject({}).describe("Linear API object.")).optional(),
1797
+ page_info: z.looseObject({
1798
+ startCursor: z.string().describe("Previous-page start cursor.").nullable().optional(),
1799
+ endCursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1800
+ hasPreviousPage: z.boolean().describe("Whether a previous page exists.").optional(),
1801
+ hasNextPage: z.boolean().describe("Whether a next page exists.").optional(),
1802
+ end_cursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1803
+ has_next_page: z.boolean().describe("Whether a next page exists.").optional()
1802
1804
  }).describe("Pagination information.").optional()
1803
1805
  }).describe("Linear action output.");
1804
- var removeIssueLabelInput = external_exports.strictObject({
1805
- issue_id: external_exports.string().min(1).describe("Linear resource ID."),
1806
- label_id: external_exports.string().min(1).describe("Linear resource ID.")
1806
+ var removeIssueLabelInput = z.strictObject({
1807
+ issue_id: z.string().min(1).describe("Linear resource ID."),
1808
+ label_id: z.string().min(1).describe("Linear resource ID.")
1807
1809
  }).describe("The input payload for this action.");
1808
- var removeIssueLabelOutput = external_exports.looseObject({
1809
- issue_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1810
- label_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1811
- removed: external_exports.boolean().optional()
1810
+ var removeIssueLabelOutput = z.looseObject({
1811
+ issue_id: z.string().min(1).describe("Linear resource ID.").optional(),
1812
+ label_id: z.string().min(1).describe("Linear resource ID.").optional(),
1813
+ removed: z.boolean().optional()
1812
1814
  }).describe("Linear action output.");
1813
- var removeReactionInput = external_exports.strictObject({
1814
- reaction_id: external_exports.string().min(1).describe("Linear resource ID.")
1815
+ var removeReactionInput = z.strictObject({
1816
+ reaction_id: z.string().min(1).describe("Linear resource ID.")
1815
1817
  }).describe("The input payload for this action.");
1816
- var removeReactionOutput = external_exports.looseObject({
1817
- reaction_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1818
- removed: external_exports.boolean().optional()
1818
+ var removeReactionOutput = z.looseObject({
1819
+ reaction_id: z.string().min(1).describe("Linear resource ID.").optional(),
1820
+ removed: z.boolean().optional()
1819
1821
  }).describe("Linear action output.");
1820
- var runQueryInput = external_exports.strictObject({
1821
- query: external_exports.string().min(1),
1822
- variables: external_exports.looseObject({}).describe("Linear API object.").optional()
1822
+ var runQueryInput = z.strictObject({
1823
+ query: z.string().min(1),
1824
+ variables: z.looseObject({}).describe("Linear API object.").optional()
1823
1825
  }).describe("The input payload for this action.");
1824
- var runQueryOutput = external_exports.looseObject({
1825
- data: external_exports.looseObject({}).describe("Linear API object.").nullable().optional(),
1826
- errors: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("GraphQL errors.").optional(),
1827
- extensions: external_exports.looseObject({}).describe("Linear API object.").optional(),
1828
- message: external_exports.string().describe("Summarized execution status.").optional()
1826
+ var runQueryOutput = z.looseObject({
1827
+ data: z.looseObject({}).describe("Linear API object.").nullable().optional(),
1828
+ errors: z.array(z.looseObject({}).describe("Linear API object.")).describe("GraphQL errors.").optional(),
1829
+ extensions: z.looseObject({}).describe("Linear API object.").optional(),
1830
+ message: z.string().describe("Summarized execution status.").optional()
1829
1831
  }).describe("Raw GraphQL response.");
1830
- var runMutationInput = external_exports.strictObject({
1831
- mutation: external_exports.string().min(1),
1832
- variables: external_exports.looseObject({}).describe("Linear API object.").optional()
1832
+ var runMutationInput = z.strictObject({
1833
+ mutation: z.string().min(1),
1834
+ variables: z.looseObject({}).describe("Linear API object.").optional()
1833
1835
  }).describe("The input payload for this action.");
1834
- var runMutationOutput = external_exports.looseObject({
1835
- data: external_exports.looseObject({}).describe("Linear API object.").nullable().optional(),
1836
- errors: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).describe("GraphQL errors.").optional(),
1837
- extensions: external_exports.looseObject({}).describe("Linear API object.").optional(),
1838
- message: external_exports.string().describe("Summarized execution status.").optional()
1836
+ var runMutationOutput = z.looseObject({
1837
+ data: z.looseObject({}).describe("Linear API object.").nullable().optional(),
1838
+ errors: z.array(z.looseObject({}).describe("Linear API object.")).describe("GraphQL errors.").optional(),
1839
+ extensions: z.looseObject({}).describe("Linear API object.").optional(),
1840
+ message: z.string().describe("Summarized execution status.").optional()
1839
1841
  }).describe("Raw GraphQL response.");
1840
- var searchIssuesInput = external_exports.strictObject({
1841
- query: external_exports.string().min(1).describe("Search query."),
1842
- after: external_exports.string().describe("Pagination cursor.").optional(),
1843
- first: external_exports.int().min(1).describe("Number of records to return.").optional(),
1844
- include_archived: external_exports.boolean().describe("Include archived issues.").optional()
1842
+ var searchIssuesInput = z.strictObject({
1843
+ query: z.string().min(1).describe("Search query."),
1844
+ after: z.string().describe("Pagination cursor.").optional(),
1845
+ first: z.int().min(1).describe("Number of records to return.").optional(),
1846
+ include_archived: z.boolean().describe("Include archived issues.").optional()
1845
1847
  }).describe("The input payload for this action.");
1846
- var searchIssuesOutput = external_exports.looseObject({
1847
- issues: external_exports.array(external_exports.looseObject({}).describe("Linear API object.")).optional(),
1848
- page_info: external_exports.looseObject({
1849
- startCursor: external_exports.string().describe("Previous-page start cursor.").nullable().optional(),
1850
- endCursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1851
- hasPreviousPage: external_exports.boolean().describe("Whether a previous page exists.").optional(),
1852
- hasNextPage: external_exports.boolean().describe("Whether a next page exists.").optional(),
1853
- end_cursor: external_exports.string().describe("Next-page end cursor.").nullable().optional(),
1854
- has_next_page: external_exports.boolean().describe("Whether a next page exists.").optional()
1848
+ var searchIssuesOutput = z.looseObject({
1849
+ issues: z.array(z.looseObject({}).describe("Linear API object.")).optional(),
1850
+ page_info: z.looseObject({
1851
+ startCursor: z.string().describe("Previous-page start cursor.").nullable().optional(),
1852
+ endCursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1853
+ hasPreviousPage: z.boolean().describe("Whether a previous page exists.").optional(),
1854
+ hasNextPage: z.boolean().describe("Whether a next page exists.").optional(),
1855
+ end_cursor: z.string().describe("Next-page end cursor.").nullable().optional(),
1856
+ has_next_page: z.boolean().describe("Whether a next page exists.").optional()
1855
1857
  }).describe("Pagination information.").optional(),
1856
- total_count: external_exports.int().optional()
1858
+ total_count: z.int().optional()
1857
1859
  }).describe("Linear action output.");
1858
- var updateIssueInput = external_exports.strictObject({
1859
- issueId: external_exports.string().min(1).describe("Linear resource ID."),
1860
- title: external_exports.string().describe("Issue title.").optional(),
1861
- teamId: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1862
- cycleId: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1863
- dueDate: external_exports.string().describe("Issue due date.").optional(),
1864
- stateId: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1865
- estimate: external_exports.number().describe("Issue estimate.").optional(),
1866
- labelIds: external_exports.array(external_exports.string().min(1).describe("Linear resource ID.")).describe("Label IDs.").optional(),
1867
- parentId: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1868
- priority: external_exports.number().describe("Issue priority.").optional(),
1869
- projectId: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1870
- assigneeId: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1871
- description: external_exports.string().describe("Issue description in Markdown.").optional()
1860
+ var updateIssueInput = z.strictObject({
1861
+ issueId: z.string().min(1).describe("Linear resource ID."),
1862
+ title: z.string().describe("Issue title.").optional(),
1863
+ teamId: z.string().min(1).describe("Linear resource ID.").optional(),
1864
+ cycleId: z.string().min(1).describe("Linear resource ID.").optional(),
1865
+ dueDate: z.string().describe("Issue due date.").optional(),
1866
+ stateId: z.string().min(1).describe("Linear resource ID.").optional(),
1867
+ estimate: z.number().describe("Issue estimate.").optional(),
1868
+ labelIds: z.array(z.string().min(1).describe("Linear resource ID.")).describe("Label IDs.").optional(),
1869
+ parentId: z.string().min(1).describe("Linear resource ID.").optional(),
1870
+ priority: z.number().describe("Issue priority.").optional(),
1871
+ projectId: z.string().min(1).describe("Linear resource ID.").optional(),
1872
+ assigneeId: z.string().min(1).describe("Linear resource ID.").optional(),
1873
+ description: z.string().describe("Issue description in Markdown.").optional()
1872
1874
  }).describe("The input payload for this action.");
1873
- var updateIssueOutput = external_exports.looseObject({
1874
- issue: external_exports.looseObject({}).describe("Linear API object.").optional()
1875
+ var updateIssueOutput = z.looseObject({
1876
+ issue: z.looseObject({}).describe("Linear API object.").optional()
1875
1877
  }).describe("Linear action output.");
1876
- var updateLinearCommentInput = external_exports.strictObject({
1877
- comment_id: external_exports.string().min(1).describe("Linear resource ID."),
1878
- body: external_exports.string().min(1)
1878
+ var updateLinearCommentInput = z.strictObject({
1879
+ comment_id: z.string().min(1).describe("Linear resource ID."),
1880
+ body: z.string().min(1)
1879
1881
  }).describe("The input payload for this action.");
1880
- var updateLinearCommentOutput = external_exports.looseObject({
1881
- comment: external_exports.looseObject({}).describe("Linear API object.").optional()
1882
+ var updateLinearCommentOutput = z.looseObject({
1883
+ comment: z.looseObject({}).describe("Linear API object.").optional()
1882
1884
  }).describe("Linear action output.");
1883
- var updateLinearProjectInput = external_exports.strictObject({
1884
- project_id: external_exports.string().min(1).describe("Linear resource ID."),
1885
- icon: external_exports.string().describe("Project icon.").optional(),
1886
- name: external_exports.string().min(1).describe("Project name.").optional(),
1887
- color: external_exports.string().describe("Project color.").optional(),
1888
- lead_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1889
- priority: external_exports.number().describe("Project priority.").optional(),
1890
- status_id: external_exports.string().min(1).describe("Linear resource ID.").optional(),
1891
- state: external_exports.string().describe("Project state type.").optional(),
1892
- start_date: external_exports.string().describe("Project start date.").optional(),
1893
- description: external_exports.string().describe("Project description.").optional(),
1894
- target_date: external_exports.string().describe("Project target date.").optional()
1885
+ var updateLinearProjectInput = z.strictObject({
1886
+ project_id: z.string().min(1).describe("Linear resource ID."),
1887
+ icon: z.string().describe("Project icon.").optional(),
1888
+ name: z.string().min(1).describe("Project name.").optional(),
1889
+ color: z.string().describe("Project color.").optional(),
1890
+ lead_id: z.string().min(1).describe("Linear resource ID.").optional(),
1891
+ priority: z.number().describe("Project priority.").optional(),
1892
+ status_id: z.string().min(1).describe("Linear resource ID.").optional(),
1893
+ state: z.string().describe("Project state type.").optional(),
1894
+ start_date: z.string().describe("Project start date.").optional(),
1895
+ description: z.string().describe("Project description.").optional(),
1896
+ target_date: z.string().describe("Project target date.").optional()
1895
1897
  }).describe("The input payload for this action.");
1896
- var updateLinearProjectOutput = external_exports.looseObject({
1897
- project: external_exports.looseObject({}).describe("Linear API object.").optional()
1898
+ var updateLinearProjectOutput = z.looseObject({
1899
+ project: z.looseObject({}).describe("Linear API object.").optional()
1898
1900
  }).describe("Linear action output.");
1899
1901
  var linearActions = {
1900
1902
  create_attachment: {
1901
1903
  description: "Create or update an attachment for the specified Linear issue.",
1902
1904
  effect: "write",
1903
1905
  inputSchema: createAttachmentInput,
1904
- outputSchema: external_exports.toJSONSchema(createAttachmentOutput, { io: "output", unrepresentable: "any" })
1906
+ outputSchema: z.toJSONSchema(createAttachmentOutput, { io: "output", unrepresentable: "any" })
1905
1907
  },
1906
1908
  create_comment_reaction: {
1907
1909
  description: "Creates an emoji reaction for the specified Linear comment.",
1908
1910
  effect: "write",
1909
1911
  inputSchema: createCommentReactionInput,
1910
- outputSchema: external_exports.toJSONSchema(createCommentReactionOutput, { io: "output", unrepresentable: "any" })
1912
+ outputSchema: z.toJSONSchema(createCommentReactionOutput, { io: "output", unrepresentable: "any" })
1911
1913
  },
1912
1914
  create_linear_comment: {
1913
1915
  description: "Creates a comment for the specified Linear issue.",
1914
1916
  effect: "write",
1915
1917
  inputSchema: createLinearCommentInput,
1916
- outputSchema: external_exports.toJSONSchema(createLinearCommentOutput, { io: "output", unrepresentable: "any" })
1918
+ outputSchema: z.toJSONSchema(createLinearCommentOutput, { io: "output", unrepresentable: "any" })
1917
1919
  },
1918
1920
  create_linear_issue: {
1919
1921
  description: "Create a new Linear issue in the specified team and support fields such as project, person in charge, status, label, etc.",
1920
1922
  effect: "write",
1921
1923
  inputSchema: createLinearIssueInput,
1922
- outputSchema: external_exports.toJSONSchema(createLinearIssueOutput, { io: "output", unrepresentable: "any" })
1924
+ outputSchema: z.toJSONSchema(createLinearIssueOutput, { io: "output", unrepresentable: "any" })
1923
1925
  },
1924
1926
  create_linear_issue_relation: {
1925
1927
  description: "Create a relationship between two Linear issues, such as blocks, related, or duplicate.",
1926
1928
  effect: "write",
1927
1929
  inputSchema: createLinearIssueRelationInput,
1928
- outputSchema: external_exports.toJSONSchema(createLinearIssueRelationOutput, { io: "output", unrepresentable: "any" })
1930
+ outputSchema: z.toJSONSchema(createLinearIssueRelationOutput, { io: "output", unrepresentable: "any" })
1929
1931
  },
1930
1932
  create_linear_label: {
1931
1933
  description: "Creates a new Linear issue label in the specified team.",
1932
1934
  effect: "write",
1933
1935
  inputSchema: createLinearLabelInput,
1934
- outputSchema: external_exports.toJSONSchema(createLinearLabelOutput, { io: "output", unrepresentable: "any" })
1936
+ outputSchema: z.toJSONSchema(createLinearLabelOutput, { io: "output", unrepresentable: "any" })
1935
1937
  },
1936
1938
  create_linear_project: {
1937
1939
  description: "Create a new Linear project and associate one or more teams.",
1938
1940
  effect: "write",
1939
1941
  inputSchema: createLinearProjectInput,
1940
- outputSchema: external_exports.toJSONSchema(createLinearProjectOutput, { io: "output", unrepresentable: "any" })
1942
+ outputSchema: z.toJSONSchema(createLinearProjectOutput, { io: "output", unrepresentable: "any" })
1941
1943
  },
1942
1944
  create_project_milestone: {
1943
1945
  description: "Creates a project milestone for the specified Linear project.",
1944
1946
  effect: "write",
1945
1947
  inputSchema: createProjectMilestoneInput,
1946
- outputSchema: external_exports.toJSONSchema(createProjectMilestoneOutput, { io: "output", unrepresentable: "any" })
1948
+ outputSchema: z.toJSONSchema(createProjectMilestoneOutput, { io: "output", unrepresentable: "any" })
1947
1949
  },
1948
1950
  create_project_update: {
1949
1951
  description: "Creates a project progress update for the specified Linear project.",
1950
1952
  effect: "write",
1951
1953
  inputSchema: createProjectUpdateInput,
1952
- outputSchema: external_exports.toJSONSchema(createProjectUpdateOutput, { io: "output", unrepresentable: "any" })
1954
+ outputSchema: z.toJSONSchema(createProjectUpdateOutput, { io: "output", unrepresentable: "any" })
1953
1955
  },
1954
1956
  delete_linear_issue: {
1955
1957
  description: "Delete the specified Linear issue.",
1956
1958
  effect: "destructive",
1957
1959
  inputSchema: deleteLinearIssueInput,
1958
- outputSchema: external_exports.toJSONSchema(deleteLinearIssueOutput, { io: "output", unrepresentable: "any" })
1960
+ outputSchema: z.toJSONSchema(deleteLinearIssueOutput, { io: "output", unrepresentable: "any" })
1959
1961
  },
1960
1962
  get_all_linear_teams: {
1961
1963
  description: "Lists all Linear team basic information accessible with the current credentials.",
1962
1964
  effect: "read",
1963
1965
  inputSchema: getAllLinearTeamsInput,
1964
- outputSchema: external_exports.toJSONSchema(getAllLinearTeamsOutput, { io: "output", unrepresentable: "any" })
1966
+ outputSchema: z.toJSONSchema(getAllLinearTeamsOutput, { io: "output", unrepresentable: "any" })
1965
1967
  },
1966
1968
  get_attachment: {
1967
1969
  description: "Retrieve a Linear attachment based on the issue and attachment ID or file name.",
1968
1970
  effect: "read",
1969
1971
  inputSchema: getAttachmentInput,
1970
- outputSchema: external_exports.toJSONSchema(getAttachmentOutput, { io: "output", unrepresentable: "any" })
1972
+ outputSchema: z.toJSONSchema(getAttachmentOutput, { io: "output", unrepresentable: "any" })
1971
1973
  },
1972
1974
  get_current_user: {
1973
1975
  description: "Get the currently authenticated Linear user profile.",
1974
1976
  effect: "read",
1975
1977
  inputSchema: getCurrentUserInput,
1976
- outputSchema: external_exports.toJSONSchema(getCurrentUserOutput, { io: "output", unrepresentable: "any" })
1978
+ outputSchema: z.toJSONSchema(getCurrentUserOutput, { io: "output", unrepresentable: "any" })
1977
1979
  },
1978
1980
  get_cycles_by_team_id: {
1979
1981
  description: "Get all cycle information under the specified team.",
1980
1982
  effect: "read",
1981
1983
  inputSchema: getCyclesByTeamIdInput,
1982
- outputSchema: external_exports.toJSONSchema(getCyclesByTeamIdOutput, { io: "output", unrepresentable: "any" })
1984
+ outputSchema: z.toJSONSchema(getCyclesByTeamIdOutput, { io: "output", unrepresentable: "any" })
1983
1985
  },
1984
1986
  get_issue_defaults: {
1985
1987
  description: "Gets the default status and default estimate used when the specified team creates an issue.",
1986
1988
  effect: "read",
1987
1989
  inputSchema: getIssueDefaultsInput,
1988
- outputSchema: external_exports.toJSONSchema(getIssueDefaultsOutput, { io: "output", unrepresentable: "any" })
1990
+ outputSchema: z.toJSONSchema(getIssueDefaultsOutput, { io: "output", unrepresentable: "any" })
1989
1991
  },
1990
1992
  get_linear_issue: {
1991
1993
  description: "Get details of a Linear issue, including comments, attachments, subscribers, and underlying relationship fields.",
1992
1994
  effect: "read",
1993
1995
  inputSchema: getLinearIssueInput,
1994
- outputSchema: external_exports.toJSONSchema(getLinearIssueOutput, { io: "output", unrepresentable: "any" })
1996
+ outputSchema: z.toJSONSchema(getLinearIssueOutput, { io: "output", unrepresentable: "any" })
1995
1997
  },
1996
1998
  get_linear_project: {
1997
1999
  description: "Get the details of a Linear project, complete with team, members, and initiatives on demand.",
1998
2000
  effect: "read",
1999
2001
  inputSchema: getLinearProjectInput,
2000
- outputSchema: external_exports.toJSONSchema(getLinearProjectOutput, { io: "output", unrepresentable: "any" })
2002
+ outputSchema: z.toJSONSchema(getLinearProjectOutput, { io: "output", unrepresentable: "any" })
2001
2003
  },
2002
2004
  list_issues_by_team_id: {
2003
2005
  description: "List Linear issues by team, and support cursor paging and whether to include archived issues.",
2004
2006
  effect: "read",
2005
2007
  inputSchema: listIssuesByTeamIdInput,
2006
- outputSchema: external_exports.toJSONSchema(listIssuesByTeamIdOutput, { io: "output", unrepresentable: "any" })
2008
+ outputSchema: z.toJSONSchema(listIssuesByTeamIdOutput, { io: "output", unrepresentable: "any" })
2007
2009
  },
2008
2010
  list_issue_drafts: {
2009
2011
  description: "Lists issue drafts visible to the current user in Linear.",
2010
2012
  effect: "read",
2011
2013
  inputSchema: listIssueDraftsInput,
2012
- outputSchema: external_exports.toJSONSchema(listIssueDraftsOutput, { io: "output", unrepresentable: "any" })
2014
+ outputSchema: z.toJSONSchema(listIssueDraftsOutput, { io: "output", unrepresentable: "any" })
2013
2015
  },
2014
2016
  list_linear_cycles: {
2015
2017
  description: "Lists the Linear periods accessible by the current credential.",
2016
2018
  effect: "read",
2017
2019
  inputSchema: listLinearCyclesInput,
2018
- outputSchema: external_exports.toJSONSchema(listLinearCyclesOutput, { io: "output", unrepresentable: "any" })
2020
+ outputSchema: z.toJSONSchema(listLinearCyclesOutput, { io: "output", unrepresentable: "any" })
2019
2021
  },
2020
2022
  list_linear_issues: {
2021
2023
  description: "Lists Linear issues accessible with current credentials, and supports filtering by project and person in charge.",
2022
2024
  effect: "read",
2023
2025
  inputSchema: listLinearIssuesInput,
2024
- outputSchema: external_exports.toJSONSchema(listLinearIssuesOutput, { io: "output", unrepresentable: "any" })
2026
+ outputSchema: z.toJSONSchema(listLinearIssuesOutput, { io: "output", unrepresentable: "any" })
2025
2027
  },
2026
2028
  list_linear_labels: {
2027
2029
  description: "Lists Linear labels for a specified team or entire workspace.",
2028
2030
  effect: "read",
2029
2031
  inputSchema: listLinearLabelsInput,
2030
- outputSchema: external_exports.toJSONSchema(listLinearLabelsOutput, { io: "output", unrepresentable: "any" })
2032
+ outputSchema: z.toJSONSchema(listLinearLabelsOutput, { io: "output", unrepresentable: "any" })
2031
2033
  },
2032
2034
  list_linear_projects: {
2033
2035
  description: "Lists Linear projects accessible with the current credentials.",
2034
2036
  effect: "read",
2035
2037
  inputSchema: listLinearProjectsInput,
2036
- outputSchema: external_exports.toJSONSchema(listLinearProjectsOutput, { io: "output", unrepresentable: "any" })
2038
+ outputSchema: z.toJSONSchema(listLinearProjectsOutput, { io: "output", unrepresentable: "any" })
2037
2039
  },
2038
2040
  list_linear_states: {
2039
2041
  description: "Lists all workflow statuses for the specified team.",
2040
2042
  effect: "read",
2041
2043
  inputSchema: listLinearStatesInput,
2042
- outputSchema: external_exports.toJSONSchema(listLinearStatesOutput, { io: "output", unrepresentable: "any" })
2044
+ outputSchema: z.toJSONSchema(listLinearStatesOutput, { io: "output", unrepresentable: "any" })
2043
2045
  },
2044
2046
  list_linear_teams: {
2045
2047
  description: "Lists Linear teams accessible with current credentials, along with a list of members and projects.",
2046
2048
  effect: "read",
2047
2049
  inputSchema: listLinearTeamsInput,
2048
- outputSchema: external_exports.toJSONSchema(listLinearTeamsOutput, { io: "output", unrepresentable: "any" })
2050
+ outputSchema: z.toJSONSchema(listLinearTeamsOutput, { io: "output", unrepresentable: "any" })
2049
2051
  },
2050
2052
  list_linear_users: {
2051
2053
  description: "List Linear users in the current workspace and support cursor paging.",
2052
2054
  effect: "read",
2053
2055
  inputSchema: listLinearUsersInput,
2054
- outputSchema: external_exports.toJSONSchema(listLinearUsersOutput, { io: "output", unrepresentable: "any" })
2056
+ outputSchema: z.toJSONSchema(listLinearUsersOutput, { io: "output", unrepresentable: "any" })
2055
2057
  },
2056
2058
  remove_issue_label: {
2057
2059
  description: "Removes a label from the specified Linear issue.",
2058
2060
  effect: "destructive",
2059
2061
  inputSchema: removeIssueLabelInput,
2060
- outputSchema: external_exports.toJSONSchema(removeIssueLabelOutput, { io: "output", unrepresentable: "any" })
2062
+ outputSchema: z.toJSONSchema(removeIssueLabelOutput, { io: "output", unrepresentable: "any" })
2061
2063
  },
2062
2064
  remove_reaction: {
2063
2065
  description: "Delete an existing Linear reaction.",
2064
2066
  effect: "destructive",
2065
2067
  inputSchema: removeReactionInput,
2066
- outputSchema: external_exports.toJSONSchema(removeReactionOutput, { io: "output", unrepresentable: "any" })
2068
+ outputSchema: z.toJSONSchema(removeReactionOutput, { io: "output", unrepresentable: "any" })
2067
2069
  },
2068
2070
  run_query: {
2069
2071
  description: "Execute a read-only query directly against the Linear GraphQL API.",
2070
2072
  effect: "write",
2071
2073
  inputSchema: runQueryInput,
2072
- outputSchema: external_exports.toJSONSchema(runQueryOutput, { io: "output", unrepresentable: "any" })
2074
+ outputSchema: z.toJSONSchema(runQueryOutput, { io: "output", unrepresentable: "any" })
2073
2075
  },
2074
2076
  run_mutation: {
2075
2077
  description: "Perform a mutation directly on the Linear GraphQL API.",
2076
2078
  effect: "write",
2077
2079
  inputSchema: runMutationInput,
2078
- outputSchema: external_exports.toJSONSchema(runMutationOutput, { io: "output", unrepresentable: "any" })
2080
+ outputSchema: z.toJSONSchema(runMutationOutput, { io: "output", unrepresentable: "any" })
2079
2081
  },
2080
2082
  search_issues: {
2081
2083
  description: "Retrieve issues through Linear's full-text search capabilities.",
2082
2084
  effect: "read",
2083
2085
  inputSchema: searchIssuesInput,
2084
- outputSchema: external_exports.toJSONSchema(searchIssuesOutput, { io: "output", unrepresentable: "any" })
2086
+ outputSchema: z.toJSONSchema(searchIssuesOutput, { io: "output", unrepresentable: "any" })
2085
2087
  },
2086
2088
  update_issue: {
2087
2089
  description: "Update an existing Linear issue and support fields such as title, description, status, project, label, etc.",
2088
2090
  effect: "write",
2089
2091
  inputSchema: updateIssueInput,
2090
- outputSchema: external_exports.toJSONSchema(updateIssueOutput, { io: "output", unrepresentable: "any" })
2092
+ outputSchema: z.toJSONSchema(updateIssueOutput, { io: "output", unrepresentable: "any" })
2091
2093
  },
2092
2094
  update_linear_comment: {
2093
2095
  description: "Update the text of an existing Linear comment.",
2094
2096
  effect: "write",
2095
2097
  inputSchema: updateLinearCommentInput,
2096
- outputSchema: external_exports.toJSONSchema(updateLinearCommentOutput, { io: "output", unrepresentable: "any" })
2098
+ outputSchema: z.toJSONSchema(updateLinearCommentOutput, { io: "output", unrepresentable: "any" })
2097
2099
  },
2098
2100
  update_linear_project: {
2099
2101
  description: "Update an existing Linear project.",
2100
2102
  effect: "write",
2101
2103
  inputSchema: updateLinearProjectInput,
2102
- outputSchema: external_exports.toJSONSchema(updateLinearProjectOutput, { io: "output", unrepresentable: "any" })
2104
+ outputSchema: z.toJSONSchema(updateLinearProjectOutput, { io: "output", unrepresentable: "any" })
2103
2105
  }
2104
2106
  };
2105
2107