@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.
- package/dist/admin.js +170 -0
- package/dist/airtable-ML2GIGCH.js +790 -0
- package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FGYQAF2A.js} +12 -11
- package/dist/{amap-VOX4T2AW.js → amap-G7V65NGK.js} +221 -220
- package/dist/anthropic-6ZK24TBB.js +203 -0
- package/dist/apify-VDGYHP6W.js +248 -0
- package/dist/brave_search-TAATLZOS.js +302 -0
- package/dist/chunk-2IAI3XQM.js +302 -0
- package/dist/chunk-7ISGFRC6.js +161 -0
- package/dist/{chunk-E6JCVKW6.js → chunk-BNMLA2RC.js} +3 -3
- package/dist/chunk-HA4BGL6C.js +8429 -0
- package/dist/{chunk-KMTT3I6D.js → chunk-RMAWSG7E.js} +19172 -25717
- package/dist/{chunk-XYBU3WZH.js → chunk-RTW5VRTK.js} +3 -3
- package/dist/chunk-U7PTOA3U.js +7320 -0
- package/dist/chunk-UY6ANCOY.js +378 -0
- package/dist/{chunk-ATK45BXV.js → chunk-X7ZUTKHR.js} +4 -2
- package/dist/circleci-BQ2UWXL2.js +389 -0
- package/dist/clerk-2JYWQNOI.js +1019 -0
- package/dist/cohere-6MI7AQM4.js +185 -0
- package/dist/{confluence-B3EWPZVE.js → confluence-6Y6GDETF.js} +105 -104
- package/dist/{convertapi-EUWSQYPF.js → convertapi-HBZCSWOX.js} +32 -31
- package/dist/{currencyapi-KVTIK3GL.js → currencyapi-337U5TGI.js} +71 -71
- package/dist/deepseek-OSPASO7O.js +210 -0
- package/dist/docker_hub-3ATQOY5L.js +933 -0
- package/dist/dropbox-LSA4GM2Y.js +1305 -0
- package/dist/dub-VZPJSPI6.js +680 -0
- package/dist/e2b-6SDYQZL2.js +278 -0
- package/dist/exa-B6EUYDVP.js +332 -0
- package/dist/{fal_ai-23E7JPNT.js → fal_ai-K4Q27IME.js} +81 -80
- package/dist/{feishu-7QRIDUV6.js → feishu-4TKXG4SU.js} +528 -572
- package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-7CTEAKRB.js} +57 -53
- package/dist/figma-OUKSZLD5.js +777 -0
- package/dist/firehydrant-7MOYL7QH.js +563 -0
- package/dist/{fixer-BWON27UO.js → fixer-H2BV2NO4.js} +34 -33
- package/dist/fly-PXKY6PNH.js +469 -0
- package/dist/{front-QCGXYEDJ.js → front-UZYIV5DW.js} +104 -104
- package/dist/geocodio-NSYO7TFP.js +213 -0
- package/dist/ghost-QBKKQQMF.js +338 -0
- package/dist/github-ENLSJ4CL.js +5421 -0
- package/dist/gmail-KQSDEB47.js +1887 -0
- package/dist/googlecalendar-5YCX4SZF.js +2524 -0
- package/dist/{googledocs-BUHL4J2H.js → googledocs-SSWIVFKA.js} +341 -340
- package/dist/{grafana-GLU2DWF2.js → grafana-TF2LXDQA.js} +221 -220
- package/dist/graphhopper-CURBVHYK.js +325 -0
- package/dist/index.d.ts +1132 -332
- package/dist/index.js +31 -14
- package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-YNVMTZEM.js} +28 -27
- package/dist/ipgeolocation_io-NAU7VJ4J.js +315 -0
- package/dist/ipqualityscore-OT63L4TI.js +279 -0
- package/dist/{jina_ai-EFBHTBXL.js → jina_ai-6WBMBGWM.js} +23 -23
- package/dist/{jira-HQSHAA5K.js → jira-DVDVTHNO.js} +118 -117
- package/dist/langsmith-IM5N4YAU.js +593 -0
- package/dist/lemlist-277SHUQF.js +289 -0
- package/dist/{linear-K7RYFYAD.js → linear-AEPH7B5V.js} +327 -326
- package/dist/logsnag-VEWRAGBG.js +150 -0
- package/dist/main.js +57 -280
- package/dist/{mattermost-S2BRCWLQ.js → mattermost-Q3A2BIZA.js} +59 -58
- package/dist/mem0-AXS7GZGI.js +544 -0
- package/dist/memos-7TXG4ZTU.js +744 -0
- package/dist/{metabase-MMSEPCOF.js → metabase-NSVACWQM.js} +90 -89
- package/dist/mistral_ai-YZ52RGD4.js +1196 -0
- package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-XLLL6FVL.js} +94 -93
- package/dist/ngrok-4O4W3WZW.js +356 -0
- package/dist/{notes-PFMKRO33.js → notes-YTB3TJOO.js} +11 -9
- package/dist/notion-4W4O7J7V.js +940 -0
- package/dist/open_exchange_rates-23QJXVO5.js +215 -0
- package/dist/openai-ZS7GLSLH.js +800 -0
- package/dist/opengraph_io-PMVH7OYI.js +362 -0
- package/dist/openrouter-ONRGFNB6.js +441 -0
- package/dist/outline-UCUYZZ7J.js +599 -0
- package/dist/paddle-35HTKTUL.js +454 -0
- package/dist/perplexity-NVOBYN24.js +220 -0
- package/dist/pinecone-55CJY73C.js +571 -0
- package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-WMCAKS72.js} +99 -98
- package/dist/polar-SM4ZM53B.js +395 -0
- package/dist/posthog-NWCXVXNJ.js +3464 -0
- package/dist/postmark-QJV5PHUQ.js +427 -0
- package/dist/{prerender-MENYM2TY.js → prerender-2W7UT4SC.js} +31 -30
- package/dist/{pubmed-GOXUVVH5.js → pubmed-VVV7XYLU.js} +239 -238
- package/dist/{railway-V2SID4WV.js → railway-KGI57S3O.js} +118 -117
- package/dist/readwise-AGHTQB42.js +470 -0
- package/dist/render-O4HBROCK.js +461 -0
- package/dist/{replicate-756MXPYX.js → replicate-KWBOMX7D.js} +81 -80
- package/dist/{resend-ZKH3BTBI.js → resend-DRH6Y6I4.js} +20 -16
- package/dist/rootly-XGCUDW6X.js +336 -0
- package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-OIQ3OY6L.js} +62 -61
- package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-OCZO4FHX.js} +56 -56
- package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-CUNGFZOC.js} +16 -16
- package/dist/semantic_scholar-3UJRLKES.js +611 -0
- package/dist/{sentry-546MNDJG.js → sentry-5BWVZFJV.js} +208 -207
- package/dist/{shodan-C3OON3Z3.js → shodan-HI37CTEW.js} +62 -61
- package/dist/shopify-LJ2EV2HH.js +610 -0
- package/dist/stripe-3LHMV55K.js +585 -0
- package/dist/{supabase-U2SL4D63.js → supabase-H2KPX3Q2.js} +245 -244
- package/dist/tavily-FBEWGH3Z.js +326 -0
- package/dist/telegram-MYYO3JND.js +1767 -0
- package/dist/{telnyx-CXQ4EZUX.js → telnyx-H4ALEGAX.js} +57 -56
- package/dist/todoist-OBWICA5Q.js +664 -0
- package/dist/trello-GUFUJRWO.js +1080 -0
- package/dist/turso-NIAK4UMS.js +416 -0
- package/dist/{twilio-4PDBJKWX.js → twilio-K6SLK2CX.js} +70 -69
- package/dist/umami-42RS2EPS.js +389 -0
- package/dist/unsplash-V7TOTETT.js +351 -0
- package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-AWQMB6Y3.js} +51 -50
- package/dist/uptimerobot-AZC2DHOT.js +483 -0
- package/dist/v2ex-4TVRNMLS.js +667 -0
- package/dist/vercel-DPHTJ3XR.js +1076 -0
- package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-XAG7IXBW.js} +36 -35
- package/dist/wordpress-KMPKVGUX.js +812 -0
- package/dist/workos-PKB2YR7S.js +664 -0
- package/dist/zhihu-Y4H4XYPB.js +254 -0
- package/package.json +18 -9
- package/dist/airtable-LLZDFN7M.js +0 -789
- package/dist/anthropic-G23NN3X5.js +0 -202
- package/dist/apify-Y3SS734K.js +0 -247
- package/dist/brave_search-ZC7OAPSZ.js +0 -301
- package/dist/chunk-R6P4XAE5.js +0 -248
- package/dist/chunk-U7B6DS2O.js +0 -977
- package/dist/chunk-UZM2RXZH.js +0 -23436
- package/dist/circleci-3BAX5FCG.js +0 -388
- package/dist/clerk-6LEM6TNU.js +0 -1019
- package/dist/cloudflare_dns-KINYTJUD.js +0 -588
- package/dist/cohere-XCJ5AJ6B.js +0 -185
- package/dist/deepseek-PC5YGNC5.js +0 -209
- package/dist/docker_hub-C3MA5FU6.js +0 -932
- package/dist/dropbox-XBV7Z2IR.js +0 -1304
- package/dist/dub-LDOFG3HC.js +0 -679
- package/dist/e2b-JMCPSVBW.js +0 -277
- package/dist/exa-RAK7O7RD.js +0 -331
- package/dist/figma-E6IX5DTH.js +0 -773
- package/dist/firehydrant-ZBLPQREE.js +0 -562
- package/dist/fly-ZH3HFCZJ.js +0 -468
- package/dist/geocodio-YGNI7DA4.js +0 -212
- package/dist/ghost-EVSGKH2Q.js +0 -337
- package/dist/github-MA2BGRCJ.js +0 -5420
- package/dist/gmail-E5E6AADE.js +0 -1886
- package/dist/googlecalendar-BTLFPXTD.js +0 -2523
- package/dist/graphhopper-WSMB3TCD.js +0 -324
- package/dist/ipgeolocation_io-AA7HAS22.js +0 -315
- package/dist/ipqualityscore-BHJXVTJT.js +0 -277
- package/dist/langsmith-5W6SCT6F.js +0 -592
- package/dist/lemlist-HJWH6UMK.js +0 -288
- package/dist/logsnag-4KFOHL37.js +0 -150
- package/dist/mem0-CAW43CIC.js +0 -543
- package/dist/memos-TWEGPKFM.js +0 -740
- package/dist/mistral_ai-64BGZQHP.js +0 -1195
- package/dist/ngrok-GQCUGZKJ.js +0 -356
- package/dist/notion-DQWZWP4N.js +0 -936
- package/dist/open_exchange_rates-QMMD735E.js +0 -214
- package/dist/openai-W6PX32NZ.js +0 -799
- package/dist/opengraph_io-HNDBXYNW.js +0 -361
- package/dist/openrouter-JJYMEAUL.js +0 -437
- package/dist/outline-MCBNQZYY.js +0 -595
- package/dist/paddle-D2SKLUDN.js +0 -453
- package/dist/perplexity-XIFMKUAE.js +0 -219
- package/dist/pinecone-HUFTALV2.js +0 -570
- package/dist/polar-TYTOMOSR.js +0 -394
- package/dist/posthog-43JAR3VW.js +0 -3463
- package/dist/postmark-KL2QJYSG.js +0 -426
- package/dist/readwise-CI4GIMMJ.js +0 -469
- package/dist/render-SUBJ6YRZ.js +0 -460
- package/dist/rootly-CD2LJHPI.js +0 -336
- package/dist/semantic_scholar-T4A252KW.js +0 -610
- package/dist/shopify-Y2HN2MCQ.js +0 -609
- package/dist/stripe-VE3CD3AY.js +0 -584
- package/dist/tavily-KCZHK6HE.js +0 -326
- package/dist/telegram-3URFBCMY.js +0 -1766
- package/dist/todoist-HNPWNYTD.js +0 -663
- package/dist/trello-3W2MIXRP.js +0 -1079
- package/dist/turso-2EQF7C2Z.js +0 -415
- package/dist/umami-5REN7TGP.js +0 -388
- package/dist/unsplash-EIXL424F.js +0 -350
- package/dist/uptimerobot-KNJ3EYLY.js +0 -482
- package/dist/v2ex-RHJ234PZ.js +0 -666
- package/dist/vercel-AS6NCIC7.js +0 -1075
- package/dist/wordpress-KNDAAUV7.js +0 -811
- package/dist/workos-R6UITSJ7.js +0 -663
- package/dist/zhihu-AGK4HILK.js +0 -253
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAuthedClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-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-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-X7ZUTKHR.js";
|
|
14
|
+
import "./chunk-7ISGFRC6.js";
|
|
15
|
+
import "./chunk-UY6ANCOY.js";
|
|
15
16
|
import {
|
|
16
|
-
TBError
|
|
17
|
-
|
|
18
|
-
} from "./chunk-UZM2RXZH.js";
|
|
17
|
+
TBError
|
|
18
|
+
} from "./chunk-HA4BGL6C.js";
|
|
19
19
|
import "./chunk-U67V476Y.js";
|
|
20
20
|
|
|
21
21
|
// ../plugins/src/mother_duck/api.ts
|
|
@@ -125,109 +125,110 @@ async function setUserDucklingConfig(input, ctx) {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
// ../plugins/src/mother_duck/schema.ts
|
|
128
|
-
|
|
129
|
-
var
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
128
|
+
import { z } from "zod/v4";
|
|
129
|
+
var listActiveAccountsInput = z.strictObject({}).describe("No input is required to list active MotherDuck accounts.");
|
|
130
|
+
var listActiveAccountsOutput = z.strictObject({
|
|
131
|
+
accounts: z.array(z.strictObject({
|
|
132
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization.").optional(),
|
|
133
|
+
ducklings: z.array(z.strictObject({
|
|
134
|
+
id: z.string().describe("The Duckling identifier, such as rw or rs.N.").optional(),
|
|
135
|
+
type: z.enum(["read_write", "read_scaling"]).describe("The MotherDuck Duckling type.").optional(),
|
|
136
|
+
status: z.string().min(1).describe("The MotherDuck Duckling status, such as active or cooldown.").optional()
|
|
136
137
|
}).describe("A MotherDuck Duckling attached to an active account.")).describe("The active Ducklings for the account.").optional()
|
|
137
138
|
}).describe("A MotherDuck active account.")).describe("The active accounts in the organization.")
|
|
138
139
|
}).describe("The active MotherDuck accounts returned by the Admin API.");
|
|
139
|
-
var createUserInput =
|
|
140
|
-
username:
|
|
140
|
+
var createUserInput = z.strictObject({
|
|
141
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization.")
|
|
141
142
|
}).describe("Input for creating a MotherDuck user.");
|
|
142
|
-
var createUserOutput =
|
|
143
|
-
username:
|
|
143
|
+
var createUserOutput = z.strictObject({
|
|
144
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization.")
|
|
144
145
|
}).describe("The created MotherDuck user.");
|
|
145
|
-
var deleteUserInput =
|
|
146
|
-
username:
|
|
146
|
+
var deleteUserInput = z.strictObject({
|
|
147
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization.")
|
|
147
148
|
}).describe("Input for deleting a MotherDuck user.");
|
|
148
|
-
var deleteUserOutput =
|
|
149
|
-
username:
|
|
149
|
+
var deleteUserOutput = z.strictObject({
|
|
150
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization.")
|
|
150
151
|
}).describe("The deleted MotherDuck user.");
|
|
151
|
-
var listTokensInput =
|
|
152
|
-
username:
|
|
152
|
+
var listTokensInput = z.strictObject({
|
|
153
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization.")
|
|
153
154
|
}).describe("Input for listing MotherDuck user tokens.");
|
|
154
|
-
var listTokensOutput =
|
|
155
|
-
tokens:
|
|
156
|
-
id:
|
|
157
|
-
name:
|
|
158
|
-
token:
|
|
159
|
-
expire_at:
|
|
160
|
-
created_ts:
|
|
161
|
-
read_only:
|
|
162
|
-
token_type:
|
|
163
|
-
raw:
|
|
155
|
+
var listTokensOutput = z.strictObject({
|
|
156
|
+
tokens: z.array(z.strictObject({
|
|
157
|
+
id: z.string().describe("The token UUID.").optional(),
|
|
158
|
+
name: z.string().describe("The token display name.").optional(),
|
|
159
|
+
token: z.string().describe("The newly-created token secret when MotherDuck returns it.").optional(),
|
|
160
|
+
expire_at: z.string().describe("The timestamp when the token expires.").optional(),
|
|
161
|
+
created_ts: z.string().describe("The timestamp when the token was created.").optional(),
|
|
162
|
+
read_only: z.boolean().describe("Whether the token is read-only.").optional(),
|
|
163
|
+
token_type: z.enum(["read_write", "read_scaling"]).describe("The MotherDuck token type.").optional(),
|
|
164
|
+
raw: z.looseObject({}).describe("The raw token object returned by MotherDuck.")
|
|
164
165
|
}).describe("A MotherDuck access token.")).describe("The user's MotherDuck access tokens.")
|
|
165
166
|
}).describe("The MotherDuck access tokens for the user.");
|
|
166
|
-
var createTokenInput =
|
|
167
|
-
username:
|
|
168
|
-
name:
|
|
169
|
-
ttl:
|
|
170
|
-
token_type:
|
|
167
|
+
var createTokenInput = z.strictObject({
|
|
168
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization."),
|
|
169
|
+
name: z.string().min(1).max(255).describe("The token display name."),
|
|
170
|
+
ttl: z.number().min(300).max(31536e3).describe("Token expiration in seconds.").optional(),
|
|
171
|
+
token_type: z.enum(["read_write", "read_scaling"]).describe("The MotherDuck token type.").optional()
|
|
171
172
|
}).describe("Input for creating a MotherDuck user token.");
|
|
172
|
-
var createTokenOutput =
|
|
173
|
-
token:
|
|
174
|
-
id:
|
|
175
|
-
name:
|
|
176
|
-
token:
|
|
177
|
-
expire_at:
|
|
178
|
-
created_ts:
|
|
179
|
-
read_only:
|
|
180
|
-
token_type:
|
|
181
|
-
raw:
|
|
173
|
+
var createTokenOutput = z.strictObject({
|
|
174
|
+
token: z.strictObject({
|
|
175
|
+
id: z.string().describe("The token UUID.").optional(),
|
|
176
|
+
name: z.string().describe("The token display name.").optional(),
|
|
177
|
+
token: z.string().describe("The newly-created token secret when MotherDuck returns it.").optional(),
|
|
178
|
+
expire_at: z.string().describe("The timestamp when the token expires.").optional(),
|
|
179
|
+
created_ts: z.string().describe("The timestamp when the token was created.").optional(),
|
|
180
|
+
read_only: z.boolean().describe("Whether the token is read-only.").optional(),
|
|
181
|
+
token_type: z.enum(["read_write", "read_scaling"]).describe("The MotherDuck token type.").optional(),
|
|
182
|
+
raw: z.looseObject({}).describe("The raw token object returned by MotherDuck.")
|
|
182
183
|
}).describe("A MotherDuck access token.")
|
|
183
184
|
}).describe("The newly-created MotherDuck token.");
|
|
184
|
-
var deleteTokenInput =
|
|
185
|
-
username:
|
|
186
|
-
token_id:
|
|
185
|
+
var deleteTokenInput = z.strictObject({
|
|
186
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization."),
|
|
187
|
+
token_id: z.string().min(1).describe("The MotherDuck access token identifier.")
|
|
187
188
|
}).describe("Input for deleting a MotherDuck user token.");
|
|
188
|
-
var deleteTokenOutput =
|
|
189
|
-
success:
|
|
189
|
+
var deleteTokenOutput = z.strictObject({
|
|
190
|
+
success: z.boolean().describe("Whether MotherDuck accepted the token deletion request.")
|
|
190
191
|
}).describe("The normalized MotherDuck token deletion result.");
|
|
191
|
-
var getUserDucklingConfigInput =
|
|
192
|
-
username:
|
|
192
|
+
var getUserDucklingConfigInput = z.strictObject({
|
|
193
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization.")
|
|
193
194
|
}).describe("Input for retrieving a MotherDuck user's Duckling configuration.");
|
|
194
|
-
var getUserDucklingConfigOutput =
|
|
195
|
-
config:
|
|
196
|
-
read_write:
|
|
197
|
-
instance_size:
|
|
198
|
-
cooldown_seconds:
|
|
195
|
+
var getUserDucklingConfigOutput = z.strictObject({
|
|
196
|
+
config: z.strictObject({
|
|
197
|
+
read_write: z.strictObject({
|
|
198
|
+
instance_size: z.enum(["pulse", "standard", "jumbo", "mega", "giga"]).describe("The MotherDuck instance size."),
|
|
199
|
+
cooldown_seconds: z.int().min(60).max(86400).describe("Cooldown duration in seconds.").optional()
|
|
199
200
|
}).describe("MotherDuck read-write Duckling configuration.").optional(),
|
|
200
|
-
read_scaling:
|
|
201
|
-
instance_size:
|
|
202
|
-
flock_size:
|
|
203
|
-
cooldown_seconds:
|
|
201
|
+
read_scaling: z.strictObject({
|
|
202
|
+
instance_size: z.enum(["pulse", "standard", "jumbo", "mega", "giga"]).describe("The MotherDuck instance size."),
|
|
203
|
+
flock_size: z.number().min(0).max(64).describe("The number of read-scaling Ducklings."),
|
|
204
|
+
cooldown_seconds: z.int().min(60).max(86400).describe("Cooldown duration in seconds.").optional()
|
|
204
205
|
}).describe("MotherDuck read-scaling Duckling configuration.").optional()
|
|
205
206
|
}).describe("MotherDuck Duckling configuration for a user.")
|
|
206
207
|
}).describe("The MotherDuck Duckling configuration for the user.");
|
|
207
|
-
var setUserDucklingConfigInput =
|
|
208
|
-
username:
|
|
209
|
-
config:
|
|
210
|
-
read_write:
|
|
211
|
-
instance_size:
|
|
212
|
-
cooldown_seconds:
|
|
208
|
+
var setUserDucklingConfigInput = z.strictObject({
|
|
209
|
+
username: z.string().min(1).max(255).describe("The MotherDuck username within the organization."),
|
|
210
|
+
config: z.strictObject({
|
|
211
|
+
read_write: z.strictObject({
|
|
212
|
+
instance_size: z.enum(["pulse", "standard", "jumbo", "mega", "giga"]).describe("The MotherDuck instance size."),
|
|
213
|
+
cooldown_seconds: z.int().min(60).max(86400).describe("Cooldown duration in seconds.").optional()
|
|
213
214
|
}).describe("MotherDuck read-write Duckling configuration.").optional(),
|
|
214
|
-
read_scaling:
|
|
215
|
-
instance_size:
|
|
216
|
-
flock_size:
|
|
217
|
-
cooldown_seconds:
|
|
215
|
+
read_scaling: z.strictObject({
|
|
216
|
+
instance_size: z.enum(["pulse", "standard", "jumbo", "mega", "giga"]).describe("The MotherDuck instance size."),
|
|
217
|
+
flock_size: z.number().min(0).max(64).describe("The number of read-scaling Ducklings."),
|
|
218
|
+
cooldown_seconds: z.int().min(60).max(86400).describe("Cooldown duration in seconds.").optional()
|
|
218
219
|
}).describe("MotherDuck read-scaling Duckling configuration.").optional()
|
|
219
220
|
}).describe("MotherDuck Duckling configuration for a user.")
|
|
220
221
|
}).describe("Input for setting a MotherDuck user's Duckling configuration.");
|
|
221
|
-
var setUserDucklingConfigOutput =
|
|
222
|
-
config:
|
|
223
|
-
read_write:
|
|
224
|
-
instance_size:
|
|
225
|
-
cooldown_seconds:
|
|
222
|
+
var setUserDucklingConfigOutput = z.strictObject({
|
|
223
|
+
config: z.strictObject({
|
|
224
|
+
read_write: z.strictObject({
|
|
225
|
+
instance_size: z.enum(["pulse", "standard", "jumbo", "mega", "giga"]).describe("The MotherDuck instance size."),
|
|
226
|
+
cooldown_seconds: z.int().min(60).max(86400).describe("Cooldown duration in seconds.").optional()
|
|
226
227
|
}).describe("MotherDuck read-write Duckling configuration.").optional(),
|
|
227
|
-
read_scaling:
|
|
228
|
-
instance_size:
|
|
229
|
-
flock_size:
|
|
230
|
-
cooldown_seconds:
|
|
228
|
+
read_scaling: z.strictObject({
|
|
229
|
+
instance_size: z.enum(["pulse", "standard", "jumbo", "mega", "giga"]).describe("The MotherDuck instance size."),
|
|
230
|
+
flock_size: z.number().min(0).max(64).describe("The number of read-scaling Ducklings."),
|
|
231
|
+
cooldown_seconds: z.int().min(60).max(86400).describe("Cooldown duration in seconds.").optional()
|
|
231
232
|
}).describe("MotherDuck read-scaling Duckling configuration.").optional()
|
|
232
233
|
}).describe("MotherDuck Duckling configuration for a user.")
|
|
233
234
|
}).describe("The updated MotherDuck Duckling configuration for the user.");
|
|
@@ -236,49 +237,49 @@ var motherDuckActions = {
|
|
|
236
237
|
description: "List active MotherDuck accounts and their active Ducklings in the organization.",
|
|
237
238
|
effect: "read",
|
|
238
239
|
inputSchema: listActiveAccountsInput,
|
|
239
|
-
outputSchema:
|
|
240
|
+
outputSchema: z.toJSONSchema(listActiveAccountsOutput, { io: "output", unrepresentable: "any" })
|
|
240
241
|
},
|
|
241
242
|
create_user: {
|
|
242
243
|
description: "Create a MotherDuck member user in the organization.",
|
|
243
244
|
effect: "write",
|
|
244
245
|
inputSchema: createUserInput,
|
|
245
|
-
outputSchema:
|
|
246
|
+
outputSchema: z.toJSONSchema(createUserOutput, { io: "output", unrepresentable: "any" })
|
|
246
247
|
},
|
|
247
248
|
delete_user: {
|
|
248
249
|
description: "Permanently delete a MotherDuck user and all of their data.",
|
|
249
250
|
effect: "destructive",
|
|
250
251
|
inputSchema: deleteUserInput,
|
|
251
|
-
outputSchema:
|
|
252
|
+
outputSchema: z.toJSONSchema(deleteUserOutput, { io: "output", unrepresentable: "any" })
|
|
252
253
|
},
|
|
253
254
|
list_tokens: {
|
|
254
255
|
description: "List MotherDuck access tokens for a user.",
|
|
255
256
|
effect: "read",
|
|
256
257
|
inputSchema: listTokensInput,
|
|
257
|
-
outputSchema:
|
|
258
|
+
outputSchema: z.toJSONSchema(listTokensOutput, { io: "output", unrepresentable: "any" })
|
|
258
259
|
},
|
|
259
260
|
create_token: {
|
|
260
261
|
description: "Create a MotherDuck access token for a user.",
|
|
261
262
|
effect: "write",
|
|
262
263
|
inputSchema: createTokenInput,
|
|
263
|
-
outputSchema:
|
|
264
|
+
outputSchema: z.toJSONSchema(createTokenOutput, { io: "output", unrepresentable: "any" })
|
|
264
265
|
},
|
|
265
266
|
delete_token: {
|
|
266
267
|
description: "Invalidate a MotherDuck access token for a user.",
|
|
267
268
|
effect: "destructive",
|
|
268
269
|
inputSchema: deleteTokenInput,
|
|
269
|
-
outputSchema:
|
|
270
|
+
outputSchema: z.toJSONSchema(deleteTokenOutput, { io: "output", unrepresentable: "any" })
|
|
270
271
|
},
|
|
271
272
|
get_user_duckling_config: {
|
|
272
273
|
description: "Retrieve MotherDuck Duckling configuration for a user.",
|
|
273
274
|
effect: "read",
|
|
274
275
|
inputSchema: getUserDucklingConfigInput,
|
|
275
|
-
outputSchema:
|
|
276
|
+
outputSchema: z.toJSONSchema(getUserDucklingConfigOutput, { io: "output", unrepresentable: "any" })
|
|
276
277
|
},
|
|
277
278
|
set_user_duckling_config: {
|
|
278
279
|
description: "Set MotherDuck Duckling configuration for a user.",
|
|
279
280
|
effect: "write",
|
|
280
281
|
inputSchema: setUserDucklingConfigInput,
|
|
281
|
-
outputSchema:
|
|
282
|
+
outputSchema: z.toJSONSchema(setUserDucklingConfigOutput, { io: "output", unrepresentable: "any" })
|
|
282
283
|
}
|
|
283
284
|
};
|
|
284
285
|
|