@tool-bridge/server 0.21.1 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/admin.js +170 -0
  2. package/dist/airtable-ML2GIGCH.js +790 -0
  3. package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FGYQAF2A.js} +12 -11
  4. package/dist/{amap-VOX4T2AW.js → amap-G7V65NGK.js} +221 -220
  5. package/dist/anthropic-6ZK24TBB.js +203 -0
  6. package/dist/apify-VDGYHP6W.js +248 -0
  7. package/dist/brave_search-TAATLZOS.js +302 -0
  8. package/dist/chunk-2IAI3XQM.js +302 -0
  9. package/dist/chunk-7ISGFRC6.js +161 -0
  10. package/dist/{chunk-E6JCVKW6.js → chunk-BNMLA2RC.js} +3 -3
  11. package/dist/chunk-HA4BGL6C.js +8429 -0
  12. package/dist/{chunk-KMTT3I6D.js → chunk-RMAWSG7E.js} +19172 -25717
  13. package/dist/{chunk-XYBU3WZH.js → chunk-RTW5VRTK.js} +3 -3
  14. package/dist/chunk-U7PTOA3U.js +7320 -0
  15. package/dist/chunk-UY6ANCOY.js +378 -0
  16. package/dist/{chunk-ATK45BXV.js → chunk-X7ZUTKHR.js} +4 -2
  17. package/dist/circleci-BQ2UWXL2.js +389 -0
  18. package/dist/clerk-2JYWQNOI.js +1019 -0
  19. package/dist/cohere-6MI7AQM4.js +185 -0
  20. package/dist/{confluence-B3EWPZVE.js → confluence-6Y6GDETF.js} +105 -104
  21. package/dist/{convertapi-EUWSQYPF.js → convertapi-HBZCSWOX.js} +32 -31
  22. package/dist/{currencyapi-KVTIK3GL.js → currencyapi-337U5TGI.js} +71 -71
  23. package/dist/deepseek-OSPASO7O.js +210 -0
  24. package/dist/docker_hub-3ATQOY5L.js +933 -0
  25. package/dist/dropbox-LSA4GM2Y.js +1305 -0
  26. package/dist/dub-VZPJSPI6.js +680 -0
  27. package/dist/e2b-6SDYQZL2.js +278 -0
  28. package/dist/exa-B6EUYDVP.js +332 -0
  29. package/dist/{fal_ai-23E7JPNT.js → fal_ai-K4Q27IME.js} +81 -80
  30. package/dist/{feishu-7QRIDUV6.js → feishu-4TKXG4SU.js} +528 -572
  31. package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-7CTEAKRB.js} +57 -53
  32. package/dist/figma-OUKSZLD5.js +777 -0
  33. package/dist/firehydrant-7MOYL7QH.js +563 -0
  34. package/dist/{fixer-BWON27UO.js → fixer-H2BV2NO4.js} +34 -33
  35. package/dist/fly-PXKY6PNH.js +469 -0
  36. package/dist/{front-QCGXYEDJ.js → front-UZYIV5DW.js} +104 -104
  37. package/dist/geocodio-NSYO7TFP.js +213 -0
  38. package/dist/ghost-QBKKQQMF.js +338 -0
  39. package/dist/github-ENLSJ4CL.js +5421 -0
  40. package/dist/gmail-KQSDEB47.js +1887 -0
  41. package/dist/googlecalendar-5YCX4SZF.js +2524 -0
  42. package/dist/{googledocs-BUHL4J2H.js → googledocs-SSWIVFKA.js} +341 -340
  43. package/dist/{grafana-GLU2DWF2.js → grafana-TF2LXDQA.js} +221 -220
  44. package/dist/graphhopper-CURBVHYK.js +325 -0
  45. package/dist/index.d.ts +1132 -332
  46. package/dist/index.js +31 -14
  47. package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-YNVMTZEM.js} +28 -27
  48. package/dist/ipgeolocation_io-NAU7VJ4J.js +315 -0
  49. package/dist/ipqualityscore-OT63L4TI.js +279 -0
  50. package/dist/{jina_ai-EFBHTBXL.js → jina_ai-6WBMBGWM.js} +23 -23
  51. package/dist/{jira-HQSHAA5K.js → jira-DVDVTHNO.js} +118 -117
  52. package/dist/langsmith-IM5N4YAU.js +593 -0
  53. package/dist/lemlist-277SHUQF.js +289 -0
  54. package/dist/{linear-K7RYFYAD.js → linear-AEPH7B5V.js} +327 -326
  55. package/dist/logsnag-VEWRAGBG.js +150 -0
  56. package/dist/main.js +57 -280
  57. package/dist/{mattermost-S2BRCWLQ.js → mattermost-Q3A2BIZA.js} +59 -58
  58. package/dist/mem0-AXS7GZGI.js +544 -0
  59. package/dist/memos-7TXG4ZTU.js +744 -0
  60. package/dist/{metabase-MMSEPCOF.js → metabase-NSVACWQM.js} +90 -89
  61. package/dist/mistral_ai-YZ52RGD4.js +1196 -0
  62. package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-XLLL6FVL.js} +94 -93
  63. package/dist/ngrok-4O4W3WZW.js +356 -0
  64. package/dist/{notes-PFMKRO33.js → notes-YTB3TJOO.js} +11 -9
  65. package/dist/notion-4W4O7J7V.js +940 -0
  66. package/dist/open_exchange_rates-23QJXVO5.js +215 -0
  67. package/dist/openai-ZS7GLSLH.js +800 -0
  68. package/dist/opengraph_io-PMVH7OYI.js +362 -0
  69. package/dist/openrouter-ONRGFNB6.js +441 -0
  70. package/dist/outline-UCUYZZ7J.js +599 -0
  71. package/dist/paddle-35HTKTUL.js +454 -0
  72. package/dist/perplexity-NVOBYN24.js +220 -0
  73. package/dist/pinecone-55CJY73C.js +571 -0
  74. package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-WMCAKS72.js} +99 -98
  75. package/dist/polar-SM4ZM53B.js +395 -0
  76. package/dist/posthog-NWCXVXNJ.js +3464 -0
  77. package/dist/postmark-QJV5PHUQ.js +427 -0
  78. package/dist/{prerender-MENYM2TY.js → prerender-2W7UT4SC.js} +31 -30
  79. package/dist/{pubmed-GOXUVVH5.js → pubmed-VVV7XYLU.js} +239 -238
  80. package/dist/{railway-V2SID4WV.js → railway-KGI57S3O.js} +118 -117
  81. package/dist/readwise-AGHTQB42.js +470 -0
  82. package/dist/render-O4HBROCK.js +461 -0
  83. package/dist/{replicate-756MXPYX.js → replicate-KWBOMX7D.js} +81 -80
  84. package/dist/{resend-ZKH3BTBI.js → resend-DRH6Y6I4.js} +20 -16
  85. package/dist/rootly-XGCUDW6X.js +336 -0
  86. package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-OIQ3OY6L.js} +62 -61
  87. package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-OCZO4FHX.js} +56 -56
  88. package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-CUNGFZOC.js} +16 -16
  89. package/dist/semantic_scholar-3UJRLKES.js +611 -0
  90. package/dist/{sentry-546MNDJG.js → sentry-5BWVZFJV.js} +208 -207
  91. package/dist/{shodan-C3OON3Z3.js → shodan-HI37CTEW.js} +62 -61
  92. package/dist/shopify-LJ2EV2HH.js +610 -0
  93. package/dist/stripe-3LHMV55K.js +585 -0
  94. package/dist/{supabase-U2SL4D63.js → supabase-H2KPX3Q2.js} +245 -244
  95. package/dist/tavily-FBEWGH3Z.js +326 -0
  96. package/dist/telegram-MYYO3JND.js +1767 -0
  97. package/dist/{telnyx-CXQ4EZUX.js → telnyx-H4ALEGAX.js} +57 -56
  98. package/dist/todoist-OBWICA5Q.js +664 -0
  99. package/dist/trello-GUFUJRWO.js +1080 -0
  100. package/dist/turso-NIAK4UMS.js +416 -0
  101. package/dist/{twilio-4PDBJKWX.js → twilio-K6SLK2CX.js} +70 -69
  102. package/dist/umami-42RS2EPS.js +389 -0
  103. package/dist/unsplash-V7TOTETT.js +351 -0
  104. package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-AWQMB6Y3.js} +51 -50
  105. package/dist/uptimerobot-AZC2DHOT.js +483 -0
  106. package/dist/v2ex-4TVRNMLS.js +667 -0
  107. package/dist/vercel-DPHTJ3XR.js +1076 -0
  108. package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-XAG7IXBW.js} +36 -35
  109. package/dist/wordpress-KMPKVGUX.js +812 -0
  110. package/dist/workos-PKB2YR7S.js +664 -0
  111. package/dist/zhihu-Y4H4XYPB.js +254 -0
  112. package/package.json +18 -9
  113. package/dist/airtable-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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createAuthedClient
