@tool-bridge/server 0.21.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin.js +170 -0
- package/dist/airtable-VMQVXLHK.js +790 -0
- package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FTWY4RU4.js} +12 -11
- package/dist/{amap-VOX4T2AW.js → amap-OK5VBHYC.js} +221 -220
- package/dist/anthropic-S67AZFZ3.js +203 -0
- package/dist/apify-ZE6MYQI3.js +248 -0
- package/dist/brave_search-TG2M2KOD.js +302 -0
- package/dist/chunk-2JNAI4OC.js +161 -0
- package/dist/{chunk-KMTT3I6D.js → chunk-4XJPN3DY.js} +19392 -26136
- package/dist/chunk-5ICRY3VU.js +8432 -0
- package/dist/chunk-7CTWGTDU.js +302 -0
- package/dist/chunk-BADVCN6K.js +378 -0
- package/dist/{chunk-XYBU3WZH.js → chunk-TDAWLMDE.js} +3 -3
- package/dist/chunk-U7PTOA3U.js +7320 -0
- package/dist/{chunk-E6JCVKW6.js → chunk-VWRUGUSU.js} +3 -3
- package/dist/{chunk-ATK45BXV.js → chunk-WJHG6OK7.js} +4 -2
- package/dist/circleci-3L3WJVSK.js +389 -0
- package/dist/clerk-EZPF2V7T.js +1019 -0
- package/dist/cohere-U27DPO64.js +185 -0
- package/dist/{confluence-B3EWPZVE.js → confluence-G2KL6ERH.js} +105 -104
- package/dist/{convertapi-EUWSQYPF.js → convertapi-L4CLJ2M3.js} +32 -31
- package/dist/{currencyapi-KVTIK3GL.js → currencyapi-YPYXG7YY.js} +71 -71
- package/dist/deepseek-6HT6WF3M.js +210 -0
- package/dist/docker_hub-LPE3PCVB.js +933 -0
- package/dist/dropbox-V56ABHTA.js +1305 -0
- package/dist/dub-6OKQ7MHT.js +680 -0
- package/dist/e2b-JS2U2QFU.js +278 -0
- package/dist/exa-DPWVYXSP.js +332 -0
- package/dist/{fal_ai-23E7JPNT.js → fal_ai-DK6Y27ZF.js} +81 -80
- package/dist/{feishu-7QRIDUV6.js → feishu-K7EGSRF3.js} +528 -572
- package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-2JUGFYNG.js} +57 -53
- package/dist/figma-FT5I7ITD.js +777 -0
- package/dist/firehydrant-EIKLKHX2.js +563 -0
- package/dist/{fixer-BWON27UO.js → fixer-U5QXIAKD.js} +34 -33
- package/dist/fly-T3JYFZ2M.js +469 -0
- package/dist/{front-QCGXYEDJ.js → front-D72MGVOR.js} +104 -104
- package/dist/geocodio-BOTD5TI5.js +213 -0
- package/dist/ghost-KYP7SZGB.js +338 -0
- package/dist/github-AGMZT3VY.js +5421 -0
- package/dist/gmail-BLJNJOBG.js +1887 -0
- package/dist/googlecalendar-GTHWNCF6.js +2524 -0
- package/dist/{googledocs-BUHL4J2H.js → googledocs-6EEDMEBQ.js} +341 -340
- package/dist/{grafana-GLU2DWF2.js → grafana-GMW6EKSQ.js} +221 -220
- package/dist/graphhopper-6OLGBDGB.js +325 -0
- package/dist/index.d.ts +1132 -332
- package/dist/index.js +31 -14
- package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-4QN42E6T.js} +28 -27
- package/dist/ipgeolocation_io-SK4XKDA2.js +315 -0
- package/dist/ipqualityscore-6ANBPXKT.js +279 -0
- package/dist/{jina_ai-EFBHTBXL.js → jina_ai-IHPSVRM5.js} +23 -23
- package/dist/{jira-HQSHAA5K.js → jira-46KKM4LC.js} +118 -117
- package/dist/langsmith-JZA345I5.js +593 -0
- package/dist/lemlist-43IV7DK6.js +289 -0
- package/dist/{linear-K7RYFYAD.js → linear-5LFH7XNL.js} +327 -326
- package/dist/logsnag-5RMYAHIL.js +150 -0
- package/dist/main.js +57 -280
- package/dist/{mattermost-S2BRCWLQ.js → mattermost-XFL6SHGG.js} +59 -58
- package/dist/mem0-NYO4DTP6.js +544 -0
- package/dist/memos-37MPQOLV.js +744 -0
- package/dist/{metabase-MMSEPCOF.js → metabase-KYBKZFMG.js} +90 -89
- package/dist/mistral_ai-6PL3K4PM.js +1196 -0
- package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-2NH7W5M5.js} +94 -93
- package/dist/ngrok-UO6CDYCA.js +356 -0
- package/dist/{notes-PFMKRO33.js → notes-I3P32WP4.js} +11 -9
- package/dist/notion-BEAJFUOE.js +940 -0
- package/dist/open_exchange_rates-CMF62JB4.js +215 -0
- package/dist/openai-IHOMKVND.js +800 -0
- package/dist/opengraph_io-ZQ2FGLHX.js +362 -0
- package/dist/openrouter-HXLW3NR5.js +441 -0
- package/dist/outline-ELCP4NEU.js +599 -0
- package/dist/paddle-O77LALVN.js +454 -0
- package/dist/perplexity-JCU654QV.js +220 -0
- package/dist/pinecone-W5W4LRKL.js +571 -0
- package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-ITMJLLPZ.js} +99 -98
- package/dist/polar-R33XU4L3.js +395 -0
- package/dist/posthog-JVNTOLTV.js +3464 -0
- package/dist/postmark-6SBG7HWV.js +427 -0
- package/dist/{prerender-MENYM2TY.js → prerender-GPNKTNFC.js} +31 -30
- package/dist/{pubmed-GOXUVVH5.js → pubmed-UP6ZEEIH.js} +239 -238
- package/dist/{railway-V2SID4WV.js → railway-KWEWXHTY.js} +118 -117
- package/dist/readwise-BLATSMC3.js +470 -0
- package/dist/render-QYRVIXII.js +461 -0
- package/dist/{replicate-756MXPYX.js → replicate-JYTWH4NF.js} +81 -80
- package/dist/{resend-ZKH3BTBI.js → resend-L5N75SZM.js} +20 -16
- package/dist/rootly-MHCPEQ26.js +336 -0
- package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-PTPGYSJM.js} +62 -61
- package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-JN6UH5PY.js} +56 -56
- package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-4QRVSV55.js} +16 -16
- package/dist/semantic_scholar-LRSWA2GE.js +611 -0
- package/dist/{sentry-546MNDJG.js → sentry-2G6PF5W6.js} +208 -207
- package/dist/{shodan-C3OON3Z3.js → shodan-WKKPP5C6.js} +62 -61
- package/dist/shopify-64YDK5T2.js +610 -0
- package/dist/stripe-QAIGGOTF.js +585 -0
- package/dist/{supabase-U2SL4D63.js → supabase-WHTGR6ND.js} +245 -244
- package/dist/tavily-QIXCDDWO.js +326 -0
- package/dist/telegram-E6G7CWI6.js +1767 -0
- package/dist/{telnyx-CXQ4EZUX.js → telnyx-ZDVVS7PK.js} +57 -56
- package/dist/todoist-DMYF3G7J.js +664 -0
- package/dist/trello-HY2RYIRP.js +1080 -0
- package/dist/turso-HAQWMGRP.js +416 -0
- package/dist/{twilio-4PDBJKWX.js → twilio-MLXYPHJE.js} +70 -69
- package/dist/umami-DZHBLPVG.js +389 -0
- package/dist/unsplash-GS2OPXKE.js +351 -0
- package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-XMXWTNAJ.js} +51 -50
- package/dist/uptimerobot-TF5WRZ4G.js +483 -0
- package/dist/v2ex-2BVXAPDF.js +667 -0
- package/dist/vercel-YMJGQYJE.js +1076 -0
- package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-I56SXWFZ.js} +36 -35
- package/dist/wordpress-R7TDFZ2P.js +812 -0
- package/dist/workos-HDNHWVMS.js +664 -0
- package/dist/zhihu-LX6AGGDS.js +254 -0
- package/package.json +18 -9
- package/dist/airtable-LLZDFN7M.js +0 -789
- package/dist/anthropic-G23NN3X5.js +0 -202
- package/dist/apify-Y3SS734K.js +0 -247
- package/dist/brave_search-ZC7OAPSZ.js +0 -301
- package/dist/chunk-R6P4XAE5.js +0 -248
- package/dist/chunk-U7B6DS2O.js +0 -977
- package/dist/chunk-UZM2RXZH.js +0 -23436
- package/dist/circleci-3BAX5FCG.js +0 -388
- package/dist/clerk-6LEM6TNU.js +0 -1019
- package/dist/cloudflare_dns-KINYTJUD.js +0 -588
- package/dist/cohere-XCJ5AJ6B.js +0 -185
- package/dist/deepseek-PC5YGNC5.js +0 -209
- package/dist/docker_hub-C3MA5FU6.js +0 -932
- package/dist/dropbox-XBV7Z2IR.js +0 -1304
- package/dist/dub-LDOFG3HC.js +0 -679
- package/dist/e2b-JMCPSVBW.js +0 -277
- package/dist/exa-RAK7O7RD.js +0 -331
- package/dist/figma-E6IX5DTH.js +0 -773
- package/dist/firehydrant-ZBLPQREE.js +0 -562
- package/dist/fly-ZH3HFCZJ.js +0 -468
- package/dist/geocodio-YGNI7DA4.js +0 -212
- package/dist/ghost-EVSGKH2Q.js +0 -337
- package/dist/github-MA2BGRCJ.js +0 -5420
- package/dist/gmail-E5E6AADE.js +0 -1886
- package/dist/googlecalendar-BTLFPXTD.js +0 -2523
- package/dist/graphhopper-WSMB3TCD.js +0 -324
- package/dist/ipgeolocation_io-AA7HAS22.js +0 -315
- package/dist/ipqualityscore-BHJXVTJT.js +0 -277
- package/dist/langsmith-5W6SCT6F.js +0 -592
- package/dist/lemlist-HJWH6UMK.js +0 -288
- package/dist/logsnag-4KFOHL37.js +0 -150
- package/dist/mem0-CAW43CIC.js +0 -543
- package/dist/memos-TWEGPKFM.js +0 -740
- package/dist/mistral_ai-64BGZQHP.js +0 -1195
- package/dist/ngrok-GQCUGZKJ.js +0 -356
- package/dist/notion-DQWZWP4N.js +0 -936
- package/dist/open_exchange_rates-QMMD735E.js +0 -214
- package/dist/openai-W6PX32NZ.js +0 -799
- package/dist/opengraph_io-HNDBXYNW.js +0 -361
- package/dist/openrouter-JJYMEAUL.js +0 -437
- package/dist/outline-MCBNQZYY.js +0 -595
- package/dist/paddle-D2SKLUDN.js +0 -453
- package/dist/perplexity-XIFMKUAE.js +0 -219
- package/dist/pinecone-HUFTALV2.js +0 -570
- package/dist/polar-TYTOMOSR.js +0 -394
- package/dist/posthog-43JAR3VW.js +0 -3463
- package/dist/postmark-KL2QJYSG.js +0 -426
- package/dist/readwise-CI4GIMMJ.js +0 -469
- package/dist/render-SUBJ6YRZ.js +0 -460
- package/dist/rootly-CD2LJHPI.js +0 -336
- package/dist/semantic_scholar-T4A252KW.js +0 -610
- package/dist/shopify-Y2HN2MCQ.js +0 -609
- package/dist/stripe-VE3CD3AY.js +0 -584
- package/dist/tavily-KCZHK6HE.js +0 -326
- package/dist/telegram-3URFBCMY.js +0 -1766
- package/dist/todoist-HNPWNYTD.js +0 -663
- package/dist/trello-3W2MIXRP.js +0 -1079
- package/dist/turso-2EQF7C2Z.js +0 -415
- package/dist/umami-5REN7TGP.js +0 -388
- package/dist/unsplash-EIXL424F.js +0 -350
- package/dist/uptimerobot-KNJ3EYLY.js +0 -482
- package/dist/v2ex-RHJ234PZ.js +0 -666
- package/dist/vercel-AS6NCIC7.js +0 -1075
- package/dist/wordpress-KNDAAUV7.js +0 -811
- package/dist/workos-R6UITSJ7.js +0 -663
- package/dist/zhihu-AGK4HILK.js +0 -253
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
createProviderPlugin,
|
|
8
8
|
requireApiKey,
|
|
9
9
|
upstreamError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WJHG6OK7.js";
|
|
11
11
|
import {
|
|
12
12
|
guardedFetch
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2JNAI4OC.js";
|
|
14
|
+
import "./chunk-BADVCN6K.js";
|
|
14
15
|
import {
|
|
15
16
|
TBError,
|
|
16
|
-
external_exports,
|
|
17
17
|
isTBError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5ICRY3VU.js";
|
|
19
19
|
import "./chunk-U67V476Y.js";
|
|
20
20
|
|
|
21
21
|
// ../plugins/src/linear/api.ts
|
|
@@ -1540,567 +1540,568 @@ async function updateLinearProject(input, ctx) {
|
|
|
1540
1540
|
}
|
|
1541
1541
|
|
|
1542
1542
|
// ../plugins/src/linear/schema.ts
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
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()
|
|
1548
1549
|
}).describe("The input payload for this action.");
|
|
1549
|
-
var createAttachmentOutput =
|
|
1550
|
-
id:
|
|
1551
|
-
issue_id:
|
|
1552
|
-
title:
|
|
1553
|
-
url:
|
|
1554
|
-
subtitle:
|
|
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()
|
|
1555
1556
|
}).describe("Linear action output.");
|
|
1556
|
-
var createCommentReactionInput =
|
|
1557
|
-
comment_id:
|
|
1558
|
-
emoji:
|
|
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.")
|
|
1559
1560
|
}).describe("The input payload for this action.");
|
|
1560
|
-
var createCommentReactionOutput =
|
|
1561
|
-
reaction_id:
|
|
1562
|
-
comment_id:
|
|
1563
|
-
emoji:
|
|
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()
|
|
1564
1565
|
}).describe("Linear action output.");
|
|
1565
|
-
var createLinearCommentInput =
|
|
1566
|
-
issueId:
|
|
1567
|
-
body:
|
|
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.")
|
|
1568
1569
|
}).describe("The input payload for this action.");
|
|
1569
|
-
var createLinearCommentOutput =
|
|
1570
|
-
comment_id:
|
|
1571
|
-
issue_id:
|
|
1572
|
-
body:
|
|
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()
|
|
1573
1574
|
}).describe("Linear action output.");
|
|
1574
|
-
var createLinearIssueInput =
|
|
1575
|
-
title:
|
|
1576
|
-
team_id:
|
|
1577
|
-
cycle_id:
|
|
1578
|
-
due_date:
|
|
1579
|
-
estimate:
|
|
1580
|
-
priority:
|
|
1581
|
-
state_id:
|
|
1582
|
-
label_ids:
|
|
1583
|
-
parent_id:
|
|
1584
|
-
project_id:
|
|
1585
|
-
assignee_id:
|
|
1586
|
-
description:
|
|
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()
|
|
1587
1588
|
}).describe("The input payload for this action.");
|
|
1588
|
-
var createLinearIssueOutput =
|
|
1589
|
-
id:
|
|
1590
|
-
identifier:
|
|
1591
|
-
issue_title:
|
|
1592
|
-
issue_description:
|
|
1593
|
-
ticket_url:
|
|
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()
|
|
1594
1595
|
}).describe("Linear action output.");
|
|
1595
|
-
var createLinearIssueRelationInput =
|
|
1596
|
-
issue_id:
|
|
1597
|
-
related_issue_id:
|
|
1598
|
-
relation_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.")
|
|
1599
1600
|
}).describe("The input payload for this action.");
|
|
1600
|
-
var createLinearIssueRelationOutput =
|
|
1601
|
-
id:
|
|
1602
|
-
issue_id:
|
|
1603
|
-
related_issue_id:
|
|
1604
|
-
relation_type:
|
|
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()
|
|
1605
1606
|
}).describe("Linear action output.");
|
|
1606
|
-
var createLinearLabelInput =
|
|
1607
|
-
team_id:
|
|
1608
|
-
name:
|
|
1609
|
-
color:
|
|
1610
|
-
description:
|
|
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()
|
|
1611
1612
|
}).describe("The input payload for this action.");
|
|
1612
|
-
var createLinearLabelOutput =
|
|
1613
|
-
id:
|
|
1614
|
-
team_id:
|
|
1615
|
-
name:
|
|
1616
|
-
color:
|
|
1617
|
-
description:
|
|
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()
|
|
1618
1619
|
}).describe("Linear action output.");
|
|
1619
|
-
var createLinearProjectInput =
|
|
1620
|
-
icon:
|
|
1621
|
-
name:
|
|
1622
|
-
color:
|
|
1623
|
-
lead_id:
|
|
1624
|
-
priority:
|
|
1625
|
-
status_id:
|
|
1626
|
-
state:
|
|
1627
|
-
start_date:
|
|
1628
|
-
description:
|
|
1629
|
-
target_date:
|
|
1630
|
-
team_ids:
|
|
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.")
|
|
1631
1632
|
}).describe("The input payload for this action.");
|
|
1632
|
-
var createLinearProjectOutput =
|
|
1633
|
-
id:
|
|
1634
|
-
name:
|
|
1635
|
-
url:
|
|
1636
|
-
state:
|
|
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()
|
|
1637
1638
|
}).describe("Linear action output.");
|
|
1638
|
-
var createProjectMilestoneInput =
|
|
1639
|
-
name:
|
|
1640
|
-
project_id:
|
|
1641
|
-
sort_order:
|
|
1642
|
-
description:
|
|
1643
|
-
target_date:
|
|
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()
|
|
1644
1645
|
}).describe("The input payload for this action.");
|
|
1645
|
-
var createProjectMilestoneOutput =
|
|
1646
|
-
id:
|
|
1647
|
-
project_id:
|
|
1648
|
-
name:
|
|
1649
|
-
target_date:
|
|
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()
|
|
1650
1651
|
}).describe("Linear action output.");
|
|
1651
|
-
var createProjectUpdateInput =
|
|
1652
|
-
body:
|
|
1653
|
-
health:
|
|
1654
|
-
project_id:
|
|
1655
|
-
is_diff_hidden:
|
|
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()
|
|
1656
1657
|
}).describe("The input payload for this action.");
|
|
1657
|
-
var createProjectUpdateOutput =
|
|
1658
|
-
id:
|
|
1659
|
-
project_id:
|
|
1660
|
-
body:
|
|
1661
|
-
health:
|
|
1662
|
-
is_diff_hidden:
|
|
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()
|
|
1663
1664
|
}).describe("Linear action output.");
|
|
1664
|
-
var deleteLinearIssueInput =
|
|
1665
|
-
issue_id:
|
|
1665
|
+
var deleteLinearIssueInput = z.strictObject({
|
|
1666
|
+
issue_id: z.string().min(1).describe("Linear resource ID.")
|
|
1666
1667
|
}).describe("The input payload for this action.");
|
|
1667
|
-
var deleteLinearIssueOutput =
|
|
1668
|
-
id:
|
|
1669
|
-
deleted:
|
|
1668
|
+
var deleteLinearIssueOutput = z.looseObject({
|
|
1669
|
+
id: z.string().min(1).describe("Linear resource ID.").optional(),
|
|
1670
|
+
deleted: z.boolean().optional()
|
|
1670
1671
|
}).describe("Linear action output.");
|
|
1671
|
-
var getAllLinearTeamsInput =
|
|
1672
|
-
var getAllLinearTeamsOutput =
|
|
1673
|
-
teams:
|
|
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()
|
|
1674
1675
|
}).describe("Linear action output.");
|
|
1675
|
-
var getAttachmentInput =
|
|
1676
|
-
issue_id:
|
|
1677
|
-
attachment_id:
|
|
1678
|
-
file_name:
|
|
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()
|
|
1679
1680
|
}).describe("The input payload for this action.");
|
|
1680
|
-
var getAttachmentOutput =
|
|
1681
|
-
attachment:
|
|
1681
|
+
var getAttachmentOutput = z.looseObject({
|
|
1682
|
+
attachment: z.looseObject({}).describe("Linear API object.").optional()
|
|
1682
1683
|
}).describe("Linear action output.");
|
|
1683
|
-
var getCurrentUserInput =
|
|
1684
|
-
var getCurrentUserOutput =
|
|
1685
|
-
viewer:
|
|
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()
|
|
1686
1687
|
}).describe("Linear action output.");
|
|
1687
|
-
var getCyclesByTeamIdInput =
|
|
1688
|
-
team_id:
|
|
1688
|
+
var getCyclesByTeamIdInput = z.strictObject({
|
|
1689
|
+
team_id: z.string().min(1).describe("Linear resource ID.")
|
|
1689
1690
|
}).describe("The input payload for this action.");
|
|
1690
|
-
var getCyclesByTeamIdOutput =
|
|
1691
|
-
cycles:
|
|
1691
|
+
var getCyclesByTeamIdOutput = z.looseObject({
|
|
1692
|
+
cycles: z.array(z.looseObject({}).describe("Linear API object.")).describe("cycles returned by Linear.").optional()
|
|
1692
1693
|
}).describe("Linear action output.");
|
|
1693
|
-
var getIssueDefaultsInput =
|
|
1694
|
-
team_id:
|
|
1694
|
+
var getIssueDefaultsInput = z.strictObject({
|
|
1695
|
+
team_id: z.string().min(1).describe("Linear resource ID.")
|
|
1695
1696
|
}).describe("The input payload for this action.");
|
|
1696
|
-
var getIssueDefaultsOutput =
|
|
1697
|
-
team:
|
|
1697
|
+
var getIssueDefaultsOutput = z.looseObject({
|
|
1698
|
+
team: z.looseObject({}).describe("Linear API object.").optional()
|
|
1698
1699
|
}).describe("Linear action output.");
|
|
1699
|
-
var getLinearIssueInput =
|
|
1700
|
-
issue_id:
|
|
1700
|
+
var getLinearIssueInput = z.strictObject({
|
|
1701
|
+
issue_id: z.string().min(1).describe("Linear resource ID.")
|
|
1701
1702
|
}).describe("The input payload for this action.");
|
|
1702
|
-
var getLinearIssueOutput =
|
|
1703
|
-
issue:
|
|
1703
|
+
var getLinearIssueOutput = z.looseObject({
|
|
1704
|
+
issue: z.looseObject({}).describe("Linear API object.").optional()
|
|
1704
1705
|
}).describe("Linear action output.");
|
|
1705
|
-
var getLinearProjectInput =
|
|
1706
|
-
project_id:
|
|
1707
|
-
include_teams:
|
|
1708
|
-
include_members:
|
|
1709
|
-
include_initiatives:
|
|
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()
|
|
1710
1711
|
}).describe("The input payload for this action.");
|
|
1711
|
-
var getLinearProjectOutput =
|
|
1712
|
-
project:
|
|
1712
|
+
var getLinearProjectOutput = z.looseObject({
|
|
1713
|
+
project: z.looseObject({}).describe("Linear API object.").optional()
|
|
1713
1714
|
}).describe("Linear action output.");
|
|
1714
|
-
var listIssuesByTeamIdInput =
|
|
1715
|
-
after:
|
|
1716
|
-
first:
|
|
1717
|
-
team_id:
|
|
1718
|
-
include_archived:
|
|
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()
|
|
1719
1720
|
}).describe("The input payload for this action.");
|
|
1720
|
-
var listIssuesByTeamIdOutput =
|
|
1721
|
-
team:
|
|
1722
|
-
issues:
|
|
1723
|
-
page_info:
|
|
1724
|
-
startCursor:
|
|
1725
|
-
endCursor:
|
|
1726
|
-
hasPreviousPage:
|
|
1727
|
-
hasNextPage:
|
|
1728
|
-
end_cursor:
|
|
1729
|
-
has_next_page:
|
|
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()
|
|
1730
1731
|
}).describe("Pagination information.").optional()
|
|
1731
1732
|
}).describe("Linear action output.");
|
|
1732
|
-
var listIssueDraftsInput =
|
|
1733
|
-
after:
|
|
1734
|
-
first:
|
|
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()
|
|
1735
1736
|
}).describe("The input payload for this action.");
|
|
1736
|
-
var listIssueDraftsOutput =
|
|
1737
|
-
drafts:
|
|
1738
|
-
page_info:
|
|
1739
|
-
startCursor:
|
|
1740
|
-
endCursor:
|
|
1741
|
-
hasPreviousPage:
|
|
1742
|
-
hasNextPage:
|
|
1743
|
-
end_cursor:
|
|
1744
|
-
has_next_page:
|
|
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()
|
|
1745
1746
|
}).describe("Pagination information.").optional()
|
|
1746
1747
|
}).describe("Linear action output.");
|
|
1747
|
-
var listLinearCyclesInput =
|
|
1748
|
-
var listLinearCyclesOutput =
|
|
1749
|
-
cycles:
|
|
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()
|
|
1750
1751
|
}).describe("Linear action output.");
|
|
1751
|
-
var listLinearIssuesInput =
|
|
1752
|
-
after:
|
|
1753
|
-
first:
|
|
1754
|
-
project_id:
|
|
1755
|
-
assignee_id:
|
|
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()
|
|
1756
1757
|
}).describe("The input payload for this action.");
|
|
1757
|
-
var listLinearIssuesOutput =
|
|
1758
|
-
issues:
|
|
1759
|
-
page_info:
|
|
1760
|
-
startCursor:
|
|
1761
|
-
endCursor:
|
|
1762
|
-
hasPreviousPage:
|
|
1763
|
-
hasNextPage:
|
|
1764
|
-
end_cursor:
|
|
1765
|
-
has_next_page:
|
|
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()
|
|
1766
1767
|
}).describe("Pagination information.").optional()
|
|
1767
1768
|
}).describe("Linear action output.");
|
|
1768
|
-
var listLinearLabelsInput =
|
|
1769
|
-
team_id:
|
|
1769
|
+
var listLinearLabelsInput = z.strictObject({
|
|
1770
|
+
team_id: z.string().min(1).describe("Linear resource ID.").optional()
|
|
1770
1771
|
}).describe("The input payload for this action.");
|
|
1771
|
-
var listLinearLabelsOutput =
|
|
1772
|
-
labels:
|
|
1772
|
+
var listLinearLabelsOutput = z.looseObject({
|
|
1773
|
+
labels: z.array(z.looseObject({}).describe("Linear API object.")).describe("labels returned by Linear.").optional()
|
|
1773
1774
|
}).describe("Linear action output.");
|
|
1774
|
-
var listLinearProjectsInput =
|
|
1775
|
-
var listLinearProjectsOutput =
|
|
1776
|
-
projects:
|
|
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()
|
|
1777
1778
|
}).describe("Linear action output.");
|
|
1778
|
-
var listLinearStatesInput =
|
|
1779
|
-
team_id:
|
|
1779
|
+
var listLinearStatesInput = z.strictObject({
|
|
1780
|
+
team_id: z.string().min(1).describe("Linear resource ID.")
|
|
1780
1781
|
}).describe("The input payload for this action.");
|
|
1781
|
-
var listLinearStatesOutput =
|
|
1782
|
-
states:
|
|
1782
|
+
var listLinearStatesOutput = z.looseObject({
|
|
1783
|
+
states: z.array(z.looseObject({}).describe("Linear API object.")).describe("states returned by Linear.").optional()
|
|
1783
1784
|
}).describe("Linear action output.");
|
|
1784
|
-
var listLinearTeamsInput =
|
|
1785
|
-
project_id:
|
|
1785
|
+
var listLinearTeamsInput = z.strictObject({
|
|
1786
|
+
project_id: z.string().min(1).describe("Linear resource ID.").optional()
|
|
1786
1787
|
}).describe("The input payload for this action.");
|
|
1787
|
-
var listLinearTeamsOutput =
|
|
1788
|
-
teams:
|
|
1788
|
+
var listLinearTeamsOutput = z.looseObject({
|
|
1789
|
+
teams: z.array(z.looseObject({}).describe("Linear API object.")).describe("teams returned by Linear.").optional()
|
|
1789
1790
|
}).describe("Linear action output.");
|
|
1790
|
-
var listLinearUsersInput =
|
|
1791
|
-
after:
|
|
1792
|
-
first:
|
|
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()
|
|
1793
1794
|
}).describe("The input payload for this action.");
|
|
1794
|
-
var listLinearUsersOutput =
|
|
1795
|
-
users:
|
|
1796
|
-
page_info:
|
|
1797
|
-
startCursor:
|
|
1798
|
-
endCursor:
|
|
1799
|
-
hasPreviousPage:
|
|
1800
|
-
hasNextPage:
|
|
1801
|
-
end_cursor:
|
|
1802
|
-
has_next_page:
|
|
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()
|
|
1803
1804
|
}).describe("Pagination information.").optional()
|
|
1804
1805
|
}).describe("Linear action output.");
|
|
1805
|
-
var removeIssueLabelInput =
|
|
1806
|
-
issue_id:
|
|
1807
|
-
label_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.")
|
|
1808
1809
|
}).describe("The input payload for this action.");
|
|
1809
|
-
var removeIssueLabelOutput =
|
|
1810
|
-
issue_id:
|
|
1811
|
-
label_id:
|
|
1812
|
-
removed:
|
|
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()
|
|
1813
1814
|
}).describe("Linear action output.");
|
|
1814
|
-
var removeReactionInput =
|
|
1815
|
-
reaction_id:
|
|
1815
|
+
var removeReactionInput = z.strictObject({
|
|
1816
|
+
reaction_id: z.string().min(1).describe("Linear resource ID.")
|
|
1816
1817
|
}).describe("The input payload for this action.");
|
|
1817
|
-
var removeReactionOutput =
|
|
1818
|
-
reaction_id:
|
|
1819
|
-
removed:
|
|
1818
|
+
var removeReactionOutput = z.looseObject({
|
|
1819
|
+
reaction_id: z.string().min(1).describe("Linear resource ID.").optional(),
|
|
1820
|
+
removed: z.boolean().optional()
|
|
1820
1821
|
}).describe("Linear action output.");
|
|
1821
|
-
var runQueryInput =
|
|
1822
|
-
query:
|
|
1823
|
-
variables:
|
|
1822
|
+
var runQueryInput = z.strictObject({
|
|
1823
|
+
query: z.string().min(1),
|
|
1824
|
+
variables: z.looseObject({}).describe("Linear API object.").optional()
|
|
1824
1825
|
}).describe("The input payload for this action.");
|
|
1825
|
-
var runQueryOutput =
|
|
1826
|
-
data:
|
|
1827
|
-
errors:
|
|
1828
|
-
extensions:
|
|
1829
|
-
message:
|
|
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()
|
|
1830
1831
|
}).describe("Raw GraphQL response.");
|
|
1831
|
-
var runMutationInput =
|
|
1832
|
-
mutation:
|
|
1833
|
-
variables:
|
|
1832
|
+
var runMutationInput = z.strictObject({
|
|
1833
|
+
mutation: z.string().min(1),
|
|
1834
|
+
variables: z.looseObject({}).describe("Linear API object.").optional()
|
|
1834
1835
|
}).describe("The input payload for this action.");
|
|
1835
|
-
var runMutationOutput =
|
|
1836
|
-
data:
|
|
1837
|
-
errors:
|
|
1838
|
-
extensions:
|
|
1839
|
-
message:
|
|
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()
|
|
1840
1841
|
}).describe("Raw GraphQL response.");
|
|
1841
|
-
var searchIssuesInput =
|
|
1842
|
-
query:
|
|
1843
|
-
after:
|
|
1844
|
-
first:
|
|
1845
|
-
include_archived:
|
|
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()
|
|
1846
1847
|
}).describe("The input payload for this action.");
|
|
1847
|
-
var searchIssuesOutput =
|
|
1848
|
-
issues:
|
|
1849
|
-
page_info:
|
|
1850
|
-
startCursor:
|
|
1851
|
-
endCursor:
|
|
1852
|
-
hasPreviousPage:
|
|
1853
|
-
hasNextPage:
|
|
1854
|
-
end_cursor:
|
|
1855
|
-
has_next_page:
|
|
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()
|
|
1856
1857
|
}).describe("Pagination information.").optional(),
|
|
1857
|
-
total_count:
|
|
1858
|
+
total_count: z.int().optional()
|
|
1858
1859
|
}).describe("Linear action output.");
|
|
1859
|
-
var updateIssueInput =
|
|
1860
|
-
issueId:
|
|
1861
|
-
title:
|
|
1862
|
-
teamId:
|
|
1863
|
-
cycleId:
|
|
1864
|
-
dueDate:
|
|
1865
|
-
stateId:
|
|
1866
|
-
estimate:
|
|
1867
|
-
labelIds:
|
|
1868
|
-
parentId:
|
|
1869
|
-
priority:
|
|
1870
|
-
projectId:
|
|
1871
|
-
assigneeId:
|
|
1872
|
-
description:
|
|
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()
|
|
1873
1874
|
}).describe("The input payload for this action.");
|
|
1874
|
-
var updateIssueOutput =
|
|
1875
|
-
issue:
|
|
1875
|
+
var updateIssueOutput = z.looseObject({
|
|
1876
|
+
issue: z.looseObject({}).describe("Linear API object.").optional()
|
|
1876
1877
|
}).describe("Linear action output.");
|
|
1877
|
-
var updateLinearCommentInput =
|
|
1878
|
-
comment_id:
|
|
1879
|
-
body:
|
|
1878
|
+
var updateLinearCommentInput = z.strictObject({
|
|
1879
|
+
comment_id: z.string().min(1).describe("Linear resource ID."),
|
|
1880
|
+
body: z.string().min(1)
|
|
1880
1881
|
}).describe("The input payload for this action.");
|
|
1881
|
-
var updateLinearCommentOutput =
|
|
1882
|
-
comment:
|
|
1882
|
+
var updateLinearCommentOutput = z.looseObject({
|
|
1883
|
+
comment: z.looseObject({}).describe("Linear API object.").optional()
|
|
1883
1884
|
}).describe("Linear action output.");
|
|
1884
|
-
var updateLinearProjectInput =
|
|
1885
|
-
project_id:
|
|
1886
|
-
icon:
|
|
1887
|
-
name:
|
|
1888
|
-
color:
|
|
1889
|
-
lead_id:
|
|
1890
|
-
priority:
|
|
1891
|
-
status_id:
|
|
1892
|
-
state:
|
|
1893
|
-
start_date:
|
|
1894
|
-
description:
|
|
1895
|
-
target_date:
|
|
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()
|
|
1896
1897
|
}).describe("The input payload for this action.");
|
|
1897
|
-
var updateLinearProjectOutput =
|
|
1898
|
-
project:
|
|
1898
|
+
var updateLinearProjectOutput = z.looseObject({
|
|
1899
|
+
project: z.looseObject({}).describe("Linear API object.").optional()
|
|
1899
1900
|
}).describe("Linear action output.");
|
|
1900
1901
|
var linearActions = {
|
|
1901
1902
|
create_attachment: {
|
|
1902
1903
|
description: "Create or update an attachment for the specified Linear issue.",
|
|
1903
1904
|
effect: "write",
|
|
1904
1905
|
inputSchema: createAttachmentInput,
|
|
1905
|
-
outputSchema:
|
|
1906
|
+
outputSchema: z.toJSONSchema(createAttachmentOutput, { io: "output", unrepresentable: "any" })
|
|
1906
1907
|
},
|
|
1907
1908
|
create_comment_reaction: {
|
|
1908
1909
|
description: "Creates an emoji reaction for the specified Linear comment.",
|
|
1909
1910
|
effect: "write",
|
|
1910
1911
|
inputSchema: createCommentReactionInput,
|
|
1911
|
-
outputSchema:
|
|
1912
|
+
outputSchema: z.toJSONSchema(createCommentReactionOutput, { io: "output", unrepresentable: "any" })
|
|
1912
1913
|
},
|
|
1913
1914
|
create_linear_comment: {
|
|
1914
1915
|
description: "Creates a comment for the specified Linear issue.",
|
|
1915
1916
|
effect: "write",
|
|
1916
1917
|
inputSchema: createLinearCommentInput,
|
|
1917
|
-
outputSchema:
|
|
1918
|
+
outputSchema: z.toJSONSchema(createLinearCommentOutput, { io: "output", unrepresentable: "any" })
|
|
1918
1919
|
},
|
|
1919
1920
|
create_linear_issue: {
|
|
1920
1921
|
description: "Create a new Linear issue in the specified team and support fields such as project, person in charge, status, label, etc.",
|
|
1921
1922
|
effect: "write",
|
|
1922
1923
|
inputSchema: createLinearIssueInput,
|
|
1923
|
-
outputSchema:
|
|
1924
|
+
outputSchema: z.toJSONSchema(createLinearIssueOutput, { io: "output", unrepresentable: "any" })
|
|
1924
1925
|
},
|
|
1925
1926
|
create_linear_issue_relation: {
|
|
1926
1927
|
description: "Create a relationship between two Linear issues, such as blocks, related, or duplicate.",
|
|
1927
1928
|
effect: "write",
|
|
1928
1929
|
inputSchema: createLinearIssueRelationInput,
|
|
1929
|
-
outputSchema:
|
|
1930
|
+
outputSchema: z.toJSONSchema(createLinearIssueRelationOutput, { io: "output", unrepresentable: "any" })
|
|
1930
1931
|
},
|
|
1931
1932
|
create_linear_label: {
|
|
1932
1933
|
description: "Creates a new Linear issue label in the specified team.",
|
|
1933
1934
|
effect: "write",
|
|
1934
1935
|
inputSchema: createLinearLabelInput,
|
|
1935
|
-
outputSchema:
|
|
1936
|
+
outputSchema: z.toJSONSchema(createLinearLabelOutput, { io: "output", unrepresentable: "any" })
|
|
1936
1937
|
},
|
|
1937
1938
|
create_linear_project: {
|
|
1938
1939
|
description: "Create a new Linear project and associate one or more teams.",
|
|
1939
1940
|
effect: "write",
|
|
1940
1941
|
inputSchema: createLinearProjectInput,
|
|
1941
|
-
outputSchema:
|
|
1942
|
+
outputSchema: z.toJSONSchema(createLinearProjectOutput, { io: "output", unrepresentable: "any" })
|
|
1942
1943
|
},
|
|
1943
1944
|
create_project_milestone: {
|
|
1944
1945
|
description: "Creates a project milestone for the specified Linear project.",
|
|
1945
1946
|
effect: "write",
|
|
1946
1947
|
inputSchema: createProjectMilestoneInput,
|
|
1947
|
-
outputSchema:
|
|
1948
|
+
outputSchema: z.toJSONSchema(createProjectMilestoneOutput, { io: "output", unrepresentable: "any" })
|
|
1948
1949
|
},
|
|
1949
1950
|
create_project_update: {
|
|
1950
1951
|
description: "Creates a project progress update for the specified Linear project.",
|
|
1951
1952
|
effect: "write",
|
|
1952
1953
|
inputSchema: createProjectUpdateInput,
|
|
1953
|
-
outputSchema:
|
|
1954
|
+
outputSchema: z.toJSONSchema(createProjectUpdateOutput, { io: "output", unrepresentable: "any" })
|
|
1954
1955
|
},
|
|
1955
1956
|
delete_linear_issue: {
|
|
1956
1957
|
description: "Delete the specified Linear issue.",
|
|
1957
1958
|
effect: "destructive",
|
|
1958
1959
|
inputSchema: deleteLinearIssueInput,
|
|
1959
|
-
outputSchema:
|
|
1960
|
+
outputSchema: z.toJSONSchema(deleteLinearIssueOutput, { io: "output", unrepresentable: "any" })
|
|
1960
1961
|
},
|
|
1961
1962
|
get_all_linear_teams: {
|
|
1962
1963
|
description: "Lists all Linear team basic information accessible with the current credentials.",
|
|
1963
1964
|
effect: "read",
|
|
1964
1965
|
inputSchema: getAllLinearTeamsInput,
|
|
1965
|
-
outputSchema:
|
|
1966
|
+
outputSchema: z.toJSONSchema(getAllLinearTeamsOutput, { io: "output", unrepresentable: "any" })
|
|
1966
1967
|
},
|
|
1967
1968
|
get_attachment: {
|
|
1968
1969
|
description: "Retrieve a Linear attachment based on the issue and attachment ID or file name.",
|
|
1969
1970
|
effect: "read",
|
|
1970
1971
|
inputSchema: getAttachmentInput,
|
|
1971
|
-
outputSchema:
|
|
1972
|
+
outputSchema: z.toJSONSchema(getAttachmentOutput, { io: "output", unrepresentable: "any" })
|
|
1972
1973
|
},
|
|
1973
1974
|
get_current_user: {
|
|
1974
1975
|
description: "Get the currently authenticated Linear user profile.",
|
|
1975
1976
|
effect: "read",
|
|
1976
1977
|
inputSchema: getCurrentUserInput,
|
|
1977
|
-
outputSchema:
|
|
1978
|
+
outputSchema: z.toJSONSchema(getCurrentUserOutput, { io: "output", unrepresentable: "any" })
|
|
1978
1979
|
},
|
|
1979
1980
|
get_cycles_by_team_id: {
|
|
1980
1981
|
description: "Get all cycle information under the specified team.",
|
|
1981
1982
|
effect: "read",
|
|
1982
1983
|
inputSchema: getCyclesByTeamIdInput,
|
|
1983
|
-
outputSchema:
|
|
1984
|
+
outputSchema: z.toJSONSchema(getCyclesByTeamIdOutput, { io: "output", unrepresentable: "any" })
|
|
1984
1985
|
},
|
|
1985
1986
|
get_issue_defaults: {
|
|
1986
1987
|
description: "Gets the default status and default estimate used when the specified team creates an issue.",
|
|
1987
1988
|
effect: "read",
|
|
1988
1989
|
inputSchema: getIssueDefaultsInput,
|
|
1989
|
-
outputSchema:
|
|
1990
|
+
outputSchema: z.toJSONSchema(getIssueDefaultsOutput, { io: "output", unrepresentable: "any" })
|
|
1990
1991
|
},
|
|
1991
1992
|
get_linear_issue: {
|
|
1992
1993
|
description: "Get details of a Linear issue, including comments, attachments, subscribers, and underlying relationship fields.",
|
|
1993
1994
|
effect: "read",
|
|
1994
1995
|
inputSchema: getLinearIssueInput,
|
|
1995
|
-
outputSchema:
|
|
1996
|
+
outputSchema: z.toJSONSchema(getLinearIssueOutput, { io: "output", unrepresentable: "any" })
|
|
1996
1997
|
},
|
|
1997
1998
|
get_linear_project: {
|
|
1998
1999
|
description: "Get the details of a Linear project, complete with team, members, and initiatives on demand.",
|
|
1999
2000
|
effect: "read",
|
|
2000
2001
|
inputSchema: getLinearProjectInput,
|
|
2001
|
-
outputSchema:
|
|
2002
|
+
outputSchema: z.toJSONSchema(getLinearProjectOutput, { io: "output", unrepresentable: "any" })
|
|
2002
2003
|
},
|
|
2003
2004
|
list_issues_by_team_id: {
|
|
2004
2005
|
description: "List Linear issues by team, and support cursor paging and whether to include archived issues.",
|
|
2005
2006
|
effect: "read",
|
|
2006
2007
|
inputSchema: listIssuesByTeamIdInput,
|
|
2007
|
-
outputSchema:
|
|
2008
|
+
outputSchema: z.toJSONSchema(listIssuesByTeamIdOutput, { io: "output", unrepresentable: "any" })
|
|
2008
2009
|
},
|
|
2009
2010
|
list_issue_drafts: {
|
|
2010
2011
|
description: "Lists issue drafts visible to the current user in Linear.",
|
|
2011
2012
|
effect: "read",
|
|
2012
2013
|
inputSchema: listIssueDraftsInput,
|
|
2013
|
-
outputSchema:
|
|
2014
|
+
outputSchema: z.toJSONSchema(listIssueDraftsOutput, { io: "output", unrepresentable: "any" })
|
|
2014
2015
|
},
|
|
2015
2016
|
list_linear_cycles: {
|
|
2016
2017
|
description: "Lists the Linear periods accessible by the current credential.",
|
|
2017
2018
|
effect: "read",
|
|
2018
2019
|
inputSchema: listLinearCyclesInput,
|
|
2019
|
-
outputSchema:
|
|
2020
|
+
outputSchema: z.toJSONSchema(listLinearCyclesOutput, { io: "output", unrepresentable: "any" })
|
|
2020
2021
|
},
|
|
2021
2022
|
list_linear_issues: {
|
|
2022
2023
|
description: "Lists Linear issues accessible with current credentials, and supports filtering by project and person in charge.",
|
|
2023
2024
|
effect: "read",
|
|
2024
2025
|
inputSchema: listLinearIssuesInput,
|
|
2025
|
-
outputSchema:
|
|
2026
|
+
outputSchema: z.toJSONSchema(listLinearIssuesOutput, { io: "output", unrepresentable: "any" })
|
|
2026
2027
|
},
|
|
2027
2028
|
list_linear_labels: {
|
|
2028
2029
|
description: "Lists Linear labels for a specified team or entire workspace.",
|
|
2029
2030
|
effect: "read",
|
|
2030
2031
|
inputSchema: listLinearLabelsInput,
|
|
2031
|
-
outputSchema:
|
|
2032
|
+
outputSchema: z.toJSONSchema(listLinearLabelsOutput, { io: "output", unrepresentable: "any" })
|
|
2032
2033
|
},
|
|
2033
2034
|
list_linear_projects: {
|
|
2034
2035
|
description: "Lists Linear projects accessible with the current credentials.",
|
|
2035
2036
|
effect: "read",
|
|
2036
2037
|
inputSchema: listLinearProjectsInput,
|
|
2037
|
-
outputSchema:
|
|
2038
|
+
outputSchema: z.toJSONSchema(listLinearProjectsOutput, { io: "output", unrepresentable: "any" })
|
|
2038
2039
|
},
|
|
2039
2040
|
list_linear_states: {
|
|
2040
2041
|
description: "Lists all workflow statuses for the specified team.",
|
|
2041
2042
|
effect: "read",
|
|
2042
2043
|
inputSchema: listLinearStatesInput,
|
|
2043
|
-
outputSchema:
|
|
2044
|
+
outputSchema: z.toJSONSchema(listLinearStatesOutput, { io: "output", unrepresentable: "any" })
|
|
2044
2045
|
},
|
|
2045
2046
|
list_linear_teams: {
|
|
2046
2047
|
description: "Lists Linear teams accessible with current credentials, along with a list of members and projects.",
|
|
2047
2048
|
effect: "read",
|
|
2048
2049
|
inputSchema: listLinearTeamsInput,
|
|
2049
|
-
outputSchema:
|
|
2050
|
+
outputSchema: z.toJSONSchema(listLinearTeamsOutput, { io: "output", unrepresentable: "any" })
|
|
2050
2051
|
},
|
|
2051
2052
|
list_linear_users: {
|
|
2052
2053
|
description: "List Linear users in the current workspace and support cursor paging.",
|
|
2053
2054
|
effect: "read",
|
|
2054
2055
|
inputSchema: listLinearUsersInput,
|
|
2055
|
-
outputSchema:
|
|
2056
|
+
outputSchema: z.toJSONSchema(listLinearUsersOutput, { io: "output", unrepresentable: "any" })
|
|
2056
2057
|
},
|
|
2057
2058
|
remove_issue_label: {
|
|
2058
2059
|
description: "Removes a label from the specified Linear issue.",
|
|
2059
2060
|
effect: "destructive",
|
|
2060
2061
|
inputSchema: removeIssueLabelInput,
|
|
2061
|
-
outputSchema:
|
|
2062
|
+
outputSchema: z.toJSONSchema(removeIssueLabelOutput, { io: "output", unrepresentable: "any" })
|
|
2062
2063
|
},
|
|
2063
2064
|
remove_reaction: {
|
|
2064
2065
|
description: "Delete an existing Linear reaction.",
|
|
2065
2066
|
effect: "destructive",
|
|
2066
2067
|
inputSchema: removeReactionInput,
|
|
2067
|
-
outputSchema:
|
|
2068
|
+
outputSchema: z.toJSONSchema(removeReactionOutput, { io: "output", unrepresentable: "any" })
|
|
2068
2069
|
},
|
|
2069
2070
|
run_query: {
|
|
2070
2071
|
description: "Execute a read-only query directly against the Linear GraphQL API.",
|
|
2071
2072
|
effect: "write",
|
|
2072
2073
|
inputSchema: runQueryInput,
|
|
2073
|
-
outputSchema:
|
|
2074
|
+
outputSchema: z.toJSONSchema(runQueryOutput, { io: "output", unrepresentable: "any" })
|
|
2074
2075
|
},
|
|
2075
2076
|
run_mutation: {
|
|
2076
2077
|
description: "Perform a mutation directly on the Linear GraphQL API.",
|
|
2077
2078
|
effect: "write",
|
|
2078
2079
|
inputSchema: runMutationInput,
|
|
2079
|
-
outputSchema:
|
|
2080
|
+
outputSchema: z.toJSONSchema(runMutationOutput, { io: "output", unrepresentable: "any" })
|
|
2080
2081
|
},
|
|
2081
2082
|
search_issues: {
|
|
2082
2083
|
description: "Retrieve issues through Linear's full-text search capabilities.",
|
|
2083
2084
|
effect: "read",
|
|
2084
2085
|
inputSchema: searchIssuesInput,
|
|
2085
|
-
outputSchema:
|
|
2086
|
+
outputSchema: z.toJSONSchema(searchIssuesOutput, { io: "output", unrepresentable: "any" })
|
|
2086
2087
|
},
|
|
2087
2088
|
update_issue: {
|
|
2088
2089
|
description: "Update an existing Linear issue and support fields such as title, description, status, project, label, etc.",
|
|
2089
2090
|
effect: "write",
|
|
2090
2091
|
inputSchema: updateIssueInput,
|
|
2091
|
-
outputSchema:
|
|
2092
|
+
outputSchema: z.toJSONSchema(updateIssueOutput, { io: "output", unrepresentable: "any" })
|
|
2092
2093
|
},
|
|
2093
2094
|
update_linear_comment: {
|
|
2094
2095
|
description: "Update the text of an existing Linear comment.",
|
|
2095
2096
|
effect: "write",
|
|
2096
2097
|
inputSchema: updateLinearCommentInput,
|
|
2097
|
-
outputSchema:
|
|
2098
|
+
outputSchema: z.toJSONSchema(updateLinearCommentOutput, { io: "output", unrepresentable: "any" })
|
|
2098
2099
|
},
|
|
2099
2100
|
update_linear_project: {
|
|
2100
2101
|
description: "Update an existing Linear project.",
|
|
2101
2102
|
effect: "write",
|
|
2102
2103
|
inputSchema: updateLinearProjectInput,
|
|
2103
|
-
outputSchema:
|
|
2104
|
+
outputSchema: z.toJSONSchema(updateLinearProjectOutput, { io: "output", unrepresentable: "any" })
|
|
2104
2105
|
}
|
|
2105
2106
|
};
|
|
2106
2107
|
|