@tool-bridge/server 0.21.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin.js +170 -0
- package/dist/airtable-VMQVXLHK.js +790 -0
- package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FTWY4RU4.js} +12 -11
- package/dist/{amap-VOX4T2AW.js → amap-OK5VBHYC.js} +221 -220
- package/dist/anthropic-S67AZFZ3.js +203 -0
- package/dist/apify-ZE6MYQI3.js +248 -0
- package/dist/brave_search-TG2M2KOD.js +302 -0
- package/dist/chunk-2JNAI4OC.js +161 -0
- package/dist/{chunk-KMTT3I6D.js → chunk-4XJPN3DY.js} +19392 -26136
- package/dist/chunk-5ICRY3VU.js +8432 -0
- package/dist/chunk-7CTWGTDU.js +302 -0
- package/dist/chunk-BADVCN6K.js +378 -0
- package/dist/{chunk-XYBU3WZH.js → chunk-TDAWLMDE.js} +3 -3
- package/dist/chunk-U7PTOA3U.js +7320 -0
- package/dist/{chunk-E6JCVKW6.js → chunk-VWRUGUSU.js} +3 -3
- package/dist/{chunk-ATK45BXV.js → chunk-WJHG6OK7.js} +4 -2
- package/dist/circleci-3L3WJVSK.js +389 -0
- package/dist/clerk-EZPF2V7T.js +1019 -0
- package/dist/cohere-U27DPO64.js +185 -0
- package/dist/{confluence-B3EWPZVE.js → confluence-G2KL6ERH.js} +105 -104
- package/dist/{convertapi-EUWSQYPF.js → convertapi-L4CLJ2M3.js} +32 -31
- package/dist/{currencyapi-KVTIK3GL.js → currencyapi-YPYXG7YY.js} +71 -71
- package/dist/deepseek-6HT6WF3M.js +210 -0
- package/dist/docker_hub-LPE3PCVB.js +933 -0
- package/dist/dropbox-V56ABHTA.js +1305 -0
- package/dist/dub-6OKQ7MHT.js +680 -0
- package/dist/e2b-JS2U2QFU.js +278 -0
- package/dist/exa-DPWVYXSP.js +332 -0
- package/dist/{fal_ai-23E7JPNT.js → fal_ai-DK6Y27ZF.js} +81 -80
- package/dist/{feishu-7QRIDUV6.js → feishu-K7EGSRF3.js} +528 -572
- package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-2JUGFYNG.js} +57 -53
- package/dist/figma-FT5I7ITD.js +777 -0
- package/dist/firehydrant-EIKLKHX2.js +563 -0
- package/dist/{fixer-BWON27UO.js → fixer-U5QXIAKD.js} +34 -33
- package/dist/fly-T3JYFZ2M.js +469 -0
- package/dist/{front-QCGXYEDJ.js → front-D72MGVOR.js} +104 -104
- package/dist/geocodio-BOTD5TI5.js +213 -0
- package/dist/ghost-KYP7SZGB.js +338 -0
- package/dist/github-AGMZT3VY.js +5421 -0
- package/dist/gmail-BLJNJOBG.js +1887 -0
- package/dist/googlecalendar-GTHWNCF6.js +2524 -0
- package/dist/{googledocs-BUHL4J2H.js → googledocs-6EEDMEBQ.js} +341 -340
- package/dist/{grafana-GLU2DWF2.js → grafana-GMW6EKSQ.js} +221 -220
- package/dist/graphhopper-6OLGBDGB.js +325 -0
- package/dist/index.d.ts +1132 -332
- package/dist/index.js +31 -14
- package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-4QN42E6T.js} +28 -27
- package/dist/ipgeolocation_io-SK4XKDA2.js +315 -0
- package/dist/ipqualityscore-6ANBPXKT.js +279 -0
- package/dist/{jina_ai-EFBHTBXL.js → jina_ai-IHPSVRM5.js} +23 -23
- package/dist/{jira-HQSHAA5K.js → jira-46KKM4LC.js} +118 -117
- package/dist/langsmith-JZA345I5.js +593 -0
- package/dist/lemlist-43IV7DK6.js +289 -0
- package/dist/{linear-K7RYFYAD.js → linear-5LFH7XNL.js} +327 -326
- package/dist/logsnag-5RMYAHIL.js +150 -0
- package/dist/main.js +57 -280
- package/dist/{mattermost-S2BRCWLQ.js → mattermost-XFL6SHGG.js} +59 -58
- package/dist/mem0-NYO4DTP6.js +544 -0
- package/dist/memos-37MPQOLV.js +744 -0
- package/dist/{metabase-MMSEPCOF.js → metabase-KYBKZFMG.js} +90 -89
- package/dist/mistral_ai-6PL3K4PM.js +1196 -0
- package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-2NH7W5M5.js} +94 -93
- package/dist/ngrok-UO6CDYCA.js +356 -0
- package/dist/{notes-PFMKRO33.js → notes-I3P32WP4.js} +11 -9
- package/dist/notion-BEAJFUOE.js +940 -0
- package/dist/open_exchange_rates-CMF62JB4.js +215 -0
- package/dist/openai-IHOMKVND.js +800 -0
- package/dist/opengraph_io-ZQ2FGLHX.js +362 -0
- package/dist/openrouter-HXLW3NR5.js +441 -0
- package/dist/outline-ELCP4NEU.js +599 -0
- package/dist/paddle-O77LALVN.js +454 -0
- package/dist/perplexity-JCU654QV.js +220 -0
- package/dist/pinecone-W5W4LRKL.js +571 -0
- package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-ITMJLLPZ.js} +99 -98
- package/dist/polar-R33XU4L3.js +395 -0
- package/dist/posthog-JVNTOLTV.js +3464 -0
- package/dist/postmark-6SBG7HWV.js +427 -0
- package/dist/{prerender-MENYM2TY.js → prerender-GPNKTNFC.js} +31 -30
- package/dist/{pubmed-GOXUVVH5.js → pubmed-UP6ZEEIH.js} +239 -238
- package/dist/{railway-V2SID4WV.js → railway-KWEWXHTY.js} +118 -117
- package/dist/readwise-BLATSMC3.js +470 -0
- package/dist/render-QYRVIXII.js +461 -0
- package/dist/{replicate-756MXPYX.js → replicate-JYTWH4NF.js} +81 -80
- package/dist/{resend-ZKH3BTBI.js → resend-L5N75SZM.js} +20 -16
- package/dist/rootly-MHCPEQ26.js +336 -0
- package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-PTPGYSJM.js} +62 -61
- package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-JN6UH5PY.js} +56 -56
- package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-4QRVSV55.js} +16 -16
- package/dist/semantic_scholar-LRSWA2GE.js +611 -0
- package/dist/{sentry-546MNDJG.js → sentry-2G6PF5W6.js} +208 -207
- package/dist/{shodan-C3OON3Z3.js → shodan-WKKPP5C6.js} +62 -61
- package/dist/shopify-64YDK5T2.js +610 -0
- package/dist/stripe-QAIGGOTF.js +585 -0
- package/dist/{supabase-U2SL4D63.js → supabase-WHTGR6ND.js} +245 -244
- package/dist/tavily-QIXCDDWO.js +326 -0
- package/dist/telegram-E6G7CWI6.js +1767 -0
- package/dist/{telnyx-CXQ4EZUX.js → telnyx-ZDVVS7PK.js} +57 -56
- package/dist/todoist-DMYF3G7J.js +664 -0
- package/dist/trello-HY2RYIRP.js +1080 -0
- package/dist/turso-HAQWMGRP.js +416 -0
- package/dist/{twilio-4PDBJKWX.js → twilio-MLXYPHJE.js} +70 -69
- package/dist/umami-DZHBLPVG.js +389 -0
- package/dist/unsplash-GS2OPXKE.js +351 -0
- package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-XMXWTNAJ.js} +51 -50
- package/dist/uptimerobot-TF5WRZ4G.js +483 -0
- package/dist/v2ex-2BVXAPDF.js +667 -0
- package/dist/vercel-YMJGQYJE.js +1076 -0
- package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-I56SXWFZ.js} +36 -35
- package/dist/wordpress-R7TDFZ2P.js +812 -0
- package/dist/workos-HDNHWVMS.js +664 -0
- package/dist/zhihu-LX6AGGDS.js +254 -0
- package/package.json +18 -9
- package/dist/airtable-LLZDFN7M.js +0 -789
- package/dist/anthropic-G23NN3X5.js +0 -202
- package/dist/apify-Y3SS734K.js +0 -247
- package/dist/brave_search-ZC7OAPSZ.js +0 -301
- package/dist/chunk-R6P4XAE5.js +0 -248
- package/dist/chunk-U7B6DS2O.js +0 -977
- package/dist/chunk-UZM2RXZH.js +0 -23436
- package/dist/circleci-3BAX5FCG.js +0 -388
- package/dist/clerk-6LEM6TNU.js +0 -1019
- package/dist/cloudflare_dns-KINYTJUD.js +0 -588
- package/dist/cohere-XCJ5AJ6B.js +0 -185
- package/dist/deepseek-PC5YGNC5.js +0 -209
- package/dist/docker_hub-C3MA5FU6.js +0 -932
- package/dist/dropbox-XBV7Z2IR.js +0 -1304
- package/dist/dub-LDOFG3HC.js +0 -679
- package/dist/e2b-JMCPSVBW.js +0 -277
- package/dist/exa-RAK7O7RD.js +0 -331
- package/dist/figma-E6IX5DTH.js +0 -773
- package/dist/firehydrant-ZBLPQREE.js +0 -562
- package/dist/fly-ZH3HFCZJ.js +0 -468
- package/dist/geocodio-YGNI7DA4.js +0 -212
- package/dist/ghost-EVSGKH2Q.js +0 -337
- package/dist/github-MA2BGRCJ.js +0 -5420
- package/dist/gmail-E5E6AADE.js +0 -1886
- package/dist/googlecalendar-BTLFPXTD.js +0 -2523
- package/dist/graphhopper-WSMB3TCD.js +0 -324
- package/dist/ipgeolocation_io-AA7HAS22.js +0 -315
- package/dist/ipqualityscore-BHJXVTJT.js +0 -277
- package/dist/langsmith-5W6SCT6F.js +0 -592
- package/dist/lemlist-HJWH6UMK.js +0 -288
- package/dist/logsnag-4KFOHL37.js +0 -150
- package/dist/mem0-CAW43CIC.js +0 -543
- package/dist/memos-TWEGPKFM.js +0 -740
- package/dist/mistral_ai-64BGZQHP.js +0 -1195
- package/dist/ngrok-GQCUGZKJ.js +0 -356
- package/dist/notion-DQWZWP4N.js +0 -936
- package/dist/open_exchange_rates-QMMD735E.js +0 -214
- package/dist/openai-W6PX32NZ.js +0 -799
- package/dist/opengraph_io-HNDBXYNW.js +0 -361
- package/dist/openrouter-JJYMEAUL.js +0 -437
- package/dist/outline-MCBNQZYY.js +0 -595
- package/dist/paddle-D2SKLUDN.js +0 -453
- package/dist/perplexity-XIFMKUAE.js +0 -219
- package/dist/pinecone-HUFTALV2.js +0 -570
- package/dist/polar-TYTOMOSR.js +0 -394
- package/dist/posthog-43JAR3VW.js +0 -3463
- package/dist/postmark-KL2QJYSG.js +0 -426
- package/dist/readwise-CI4GIMMJ.js +0 -469
- package/dist/render-SUBJ6YRZ.js +0 -460
- package/dist/rootly-CD2LJHPI.js +0 -336
- package/dist/semantic_scholar-T4A252KW.js +0 -610
- package/dist/shopify-Y2HN2MCQ.js +0 -609
- package/dist/stripe-VE3CD3AY.js +0 -584
- package/dist/tavily-KCZHK6HE.js +0 -326
- package/dist/telegram-3URFBCMY.js +0 -1766
- package/dist/todoist-HNPWNYTD.js +0 -663
- package/dist/trello-3W2MIXRP.js +0 -1079
- package/dist/turso-2EQF7C2Z.js +0 -415
- package/dist/umami-5REN7TGP.js +0 -388
- package/dist/unsplash-EIXL424F.js +0 -350
- package/dist/uptimerobot-KNJ3EYLY.js +0 -482
- package/dist/v2ex-RHJ234PZ.js +0 -666
- package/dist/vercel-AS6NCIC7.js +0 -1075
- package/dist/wordpress-KNDAAUV7.js +0 -811
- package/dist/workos-R6UITSJ7.js +0 -663
- package/dist/zhihu-AGK4HILK.js +0 -253
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAuthedClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-TDAWLMDE.js";
|
|
4
|
+
import "./chunk-VWRUGUSU.js";
|
|
5
5
|
import {
|
|
6
6
|
asJsonObject,
|
|
7
7
|
compactDefined,
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
} from "./chunk-JXHMDBAY.js";
|
|
10
10
|
import {
|
|
11
11
|
createProviderPlugin
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-WJHG6OK7.js";
|
|
13
|
+
import "./chunk-2JNAI4OC.js";
|
|
14
|
+
import "./chunk-BADVCN6K.js";
|
|
14
15
|
import {
|
|
15
|
-
TBError
|
|
16
|
-
|
|
17
|
-
} from "./chunk-UZM2RXZH.js";
|
|
16
|
+
TBError
|
|
17
|
+
} from "./chunk-5ICRY3VU.js";
|
|
18
18
|
import "./chunk-U67V476Y.js";
|
|
19
19
|
|
|
20
20
|
// ../plugins/src/replicate/api.ts
|
|
@@ -152,154 +152,155 @@ async function cancelPrediction(input, ctx) {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
// ../plugins/src/replicate/schema.ts
|
|
155
|
-
|
|
156
|
-
var
|
|
157
|
-
|
|
155
|
+
import { z } from "zod/v4";
|
|
156
|
+
var getAccountInput = z.strictObject({}).describe("No input parameters are required.");
|
|
157
|
+
var getAccountOutput = z.looseObject({
|
|
158
|
+
account: z.looseObject({}).describe("A Replicate API object.")
|
|
158
159
|
}).describe("The authenticated Replicate account response.");
|
|
159
|
-
var listModelsInput =
|
|
160
|
-
sortBy:
|
|
161
|
-
sortDirection:
|
|
160
|
+
var listModelsInput = z.strictObject({
|
|
161
|
+
sortBy: z.enum(["model_created_at", "latest_version_created_at"]).describe("The field used to sort public Replicate models.").optional(),
|
|
162
|
+
sortDirection: z.enum(["asc", "desc"]).describe("The sort direction for Replicate model results.").optional()
|
|
162
163
|
}).describe("Input for listing public Replicate models.");
|
|
163
|
-
var listModelsOutput =
|
|
164
|
-
models:
|
|
165
|
-
next:
|
|
166
|
-
previous:
|
|
164
|
+
var listModelsOutput = z.looseObject({
|
|
165
|
+
models: z.array(z.looseObject({}).describe("A Replicate API object.")).describe("The Replicate models returned for this page."),
|
|
166
|
+
next: z.url().describe("A Replicate pagination URL.").nullable(),
|
|
167
|
+
previous: z.url().describe("A Replicate pagination URL.").nullable()
|
|
167
168
|
}).describe("A paginated list of Replicate models.");
|
|
168
|
-
var getModelInput =
|
|
169
|
-
owner:
|
|
170
|
-
model:
|
|
169
|
+
var getModelInput = z.strictObject({
|
|
170
|
+
owner: z.string().min(1).describe("The Replicate model owner username or organization slug.").optional(),
|
|
171
|
+
model: z.string().min(1).describe("The Replicate model name slug.").optional()
|
|
171
172
|
}).describe("Input for selecting a Replicate model.");
|
|
172
|
-
var getModelOutput =
|
|
173
|
-
model:
|
|
173
|
+
var getModelOutput = z.looseObject({
|
|
174
|
+
model: z.looseObject({}).describe("A Replicate API object.")
|
|
174
175
|
}).describe("A Replicate model response.");
|
|
175
|
-
var listModelVersionsInput =
|
|
176
|
-
owner:
|
|
177
|
-
model:
|
|
176
|
+
var listModelVersionsInput = z.strictObject({
|
|
177
|
+
owner: z.string().min(1).describe("The Replicate model owner username or organization slug.").optional(),
|
|
178
|
+
model: z.string().min(1).describe("The Replicate model name slug.").optional()
|
|
178
179
|
}).describe("Input for selecting a Replicate model.");
|
|
179
|
-
var listModelVersionsOutput =
|
|
180
|
-
versions:
|
|
181
|
-
next:
|
|
182
|
-
previous:
|
|
180
|
+
var listModelVersionsOutput = z.looseObject({
|
|
181
|
+
versions: z.array(z.looseObject({}).describe("A Replicate API object.")).describe("The model versions returned for this page."),
|
|
182
|
+
next: z.url().describe("A Replicate pagination URL.").nullable(),
|
|
183
|
+
previous: z.url().describe("A Replicate pagination URL.").nullable()
|
|
183
184
|
}).describe("A paginated list of Replicate model versions.");
|
|
184
|
-
var getModelVersionInput =
|
|
185
|
-
owner:
|
|
186
|
-
model:
|
|
187
|
-
versionId:
|
|
185
|
+
var getModelVersionInput = z.strictObject({
|
|
186
|
+
owner: z.string().min(1).describe("The Replicate model owner username or organization slug.").optional(),
|
|
187
|
+
model: z.string().min(1).describe("The Replicate model name slug.").optional(),
|
|
188
|
+
versionId: z.string().min(1).describe("The Replicate model version identifier.").optional()
|
|
188
189
|
}).describe("Input for selecting a Replicate model version.");
|
|
189
|
-
var getModelVersionOutput =
|
|
190
|
-
version:
|
|
190
|
+
var getModelVersionOutput = z.looseObject({
|
|
191
|
+
version: z.looseObject({}).describe("A Replicate API object.")
|
|
191
192
|
}).describe("A Replicate model version response.");
|
|
192
|
-
var listCollectionsInput =
|
|
193
|
-
var listCollectionsOutput =
|
|
194
|
-
collections:
|
|
195
|
-
next:
|
|
196
|
-
previous:
|
|
193
|
+
var listCollectionsInput = z.strictObject({}).describe("No input parameters are required.");
|
|
194
|
+
var listCollectionsOutput = z.looseObject({
|
|
195
|
+
collections: z.array(z.looseObject({}).describe("A Replicate API object.")).describe("The Replicate collections returned for this page."),
|
|
196
|
+
next: z.url().describe("A Replicate pagination URL.").nullable(),
|
|
197
|
+
previous: z.url().describe("A Replicate pagination URL.").nullable()
|
|
197
198
|
}).describe("A paginated list of Replicate collections.");
|
|
198
|
-
var getCollectionInput =
|
|
199
|
-
collectionSlug:
|
|
199
|
+
var getCollectionInput = z.strictObject({
|
|
200
|
+
collectionSlug: z.string().min(1).describe("The Replicate collection slug.").optional()
|
|
200
201
|
}).describe("Input for selecting a Replicate collection.");
|
|
201
|
-
var getCollectionOutput =
|
|
202
|
-
collection:
|
|
202
|
+
var getCollectionOutput = z.looseObject({
|
|
203
|
+
collection: z.looseObject({}).describe("A Replicate API object.")
|
|
203
204
|
}).describe("A Replicate collection response.");
|
|
204
|
-
var createPredictionInput =
|
|
205
|
-
version:
|
|
206
|
-
input:
|
|
207
|
-
waitSeconds:
|
|
208
|
-
cancelAfter:
|
|
209
|
-
webhook:
|
|
210
|
-
webhookEventsFilter:
|
|
205
|
+
var createPredictionInput = z.strictObject({
|
|
206
|
+
version: z.string().min(1).describe("The Replicate model identifier, model version identifier, or owner/model:version reference."),
|
|
207
|
+
input: z.looseObject({}).describe("A JSON-serializable model input object."),
|
|
208
|
+
waitSeconds: z.int().min(1).max(60).describe("Seconds to wait synchronously for prediction output.").optional(),
|
|
209
|
+
cancelAfter: z.string().min(1).describe("Maximum prediction runtime before Replicate cancels it, such as 30s, 5m, or 1h30m.").optional(),
|
|
210
|
+
webhook: z.url().describe("An HTTPS webhook URL for Replicate prediction events.").optional(),
|
|
211
|
+
webhookEventsFilter: z.array(z.enum(["start", "output", "logs", "completed"]).describe("One Replicate webhook event filter.")).min(1).describe("The Replicate prediction event types that should trigger the webhook.").optional()
|
|
211
212
|
}).describe("Input for creating a Replicate prediction from a model or model version.");
|
|
212
|
-
var createPredictionOutput =
|
|
213
|
-
prediction:
|
|
213
|
+
var createPredictionOutput = z.looseObject({
|
|
214
|
+
prediction: z.looseObject({}).describe("A Replicate API object.")
|
|
214
215
|
}).describe("A Replicate prediction response.");
|
|
215
|
-
var getPredictionInput =
|
|
216
|
-
predictionId:
|
|
216
|
+
var getPredictionInput = z.strictObject({
|
|
217
|
+
predictionId: z.string().min(1).describe("The Replicate prediction identifier.").optional()
|
|
217
218
|
}).describe("Input for selecting a Replicate prediction.");
|
|
218
|
-
var getPredictionOutput =
|
|
219
|
-
prediction:
|
|
219
|
+
var getPredictionOutput = z.looseObject({
|
|
220
|
+
prediction: z.looseObject({}).describe("A Replicate API object.")
|
|
220
221
|
}).describe("A Replicate prediction response.");
|
|
221
|
-
var listPredictionsInput =
|
|
222
|
-
createdAfter:
|
|
223
|
-
createdBefore:
|
|
224
|
-
source:
|
|
222
|
+
var listPredictionsInput = z.strictObject({
|
|
223
|
+
createdAfter: z.iso.datetime({ offset: true }).describe("Include predictions created at or after this ISO 8601 timestamp.").optional(),
|
|
224
|
+
createdBefore: z.iso.datetime({ offset: true }).describe("Include predictions created before this ISO 8601 timestamp.").optional(),
|
|
225
|
+
source: z.literal("web").describe("Filter predictions to those created from the Replicate website.").optional()
|
|
225
226
|
}).describe("Input for filtering Replicate predictions.");
|
|
226
|
-
var listPredictionsOutput =
|
|
227
|
-
predictions:
|
|
228
|
-
next:
|
|
229
|
-
previous:
|
|
227
|
+
var listPredictionsOutput = z.looseObject({
|
|
228
|
+
predictions: z.array(z.looseObject({}).describe("A Replicate API object.")).describe("The Replicate predictions returned for this page."),
|
|
229
|
+
next: z.url().describe("A Replicate pagination URL.").nullable(),
|
|
230
|
+
previous: z.url().describe("A Replicate pagination URL.").nullable()
|
|
230
231
|
}).describe("A paginated list of Replicate predictions.");
|
|
231
|
-
var cancelPredictionInput =
|
|
232
|
-
predictionId:
|
|
232
|
+
var cancelPredictionInput = z.strictObject({
|
|
233
|
+
predictionId: z.string().min(1).describe("The Replicate prediction identifier.").optional()
|
|
233
234
|
}).describe("Input for selecting a Replicate prediction.");
|
|
234
|
-
var cancelPredictionOutput =
|
|
235
|
-
prediction:
|
|
235
|
+
var cancelPredictionOutput = z.looseObject({
|
|
236
|
+
prediction: z.looseObject({}).describe("A Replicate API object.")
|
|
236
237
|
}).describe("A Replicate prediction response after cancellation.");
|
|
237
238
|
var replicateActions = {
|
|
238
239
|
get_account: {
|
|
239
240
|
description: "Retrieve the authenticated Replicate account for the connected API token.",
|
|
240
241
|
effect: "read",
|
|
241
242
|
inputSchema: getAccountInput,
|
|
242
|
-
outputSchema:
|
|
243
|
+
outputSchema: z.toJSONSchema(getAccountOutput, { io: "output", unrepresentable: "any" })
|
|
243
244
|
},
|
|
244
245
|
list_models: {
|
|
245
246
|
description: "List public Replicate models with optional official sorting parameters.",
|
|
246
247
|
effect: "read",
|
|
247
248
|
inputSchema: listModelsInput,
|
|
248
|
-
outputSchema:
|
|
249
|
+
outputSchema: z.toJSONSchema(listModelsOutput, { io: "output", unrepresentable: "any" })
|
|
249
250
|
},
|
|
250
251
|
get_model: {
|
|
251
252
|
description: "Retrieve one Replicate model by owner and model slug.",
|
|
252
253
|
effect: "read",
|
|
253
254
|
inputSchema: getModelInput,
|
|
254
|
-
outputSchema:
|
|
255
|
+
outputSchema: z.toJSONSchema(getModelOutput, { io: "output", unrepresentable: "any" })
|
|
255
256
|
},
|
|
256
257
|
list_model_versions: {
|
|
257
258
|
description: "List versions for one Replicate model.",
|
|
258
259
|
effect: "read",
|
|
259
260
|
inputSchema: listModelVersionsInput,
|
|
260
|
-
outputSchema:
|
|
261
|
+
outputSchema: z.toJSONSchema(listModelVersionsOutput, { io: "output", unrepresentable: "any" })
|
|
261
262
|
},
|
|
262
263
|
get_model_version: {
|
|
263
264
|
description: "Retrieve one Replicate model version by owner, model, and version ID.",
|
|
264
265
|
effect: "read",
|
|
265
266
|
inputSchema: getModelVersionInput,
|
|
266
|
-
outputSchema:
|
|
267
|
+
outputSchema: z.toJSONSchema(getModelVersionOutput, { io: "output", unrepresentable: "any" })
|
|
267
268
|
},
|
|
268
269
|
list_collections: {
|
|
269
270
|
description: "List public Replicate model collections.",
|
|
270
271
|
effect: "read",
|
|
271
272
|
inputSchema: listCollectionsInput,
|
|
272
|
-
outputSchema:
|
|
273
|
+
outputSchema: z.toJSONSchema(listCollectionsOutput, { io: "output", unrepresentable: "any" })
|
|
273
274
|
},
|
|
274
275
|
get_collection: {
|
|
275
276
|
description: "Retrieve one Replicate collection by slug.",
|
|
276
277
|
effect: "read",
|
|
277
278
|
inputSchema: getCollectionInput,
|
|
278
|
-
outputSchema:
|
|
279
|
+
outputSchema: z.toJSONSchema(getCollectionOutput, { io: "output", unrepresentable: "any" })
|
|
279
280
|
},
|
|
280
281
|
create_prediction: {
|
|
281
282
|
description: "Create a Replicate prediction using JSON model input and optional synchronous wait headers.",
|
|
282
283
|
effect: "write",
|
|
283
284
|
inputSchema: createPredictionInput,
|
|
284
|
-
outputSchema:
|
|
285
|
+
outputSchema: z.toJSONSchema(createPredictionOutput, { io: "output", unrepresentable: "any" })
|
|
285
286
|
},
|
|
286
287
|
get_prediction: {
|
|
287
288
|
description: "Retrieve the current state and output of a Replicate prediction.",
|
|
288
289
|
effect: "read",
|
|
289
290
|
inputSchema: getPredictionInput,
|
|
290
|
-
outputSchema:
|
|
291
|
+
outputSchema: z.toJSONSchema(getPredictionOutput, { io: "output", unrepresentable: "any" })
|
|
291
292
|
},
|
|
292
293
|
list_predictions: {
|
|
293
294
|
description: "List Replicate predictions for the authenticated account.",
|
|
294
295
|
effect: "read",
|
|
295
296
|
inputSchema: listPredictionsInput,
|
|
296
|
-
outputSchema:
|
|
297
|
+
outputSchema: z.toJSONSchema(listPredictionsOutput, { io: "output", unrepresentable: "any" })
|
|
297
298
|
},
|
|
298
299
|
cancel_prediction: {
|
|
299
300
|
description: "Cancel a running Replicate prediction by prediction ID.",
|
|
300
301
|
effect: "destructive",
|
|
301
302
|
inputSchema: cancelPredictionInput,
|
|
302
|
-
outputSchema:
|
|
303
|
+
outputSchema: z.toJSONSchema(cancelPredictionOutput, { io: "output", unrepresentable: "any" })
|
|
303
304
|
}
|
|
304
305
|
};
|
|
305
306
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAuthedClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-TDAWLMDE.js";
|
|
4
|
+
import "./chunk-VWRUGUSU.js";
|
|
5
5
|
import {
|
|
6
6
|
asJsonObject,
|
|
7
7
|
trimmedText
|
|
@@ -9,27 +9,31 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
createProviderPlugin,
|
|
11
11
|
upstreamError
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-WJHG6OK7.js";
|
|
13
|
+
import "./chunk-2JNAI4OC.js";
|
|
14
|
+
import "./chunk-BADVCN6K.js";
|
|
14
15
|
import {
|
|
15
|
-
TBError
|
|
16
|
-
|
|
17
|
-
} from "./chunk-UZM2RXZH.js";
|
|
16
|
+
TBError
|
|
17
|
+
} from "./chunk-5ICRY3VU.js";
|
|
18
18
|
import "./chunk-U67V476Y.js";
|
|
19
19
|
|
|
20
|
+
// ../plugins/src/resend/schema.ts
|
|
21
|
+
import { z as z2 } from "zod/v4";
|
|
22
|
+
|
|
20
23
|
// ../plugins/src/resend/schema.handwritten.ts
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
import { z } from "zod/v4";
|
|
25
|
+
var sendEmailInput = z.strictObject({
|
|
26
|
+
from: z.string().min(1).describe("The sender email address."),
|
|
27
|
+
to: z.string().min(1).describe("The recipient email address."),
|
|
28
|
+
subject: z.string().min(1).describe("The email subject line."),
|
|
29
|
+
html: z.string().describe("The HTML body of the email. Provide at least one of html or text.").optional(),
|
|
30
|
+
text: z.string().describe("The plain text body of the email. Provide at least one of html or text.").optional()
|
|
27
31
|
}).refine(
|
|
28
32
|
(input) => input.html !== void 0 || input.text !== void 0,
|
|
29
33
|
{ message: "at least one of html or text is required", path: ["html"] }
|
|
30
34
|
).describe("The input payload for sending a Resend email.");
|
|
31
|
-
var sendEmailOutput =
|
|
32
|
-
emailId:
|
|
35
|
+
var sendEmailOutput = z.strictObject({
|
|
36
|
+
emailId: z.string().describe("The unique identifier of the sent email.").optional()
|
|
33
37
|
}).describe("The output payload for this action.");
|
|
34
38
|
|
|
35
39
|
// ../plugins/src/resend/schema.ts
|
|
@@ -38,7 +42,7 @@ var resendActions = {
|
|
|
38
42
|
description: "Send an email with Resend.",
|
|
39
43
|
effect: "write",
|
|
40
44
|
inputSchema: sendEmailInput,
|
|
41
|
-
outputSchema:
|
|
45
|
+
outputSchema: z2.toJSONSchema(sendEmailOutput, { io: "output", unrepresentable: "any" })
|
|
42
46
|
}
|
|
43
47
|
};
|
|
44
48
|
|