@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.
Files changed (178) hide show
  1. package/dist/admin.js +170 -0
  2. package/dist/airtable-VMQVXLHK.js +790 -0
  3. package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FTWY4RU4.js} +12 -11
  4. package/dist/{amap-VOX4T2AW.js → amap-OK5VBHYC.js} +221 -220
  5. package/dist/anthropic-S67AZFZ3.js +203 -0
  6. package/dist/apify-ZE6MYQI3.js +248 -0
  7. package/dist/brave_search-TG2M2KOD.js +302 -0
  8. package/dist/chunk-2JNAI4OC.js +161 -0
  9. package/dist/{chunk-KMTT3I6D.js → chunk-4XJPN3DY.js} +19392 -26136
  10. package/dist/chunk-5ICRY3VU.js +8432 -0
  11. package/dist/chunk-7CTWGTDU.js +302 -0
  12. package/dist/chunk-BADVCN6K.js +378 -0
  13. package/dist/{chunk-XYBU3WZH.js → chunk-TDAWLMDE.js} +3 -3
  14. package/dist/chunk-U7PTOA3U.js +7320 -0
  15. package/dist/{chunk-E6JCVKW6.js → chunk-VWRUGUSU.js} +3 -3
  16. package/dist/{chunk-ATK45BXV.js → chunk-WJHG6OK7.js} +4 -2
  17. package/dist/circleci-3L3WJVSK.js +389 -0
  18. package/dist/clerk-EZPF2V7T.js +1019 -0
  19. package/dist/cohere-U27DPO64.js +185 -0
  20. package/dist/{confluence-B3EWPZVE.js → confluence-G2KL6ERH.js} +105 -104
  21. package/dist/{convertapi-EUWSQYPF.js → convertapi-L4CLJ2M3.js} +32 -31
  22. package/dist/{currencyapi-KVTIK3GL.js → currencyapi-YPYXG7YY.js} +71 -71
  23. package/dist/deepseek-6HT6WF3M.js +210 -0
  24. package/dist/docker_hub-LPE3PCVB.js +933 -0
  25. package/dist/dropbox-V56ABHTA.js +1305 -0
  26. package/dist/dub-6OKQ7MHT.js +680 -0
  27. package/dist/e2b-JS2U2QFU.js +278 -0
  28. package/dist/exa-DPWVYXSP.js +332 -0
  29. package/dist/{fal_ai-23E7JPNT.js → fal_ai-DK6Y27ZF.js} +81 -80
  30. package/dist/{feishu-7QRIDUV6.js → feishu-K7EGSRF3.js} +528 -572
  31. package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-2JUGFYNG.js} +57 -53
  32. package/dist/figma-FT5I7ITD.js +777 -0
  33. package/dist/firehydrant-EIKLKHX2.js +563 -0
  34. package/dist/{fixer-BWON27UO.js → fixer-U5QXIAKD.js} +34 -33
  35. package/dist/fly-T3JYFZ2M.js +469 -0
  36. package/dist/{front-QCGXYEDJ.js → front-D72MGVOR.js} +104 -104
  37. package/dist/geocodio-BOTD5TI5.js +213 -0
  38. package/dist/ghost-KYP7SZGB.js +338 -0
  39. package/dist/github-AGMZT3VY.js +5421 -0
  40. package/dist/gmail-BLJNJOBG.js +1887 -0
  41. package/dist/googlecalendar-GTHWNCF6.js +2524 -0
  42. package/dist/{googledocs-BUHL4J2H.js → googledocs-6EEDMEBQ.js} +341 -340
  43. package/dist/{grafana-GLU2DWF2.js → grafana-GMW6EKSQ.js} +221 -220
  44. package/dist/graphhopper-6OLGBDGB.js +325 -0
  45. package/dist/index.d.ts +1132 -332
  46. package/dist/index.js +31 -14
  47. package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-4QN42E6T.js} +28 -27
  48. package/dist/ipgeolocation_io-SK4XKDA2.js +315 -0
  49. package/dist/ipqualityscore-6ANBPXKT.js +279 -0
  50. package/dist/{jina_ai-EFBHTBXL.js → jina_ai-IHPSVRM5.js} +23 -23
  51. package/dist/{jira-HQSHAA5K.js → jira-46KKM4LC.js} +118 -117
  52. package/dist/langsmith-JZA345I5.js +593 -0
  53. package/dist/lemlist-43IV7DK6.js +289 -0
  54. package/dist/{linear-K7RYFYAD.js → linear-5LFH7XNL.js} +327 -326
  55. package/dist/logsnag-5RMYAHIL.js +150 -0
  56. package/dist/main.js +57 -280
  57. package/dist/{mattermost-S2BRCWLQ.js → mattermost-XFL6SHGG.js} +59 -58
  58. package/dist/mem0-NYO4DTP6.js +544 -0
  59. package/dist/memos-37MPQOLV.js +744 -0
  60. package/dist/{metabase-MMSEPCOF.js → metabase-KYBKZFMG.js} +90 -89
  61. package/dist/mistral_ai-6PL3K4PM.js +1196 -0
  62. package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-2NH7W5M5.js} +94 -93
  63. package/dist/ngrok-UO6CDYCA.js +356 -0
  64. package/dist/{notes-PFMKRO33.js → notes-I3P32WP4.js} +11 -9
  65. package/dist/notion-BEAJFUOE.js +940 -0
  66. package/dist/open_exchange_rates-CMF62JB4.js +215 -0
  67. package/dist/openai-IHOMKVND.js +800 -0
  68. package/dist/opengraph_io-ZQ2FGLHX.js +362 -0
  69. package/dist/openrouter-HXLW3NR5.js +441 -0
  70. package/dist/outline-ELCP4NEU.js +599 -0
  71. package/dist/paddle-O77LALVN.js +454 -0
  72. package/dist/perplexity-JCU654QV.js +220 -0
  73. package/dist/pinecone-W5W4LRKL.js +571 -0
  74. package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-ITMJLLPZ.js} +99 -98
  75. package/dist/polar-R33XU4L3.js +395 -0
  76. package/dist/posthog-JVNTOLTV.js +3464 -0
  77. package/dist/postmark-6SBG7HWV.js +427 -0
  78. package/dist/{prerender-MENYM2TY.js → prerender-GPNKTNFC.js} +31 -30
  79. package/dist/{pubmed-GOXUVVH5.js → pubmed-UP6ZEEIH.js} +239 -238
  80. package/dist/{railway-V2SID4WV.js → railway-KWEWXHTY.js} +118 -117
  81. package/dist/readwise-BLATSMC3.js +470 -0
  82. package/dist/render-QYRVIXII.js +461 -0
  83. package/dist/{replicate-756MXPYX.js → replicate-JYTWH4NF.js} +81 -80
  84. package/dist/{resend-ZKH3BTBI.js → resend-L5N75SZM.js} +20 -16
  85. package/dist/rootly-MHCPEQ26.js +336 -0
  86. package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-PTPGYSJM.js} +62 -61
  87. package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-JN6UH5PY.js} +56 -56
  88. package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-4QRVSV55.js} +16 -16
  89. package/dist/semantic_scholar-LRSWA2GE.js +611 -0
  90. package/dist/{sentry-546MNDJG.js → sentry-2G6PF5W6.js} +208 -207
  91. package/dist/{shodan-C3OON3Z3.js → shodan-WKKPP5C6.js} +62 -61
  92. package/dist/shopify-64YDK5T2.js +610 -0
  93. package/dist/stripe-QAIGGOTF.js +585 -0
  94. package/dist/{supabase-U2SL4D63.js → supabase-WHTGR6ND.js} +245 -244
  95. package/dist/tavily-QIXCDDWO.js +326 -0
  96. package/dist/telegram-E6G7CWI6.js +1767 -0
  97. package/dist/{telnyx-CXQ4EZUX.js → telnyx-ZDVVS7PK.js} +57 -56
  98. package/dist/todoist-DMYF3G7J.js +664 -0
  99. package/dist/trello-HY2RYIRP.js +1080 -0
  100. package/dist/turso-HAQWMGRP.js +416 -0
  101. package/dist/{twilio-4PDBJKWX.js → twilio-MLXYPHJE.js} +70 -69
  102. package/dist/umami-DZHBLPVG.js +389 -0
  103. package/dist/unsplash-GS2OPXKE.js +351 -0
  104. package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-XMXWTNAJ.js} +51 -50
  105. package/dist/uptimerobot-TF5WRZ4G.js +483 -0
  106. package/dist/v2ex-2BVXAPDF.js +667 -0
  107. package/dist/vercel-YMJGQYJE.js +1076 -0
  108. package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-I56SXWFZ.js} +36 -35
  109. package/dist/wordpress-R7TDFZ2P.js +812 -0
  110. package/dist/workos-HDNHWVMS.js +664 -0
  111. package/dist/zhihu-LX6AGGDS.js +254 -0
  112. package/package.json +18 -9
  113. package/dist/airtable-LLZDFN7M.js +0 -789
  114. package/dist/anthropic-G23NN3X5.js +0 -202
  115. package/dist/apify-Y3SS734K.js +0 -247
  116. package/dist/brave_search-ZC7OAPSZ.js +0 -301
  117. package/dist/chunk-R6P4XAE5.js +0 -248
  118. package/dist/chunk-U7B6DS2O.js +0 -977
  119. package/dist/chunk-UZM2RXZH.js +0 -23436
  120. package/dist/circleci-3BAX5FCG.js +0 -388
  121. package/dist/clerk-6LEM6TNU.js +0 -1019
  122. package/dist/cloudflare_dns-KINYTJUD.js +0 -588
  123. package/dist/cohere-XCJ5AJ6B.js +0 -185
  124. package/dist/deepseek-PC5YGNC5.js +0 -209
  125. package/dist/docker_hub-C3MA5FU6.js +0 -932
  126. package/dist/dropbox-XBV7Z2IR.js +0 -1304
  127. package/dist/dub-LDOFG3HC.js +0 -679
  128. package/dist/e2b-JMCPSVBW.js +0 -277
  129. package/dist/exa-RAK7O7RD.js +0 -331
  130. package/dist/figma-E6IX5DTH.js +0 -773
  131. package/dist/firehydrant-ZBLPQREE.js +0 -562
  132. package/dist/fly-ZH3HFCZJ.js +0 -468
  133. package/dist/geocodio-YGNI7DA4.js +0 -212
  134. package/dist/ghost-EVSGKH2Q.js +0 -337
  135. package/dist/github-MA2BGRCJ.js +0 -5420
  136. package/dist/gmail-E5E6AADE.js +0 -1886
  137. package/dist/googlecalendar-BTLFPXTD.js +0 -2523
  138. package/dist/graphhopper-WSMB3TCD.js +0 -324
  139. package/dist/ipgeolocation_io-AA7HAS22.js +0 -315
  140. package/dist/ipqualityscore-BHJXVTJT.js +0 -277
  141. package/dist/langsmith-5W6SCT6F.js +0 -592
  142. package/dist/lemlist-HJWH6UMK.js +0 -288
  143. package/dist/logsnag-4KFOHL37.js +0 -150
  144. package/dist/mem0-CAW43CIC.js +0 -543
  145. package/dist/memos-TWEGPKFM.js +0 -740
  146. package/dist/mistral_ai-64BGZQHP.js +0 -1195
  147. package/dist/ngrok-GQCUGZKJ.js +0 -356
  148. package/dist/notion-DQWZWP4N.js +0 -936
  149. package/dist/open_exchange_rates-QMMD735E.js +0 -214
  150. package/dist/openai-W6PX32NZ.js +0 -799
  151. package/dist/opengraph_io-HNDBXYNW.js +0 -361
  152. package/dist/openrouter-JJYMEAUL.js +0 -437
  153. package/dist/outline-MCBNQZYY.js +0 -595
  154. package/dist/paddle-D2SKLUDN.js +0 -453
  155. package/dist/perplexity-XIFMKUAE.js +0 -219
  156. package/dist/pinecone-HUFTALV2.js +0 -570
  157. package/dist/polar-TYTOMOSR.js +0 -394
  158. package/dist/posthog-43JAR3VW.js +0 -3463
  159. package/dist/postmark-KL2QJYSG.js +0 -426
  160. package/dist/readwise-CI4GIMMJ.js +0 -469
  161. package/dist/render-SUBJ6YRZ.js +0 -460
  162. package/dist/rootly-CD2LJHPI.js +0 -336
  163. package/dist/semantic_scholar-T4A252KW.js +0 -610
  164. package/dist/shopify-Y2HN2MCQ.js +0 -609
  165. package/dist/stripe-VE3CD3AY.js +0 -584
  166. package/dist/tavily-KCZHK6HE.js +0 -326
  167. package/dist/telegram-3URFBCMY.js +0 -1766
  168. package/dist/todoist-HNPWNYTD.js +0 -663
  169. package/dist/trello-3W2MIXRP.js +0 -1079
  170. package/dist/turso-2EQF7C2Z.js +0 -415
  171. package/dist/umami-5REN7TGP.js +0 -388
  172. package/dist/unsplash-EIXL424F.js +0 -350
  173. package/dist/uptimerobot-KNJ3EYLY.js +0 -482
  174. package/dist/v2ex-RHJ234PZ.js +0 -666
  175. package/dist/vercel-AS6NCIC7.js +0 -1075
  176. package/dist/wordpress-KNDAAUV7.js +0 -811
  177. package/dist/workos-R6UITSJ7.js +0 -663
  178. package/dist/zhihu-AGK4HILK.js +0 -253
