@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAuthedClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-TDAWLMDE.js";
|
|
4
|
+
import "./chunk-VWRUGUSU.js";
|
|
5
5
|
import {
|
|
6
6
|
asJsonObject,
|
|
7
7
|
booleanValue,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
createProviderPlugin,
|
|
14
14
|
requireCredential,
|
|
15
15
|
upstreamError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WJHG6OK7.js";
|
|
17
17
|
import {
|
|
18
18
|
assertPublicHttpUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2JNAI4OC.js";
|
|
20
|
+
import "./chunk-BADVCN6K.js";
|
|
20
21
|
import {
|
|
21
|
-
TBError
|
|
22
|
-
|
|
23
|
-
} from "./chunk-UZM2RXZH.js";
|
|
22
|
+
TBError
|
|
23
|
+
} from "./chunk-5ICRY3VU.js";
|
|
24
24
|
import "./chunk-U67V476Y.js";
|
|
25
25
|
|
|
26
26
|
// ../plugins/src/jira/api.ts
|
|
@@ -409,133 +409,134 @@ async function addComment(input, ctx) {
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
// ../plugins/src/jira/schema.ts
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
412
|
+
import { z } from "zod/v4";
|
|
413
|
+
var listProjectsInput = z.strictObject({
|
|
414
|
+
limit: z.int().min(1).max(100).describe("Maximum items to return in one Jira page.").optional(),
|
|
415
|
+
cursor: z.string().regex(new RegExp("^\\d+$")).describe("StartAt pagination cursor as a non-negative integer string.").optional(),
|
|
416
|
+
expand: z.array(z.string().min(1).describe("Jira expand token.")).min(1).describe("Additional Jira expand tokens.").optional()
|
|
416
417
|
}).describe("The input payload for this action.");
|
|
417
|
-
var listProjectsOutput =
|
|
418
|
-
projects:
|
|
419
|
-
id:
|
|
420
|
-
key:
|
|
421
|
-
name:
|
|
422
|
-
raw:
|
|
418
|
+
var listProjectsOutput = z.strictObject({
|
|
419
|
+
projects: z.array(z.looseObject({
|
|
420
|
+
id: z.string().describe("Jira project ID.").optional(),
|
|
421
|
+
key: z.string().describe("Jira project key.").optional(),
|
|
422
|
+
name: z.string().describe("Jira project name.").optional(),
|
|
423
|
+
raw: z.looseObject({}).describe("Jira API object.").optional()
|
|
423
424
|
}).describe("Jira project.")),
|
|
424
|
-
pagination:
|
|
425
|
-
nextCursor:
|
|
425
|
+
pagination: z.strictObject({
|
|
426
|
+
nextCursor: z.string().describe("Cursor for the next page.").nullable()
|
|
426
427
|
}).describe("Jira pagination metadata.")
|
|
427
428
|
}).describe("Jira action output.");
|
|
428
|
-
var getProjectInput =
|
|
429
|
-
projectIdOrKey:
|
|
430
|
-
expand:
|
|
429
|
+
var getProjectInput = z.strictObject({
|
|
430
|
+
projectIdOrKey: z.string().min(1).describe("Jira project ID or key."),
|
|
431
|
+
expand: z.array(z.string().min(1).describe("Jira expand token.")).min(1).describe("Additional Jira expand tokens.").optional()
|
|
431
432
|
}).describe("The input payload for this action.");
|
|
432
|
-
var getProjectOutput =
|
|
433
|
-
project:
|
|
434
|
-
id:
|
|
435
|
-
key:
|
|
436
|
-
name:
|
|
437
|
-
raw:
|
|
433
|
+
var getProjectOutput = z.strictObject({
|
|
434
|
+
project: z.looseObject({
|
|
435
|
+
id: z.string().describe("Jira project ID.").optional(),
|
|
436
|
+
key: z.string().describe("Jira project key.").optional(),
|
|
437
|
+
name: z.string().describe("Jira project name.").optional(),
|
|
438
|
+
raw: z.looseObject({}).describe("Jira API object.").optional()
|
|
438
439
|
}).describe("Jira project.")
|
|
439
440
|
}).describe("Jira action output.");
|
|
440
|
-
var searchIssuesInput =
|
|
441
|
-
jql:
|
|
442
|
-
limit:
|
|
443
|
-
cursor:
|
|
444
|
-
includeFields:
|
|
445
|
-
expand:
|
|
441
|
+
var searchIssuesInput = z.strictObject({
|
|
442
|
+
jql: z.string().min(1).describe("Jira Query Language string."),
|
|
443
|
+
limit: z.int().min(1).max(100).describe("Maximum items to return in one Jira page.").optional(),
|
|
444
|
+
cursor: z.string().min(1).describe("Opaque pagination cursor returned by Jira.").optional(),
|
|
445
|
+
includeFields: z.array(z.string().min(1).describe("Jira field ID or name.")).min(1).describe("Additional Jira issue fields.").optional(),
|
|
446
|
+
expand: z.array(z.string().min(1).describe("Jira expand token.")).min(1).describe("Additional Jira expand tokens.").optional()
|
|
446
447
|
}).describe("The input payload for this action.");
|
|
447
|
-
var searchIssuesOutput =
|
|
448
|
-
issues:
|
|
449
|
-
id:
|
|
450
|
-
key:
|
|
451
|
-
summary:
|
|
452
|
-
fields:
|
|
453
|
-
raw:
|
|
448
|
+
var searchIssuesOutput = z.strictObject({
|
|
449
|
+
issues: z.array(z.looseObject({
|
|
450
|
+
id: z.string().describe("Jira issue ID.").optional(),
|
|
451
|
+
key: z.string().describe("Jira issue key.").optional(),
|
|
452
|
+
summary: z.string().describe("Jira issue summary.").optional(),
|
|
453
|
+
fields: z.looseObject({}).describe("Jira API object.").optional(),
|
|
454
|
+
raw: z.looseObject({}).describe("Jira API object.").optional()
|
|
454
455
|
}).describe("Jira issue.")),
|
|
455
|
-
pagination:
|
|
456
|
-
nextCursor:
|
|
456
|
+
pagination: z.strictObject({
|
|
457
|
+
nextCursor: z.string().describe("Cursor for the next page.").nullable()
|
|
457
458
|
}).describe("Jira pagination metadata.")
|
|
458
459
|
}).describe("Jira action output.");
|
|
459
|
-
var getIssueInput =
|
|
460
|
-
issueIdOrKey:
|
|
461
|
-
includeFields:
|
|
462
|
-
expand:
|
|
460
|
+
var getIssueInput = z.strictObject({
|
|
461
|
+
issueIdOrKey: z.string().min(1).describe("Jira issue ID or key."),
|
|
462
|
+
includeFields: z.array(z.string().min(1).describe("Jira field ID or name.")).min(1).describe("Additional Jira issue fields.").optional(),
|
|
463
|
+
expand: z.array(z.string().min(1).describe("Jira expand token.")).min(1).describe("Additional Jira expand tokens.").optional()
|
|
463
464
|
}).describe("The input payload for this action.");
|
|
464
|
-
var getIssueOutput =
|
|
465
|
-
issue:
|
|
466
|
-
id:
|
|
467
|
-
key:
|
|
468
|
-
summary:
|
|
469
|
-
fields:
|
|
470
|
-
raw:
|
|
465
|
+
var getIssueOutput = z.strictObject({
|
|
466
|
+
issue: z.looseObject({
|
|
467
|
+
id: z.string().describe("Jira issue ID.").optional(),
|
|
468
|
+
key: z.string().describe("Jira issue key.").optional(),
|
|
469
|
+
summary: z.string().describe("Jira issue summary.").optional(),
|
|
470
|
+
fields: z.looseObject({}).describe("Jira API object.").optional(),
|
|
471
|
+
raw: z.looseObject({}).describe("Jira API object.").optional()
|
|
471
472
|
}).describe("Jira issue.")
|
|
472
473
|
}).describe("Jira action output.");
|
|
473
|
-
var createIssueInput =
|
|
474
|
-
projectKey:
|
|
475
|
-
projectId:
|
|
476
|
-
issueTypeId:
|
|
477
|
-
issueTypeName:
|
|
478
|
-
summary:
|
|
479
|
-
descriptionText:
|
|
480
|
-
description:
|
|
481
|
-
type:
|
|
482
|
-
version:
|
|
483
|
-
content:
|
|
474
|
+
var createIssueInput = z.strictObject({
|
|
475
|
+
projectKey: z.string().min(1).describe("Jira project key.").optional(),
|
|
476
|
+
projectId: z.string().min(1).describe("Jira project ID.").optional(),
|
|
477
|
+
issueTypeId: z.string().min(1).describe("Jira issue type ID.").optional(),
|
|
478
|
+
issueTypeName: z.string().min(1).describe("Jira issue type name.").optional(),
|
|
479
|
+
summary: z.string().min(1).describe("Jira issue summary."),
|
|
480
|
+
descriptionText: z.string().min(1).describe("Plain text description converted to the connected deployment's document format.").optional(),
|
|
481
|
+
description: z.looseObject({
|
|
482
|
+
type: z.literal("doc").describe("ADF root node type."),
|
|
483
|
+
version: z.int().describe("ADF document version."),
|
|
484
|
+
content: z.array(z.unknown().describe("ADF top-level node.")).describe("ADF content nodes.")
|
|
484
485
|
}).describe("Atlassian Document Format document.").optional(),
|
|
485
|
-
labels:
|
|
486
|
-
assigneeAccountId:
|
|
487
|
-
priorityId:
|
|
488
|
-
dueDate:
|
|
489
|
-
parentIssueKey:
|
|
490
|
-
extraFields:
|
|
486
|
+
labels: z.array(z.string().min(1)).min(1).describe("Jira labels.").optional(),
|
|
487
|
+
assigneeAccountId: z.string().min(1).describe("Assignee account ID for Jira Cloud or username for Jira Data Center/Server.").optional(),
|
|
488
|
+
priorityId: z.string().min(1).describe("Jira priority ID.").optional(),
|
|
489
|
+
dueDate: z.iso.date().describe("Jira due date in YYYY-MM-DD format.").optional(),
|
|
490
|
+
parentIssueKey: z.string().min(1).describe("Parent issue key for subtasks.").optional(),
|
|
491
|
+
extraFields: z.looseObject({}).describe("Jira API object.").optional()
|
|
491
492
|
}).describe("The input payload for this action.");
|
|
492
|
-
var createIssueOutput =
|
|
493
|
-
issue:
|
|
494
|
-
id:
|
|
495
|
-
key:
|
|
496
|
-
summary:
|
|
497
|
-
fields:
|
|
498
|
-
raw:
|
|
493
|
+
var createIssueOutput = z.strictObject({
|
|
494
|
+
issue: z.looseObject({
|
|
495
|
+
id: z.string().describe("Jira issue ID.").optional(),
|
|
496
|
+
key: z.string().describe("Jira issue key.").optional(),
|
|
497
|
+
summary: z.string().describe("Jira issue summary.").optional(),
|
|
498
|
+
fields: z.looseObject({}).describe("Jira API object.").optional(),
|
|
499
|
+
raw: z.looseObject({}).describe("Jira API object.").optional()
|
|
499
500
|
}).describe("Jira issue.")
|
|
500
501
|
}).describe("Jira action output.");
|
|
501
|
-
var listIssueCommentsInput =
|
|
502
|
-
issueIdOrKey:
|
|
503
|
-
limit:
|
|
504
|
-
cursor:
|
|
505
|
-
expand:
|
|
502
|
+
var listIssueCommentsInput = z.strictObject({
|
|
503
|
+
issueIdOrKey: z.string().min(1).describe("Jira issue ID or key."),
|
|
504
|
+
limit: z.int().min(1).max(100).describe("Maximum items to return in one Jira page.").optional(),
|
|
505
|
+
cursor: z.string().regex(new RegExp("^\\d+$")).describe("StartAt pagination cursor as a non-negative integer string.").optional(),
|
|
506
|
+
expand: z.array(z.string().min(1).describe("Jira expand token.")).min(1).describe("Additional Jira expand tokens.").optional()
|
|
506
507
|
}).describe("The input payload for this action.");
|
|
507
|
-
var listIssueCommentsOutput =
|
|
508
|
-
comments:
|
|
509
|
-
id:
|
|
510
|
-
body:
|
|
511
|
-
type:
|
|
512
|
-
version:
|
|
513
|
-
content:
|
|
514
|
-
}).describe("Atlassian Document Format document."),
|
|
515
|
-
raw:
|
|
508
|
+
var listIssueCommentsOutput = z.strictObject({
|
|
509
|
+
comments: z.array(z.looseObject({
|
|
510
|
+
id: z.string().describe("Jira comment ID.").optional(),
|
|
511
|
+
body: z.union([z.looseObject({
|
|
512
|
+
type: z.literal("doc").describe("ADF root node type."),
|
|
513
|
+
version: z.int().describe("ADF document version."),
|
|
514
|
+
content: z.array(z.unknown().describe("ADF top-level node.")).describe("ADF content nodes.")
|
|
515
|
+
}).describe("Atlassian Document Format document."), z.string().describe("Plain text comment body (Jira Server/Data Center).")]).describe("Jira comment body: an ADF document (Cloud) or plain text (Server/Data Center).").optional(),
|
|
516
|
+
raw: z.looseObject({}).describe("Jira API object.").optional()
|
|
516
517
|
}).describe("Jira comment.")),
|
|
517
|
-
pagination:
|
|
518
|
-
nextCursor:
|
|
518
|
+
pagination: z.strictObject({
|
|
519
|
+
nextCursor: z.string().describe("Cursor for the next page.").nullable()
|
|
519
520
|
}).describe("Jira pagination metadata.")
|
|
520
521
|
}).describe("Jira action output.");
|
|
521
|
-
var addCommentInput =
|
|
522
|
-
issueIdOrKey:
|
|
523
|
-
bodyText:
|
|
524
|
-
body:
|
|
525
|
-
type:
|
|
526
|
-
version:
|
|
527
|
-
content:
|
|
522
|
+
var addCommentInput = z.strictObject({
|
|
523
|
+
issueIdOrKey: z.string().min(1).describe("Jira issue ID or key."),
|
|
524
|
+
bodyText: z.string().min(1).describe("Plain text comment body converted to the connected deployment's document format.").optional(),
|
|
525
|
+
body: z.looseObject({
|
|
526
|
+
type: z.literal("doc").describe("ADF root node type."),
|
|
527
|
+
version: z.int().describe("ADF document version."),
|
|
528
|
+
content: z.array(z.unknown().describe("ADF top-level node.")).describe("ADF content nodes.")
|
|
528
529
|
}).describe("Atlassian Document Format document.").optional()
|
|
529
530
|
}).describe("The input payload for this action.");
|
|
530
|
-
var addCommentOutput =
|
|
531
|
-
comment:
|
|
532
|
-
id:
|
|
533
|
-
body:
|
|
534
|
-
type:
|
|
535
|
-
version:
|
|
536
|
-
content:
|
|
537
|
-
}).describe("Atlassian Document Format document."),
|
|
538
|
-
raw:
|
|
531
|
+
var addCommentOutput = z.strictObject({
|
|
532
|
+
comment: z.looseObject({
|
|
533
|
+
id: z.string().describe("Jira comment ID.").optional(),
|
|
534
|
+
body: z.union([z.looseObject({
|
|
535
|
+
type: z.literal("doc").describe("ADF root node type."),
|
|
536
|
+
version: z.int().describe("ADF document version."),
|
|
537
|
+
content: z.array(z.unknown().describe("ADF top-level node.")).describe("ADF content nodes.")
|
|
538
|
+
}).describe("Atlassian Document Format document."), z.string().describe("Plain text comment body (Jira Server/Data Center).")]).describe("Jira comment body: an ADF document (Cloud) or plain text (Server/Data Center).").optional(),
|
|
539
|
+
raw: z.looseObject({}).describe("Jira API object.").optional()
|
|
539
540
|
}).describe("Jira comment.")
|
|
540
541
|
}).describe("Jira action output.");
|
|
541
542
|
var jiraActions = {
|
|
@@ -543,43 +544,43 @@ var jiraActions = {
|
|
|
543
544
|
description: "List Jira projects available to the connected Jira site.",
|
|
544
545
|
effect: "read",
|
|
545
546
|
inputSchema: listProjectsInput,
|
|
546
|
-
outputSchema:
|
|
547
|
+
outputSchema: z.toJSONSchema(listProjectsOutput, { io: "output", unrepresentable: "any" })
|
|
547
548
|
},
|
|
548
549
|
get_project: {
|
|
549
550
|
description: "Get one Jira project by project ID or key.",
|
|
550
551
|
effect: "read",
|
|
551
552
|
inputSchema: getProjectInput,
|
|
552
|
-
outputSchema:
|
|
553
|
+
outputSchema: z.toJSONSchema(getProjectOutput, { io: "output", unrepresentable: "any" })
|
|
553
554
|
},
|
|
554
555
|
search_issues: {
|
|
555
556
|
description: "Search Jira issues with JQL on the connected Jira site.",
|
|
556
557
|
effect: "read",
|
|
557
558
|
inputSchema: searchIssuesInput,
|
|
558
|
-
outputSchema:
|
|
559
|
+
outputSchema: z.toJSONSchema(searchIssuesOutput, { io: "output", unrepresentable: "any" })
|
|
559
560
|
},
|
|
560
561
|
get_issue: {
|
|
561
562
|
description: "Get one Jira issue by issue ID or key.",
|
|
562
563
|
effect: "read",
|
|
563
564
|
inputSchema: getIssueInput,
|
|
564
|
-
outputSchema:
|
|
565
|
+
outputSchema: z.toJSONSchema(getIssueOutput, { io: "output", unrepresentable: "any" })
|
|
565
566
|
},
|
|
566
567
|
create_issue: {
|
|
567
568
|
description: "Create a Jira issue and return the normalized issue detail.",
|
|
568
569
|
effect: "write",
|
|
569
570
|
inputSchema: createIssueInput,
|
|
570
|
-
outputSchema:
|
|
571
|
+
outputSchema: z.toJSONSchema(createIssueOutput, { io: "output", unrepresentable: "any" })
|
|
571
572
|
},
|
|
572
573
|
list_issue_comments: {
|
|
573
574
|
description: "List comments for one Jira issue.",
|
|
574
575
|
effect: "read",
|
|
575
576
|
inputSchema: listIssueCommentsInput,
|
|
576
|
-
outputSchema:
|
|
577
|
+
outputSchema: z.toJSONSchema(listIssueCommentsOutput, { io: "output", unrepresentable: "any" })
|
|
577
578
|
},
|
|
578
579
|
add_comment: {
|
|
579
580
|
description: "Add a comment to one Jira issue.",
|
|
580
581
|
effect: "write",
|
|
581
582
|
inputSchema: addCommentInput,
|
|
582
|
-
outputSchema:
|
|
583
|
+
outputSchema: z.toJSONSchema(addCommentOutput, { io: "output", unrepresentable: "any" })
|
|
583
584
|
}
|
|
584
585
|
};
|
|
585
586
|
|