3
- } from "./chunk-XYBU3WZH.js";
4
- import "./chunk-E6JCVKW6.js";
3
+ } from "./chunk-RTW5VRTK.js";
4
+ import "./chunk-BNMLA2RC.js";
5
5
  import {
6
6
  asJsonObject,
7
7
  compactDefined,
@@ -10,12 +10,12 @@ import {
10
10
  import {
11
11
  createProviderPlugin,
12
12
  upstreamError
13
- } from "./chunk-ATK45BXV.js";
14
- import "./chunk-U7B6DS2O.js";
13
+ } from "./chunk-X7ZUTKHR.js";
14
+ import "./chunk-7ISGFRC6.js";
15
+ import "./chunk-UY6ANCOY.js";
15
16
  import {
16
- TBError,
17
- external_exports
18
- } from "./chunk-UZM2RXZH.js";
17
+ TBError
18
+ } from "./chunk-HA4BGL6C.js";
19
19
  import "./chunk-U67V476Y.js";
20
20
 
21
21
  // ../plugins/src/supabase/api.ts
@@ -481,405 +481,406 @@ async function getEdgeFunction(input, ctx) {
481
481
  }
482
482
 
483
483
  // ../plugins/src/supabase/schema.ts
484
- var listOrganizationsInput = external_exports.strictObject({}).describe("No input parameters are required for this action.");
485
- var listOrganizationsOutput = external_exports.strictObject({
486
- organizations: external_exports.array(external_exports.strictObject({
487
- id: external_exports.string().describe("The unique identifier of the organization."),
488
- name: external_exports.string().describe("The name of the organization."),
489
- slug: external_exports.string().describe("The URL slug of the organization.").nullable().optional()
484
+ import { z } from "zod/v4";
485
+ var listOrganizationsInput = z.strictObject({}).describe("No input parameters are required for this action.");
486
+ var listOrganizationsOutput = z.strictObject({
487
+ organizations: z.array(z.strictObject({
488
+ id: z.string().describe("The unique identifier of the organization."),
489
+ name: z.string().describe("The name of the organization."),
490
+ slug: z.string().describe("The URL slug of the organization.").nullable().optional()
490
491
  }).describe("A Supabase organization summary.")).describe("The list of organizations.")
491
492
  }).describe("Action output.");
492
- var getOrganizationInput = external_exports.strictObject({
493
- organizationSlug: external_exports.string().min(1).describe("The Supabase organization slug.")
493
+ var getOrganizationInput = z.strictObject({
494
+ organizationSlug: z.string().min(1).describe("The Supabase organization slug.")
494
495
  }).describe("Input parameters for fetching an organization.");
495
- var getOrganizationOutput = external_exports.strictObject({
496
- organization: external_exports.looseObject({
497
- id: external_exports.string().describe("The unique identifier of the organization."),
498
- name: external_exports.string().describe("The name of the organization."),
499
- plan: external_exports.string().describe("The subscription plan of the organization.")
496
+ var getOrganizationOutput = z.strictObject({
497
+ organization: z.looseObject({
498
+ id: z.string().describe("The unique identifier of the organization."),
499
+ name: z.string().describe("The name of the organization."),
500
+ plan: z.string().describe("The subscription plan of the organization.")
500
501
  }).describe("The Supabase organization detail payload.")
501
502
  }).describe("Action output.");
502
- var listOrganizationMembersInput = external_exports.strictObject({
503
- organizationSlug: external_exports.string().min(1).describe("The Supabase organization slug.")
503
+ var listOrganizationMembersInput = z.strictObject({
504
+ organizationSlug: z.string().min(1).describe("The Supabase organization slug.")
504
505
  }).describe("Input parameters for listing organization members.");
505
- var listOrganizationMembersOutput = external_exports.strictObject({
506
- members: external_exports.array(external_exports.looseObject({
507
- userId: external_exports.string().describe("The unique identifier of the member."),
508
- userName: external_exports.string().describe("The display name of the member."),
509
- email: external_exports.string().describe("The email address of the member."),
510
- roleName: external_exports.string().describe("The organization role name of the member."),
511
- mfaEnabled: external_exports.boolean().describe("Whether the member has MFA enabled.")
506
+ var listOrganizationMembersOutput = z.strictObject({
507
+ members: z.array(z.looseObject({
508
+ userId: z.string().describe("The unique identifier of the member."),
509
+ userName: z.string().describe("The display name of the member."),
510
+ email: z.string().describe("The email address of the member."),
511
+ roleName: z.string().describe("The organization role name of the member."),
512
+ mfaEnabled: z.boolean().describe("Whether the member has MFA enabled.")
512
513
  }).describe("A Supabase organization member.")).describe("The organization members.")
513
514
  }).describe("Action output.");
514
- var listOrganizationProjectsInput = external_exports.strictObject({
515
- organizationSlug: external_exports.string().min(1).describe("The Supabase organization slug."),
516
- offset: external_exports.int().min(0).describe("The number of projects to skip.").optional(),
517
- limit: external_exports.int().min(1).max(100).describe("The maximum number of projects to return, up to 100.").optional(),
518
- search: external_exports.string().min(1).describe("Search projects by name.").optional(),
519
- sort: external_exports.enum(["name_asc", "name_desc", "created_asc", "created_desc"]).describe("The sort order for projects.").optional(),
520
- statuses: external_exports.array(external_exports.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.")).min(1).describe("Project statuses to include.").optional()
515
+ var listOrganizationProjectsInput = z.strictObject({
516
+ organizationSlug: z.string().min(1).describe("The Supabase organization slug."),
517
+ offset: z.int().min(0).describe("The number of projects to skip.").optional(),
518
+ limit: z.int().min(1).max(100).describe("The maximum number of projects to return, up to 100.").optional(),
519
+ search: z.string().min(1).describe("Search projects by name.").optional(),
520
+ sort: z.enum(["name_asc", "name_desc", "created_asc", "created_desc"]).describe("The sort order for projects.").optional(),
521
+ statuses: z.array(z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.")).min(1).describe("Project statuses to include.").optional()
521
522
  }).describe("Input parameters for listing organization projects.");
522
- var listOrganizationProjectsOutput = external_exports.strictObject({
523
- projects: external_exports.array(external_exports.looseObject({
524
- ref: external_exports.string().describe("The project reference identifier."),
525
- name: external_exports.string().describe("The project name."),
526
- region: external_exports.string().describe("The project region."),
527
- status: external_exports.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.")
523
+ var listOrganizationProjectsOutput = z.strictObject({
524
+ projects: z.array(z.looseObject({
525
+ ref: z.string().describe("The project reference identifier."),
526
+ name: z.string().describe("The project name."),
527
+ region: z.string().describe("The project region."),
528
+ status: z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.")
528
529
  }).describe("A project returned from an organization listing.")).describe("The projects in the organization."),
529
- pagination: external_exports.strictObject({
530
- count: external_exports.number().describe("The total number of matching records."),
531
- limit: external_exports.number().describe("The maximum number of records returned."),
532
- offset: external_exports.number().describe("The number of records skipped.")
530
+ pagination: z.strictObject({
531
+ count: z.number().describe("The total number of matching records."),
532
+ limit: z.number().describe("The maximum number of records returned."),
533
+ offset: z.number().describe("The number of records skipped.")
533
534
  }).describe("Pagination metadata returned by Supabase.")
534
535
  }).describe("Action output.");
535
- var listProjectsInput = external_exports.strictObject({}).describe("No input parameters are required for this action.");
536
- var listProjectsOutput = external_exports.strictObject({
537
- projects: external_exports.array(external_exports.strictObject({
538
- id: external_exports.string().describe("The unique identifier of the project."),
539
- organizationId: external_exports.string().describe("The organization ID this project belongs to."),
540
- name: external_exports.string().describe("The name of the project."),
541
- region: external_exports.string().describe("The cloud region of the project."),
542
- status: external_exports.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.").optional(),
543
- createdAt: external_exports.string().describe("The timestamp when the project was created."),
544
- database: external_exports.strictObject({
545
- host: external_exports.string().describe("The database host address."),
546
- version: external_exports.string().describe("The database version."),
547
- postgresEngine: external_exports.string().describe("The Postgres engine identifier.").nullable().optional(),
548
- releaseChannel: external_exports.string().describe("The release channel of the database.").nullable().optional()
536
+ var listProjectsInput = z.strictObject({}).describe("No input parameters are required for this action.");
537
+ var listProjectsOutput = z.strictObject({
538
+ projects: z.array(z.strictObject({
539
+ id: z.string().describe("The unique identifier of the project."),
540
+ organizationId: z.string().describe("The organization ID this project belongs to."),
541
+ name: z.string().describe("The name of the project."),
542
+ region: z.string().describe("The cloud region of the project."),
543
+ status: z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.").optional(),
544
+ createdAt: z.string().describe("The timestamp when the project was created."),
545
+ database: z.strictObject({
546
+ host: z.string().describe("The database host address."),
547
+ version: z.string().describe("The database version."),
548
+ postgresEngine: z.string().describe("The Postgres engine identifier.").nullable().optional(),
549
+ releaseChannel: z.string().describe("The release channel of the database.").nullable().optional()
549
550
  }).describe("A Supabase project database configuration.").optional()
550
551
  }).describe("A Supabase project summary.")).describe("The list of projects.")
551
552
  }).describe("Action output.");
552
- var getProjectInput = external_exports.strictObject({
553
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
553
+ var getProjectInput = z.strictObject({
554
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
554
555
  }).describe("Input parameters identifying a Supabase project.");
555
- var getProjectOutput = external_exports.strictObject({
556
- project: external_exports.strictObject({
557
- id: external_exports.string().describe("The unique identifier of the project."),
558
- ref: external_exports.string().describe("The project reference identifier."),
559
- organizationId: external_exports.string().describe("The organization ID this project belongs to."),
560
- organizationSlug: external_exports.string().describe("The organization slug."),
561
- name: external_exports.string().describe("The name of the project."),
562
- region: external_exports.string().describe("The cloud region of the project."),
563
- status: external_exports.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project."),
564
- createdAt: external_exports.string().describe("The timestamp when the project was created."),
565
- database: external_exports.strictObject({
566
- host: external_exports.string().describe("The database host address."),
567
- version: external_exports.string().describe("The database version."),
568
- postgresEngine: external_exports.string().describe("The Postgres engine identifier.").nullable().optional(),
569
- releaseChannel: external_exports.string().describe("The release channel of the database.").nullable().optional()
556
+ var getProjectOutput = z.strictObject({
557
+ project: z.strictObject({
558
+ id: z.string().describe("The unique identifier of the project."),
559
+ ref: z.string().describe("The project reference identifier."),
560
+ organizationId: z.string().describe("The organization ID this project belongs to."),
561
+ organizationSlug: z.string().describe("The organization slug."),
562
+ name: z.string().describe("The name of the project."),
563
+ region: z.string().describe("The cloud region of the project."),
564
+ status: z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project."),
565
+ createdAt: z.string().describe("The timestamp when the project was created."),
566
+ database: z.strictObject({
567
+ host: z.string().describe("The database host address."),
568
+ version: z.string().describe("The database version."),
569
+ postgresEngine: z.string().describe("The Postgres engine identifier.").nullable().optional(),
570
+ releaseChannel: z.string().describe("The release channel of the database.").nullable().optional()
570
571
  }).describe("A Supabase project database configuration.")
571
572
  }).describe("A Supabase project detail record.")
572
573
  }).describe("Action output.");
573
- var listAvailableRegionsInput = external_exports.strictObject({
574
- organizationSlug: external_exports.string().min(1).describe("The Supabase organization slug."),
575
- continent: external_exports.enum(["NA", "SA", "EU", "AF", "AS", "OC", "AN"]).describe("Optional continent code for regional recommendations.").optional(),
576
- desiredInstanceSize: external_exports.string().min(1).describe("Optional desired instance size for availability.").optional()
574
+ var listAvailableRegionsInput = z.strictObject({
575
+ organizationSlug: z.string().min(1).describe("The Supabase organization slug."),
576
+ continent: z.enum(["NA", "SA", "EU", "AF", "AS", "OC", "AN"]).describe("Optional continent code for regional recommendations.").optional(),
577
+ desiredInstanceSize: z.string().min(1).describe("Optional desired instance size for availability.").optional()
577
578
  }).describe("Input parameters for listing available project regions.");
578
- var listAvailableRegionsOutput = external_exports.strictObject({
579
- regions: external_exports.looseObject({}).describe("A JSON object returned by Supabase.")
579
+ var listAvailableRegionsOutput = z.strictObject({
580
+ regions: z.looseObject({}).describe("A JSON object returned by Supabase.")
580
581
  }).describe("Action output.");
581
- var getProjectHealthInput = external_exports.strictObject({
582
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
583
- services: external_exports.array(external_exports.enum(["auth", "db", "db_postgres_user", "pooler", "realtime", "rest", "storage", "pg_bouncer"]).describe("A Supabase service name to check health for.")).min(1).describe("The services to check."),
584
- timeoutMs: external_exports.int().min(0).max(1e4).describe("Optional timeout in milliseconds, up to 10000.").optional()
582
+ var getProjectHealthInput = z.strictObject({
583
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
584
+ services: z.array(z.enum(["auth", "db", "db_postgres_user", "pooler", "realtime", "rest", "storage", "pg_bouncer"]).describe("A Supabase service name to check health for.")).min(1).describe("The services to check."),
585
+ timeoutMs: z.int().min(0).max(1e4).describe("Optional timeout in milliseconds, up to 10000.").optional()
585
586
  }).describe("Input parameters for checking project service health.");
586
- var getProjectHealthOutput = external_exports.strictObject({
587
- services: external_exports.array(external_exports.looseObject({
588
- name: external_exports.enum(["auth", "db", "db_postgres_user", "pooler", "realtime", "rest", "storage", "pg_bouncer"]).describe("A Supabase service name to check health for."),
589
- healthy: external_exports.boolean().describe("Deprecated upstream health flag. Prefer status when present."),
590
- status: external_exports.string().describe("The service health status."),
591
- error: external_exports.string().describe("The service health error message when present.")
587
+ var getProjectHealthOutput = z.strictObject({
588
+ services: z.array(z.looseObject({
589
+ name: z.enum(["auth", "db", "db_postgres_user", "pooler", "realtime", "rest", "storage", "pg_bouncer"]).describe("A Supabase service name to check health for."),
590
+ healthy: z.boolean().describe("Deprecated upstream health flag. Prefer status when present."),
591
+ status: z.string().describe("The service health status."),
592
+ error: z.string().describe("The service health error message when present.")
592
593
  }).describe("A Supabase service health result.")).describe("The health results returned by Supabase.")
593
594
  }).describe("Action output.");
594
- var listProjectApiKeysInput = external_exports.strictObject({
595
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
596
- reveal: external_exports.boolean().describe("Whether to reveal the full API key values.").optional()
595
+ var listProjectApiKeysInput = z.strictObject({
596
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
597
+ reveal: z.boolean().describe("Whether to reveal the full API key values.").optional()
597
598
  }).describe("Input parameters for listing project API keys.");
598
- var listProjectApiKeysOutput = external_exports.strictObject({
599
- apiKeys: external_exports.array(external_exports.strictObject({
600
- id: external_exports.string().describe("The unique identifier of the API key."),
601
- name: external_exports.string().describe("The name of the API key."),
602
- type: external_exports.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
603
- prefix: external_exports.string().describe("The prefix portion of the API key."),
604
- hash: external_exports.string().describe("The hash of the API key."),
605
- description: external_exports.string().describe("The description of the API key.").nullable().optional(),
606
- apiKey: external_exports.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
607
- insertedAt: external_exports.string().describe("The timestamp when the API key was created.").optional(),
608
- updatedAt: external_exports.string().describe("The timestamp when the API key was last updated.").optional(),
609
- secretJwtTemplate: external_exports.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
599
+ var listProjectApiKeysOutput = z.strictObject({
600
+ apiKeys: z.array(z.strictObject({
601
+ id: z.string().describe("The unique identifier of the API key."),
602
+ name: z.string().describe("The name of the API key."),
603
+ type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
604
+ prefix: z.string().describe("The prefix portion of the API key."),
605
+ hash: z.string().describe("The hash of the API key."),
606
+ description: z.string().describe("The description of the API key.").nullable().optional(),
607
+ apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
608
+ insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
609
+ updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
610
+ secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
610
611
  }).describe("A Supabase API key record.")).describe("The list of API keys.")
611
612
  }).describe("Action output.");
612
- var getProjectApiKeyInput = external_exports.strictObject({
613
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
614
- apiKeyId: external_exports.string().min(1).describe("The unique identifier of the project API key."),
615
- reveal: external_exports.boolean().describe("Whether to reveal the full API key value.").optional()
613
+ var getProjectApiKeyInput = z.strictObject({
614
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
615
+ apiKeyId: z.string().min(1).describe("The unique identifier of the project API key."),
616
+ reveal: z.boolean().describe("Whether to reveal the full API key value.").optional()
616
617
  }).describe("Input parameters for fetching one project API key.");
617
- var getProjectApiKeyOutput = external_exports.strictObject({
618
- apiKey: external_exports.strictObject({
619
- id: external_exports.string().describe("The unique identifier of the API key."),
620
- name: external_exports.string().describe("The name of the API key."),
621
- type: external_exports.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
622
- prefix: external_exports.string().describe("The prefix portion of the API key."),
623
- hash: external_exports.string().describe("The hash of the API key."),
624
- description: external_exports.string().describe("The description of the API key.").nullable().optional(),
625
- apiKey: external_exports.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
626
- insertedAt: external_exports.string().describe("The timestamp when the API key was created.").optional(),
627
- updatedAt: external_exports.string().describe("The timestamp when the API key was last updated.").optional(),
628
- secretJwtTemplate: external_exports.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
618
+ var getProjectApiKeyOutput = z.strictObject({
619
+ apiKey: z.strictObject({
620
+ id: z.string().describe("The unique identifier of the API key."),
621
+ name: z.string().describe("The name of the API key."),
622
+ type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
623
+ prefix: z.string().describe("The prefix portion of the API key."),
624
+ hash: z.string().describe("The hash of the API key."),
625
+ description: z.string().describe("The description of the API key.").nullable().optional(),
626
+ apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
627
+ insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
628
+ updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
629
+ secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
629
630
  }).describe("A Supabase API key record.")
630
631
  }).describe("Action output.");
631
- var createProjectApiKeyInput = external_exports.strictObject({
632
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
633
- name: external_exports.string().min(4).max(64).regex(new RegExp("^[a-z_][a-z0-9_]+$")).describe("The API key name. Use lowercase letters, numbers, and underscores; it must start with a lowercase letter or underscore."),
634
- type: external_exports.enum(["publishable", "secret"]).describe("The type of API key to create."),
635
- description: external_exports.string().min(1).describe("The optional description for the API key.").optional(),
636
- reveal: external_exports.boolean().describe("Whether to reveal the full API key value in the response.").optional(),
637
- secretJwtTemplate: external_exports.looseObject({}).describe("The JWT template for secret API keys.").optional()
632
+ var createProjectApiKeyInput = z.strictObject({
633
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
634
+ name: z.string().min(4).max(64).regex(new RegExp("^[a-z_][a-z0-9_]+$")).describe("The API key name. Use lowercase letters, numbers, and underscores; it must start with a lowercase letter or underscore."),
635
+ type: z.enum(["publishable", "secret"]).describe("The type of API key to create."),
636
+ description: z.string().min(1).describe("The optional description for the API key.").optional(),
637
+ reveal: z.boolean().describe("Whether to reveal the full API key value in the response.").optional(),
638
+ secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").optional()
638
639
  }).describe("Input parameters for creating a project API key.");
639
- var createProjectApiKeyOutput = external_exports.strictObject({
640
- apiKey: external_exports.strictObject({
641
- id: external_exports.string().describe("The unique identifier of the API key."),
642
- name: external_exports.string().describe("The name of the API key."),
643
- type: external_exports.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
644
- prefix: external_exports.string().describe("The prefix portion of the API key."),
645
- hash: external_exports.string().describe("The hash of the API key."),
646
- description: external_exports.string().describe("The description of the API key.").nullable().optional(),
647
- apiKey: external_exports.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
648
- insertedAt: external_exports.string().describe("The timestamp when the API key was created.").optional(),
649
- updatedAt: external_exports.string().describe("The timestamp when the API key was last updated.").optional(),
650
- secretJwtTemplate: external_exports.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
640
+ var createProjectApiKeyOutput = z.strictObject({
641
+ apiKey: z.strictObject({
642
+ id: z.string().describe("The unique identifier of the API key."),
643
+ name: z.string().describe("The name of the API key."),
644
+ type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
645
+ prefix: z.string().describe("The prefix portion of the API key."),
646
+ hash: z.string().describe("The hash of the API key."),
647
+ description: z.string().describe("The description of the API key.").nullable().optional(),
648
+ apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
649
+ insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
650
+ updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
651
+ secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
651
652
  }).describe("A Supabase API key record.")
652
653
  }).describe("Action output.");
653
- var updateProjectApiKeyInput = external_exports.strictObject({
654
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
655
- apiKeyId: external_exports.string().min(1).describe("The unique identifier of the project API key."),
656
- name: external_exports.string().min(4).max(64).regex(new RegExp("^[a-z_][a-z0-9_]+$")).describe("The API key name. Use lowercase letters, numbers, and underscores; it must start with a lowercase letter or underscore.").optional(),
657
- description: external_exports.string().describe("The updated API key description.").nullable().optional(),
658
- reveal: external_exports.boolean().describe("Whether to reveal the full API key value in the response.").optional(),
659
- secretJwtTemplate: external_exports.looseObject({}).describe("The updated JWT template for secret API keys.").nullable().optional()
654
+ var updateProjectApiKeyInput = z.strictObject({
655
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
656
+ apiKeyId: z.string().min(1).describe("The unique identifier of the project API key."),
657
+ name: z.string().min(4).max(64).regex(new RegExp("^[a-z_][a-z0-9_]+$")).describe("The API key name. Use lowercase letters, numbers, and underscores; it must start with a lowercase letter or underscore.").optional(),
658
+ description: z.string().describe("The updated API key description.").nullable().optional(),
659
+ reveal: z.boolean().describe("Whether to reveal the full API key value in the response.").optional(),
660
+ secretJwtTemplate: z.looseObject({}).describe("The updated JWT template for secret API keys.").nullable().optional()
660
661
  }).describe("Input parameters for updating a project API key.");
661
- var updateProjectApiKeyOutput = external_exports.strictObject({
662
- apiKey: external_exports.strictObject({
663
- id: external_exports.string().describe("The unique identifier of the API key."),
664
- name: external_exports.string().describe("The name of the API key."),
665
- type: external_exports.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
666
- prefix: external_exports.string().describe("The prefix portion of the API key."),
667
- hash: external_exports.string().describe("The hash of the API key."),
668
- description: external_exports.string().describe("The description of the API key.").nullable().optional(),
669
- apiKey: external_exports.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
670
- insertedAt: external_exports.string().describe("The timestamp when the API key was created.").optional(),
671
- updatedAt: external_exports.string().describe("The timestamp when the API key was last updated.").optional(),
672
- secretJwtTemplate: external_exports.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
662
+ var updateProjectApiKeyOutput = z.strictObject({
663
+ apiKey: z.strictObject({
664
+ id: z.string().describe("The unique identifier of the API key."),
665
+ name: z.string().describe("The name of the API key."),
666
+ type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
667
+ prefix: z.string().describe("The prefix portion of the API key."),
668
+ hash: z.string().describe("The hash of the API key."),
669
+ description: z.string().describe("The description of the API key.").nullable().optional(),
670
+ apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
671
+ insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
672
+ updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
673
+ secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
673
674
  }).describe("A Supabase API key record.")
674
675
  }).describe("Action output.");
675
- var deleteProjectApiKeyInput = external_exports.strictObject({
676
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
677
- apiKeyId: external_exports.string().min(1).describe("The unique identifier of the project API key."),
678
- reveal: external_exports.boolean().describe("Whether Supabase should reveal key data in the delete response.").optional(),
679
- wasCompromised: external_exports.boolean().describe("Whether the key is being deleted because it was compromised.").optional(),
680
- reason: external_exports.string().min(1).describe("Optional deletion reason sent to Supabase.").optional()
676
+ var deleteProjectApiKeyInput = z.strictObject({
677
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
678
+ apiKeyId: z.string().min(1).describe("The unique identifier of the project API key."),
679
+ reveal: z.boolean().describe("Whether Supabase should reveal key data in the delete response.").optional(),
680
+ wasCompromised: z.boolean().describe("Whether the key is being deleted because it was compromised.").optional(),
681
+ reason: z.string().min(1).describe("Optional deletion reason sent to Supabase.").optional()
681
682
  }).describe("Input parameters for deleting a project API key.");
682
- var deleteProjectApiKeyOutput = external_exports.strictObject({
683
- apiKey: external_exports.strictObject({
684
- id: external_exports.string().describe("The unique identifier of the API key."),
685
- name: external_exports.string().describe("The name of the API key."),
686
- type: external_exports.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
687
- prefix: external_exports.string().describe("The prefix portion of the API key."),
688
- hash: external_exports.string().describe("The hash of the API key."),
689
- description: external_exports.string().describe("The description of the API key.").nullable().optional(),
690
- apiKey: external_exports.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
691
- insertedAt: external_exports.string().describe("The timestamp when the API key was created.").optional(),
692
- updatedAt: external_exports.string().describe("The timestamp when the API key was last updated.").optional(),
693
- secretJwtTemplate: external_exports.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
683
+ var deleteProjectApiKeyOutput = z.strictObject({
684
+ apiKey: z.strictObject({
685
+ id: z.string().describe("The unique identifier of the API key."),
686
+ name: z.string().describe("The name of the API key."),
687
+ type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
688
+ prefix: z.string().describe("The prefix portion of the API key."),
689
+ hash: z.string().describe("The hash of the API key."),
690
+ description: z.string().describe("The description of the API key.").nullable().optional(),
691
+ apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
692
+ insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
693
+ updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
694
+ secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
694
695
  }).describe("A Supabase API key record.")
695
696
  }).describe("Action output.");
696
- var listProjectSecretsInput = external_exports.strictObject({
697
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
697
+ var listProjectSecretsInput = z.strictObject({
698
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
698
699
  }).describe("Input parameters identifying a Supabase project.");
699
- var listProjectSecretsOutput = external_exports.strictObject({
700
- secrets: external_exports.array(external_exports.strictObject({
701
- name: external_exports.string().describe("The secret name."),
702
- value: external_exports.string().describe("The secret value when Supabase returns it.").optional(),
703
- updatedAt: external_exports.string().describe("The timestamp when the secret was last updated.").optional()
700
+ var listProjectSecretsOutput = z.strictObject({
701
+ secrets: z.array(z.strictObject({
702
+ name: z.string().describe("The secret name."),
703
+ value: z.string().describe("The secret value when Supabase returns it.").optional(),
704
+ updatedAt: z.string().describe("The timestamp when the secret was last updated.").optional()
704
705
  }).describe("A Supabase project secret.")).describe("The project secrets returned by Supabase.")
705
706
  }).describe("Action output.");
706
- var upsertProjectSecretsInput = external_exports.strictObject({
707
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
708
- secrets: external_exports.array(external_exports.strictObject({
709
- name: external_exports.string().min(1).max(256).describe("The secret name. It must not start with the reserved SUPABASE_ prefix."),
710
- value: external_exports.string().max(24576).describe("The secret value.")
707
+ var upsertProjectSecretsInput = z.strictObject({
708
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
709
+ secrets: z.array(z.strictObject({
710
+ name: z.string().min(1).max(256).describe("The secret name. It must not start with the reserved SUPABASE_ prefix."),
711
+ value: z.string().max(24576).describe("The secret value.")
711
712
  }).describe("A secret name/value pair to upsert.")).min(1).describe("The secrets to create or update.")
712
713
  }).describe("Input parameters for upserting project secrets.");
713
- var upsertProjectSecretsOutput = external_exports.strictObject({
714
- success: external_exports.boolean().describe("Whether Supabase accepted the secret upsert request.")
714
+ var upsertProjectSecretsOutput = z.strictObject({
715
+ success: z.boolean().describe("Whether Supabase accepted the secret upsert request.")
715
716
  }).describe("Action output.");
716
- var deleteProjectSecretsInput = external_exports.strictObject({
717
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
718
- names: external_exports.array(external_exports.string().min(1).describe("A secret name.")).min(1).describe("The names of secrets to delete.")
717
+ var deleteProjectSecretsInput = z.strictObject({
718
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
719
+ names: z.array(z.string().min(1).describe("A secret name.")).min(1).describe("The names of secrets to delete.")
719
720
  }).describe("Input parameters for deleting project secrets.");
720
- var deleteProjectSecretsOutput = external_exports.strictObject({
721
- success: external_exports.boolean().describe("Whether Supabase accepted the secret delete request.")
721
+ var deleteProjectSecretsOutput = z.strictObject({
722
+ success: z.boolean().describe("Whether Supabase accepted the secret delete request.")
722
723
  }).describe("Action output.");
723
- var generateTypescriptTypesInput = external_exports.strictObject({
724
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
725
- includedSchemas: external_exports.array(external_exports.string().min(1)).min(1).describe("Database schemas to include, such as public or auth.").optional()
724
+ var generateTypescriptTypesInput = z.strictObject({
725
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
726
+ includedSchemas: z.array(z.string().min(1)).min(1).describe("Database schemas to include, such as public or auth.").optional()
726
727
  }).describe("Input parameters for generating TypeScript types.");
727
- var generateTypescriptTypesOutput = external_exports.strictObject({
728
- typescript: external_exports.string().describe("The generated TypeScript type definitions.")
728
+ var generateTypescriptTypesOutput = z.strictObject({
729
+ typescript: z.string().describe("The generated TypeScript type definitions.")
729
730
  }).describe("Action output.");
730
- var runReadOnlyQueryInput = external_exports.strictObject({
731
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
732
- query: external_exports.string().min(1).describe("The SQL query to run with read-only permissions."),
733
- parameters: external_exports.array(external_exports.unknown().describe("A query parameter.")).describe("Optional positional query parameters.").optional()
731
+ var runReadOnlyQueryInput = z.strictObject({
732
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
733
+ query: z.string().min(1).describe("The SQL query to run with read-only permissions."),
734
+ parameters: z.array(z.unknown().describe("A query parameter.")).describe("Optional positional query parameters.").optional()
734
735
  }).describe("Input parameters for running a read-only SQL query.");
735
- var runReadOnlyQueryOutput = external_exports.strictObject({
736
- result: external_exports.unknown().describe("The raw read-only query response returned by Supabase, or null when Supabase returns no response body.")
736
+ var runReadOnlyQueryOutput = z.strictObject({
737
+ result: z.unknown().describe("The raw read-only query response returned by Supabase, or null when Supabase returns no response body.")
737
738
  }).describe("Action output.");
738
- var listStorageBucketsInput = external_exports.strictObject({
739
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
739
+ var listStorageBucketsInput = z.strictObject({
740
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
740
741
  }).describe("Input parameters identifying a Supabase project.");
741
- var listStorageBucketsOutput = external_exports.strictObject({
742
- buckets: external_exports.array(external_exports.looseObject({}).describe("A JSON object returned by Supabase.")).describe("The Storage buckets returned by Supabase.")
742
+ var listStorageBucketsOutput = z.strictObject({
743
+ buckets: z.array(z.looseObject({}).describe("A JSON object returned by Supabase.")).describe("The Storage buckets returned by Supabase.")
743
744
  }).describe("Action output.");
744
- var listEdgeFunctionsInput = external_exports.strictObject({
745
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
745
+ var listEdgeFunctionsInput = z.strictObject({
746
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
746
747
  }).describe("Input parameters identifying a Supabase project.");
747
- var listEdgeFunctionsOutput = external_exports.strictObject({
748
- functions: external_exports.array(external_exports.looseObject({}).describe("A JSON object returned by Supabase.")).describe("The Edge Functions returned by Supabase.")
748
+ var listEdgeFunctionsOutput = z.strictObject({
749
+ functions: z.array(z.looseObject({}).describe("A JSON object returned by Supabase.")).describe("The Edge Functions returned by Supabase.")
749
750
  }).describe("Action output.");
750
- var getEdgeFunctionInput = external_exports.strictObject({
751
- projectRef: external_exports.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
752
- functionSlug: external_exports.string().min(1).describe("The Edge Function slug.")
751
+ var getEdgeFunctionInput = z.strictObject({
752
+ projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
753
+ functionSlug: z.string().min(1).describe("The Edge Function slug.")
753
754
  }).describe("Input parameters for fetching an Edge Function.");
754
- var getEdgeFunctionOutput = external_exports.strictObject({
755
- function: external_exports.looseObject({}).describe("A JSON object returned by Supabase.")
755
+ var getEdgeFunctionOutput = z.strictObject({
756
+ function: z.looseObject({}).describe("A JSON object returned by Supabase.")
756
757
  }).describe("Action output.");
757
758
  var supabaseActions = {
758
759
  list_organizations: {
759
760
  description: "List the organizations available to the authenticated Supabase account.",
760
761
  effect: "read",
761
762
  inputSchema: listOrganizationsInput,
762
- outputSchema: external_exports.toJSONSchema(listOrganizationsOutput, { io: "output", unrepresentable: "any" })
763
+ outputSchema: z.toJSONSchema(listOrganizationsOutput, { io: "output", unrepresentable: "any" })
763
764
  },
764
765
  get_organization: {
765
766
  description: "Get details for a Supabase organization by slug.",
766
767
  effect: "read",
767
768
  inputSchema: getOrganizationInput,
768
- outputSchema: external_exports.toJSONSchema(getOrganizationOutput, { io: "output", unrepresentable: "any" })
769
+ outputSchema: z.toJSONSchema(getOrganizationOutput, { io: "output", unrepresentable: "any" })
769
770
  },
770
771
  list_organization_members: {
771
772
  description: "List members of a Supabase organization.",
772
773
  effect: "read",
773
774
  inputSchema: listOrganizationMembersInput,
774
- outputSchema: external_exports.toJSONSchema(listOrganizationMembersOutput, { io: "output", unrepresentable: "any" })
775
+ outputSchema: z.toJSONSchema(listOrganizationMembersOutput, { io: "output", unrepresentable: "any" })
775
776
  },
776
777
  list_organization_projects: {
777
778
  description: "List projects in a Supabase organization with optional search and pagination.",
778
779
  effect: "read",
779
780
  inputSchema: listOrganizationProjectsInput,
780
- outputSchema: external_exports.toJSONSchema(listOrganizationProjectsOutput, { io: "output", unrepresentable: "any" })
781
+ outputSchema: z.toJSONSchema(listOrganizationProjectsOutput, { io: "output", unrepresentable: "any" })
781
782
  },
782
783
  list_projects: {
783
784
  description: "List Supabase projects visible to the authenticated account.",
784
785
  effect: "read",
785
786
  inputSchema: listProjectsInput,
786
- outputSchema: external_exports.toJSONSchema(listProjectsOutput, { io: "output", unrepresentable: "any" })
787
+ outputSchema: z.toJSONSchema(listProjectsOutput, { io: "output", unrepresentable: "any" })
787
788
  },
788
789
  get_project: {
789
790
  description: "Get detailed metadata for a Supabase project by project ref.",
790
791
  effect: "read",
791
792
  inputSchema: getProjectInput,
792
- outputSchema: external_exports.toJSONSchema(getProjectOutput, { io: "output", unrepresentable: "any" })
793
+ outputSchema: z.toJSONSchema(getProjectOutput, { io: "output", unrepresentable: "any" })
793
794
  },
794
795
  list_available_regions: {
795
796
  description: "List Supabase regions available for creating projects in an organization.",
796
797
  effect: "read",
797
798
  inputSchema: listAvailableRegionsInput,
798
- outputSchema: external_exports.toJSONSchema(listAvailableRegionsOutput, { io: "output", unrepresentable: "any" })
799
+ outputSchema: z.toJSONSchema(listAvailableRegionsOutput, { io: "output", unrepresentable: "any" })
799
800
  },
800
801
  get_project_health: {
801
802
  description: "Check health for selected services in a Supabase project.",
802
803
  effect: "read",
803
804
  inputSchema: getProjectHealthInput,
804
- outputSchema: external_exports.toJSONSchema(getProjectHealthOutput, { io: "output", unrepresentable: "any" })
805
+ outputSchema: z.toJSONSchema(getProjectHealthOutput, { io: "output", unrepresentable: "any" })
805
806
  },
806
807
  list_project_api_keys: {
807
808
  description: "List API keys for a Supabase project.",
808
809
  effect: "read",
809
810
  inputSchema: listProjectApiKeysInput,
810
- outputSchema: external_exports.toJSONSchema(listProjectApiKeysOutput, { io: "output", unrepresentable: "any" })
811
+ outputSchema: z.toJSONSchema(listProjectApiKeysOutput, { io: "output", unrepresentable: "any" })
811
812
  },
812
813
  get_project_api_key: {
813
814
  description: "Get one API key record from a Supabase project.",
814
815
  effect: "read",
815
816
  inputSchema: getProjectApiKeyInput,
816
- outputSchema: external_exports.toJSONSchema(getProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
817
+ outputSchema: z.toJSONSchema(getProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
817
818
  },
818
819
  create_project_api_key: {
819
820
  description: "Create a publishable or secret API key for a Supabase project.",
820
821
  effect: "write",
821
822
  inputSchema: createProjectApiKeyInput,
822
- outputSchema: external_exports.toJSONSchema(createProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
823
+ outputSchema: z.toJSONSchema(createProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
823
824
  },
824
825
  update_project_api_key: {
825
826
  description: "Update the name, description, or JWT template for a Supabase project API key.",
826
827
  effect: "write",
827
828
  inputSchema: updateProjectApiKeyInput,
828
- outputSchema: external_exports.toJSONSchema(updateProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
829
+ outputSchema: z.toJSONSchema(updateProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
829
830
  },
830
831
  delete_project_api_key: {
831
832
  description: "Delete a Supabase project API key.",
832
833
  effect: "destructive",
833
834
  inputSchema: deleteProjectApiKeyInput,
834
- outputSchema: external_exports.toJSONSchema(deleteProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
835
+ outputSchema: z.toJSONSchema(deleteProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
835
836
  },
836
837
  list_project_secrets: {
837
838
  description: "List secrets configured for a Supabase project.",
838
839
  effect: "read",
839
840
  inputSchema: listProjectSecretsInput,
840
- outputSchema: external_exports.toJSONSchema(listProjectSecretsOutput, { io: "output", unrepresentable: "any" })
841
+ outputSchema: z.toJSONSchema(listProjectSecretsOutput, { io: "output", unrepresentable: "any" })
841
842
  },
842
843
  upsert_project_secrets: {
843
844
  description: "Bulk create or update secrets for a Supabase project.",
844
845
  effect: "write",
845
846
  inputSchema: upsertProjectSecretsInput,
846
- outputSchema: external_exports.toJSONSchema(upsertProjectSecretsOutput, { io: "output", unrepresentable: "any" })
847
+ outputSchema: z.toJSONSchema(upsertProjectSecretsOutput, { io: "output", unrepresentable: "any" })
847
848
  },
848
849
  delete_project_secrets: {
849
850
  description: "Bulk delete secrets from a Supabase project.",
850
851
  effect: "destructive",
851
852
  inputSchema: deleteProjectSecretsInput,
852
- outputSchema: external_exports.toJSONSchema(deleteProjectSecretsOutput, { io: "output", unrepresentable: "any" })
853
+ outputSchema: z.toJSONSchema(deleteProjectSecretsOutput, { io: "output", unrepresentable: "any" })
853
854
  },
854
855
  generate_typescript_types: {
855
856
  description: "Generate TypeScript database types for a Supabase project.",
856
857
  effect: "read",
857
858
  inputSchema: generateTypescriptTypesInput,
858
- outputSchema: external_exports.toJSONSchema(generateTypescriptTypesOutput, { io: "output", unrepresentable: "any" })
859
+ outputSchema: z.toJSONSchema(generateTypescriptTypesOutput, { io: "output", unrepresentable: "any" })
859
860
  },
860
861
  run_read_only_query: {
861
862
  description: "Run a SQL query through Supabase as the read-only database user.",
862
863
  effect: "write",
863
864
  inputSchema: runReadOnlyQueryInput,
864
- outputSchema: external_exports.toJSONSchema(runReadOnlyQueryOutput, { io: "output", unrepresentable: "any" })
865
+ outputSchema: z.toJSONSchema(runReadOnlyQueryOutput, { io: "output", unrepresentable: "any" })
865
866
  },
866
867
  list_storage_buckets: {
867
868
  description: "List Storage buckets for a Supabase project.",
868
869
  effect: "read",
869
870
  inputSchema: listStorageBucketsInput,
870
- outputSchema: external_exports.toJSONSchema(listStorageBucketsOutput, { io: "output", unrepresentable: "any" })
871
+ outputSchema: z.toJSONSchema(listStorageBucketsOutput, { io: "output", unrepresentable: "any" })
871
872
  },
872
873
  list_edge_functions: {
873
874
  description: "List Edge Functions in a Supabase project.",
874
875
  effect: "read",
875
876
  inputSchema: listEdgeFunctionsInput,
876
- outputSchema: external_exports.toJSONSchema(listEdgeFunctionsOutput, { io: "output", unrepresentable: "any" })
877
+ outputSchema: z.toJSONSchema(listEdgeFunctionsOutput, { io: "output", unrepresentable: "any" })
877
878
  },
878
879
  get_edge_function: {
879
880
  description: "Get metadata for one Supabase Edge Function by slug.",
880
881
  effect: "read",
881
882
  inputSchema: getEdgeFunctionInput,
882
- outputSchema: external_exports.toJSONSchema(getEdgeFunctionOutput, { io: "output", unrepresentable: "any" })
883
+ outputSchema: z.toJSONSchema(getEdgeFunctionOutput, { io: "output", unrepresentable: "any" })
883
884
  }
884
885
  };
885
886