@@ -7,14 +7,14 @@ import {
7
7
  createProviderPlugin,
8
8
  requireApiKey,
9
9
  upstreamError
10
- } from "./chunk-ATK45BXV.js";
10
+ } from "./chunk-WJHG6OK7.js";
11
11
  import {
12
12
  guardedFetch
13
- } from "./chunk-U7B6DS2O.js";
13
+ } from "./chunk-2JNAI4OC.js";
14
+ import "./chunk-BADVCN6K.js";
14
15
  import {
15
- TBError,
16
- external_exports
17
- } from "./chunk-UZM2RXZH.js";
16
+ TBError
17
+ } from "./chunk-5ICRY3VU.js";
18
18
  import "./chunk-U67V476Y.js";
19
19
 
20
20
  // ../plugins/src/railway/api.ts
@@ -234,134 +234,135 @@ async function rollbackDeployment(input, ctx) {
234
234
  }
235
235
 
236
236
  // ../plugins/src/railway/schema.ts
237
- var listProjectsInput = external_exports.strictObject({}).describe("Input for listing Railway projects.");
238
- var listProjectsOutput = external_exports.strictObject({
239
- projects: external_exports.array(external_exports.strictObject({
240
- id: external_exports.string().min(1).describe("Railway project ID."),
241
- name: external_exports.string().min(1).describe("Project name."),
242
- description: external_exports.string().describe("Project description.").nullable().optional(),
243
- createdAt: external_exports.iso.datetime({ offset: true }).describe("When the project was created.").optional(),
244
- updatedAt: external_exports.iso.datetime({ offset: true }).describe("When the project was last updated.").optional()
237
+ import { z } from "zod/v4";
238
+ var listProjectsInput = z.strictObject({}).describe("Input for listing Railway projects.");
239
+ var listProjectsOutput = z.strictObject({
240
+ projects: z.array(z.strictObject({
241
+ id: z.string().min(1).describe("Railway project ID."),
242
+ name: z.string().min(1).describe("Project name."),
243
+ description: z.string().describe("Project description.").nullable().optional(),
244
+ createdAt: z.iso.datetime({ offset: true }).describe("When the project was created.").optional(),
245
+ updatedAt: z.iso.datetime({ offset: true }).describe("When the project was last updated.").optional()
245
246
  }).describe("A Railway project.")).describe("Railway projects.").optional()
246
247
  }).describe("Railway projects available to the token.");
247
- var getProjectInput = external_exports.strictObject({
248
- projectId: external_exports.string().min(1).describe("Railway project ID.").optional()
248
+ var getProjectInput = z.strictObject({
249
+ projectId: z.string().min(1).describe("Railway project ID.").optional()
249
250
  }).describe("Input for retrieving a Railway project.");
250
- var getProjectOutput = external_exports.strictObject({
251
- project: external_exports.strictObject({
252
- id: external_exports.string().min(1).describe("Railway project ID."),
253
- name: external_exports.string().min(1).describe("Project name."),
254
- description: external_exports.string().describe("Project description.").nullable().optional(),
255
- createdAt: external_exports.iso.datetime({ offset: true }).describe("When the project was created.").optional(),
256
- services: external_exports.array(external_exports.strictObject({
257
- id: external_exports.string().min(1).describe("Railway service ID."),
258
- name: external_exports.string().min(1).describe("Service name."),
259
- icon: external_exports.string().describe("Service icon URL or identifier.").nullable().optional()
251
+ var getProjectOutput = z.strictObject({
252
+ project: z.strictObject({
253
+ id: z.string().min(1).describe("Railway project ID."),
254
+ name: z.string().min(1).describe("Project name."),
255
+ description: z.string().describe("Project description.").nullable().optional(),
256
+ createdAt: z.iso.datetime({ offset: true }).describe("When the project was created.").optional(),
257
+ services: z.array(z.strictObject({
258
+ id: z.string().min(1).describe("Railway service ID."),
259
+ name: z.string().min(1).describe("Service name."),
260
+ icon: z.string().describe("Service icon URL or identifier.").nullable().optional()
260
261
  }).describe("A Railway service.")).describe("Services in the project."),
261
- environments: external_exports.array(external_exports.strictObject({
262
- id: external_exports.string().min(1).describe("Railway environment ID.").optional(),
263
- name: external_exports.string().min(1).describe("Environment name.").optional()
262
+ environments: z.array(z.strictObject({
263
+ id: z.string().min(1).describe("Railway environment ID.").optional(),
264
+ name: z.string().min(1).describe("Environment name.").optional()
264
265
  }).describe("A Railway environment.")).describe("Environments in the project.")
265
266
  }).describe("Railway project details.").optional()
266
267
  }).describe("A Railway project with related resources.");
267
- var getServiceInstanceInput = external_exports.strictObject({
268
- serviceId: external_exports.string().min(1).describe("Railway service ID.").optional(),
269
- environmentId: external_exports.string().min(1).describe("Railway environment ID.").optional()
268
+ var getServiceInstanceInput = z.strictObject({
269
+ serviceId: z.string().min(1).describe("Railway service ID.").optional(),
270
+ environmentId: z.string().min(1).describe("Railway environment ID.").optional()
270
271
  }).describe("Input for retrieving a Railway service instance.");
271
- var getServiceInstanceOutput = external_exports.strictObject({
272
- serviceInstance: external_exports.looseObject({
273
- id: external_exports.string().min(1).describe("Railway service instance ID."),
274
- serviceName: external_exports.string().min(1).describe("Service name."),
275
- startCommand: external_exports.string().describe("Configured start command.").nullable().optional(),
276
- buildCommand: external_exports.string().describe("Configured build command.").nullable().optional(),
277
- rootDirectory: external_exports.string().describe("Configured repository root directory.").nullable().optional(),
278
- healthcheckPath: external_exports.string().describe("Configured health check path.").nullable().optional(),
279
- region: external_exports.string().describe("Deployment region.").nullable().optional(),
280
- numReplicas: external_exports.int().describe("Configured replica count.").nullable().optional(),
281
- restartPolicyType: external_exports.string().describe("Restart policy type.").nullable().optional(),
282
- restartPolicyMaxRetries: external_exports.int().describe("Maximum restart attempts.").nullable().optional(),
283
- latestDeployment: external_exports.strictObject({
284
- id: external_exports.string().min(1).describe("Railway deployment ID."),
285
- status: external_exports.string().min(1).describe("Current Railway deployment status."),
286
- createdAt: external_exports.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
287
- url: external_exports.string().describe("Deployment URL.").nullable().optional(),
288
- staticUrl: external_exports.string().describe("Static deployment URL.").nullable().optional()
272
+ var getServiceInstanceOutput = z.strictObject({
273
+ serviceInstance: z.looseObject({
274
+ id: z.string().min(1).describe("Railway service instance ID."),
275
+ serviceName: z.string().min(1).describe("Service name."),
276
+ startCommand: z.string().describe("Configured start command.").nullable().optional(),
277
+ buildCommand: z.string().describe("Configured build command.").nullable().optional(),
278
+ rootDirectory: z.string().describe("Configured repository root directory.").nullable().optional(),
279
+ healthcheckPath: z.string().describe("Configured health check path.").nullable().optional(),
280
+ region: z.string().describe("Deployment region.").nullable().optional(),
281
+ numReplicas: z.int().describe("Configured replica count.").nullable().optional(),
282
+ restartPolicyType: z.string().describe("Restart policy type.").nullable().optional(),
283
+ restartPolicyMaxRetries: z.int().describe("Maximum restart attempts.").nullable().optional(),
284
+ latestDeployment: z.strictObject({
285
+ id: z.string().min(1).describe("Railway deployment ID."),
286
+ status: z.string().min(1).describe("Current Railway deployment status."),
287
+ createdAt: z.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
288
+ url: z.string().describe("Deployment URL.").nullable().optional(),
289
+ staticUrl: z.string().describe("Static deployment URL.").nullable().optional()
289
290
  }).describe("A Railway deployment.").nullable().optional()
290
291
  }).describe("A Railway service instance.").optional()
291
292
  }).describe("Railway service instance configuration.");
292
- var listDeploymentsInput = external_exports.strictObject({
293
- projectId: external_exports.string().min(1).describe("Railway project ID."),
294
- serviceId: external_exports.string().min(1).describe("Railway service ID."),
295
- environmentId: external_exports.string().min(1).describe("Railway environment ID."),
296
- limit: external_exports.int().min(1).max(100).default(20).describe("Maximum number of deployments to return.").optional()
293
+ var listDeploymentsInput = z.strictObject({
294
+ projectId: z.string().min(1).describe("Railway project ID."),
295
+ serviceId: z.string().min(1).describe("Railway service ID."),
296
+ environmentId: z.string().min(1).describe("Railway environment ID."),
297
+ limit: z.int().min(1).max(100).default(20).describe("Maximum number of deployments to return.").optional()
297
298
  }).describe("Filters for Railway deployments.");
298
- var listDeploymentsOutput = external_exports.strictObject({
299
- deployments: external_exports.array(external_exports.strictObject({
300
- id: external_exports.string().min(1).describe("Railway deployment ID."),
301
- status: external_exports.string().min(1).describe("Current Railway deployment status."),
302
- createdAt: external_exports.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
303
- url: external_exports.string().describe("Deployment URL.").nullable().optional(),
304
- staticUrl: external_exports.string().describe("Static deployment URL.").nullable().optional()
299
+ var listDeploymentsOutput = z.strictObject({
300
+ deployments: z.array(z.strictObject({
301
+ id: z.string().min(1).describe("Railway deployment ID."),
302
+ status: z.string().min(1).describe("Current Railway deployment status."),
303
+ createdAt: z.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
304
+ url: z.string().describe("Deployment URL.").nullable().optional(),
305
+ staticUrl: z.string().describe("Static deployment URL.").nullable().optional()
305
306
  }).describe("A Railway deployment.")).describe("Railway deployments ordered by the provider.").optional()
306
307
  }).describe("Recent Railway deployments.");
307
- var getDeploymentInput = external_exports.strictObject({
308
- deploymentId: external_exports.string().min(1).describe("Railway deployment ID.").optional()
308
+ var getDeploymentInput = z.strictObject({
309
+ deploymentId: z.string().min(1).describe("Railway deployment ID.").optional()
309
310
  }).describe("Input for retrieving a Railway deployment.");
310
- var getDeploymentOutput = external_exports.strictObject({
311
- deployment: external_exports.strictObject({
312
- id: external_exports.string().min(1).describe("Railway deployment ID."),
313
- status: external_exports.string().min(1).describe("Current Railway deployment status."),
314
- createdAt: external_exports.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
315
- url: external_exports.string().describe("Deployment URL.").nullable().optional(),
316
- staticUrl: external_exports.string().describe("Static deployment URL.").nullable().optional(),
317
- canRedeploy: external_exports.boolean().describe("Whether Railway allows this deployment to be redeployed.").optional(),
318
- canRollback: external_exports.boolean().describe("Whether Railway allows a rollback to this deployment.").optional(),
319
- meta: external_exports.looseObject({}).describe("Provider-defined deployment metadata.").nullable().optional()
311
+ var getDeploymentOutput = z.strictObject({
312
+ deployment: z.strictObject({
313
+ id: z.string().min(1).describe("Railway deployment ID."),
314
+ status: z.string().min(1).describe("Current Railway deployment status."),
315
+ createdAt: z.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
316
+ url: z.string().describe("Deployment URL.").nullable().optional(),
317
+ staticUrl: z.string().describe("Static deployment URL.").nullable().optional(),
318
+ canRedeploy: z.boolean().describe("Whether Railway allows this deployment to be redeployed.").optional(),
319
+ canRollback: z.boolean().describe("Whether Railway allows a rollback to this deployment.").optional(),
320
+ meta: z.looseObject({}).describe("Provider-defined deployment metadata.").nullable().optional()
320
321
  }).describe("Detailed Railway deployment information.").optional()
321
322
  }).describe("A Railway deployment.");
322
- var getDeploymentLogsInput = external_exports.strictObject({
323
- deploymentId: external_exports.string().min(1).describe("Railway deployment ID."),
324
- limit: external_exports.int().min(1).max(5e3).default(500).describe("Maximum number of log entries to return.").optional(),
325
- filter: external_exports.string().min(1).describe("Railway log filter expression.").optional(),
326
- startDate: external_exports.iso.datetime({ offset: true }).describe("Start of the log time range.").optional(),
327
- endDate: external_exports.iso.datetime({ offset: true }).describe("End of the log time range.").optional()
323
+ var getDeploymentLogsInput = z.strictObject({
324
+ deploymentId: z.string().min(1).describe("Railway deployment ID."),
325
+ limit: z.int().min(1).max(5e3).default(500).describe("Maximum number of log entries to return.").optional(),
326
+ filter: z.string().min(1).describe("Railway log filter expression.").optional(),
327
+ startDate: z.iso.datetime({ offset: true }).describe("Start of the log time range.").optional(),
328
+ endDate: z.iso.datetime({ offset: true }).describe("End of the log time range.").optional()
328
329
  }).describe("Filters for Railway deployment logs.");
329
- var getDeploymentLogsOutput = external_exports.strictObject({
330
- logs: external_exports.array(external_exports.strictObject({
331
- timestamp: external_exports.string().min(1).describe("Provider timestamp for the log entry."),
332
- message: external_exports.string().describe("Log message."),
333
- severity: external_exports.string().describe("Log severity.").nullable().optional()
330
+ var getDeploymentLogsOutput = z.strictObject({
331
+ logs: z.array(z.strictObject({
332
+ timestamp: z.string().min(1).describe("Provider timestamp for the log entry."),
333
+ message: z.string().describe("Log message."),
334
+ severity: z.string().describe("Log severity.").nullable().optional()
334
335
  }).describe("A Railway runtime log entry.")).describe("Railway runtime log entries.").optional()
335
336
  }).describe("Runtime log entries for a Railway deployment.");
336
- var deployServiceInput = external_exports.strictObject({
337
- serviceId: external_exports.string().min(1).describe("Railway service ID."),
338
- environmentId: external_exports.string().min(1).describe("Railway environment ID."),
339
- commitSha: external_exports.string().min(1).describe("Commit SHA from the repository connected to the Railway service.").optional()
337
+ var deployServiceInput = z.strictObject({
338
+ serviceId: z.string().min(1).describe("Railway service ID."),
339
+ environmentId: z.string().min(1).describe("Railway environment ID."),
340
+ commitSha: z.string().min(1).describe("Commit SHA from the repository connected to the Railway service.").optional()
340
341
  }).describe("Input for deploying a Railway service.");
341
- var deployServiceOutput = external_exports.strictObject({
342
- deploymentId: external_exports.string().min(1).describe("Railway deployment ID.").optional()
342
+ var deployServiceOutput = z.strictObject({
343
+ deploymentId: z.string().min(1).describe("Railway deployment ID.").optional()
343
344
  }).describe("The triggered Railway deployment.");
344
- var upsertVariableInput = external_exports.strictObject({
345
- projectId: external_exports.string().min(1).describe("Railway project ID."),
346
- serviceId: external_exports.string().min(1).describe("Railway service ID.").optional(),
347
- environmentId: external_exports.string().min(1).describe("Railway environment ID."),
348
- name: external_exports.string().min(1).max(255).regex(new RegExp("^[A-Za-z_][A-Za-z0-9_]*$")).describe("Variable name."),
349
- value: external_exports.string().describe("Variable value. This may contain a Railway variable reference."),
350
- skipDeploys: external_exports.boolean().describe("Do not automatically redeploy after updating the variable.").optional()
345
+ var upsertVariableInput = z.strictObject({
346
+ projectId: z.string().min(1).describe("Railway project ID."),
347
+ serviceId: z.string().min(1).describe("Railway service ID.").optional(),
348
+ environmentId: z.string().min(1).describe("Railway environment ID."),
349
+ name: z.string().min(1).max(255).regex(new RegExp("^[A-Za-z_][A-Za-z0-9_]*$")).describe("Variable name."),
350
+ value: z.string().describe("Variable value. This may contain a Railway variable reference."),
351
+ skipDeploys: z.boolean().describe("Do not automatically redeploy after updating the variable.").optional()
351
352
  }).describe("Input for creating or updating a Railway variable.");
352
- var upsertVariableOutput = external_exports.strictObject({
353
- updated: external_exports.boolean().describe("Whether Railway accepted the variable update.").optional()
353
+ var upsertVariableOutput = z.strictObject({
354
+ updated: z.boolean().describe("Whether Railway accepted the variable update.").optional()
354
355
  }).describe("Result of updating a Railway variable.");
355
- var rollbackDeploymentInput = external_exports.strictObject({
356
- deploymentId: external_exports.string().min(1).describe("Rollback-capable Railway deployment ID.").optional()
356
+ var rollbackDeploymentInput = z.strictObject({
357
+ deploymentId: z.string().min(1).describe("Rollback-capable Railway deployment ID.").optional()
357
358
  }).describe("Input for rolling back a Railway deployment.");
358
- var rollbackDeploymentOutput = external_exports.strictObject({
359
- deployment: external_exports.strictObject({
360
- id: external_exports.string().min(1).describe("Railway deployment ID."),
361
- status: external_exports.string().min(1).describe("Current Railway deployment status."),
362
- createdAt: external_exports.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
363
- url: external_exports.string().describe("Deployment URL.").nullable().optional(),
364
- staticUrl: external_exports.string().describe("Static deployment URL.").nullable().optional()
359
+ var rollbackDeploymentOutput = z.strictObject({
360
+ deployment: z.strictObject({
361
+ id: z.string().min(1).describe("Railway deployment ID."),
362
+ status: z.string().min(1).describe("Current Railway deployment status."),
363
+ createdAt: z.iso.datetime({ offset: true }).describe("When the deployment was created.").optional(),
364
+ url: z.string().describe("Deployment URL.").nullable().optional(),
365
+ staticUrl: z.string().describe("Static deployment URL.").nullable().optional()
365
366
  }).describe("A Railway deployment.").optional()
366
367
  }).describe("The Railway deployment created by the rollback.");
367
368
  var railwayActions = {
@@ -369,55 +370,55 @@ var railwayActions = {
369
370
  description: "List Railway projects available to the configured account or workspace token.",
370
371
  effect: "read",
371
372
  inputSchema: listProjectsInput,
372
- outputSchema: external_exports.toJSONSchema(listProjectsOutput, { io: "output", unrepresentable: "any" })
373
+ outputSchema: z.toJSONSchema(listProjectsOutput, { io: "output", unrepresentable: "any" })
373
374
  },
374
375
  get_project: {
375
376
  description: "Get a Railway project together with its services and environments.",
376
377
  effect: "read",
377
378
  inputSchema: getProjectInput,
378
- outputSchema: external_exports.toJSONSchema(getProjectOutput, { io: "output", unrepresentable: "any" })
379
+ outputSchema: z.toJSONSchema(getProjectOutput, { io: "output", unrepresentable: "any" })
379
380
  },
380
381
  get_service_instance: {
381
382
  description: "Get Railway service configuration and its latest deployment in one environment.",
382
383
  effect: "read",
383
384
  inputSchema: getServiceInstanceInput,
384
- outputSchema: external_exports.toJSONSchema(getServiceInstanceOutput, { io: "output", unrepresentable: "any" })
385
+ outputSchema: z.toJSONSchema(getServiceInstanceOutput, { io: "output", unrepresentable: "any" })
385
386
  },
386
387
  list_deployments: {
387
388
  description: "List recent Railway deployments for a service and environment.",
388
389
  effect: "read",
389
390
  inputSchema: listDeploymentsInput,
390
- outputSchema: external_exports.toJSONSchema(listDeploymentsOutput, { io: "output", unrepresentable: "any" })
391
+ outputSchema: z.toJSONSchema(listDeploymentsOutput, { io: "output", unrepresentable: "any" })
391
392
  },
392
393
  get_deployment: {
393
394
  description: "Get one Railway deployment and its redeploy and rollback capabilities.",
394
395
  effect: "read",
395
396
  inputSchema: getDeploymentInput,
396
- outputSchema: external_exports.toJSONSchema(getDeploymentOutput, { io: "output", unrepresentable: "any" })
397
+ outputSchema: z.toJSONSchema(getDeploymentOutput, { io: "output", unrepresentable: "any" })
397
398
  },
398
399
  get_deployment_logs: {
399
400
  description: "Read runtime logs for a Railway deployment with optional text and time filters.",
400
401
  effect: "read",
401
402
  inputSchema: getDeploymentLogsInput,
402
- outputSchema: external_exports.toJSONSchema(getDeploymentLogsOutput, { io: "output", unrepresentable: "any" })
403
+ outputSchema: z.toJSONSchema(getDeploymentLogsOutput, { io: "output", unrepresentable: "any" })
403
404
  },
404
405
  deploy_service: {
405
406
  description: "Trigger a Railway deployment for a service, optionally at a specific connected-repository commit.",
406
407
  effect: "write",
407
408
  inputSchema: deployServiceInput,
408
- outputSchema: external_exports.toJSONSchema(deployServiceOutput, { io: "output", unrepresentable: "any" })
409
+ outputSchema: z.toJSONSchema(deployServiceOutput, { io: "output", unrepresentable: "any" })
409
410
  },
410
411
  upsert_variable: {
411
412
  description: "Create or update one Railway variable for an environment or service.",
412
413
  effect: "write",
413
414
  inputSchema: upsertVariableInput,
414
- outputSchema: external_exports.toJSONSchema(upsertVariableOutput, { io: "output", unrepresentable: "any" })
415
+ outputSchema: z.toJSONSchema(upsertVariableOutput, { io: "output", unrepresentable: "any" })
415
416
  },
416
417
  rollback_deployment: {
417
418
  description: "Roll a Railway service back to a deployment that Railway marks as rollback-capable.",
418
419
  effect: "write",
419
420
  inputSchema: rollbackDeploymentInput,
420
- outputSchema: external_exports.toJSONSchema(rollbackDeploymentOutput, { io: "output", unrepresentable: "any" })
421
+ outputSchema: z.toJSONSchema(rollbackDeploymentOutput, { io: "output", unrepresentable: "any" })
421
422
  }
422
423
  };
423
424