@5ss/ai-tools 2.11.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/CHANGELOG.md +112 -0
- package/LICENSE +21 -0
- package/README.md +221 -0
- package/dist/ai-sdk/index.d.ts +15 -0
- package/dist/ai-sdk/index.d.ts.map +1 -0
- package/dist/ai-sdk/index.js +24 -0
- package/dist/ai-sdk/index.js.map +1 -0
- package/dist/artifact-D064mHfK.js +44 -0
- package/dist/artifact-D064mHfK.js.map +1 -0
- package/dist/artifacts-O8g-40Pw.js +404 -0
- package/dist/artifacts-O8g-40Pw.js.map +1 -0
- package/dist/aws-json-CecFqzqX.js +23 -0
- package/dist/aws-json-CecFqzqX.js.map +1 -0
- package/dist/aws-service-msttbPrz.js +58 -0
- package/dist/aws-service-msttbPrz.js.map +1 -0
- package/dist/batch-BMM5dXqL.d.ts +22 -0
- package/dist/batch-BMM5dXqL.d.ts.map +1 -0
- package/dist/batch-Co1ujeAW.js +67 -0
- package/dist/batch-Co1ujeAW.js.map +1 -0
- package/dist/bedrock-agentcore-browser-a_qOs-NR.js +182 -0
- package/dist/bedrock-agentcore-browser-a_qOs-NR.js.map +1 -0
- package/dist/bedrock-agentcore-code-interpreter-MWK-8RhA.js +357 -0
- package/dist/bedrock-agentcore-code-interpreter-MWK-8RhA.js.map +1 -0
- package/dist/bytes-BxpimpQx.js +45 -0
- package/dist/bytes-BxpimpQx.js.map +1 -0
- package/dist/client-CCKGsTeI.js +743 -0
- package/dist/client-CCKGsTeI.js.map +1 -0
- package/dist/cloudflare/index.d.ts +37 -0
- package/dist/cloudflare/index.d.ts.map +1 -0
- package/dist/cloudflare/index.js +41 -0
- package/dist/cloudflare/index.js.map +1 -0
- package/dist/cloudflare-browser-B6Yolpin.js +428 -0
- package/dist/cloudflare-browser-B6Yolpin.js.map +1 -0
- package/dist/cloudflare-email-Dy0KHeDf.js +197 -0
- package/dist/cloudflare-email-Dy0KHeDf.js.map +1 -0
- package/dist/cloudflare-sandbox-Dp_uNaqW.js +982 -0
- package/dist/cloudflare-sandbox-Dp_uNaqW.js.map +1 -0
- package/dist/content-type-CORxaxcv.js +49 -0
- package/dist/content-type-CORxaxcv.js.map +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.js +204 -0
- package/dist/core/index.js.map +1 -0
- package/dist/define-CvpJ_pNP.js +115 -0
- package/dist/define-CvpJ_pNP.js.map +1 -0
- package/dist/errors-DoSpNHvs.js +20 -0
- package/dist/errors-DoSpNHvs.js.map +1 -0
- package/dist/errors-aKhko9T1.d.ts +18 -0
- package/dist/errors-aKhko9T1.d.ts.map +1 -0
- package/dist/eventbridge-scheduler-Bh6GqZY2.js +349 -0
- package/dist/eventbridge-scheduler-Bh6GqZY2.js.map +1 -0
- package/dist/framework-context-DVIIY8ZO.js +24 -0
- package/dist/framework-context-DVIIY8ZO.js.map +1 -0
- package/dist/gotenberg-NuJjxyln.js +291 -0
- package/dist/gotenberg-NuJjxyln.js.map +1 -0
- package/dist/http/index.d.ts +47 -0
- package/dist/http/index.d.ts.map +1 -0
- package/dist/http/index.js +3 -0
- package/dist/http-service-DDNCO1s4.js +254 -0
- package/dist/http-service-DDNCO1s4.js.map +1 -0
- package/dist/http-service-T7E5UjP8.d.ts +80 -0
- package/dist/http-service-T7E5UjP8.d.ts.map +1 -0
- package/dist/imessage-BSAFOI8Z.js +154 -0
- package/dist/imessage-BSAFOI8Z.js.map +1 -0
- package/dist/index-BU4gmYO8.d.ts +254 -0
- package/dist/index-BU4gmYO8.d.ts.map +1 -0
- package/dist/index-CCivzmxO.d.ts +188 -0
- package/dist/index-CCivzmxO.d.ts.map +1 -0
- package/dist/index-CLmTrcu5.d.ts +22 -0
- package/dist/index-CLmTrcu5.d.ts.map +1 -0
- package/dist/index-CZX5OeOF.d.ts +235 -0
- package/dist/index-CZX5OeOF.d.ts.map +1 -0
- package/dist/index-CdFmEfZO.d.ts +359 -0
- package/dist/index-CdFmEfZO.d.ts.map +1 -0
- package/dist/index-Cuh6eMWc.d.ts +285 -0
- package/dist/index-Cuh6eMWc.d.ts.map +1 -0
- package/dist/index-DuOGj7vc.d.ts +107 -0
- package/dist/index-DuOGj7vc.d.ts.map +1 -0
- package/dist/index-ccZ1XOHw.d.ts +69 -0
- package/dist/index-ccZ1XOHw.d.ts.map +1 -0
- package/dist/index-n8JTpNf1.d.ts +247 -0
- package/dist/index-n8JTpNf1.d.ts.map +1 -0
- package/dist/index-pwW1OsOx.d.ts +134 -0
- package/dist/index-pwW1OsOx.d.ts.map +1 -0
- package/dist/index-zK1ZwS4m.d.ts +347 -0
- package/dist/index-zK1ZwS4m.d.ts.map +1 -0
- package/dist/limits-hjrO8zUG.js +80 -0
- package/dist/limits-hjrO8zUG.js.map +1 -0
- package/dist/mastra/index.d.ts +14 -0
- package/dist/mastra/index.d.ts.map +1 -0
- package/dist/mastra/index.js +26 -0
- package/dist/mastra/index.js.map +1 -0
- package/dist/mastra-vector-Dhc6XZ8l.js +234 -0
- package/dist/mastra-vector-Dhc6XZ8l.js.map +1 -0
- package/dist/mcp/index.d.ts +80 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +97 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/modules/artifacts/index.d.ts +337 -0
- package/dist/modules/artifacts/index.d.ts.map +1 -0
- package/dist/modules/artifacts/index.js +348 -0
- package/dist/modules/artifacts/index.js.map +1 -0
- package/dist/modules/browser/index.d.ts +516 -0
- package/dist/modules/browser/index.d.ts.map +1 -0
- package/dist/modules/browser/index.js +475 -0
- package/dist/modules/browser/index.js.map +1 -0
- package/dist/modules/calendar/index.d.ts +93 -0
- package/dist/modules/calendar/index.d.ts.map +1 -0
- package/dist/modules/calendar/index.js +131 -0
- package/dist/modules/calendar/index.js.map +1 -0
- package/dist/modules/code-sandbox/index.d.ts +317 -0
- package/dist/modules/code-sandbox/index.d.ts.map +1 -0
- package/dist/modules/code-sandbox/index.js +537 -0
- package/dist/modules/code-sandbox/index.js.map +1 -0
- package/dist/modules/content-type/index.d.ts +22 -0
- package/dist/modules/content-type/index.d.ts.map +1 -0
- package/dist/modules/content-type/index.js +66 -0
- package/dist/modules/content-type/index.js.map +1 -0
- package/dist/modules/crypto/index.d.ts +115 -0
- package/dist/modules/crypto/index.d.ts.map +1 -0
- package/dist/modules/crypto/index.js +139 -0
- package/dist/modules/crypto/index.js.map +1 -0
- package/dist/modules/document/index.d.ts +575 -0
- package/dist/modules/document/index.d.ts.map +1 -0
- package/dist/modules/document/index.js +444 -0
- package/dist/modules/document/index.js.map +1 -0
- package/dist/modules/document-extract/index.d.ts +438 -0
- package/dist/modules/document-extract/index.d.ts.map +1 -0
- package/dist/modules/document-extract/index.js +127 -0
- package/dist/modules/document-extract/index.js.map +1 -0
- package/dist/modules/document-render/index.d.ts +336 -0
- package/dist/modules/document-render/index.d.ts.map +1 -0
- package/dist/modules/document-render/index.js +155 -0
- package/dist/modules/document-render/index.js.map +1 -0
- package/dist/modules/email/index.d.ts +311 -0
- package/dist/modules/email/index.d.ts.map +1 -0
- package/dist/modules/email/index.js +167 -0
- package/dist/modules/email/index.js.map +1 -0
- package/dist/modules/email-message/index.d.ts +95 -0
- package/dist/modules/email-message/index.d.ts.map +1 -0
- package/dist/modules/email-message/index.js +264 -0
- package/dist/modules/email-message/index.js.map +1 -0
- package/dist/modules/file-convert/index.d.ts +273 -0
- package/dist/modules/file-convert/index.d.ts.map +1 -0
- package/dist/modules/file-convert/index.js +103 -0
- package/dist/modules/file-convert/index.js.map +1 -0
- package/dist/modules/files/index.d.ts +452 -0
- package/dist/modules/files/index.d.ts.map +1 -0
- package/dist/modules/files/index.js +733 -0
- package/dist/modules/files/index.js.map +1 -0
- package/dist/modules/image/index.d.ts +342 -0
- package/dist/modules/image/index.d.ts.map +1 -0
- package/dist/modules/image/index.js +281 -0
- package/dist/modules/image/index.js.map +1 -0
- package/dist/modules/messaging/index.d.ts +608 -0
- package/dist/modules/messaging/index.d.ts.map +1 -0
- package/dist/modules/messaging/index.js +1067 -0
- package/dist/modules/messaging/index.js.map +1 -0
- package/dist/modules/pdf/index.d.ts +287 -0
- package/dist/modules/pdf/index.d.ts.map +1 -0
- package/dist/modules/pdf/index.js +259 -0
- package/dist/modules/pdf/index.js.map +1 -0
- package/dist/modules/presentation/index.d.ts +247 -0
- package/dist/modules/presentation/index.d.ts.map +1 -0
- package/dist/modules/presentation/index.js +12657 -0
- package/dist/modules/presentation/index.js.map +1 -0
- package/dist/modules/queue/index.d.ts +129 -0
- package/dist/modules/queue/index.d.ts.map +1 -0
- package/dist/modules/queue/index.js +131 -0
- package/dist/modules/queue/index.js.map +1 -0
- package/dist/modules/rag/index.d.ts +250 -0
- package/dist/modules/rag/index.d.ts.map +1 -0
- package/dist/modules/rag/index.js +366 -0
- package/dist/modules/rag/index.js.map +1 -0
- package/dist/modules/scheduler/index.d.ts +216 -0
- package/dist/modules/scheduler/index.d.ts.map +1 -0
- package/dist/modules/scheduler/index.js +153 -0
- package/dist/modules/scheduler/index.js.map +1 -0
- package/dist/modules/skills/index.d.ts +205 -0
- package/dist/modules/skills/index.d.ts.map +1 -0
- package/dist/modules/skills/index.js +203 -0
- package/dist/modules/skills/index.js.map +1 -0
- package/dist/modules/tasks/index.d.ts +287 -0
- package/dist/modules/tasks/index.d.ts.map +1 -0
- package/dist/modules/tasks/index.js +207 -0
- package/dist/modules/tasks/index.js.map +1 -0
- package/dist/modules/vector-store/index.d.ts +3 -0
- package/dist/modules/vector-store/index.js +3 -0
- package/dist/modules/web-fetch/index.d.ts +99 -0
- package/dist/modules/web-fetch/index.d.ts.map +1 -0
- package/dist/modules/web-fetch/index.js +242 -0
- package/dist/modules/web-fetch/index.js.map +1 -0
- package/dist/object-artifact-store-CMTzCm_G.d.ts +7 -0
- package/dist/object-artifact-store-CMTzCm_G.d.ts.map +1 -0
- package/dist/object-artifact-store-wZ2j9cto.js +28 -0
- package/dist/object-artifact-store-wZ2j9cto.js.map +1 -0
- package/dist/pinecone-umY4t6OF.js +190 -0
- package/dist/pinecone-umY4t6OF.js.map +1 -0
- package/dist/provider-CgDAlg6K.js +34 -0
- package/dist/provider-CgDAlg6K.js.map +1 -0
- package/dist/qdrant-DMp4NhKR.js +253 -0
- package/dist/qdrant-DMp4NhKR.js.map +1 -0
- package/dist/resend-BAC38_dA.js +155 -0
- package/dist/resend-BAC38_dA.js.map +1 -0
- package/dist/s3-CsOaPWMP.js +955 -0
- package/dist/s3-CsOaPWMP.js.map +1 -0
- package/dist/schemas-ChOAhdo9.js +192 -0
- package/dist/schemas-ChOAhdo9.js.map +1 -0
- package/dist/slack-Di5BBNpt.js +1455 -0
- package/dist/slack-Di5BBNpt.js.map +1 -0
- package/dist/sqs-DCwS1i2N.js +225 -0
- package/dist/sqs-DCwS1i2N.js.map +1 -0
- package/dist/supabase-vector-Dpp9mmJR.js +218 -0
- package/dist/supabase-vector-Dpp9mmJR.js.map +1 -0
- package/dist/tanstack/index.d.ts +15 -0
- package/dist/tanstack/index.d.ts.map +1 -0
- package/dist/tanstack/index.js +28 -0
- package/dist/tanstack/index.js.map +1 -0
- package/dist/teams-DYAHNb39.js +835 -0
- package/dist/teams-DYAHNb39.js.map +1 -0
- package/dist/telegram-DDXWzkfL.js +734 -0
- package/dist/telegram-DDXWzkfL.js.map +1 -0
- package/dist/textract-CPLiB22H.js +554 -0
- package/dist/textract-CPLiB22H.js.map +1 -0
- package/dist/transport-B4vn-XiQ.js +157 -0
- package/dist/transport-B4vn-XiQ.js.map +1 -0
- package/dist/transport-i96ACAI_.d.ts +46 -0
- package/dist/transport-i96ACAI_.d.ts.map +1 -0
- package/dist/types-Ccb0DXY9.d.ts +150 -0
- package/dist/types-Ccb0DXY9.d.ts.map +1 -0
- package/dist/unique-EwBH1JPB.js +19 -0
- package/dist/unique-EwBH1JPB.js.map +1 -0
- package/dist/vector-store-C3nEO80e.js +193 -0
- package/dist/vector-store-C3nEO80e.js.map +1 -0
- package/dist/vendors/amazon-sp-api/index.d.ts +526 -0
- package/dist/vendors/amazon-sp-api/index.d.ts.map +1 -0
- package/dist/vendors/amazon-sp-api/index.js +975 -0
- package/dist/vendors/amazon-sp-api/index.js.map +1 -0
- package/dist/vendors/bedrock-agentcore-browser/index.d.ts +2 -0
- package/dist/vendors/bedrock-agentcore-browser/index.js +2 -0
- package/dist/vendors/bedrock-agentcore-code-interpreter/index.d.ts +228 -0
- package/dist/vendors/bedrock-agentcore-code-interpreter/index.d.ts.map +1 -0
- package/dist/vendors/bedrock-agentcore-code-interpreter/index.js +2 -0
- package/dist/vendors/cloudflare-browser/index.d.ts +2 -0
- package/dist/vendors/cloudflare-browser/index.js +2 -0
- package/dist/vendors/cloudflare-email/index.d.ts +260 -0
- package/dist/vendors/cloudflare-email/index.d.ts.map +1 -0
- package/dist/vendors/cloudflare-email/index.js +3 -0
- package/dist/vendors/cloudflare-sandbox/index.d.ts +565 -0
- package/dist/vendors/cloudflare-sandbox/index.d.ts.map +1 -0
- package/dist/vendors/cloudflare-sandbox/index.js +2 -0
- package/dist/vendors/eventbridge-scheduler/index.d.ts +2 -0
- package/dist/vendors/eventbridge-scheduler/index.js +2 -0
- package/dist/vendors/gotenberg/index.d.ts +306 -0
- package/dist/vendors/gotenberg/index.d.ts.map +1 -0
- package/dist/vendors/gotenberg/index.js +2 -0
- package/dist/vendors/imessage/index.d.ts +420 -0
- package/dist/vendors/imessage/index.d.ts.map +1 -0
- package/dist/vendors/imessage/index.js +4 -0
- package/dist/vendors/katana/index.d.ts +1570 -0
- package/dist/vendors/katana/index.d.ts.map +1 -0
- package/dist/vendors/katana/index.js +1639 -0
- package/dist/vendors/katana/index.js.map +1 -0
- package/dist/vendors/mastra-vector/index.d.ts +120 -0
- package/dist/vendors/mastra-vector/index.d.ts.map +1 -0
- package/dist/vendors/mastra-vector/index.js +3 -0
- package/dist/vendors/pinecone/index.d.ts +75 -0
- package/dist/vendors/pinecone/index.d.ts.map +1 -0
- package/dist/vendors/pinecone/index.js +3 -0
- package/dist/vendors/qdrant/index.d.ts +75 -0
- package/dist/vendors/qdrant/index.d.ts.map +1 -0
- package/dist/vendors/qdrant/index.js +3 -0
- package/dist/vendors/resend/index.d.ts +3 -0
- package/dist/vendors/resend/index.js +3 -0
- package/dist/vendors/s3/index.d.ts +2 -0
- package/dist/vendors/s3/index.js +2 -0
- package/dist/vendors/slack/index.d.ts +576 -0
- package/dist/vendors/slack/index.d.ts.map +1 -0
- package/dist/vendors/slack/index.js +3 -0
- package/dist/vendors/sqs/index.d.ts +2 -0
- package/dist/vendors/sqs/index.js +2 -0
- package/dist/vendors/supabase-vector/index.d.ts +89 -0
- package/dist/vendors/supabase-vector/index.d.ts.map +1 -0
- package/dist/vendors/supabase-vector/index.js +3 -0
- package/dist/vendors/teams/index.d.ts +303 -0
- package/dist/vendors/teams/index.d.ts.map +1 -0
- package/dist/vendors/teams/index.js +3 -0
- package/dist/vendors/telegram/index.d.ts +319 -0
- package/dist/vendors/telegram/index.d.ts.map +1 -0
- package/dist/vendors/telegram/index.js +3 -0
- package/dist/vendors/textract/index.d.ts +2 -0
- package/dist/vendors/textract/index.js +2 -0
- package/dist/vendors/woocommerce/index.d.ts +1700 -0
- package/dist/vendors/woocommerce/index.d.ts.map +1 -0
- package/dist/vendors/woocommerce/index.js +1427 -0
- package/dist/vendors/woocommerce/index.js.map +1 -0
- package/dist/with-auth-CpKqTrGK.js +240 -0
- package/dist/with-auth-CpKqTrGK.js.map +1 -0
- package/logos/LUCIDE-ATTRIBUTION.txt +4 -0
- package/logos/README.md +89 -0
- package/logos/amazon.svg +6 -0
- package/logos/artifacts.svg +9 -0
- package/logos/browser.svg +9 -0
- package/logos/calendar.svg +15 -0
- package/logos/cloudflare-browser.svg +5 -0
- package/logos/cloudflare-email.svg +5 -0
- package/logos/cloudflare.svg +4 -0
- package/logos/code-sandbox.svg +8 -0
- package/logos/content-type.svg +10 -0
- package/logos/crypto.svg +7 -0
- package/logos/document-extract.svg +12 -0
- package/logos/document-render.svg +8 -0
- package/logos/document.svg +10 -0
- package/logos/email-message.svg +8 -0
- package/logos/email.svg +7 -0
- package/logos/file-convert.svg +9 -0
- package/logos/files.svg +6 -0
- package/logos/gotenberg.svg +340 -0
- package/logos/image.svg +8 -0
- package/logos/imessage.svg +7 -0
- package/logos/katana.svg +13 -0
- package/logos/mastra.svg +7 -0
- package/logos/messaging.svg +7 -0
- package/logos/pack-logos.json +48 -0
- package/logos/pdf.svg +10 -0
- package/logos/pinecone.svg +25 -0
- package/logos/presentation.svg +8 -0
- package/logos/qdrant.svg +4 -0
- package/logos/queue.svg +11 -0
- package/logos/rag.svg +18 -0
- package/logos/resend.svg +5 -0
- package/logos/scheduler.svg +7 -0
- package/logos/skills.svg +10 -0
- package/logos/slack.svg +14 -0
- package/logos/supabase.svg +4 -0
- package/logos/tasks.svg +10 -0
- package/logos/teams.svg +6 -0
- package/logos/telegram.svg +10 -0
- package/logos/textract.svg +5 -0
- package/logos/vector-store.svg +8 -0
- package/logos/web-fetch.svg +8 -0
- package/logos/woocommerce.svg +4 -0
- package/package.json +373 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { a as ModuleDefinition, o as ToolContext, s as ToolDefinition } from "./types-Ccb0DXY9.js";
|
|
2
|
+
import "./index-CZX5OeOF.js";
|
|
3
|
+
import { s as HttpServiceOptions } from "./http-service-T7E5UjP8.js";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
//#region src/vendors/bedrock-agentcore-browser/contracts.d.ts
|
|
6
|
+
declare const DEFAULT_BROWSER_ID = "aws.browser.v1";
|
|
7
|
+
declare const bedrockAgentCoreBrowserAuthSchema: z.ZodObject<{
|
|
8
|
+
access_key_id: z.ZodString;
|
|
9
|
+
secret_access_key: z.ZodString;
|
|
10
|
+
region: z.ZodString;
|
|
11
|
+
session_token: z.ZodOptional<z.ZodString>;
|
|
12
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
type BedrockAgentCoreBrowserAuth = z.infer<typeof bedrockAgentCoreBrowserAuthSchema>;
|
|
15
|
+
declare const browserStartSessionInputSchema: z.ZodObject<{
|
|
16
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17
|
+
session_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
18
|
+
viewport_width: z.ZodOptional<z.ZodInt>;
|
|
19
|
+
viewport_height: z.ZodOptional<z.ZodInt>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const browserSessionIdInputSchema: z.ZodObject<{
|
|
22
|
+
session_id: z.ZodString;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const browserStreamSchema: z.ZodObject<{
|
|
25
|
+
automation_stream_endpoint: z.ZodOptional<z.ZodString>;
|
|
26
|
+
automation_stream_status: z.ZodOptional<z.ZodString>;
|
|
27
|
+
live_view_stream_endpoint: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
declare const browserSessionOutputSchema: z.ZodObject<{
|
|
30
|
+
session_id: z.ZodString;
|
|
31
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
32
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
33
|
+
status: z.ZodOptional<z.ZodString>;
|
|
34
|
+
streams: z.ZodOptional<z.ZodObject<{
|
|
35
|
+
automation_stream_endpoint: z.ZodOptional<z.ZodString>;
|
|
36
|
+
automation_stream_status: z.ZodOptional<z.ZodString>;
|
|
37
|
+
live_view_stream_endpoint: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
type BrowserStartSessionInput = z.infer<typeof browserStartSessionInputSchema>;
|
|
41
|
+
type BrowserSessionIdInput = z.infer<typeof browserSessionIdInputSchema>;
|
|
42
|
+
type BrowserSessionOutput = z.infer<typeof browserSessionOutputSchema>;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/vendors/bedrock-agentcore-browser/client.d.ts
|
|
45
|
+
type BedrockAgentCoreBrowserClientOptions = Pick<HttpServiceOptions, 'fetch' | 'signal'>;
|
|
46
|
+
declare class BedrockAgentCoreBrowserClient {
|
|
47
|
+
#private;
|
|
48
|
+
constructor(auth: BedrockAgentCoreBrowserAuth, options?: BedrockAgentCoreBrowserClientOptions);
|
|
49
|
+
static fromContext(ctx: ToolContext): BedrockAgentCoreBrowserClient;
|
|
50
|
+
startSession(input?: BrowserStartSessionInput): Promise<BrowserSessionOutput>;
|
|
51
|
+
stopSession(input: BrowserSessionIdInput): Promise<BrowserSessionOutput>;
|
|
52
|
+
getSession(input: BrowserSessionIdInput): Promise<BrowserSessionOutput>;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/vendors/bedrock-agentcore-browser/module.d.ts
|
|
56
|
+
declare const bedrockAgentCoreBrowserStartSessionTool: ToolDefinition<{
|
|
57
|
+
name?: string | undefined;
|
|
58
|
+
session_timeout_seconds?: number | undefined;
|
|
59
|
+
viewport_width?: number | undefined;
|
|
60
|
+
viewport_height?: number | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
session_id: string;
|
|
63
|
+
browser_id?: string | undefined;
|
|
64
|
+
created_at?: string | undefined;
|
|
65
|
+
status?: string | undefined;
|
|
66
|
+
streams?: {
|
|
67
|
+
automation_stream_endpoint?: string | undefined;
|
|
68
|
+
automation_stream_status?: string | undefined;
|
|
69
|
+
live_view_stream_endpoint?: string | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
declare const bedrockAgentCoreBrowserStopSessionTool: ToolDefinition<{
|
|
73
|
+
session_id: string;
|
|
74
|
+
}, {
|
|
75
|
+
session_id: string;
|
|
76
|
+
browser_id?: string | undefined;
|
|
77
|
+
created_at?: string | undefined;
|
|
78
|
+
status?: string | undefined;
|
|
79
|
+
streams?: {
|
|
80
|
+
automation_stream_endpoint?: string | undefined;
|
|
81
|
+
automation_stream_status?: string | undefined;
|
|
82
|
+
live_view_stream_endpoint?: string | undefined;
|
|
83
|
+
} | undefined;
|
|
84
|
+
}>;
|
|
85
|
+
declare const bedrockAgentCoreBrowserGetSessionTool: ToolDefinition<{
|
|
86
|
+
session_id: string;
|
|
87
|
+
}, {
|
|
88
|
+
session_id: string;
|
|
89
|
+
browser_id?: string | undefined;
|
|
90
|
+
created_at?: string | undefined;
|
|
91
|
+
status?: string | undefined;
|
|
92
|
+
streams?: {
|
|
93
|
+
automation_stream_endpoint?: string | undefined;
|
|
94
|
+
automation_stream_status?: string | undefined;
|
|
95
|
+
live_view_stream_endpoint?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
}>;
|
|
98
|
+
declare const bedrockAgentCoreBrowserModule: ModuleDefinition<{
|
|
99
|
+
access_key_id: string;
|
|
100
|
+
secret_access_key: string;
|
|
101
|
+
region: string;
|
|
102
|
+
session_token?: string | undefined;
|
|
103
|
+
browser_id?: string | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
//#endregion
|
|
106
|
+
export { BedrockAgentCoreBrowserClient as a, BrowserSessionIdInput as c, DEFAULT_BROWSER_ID as d, bedrockAgentCoreBrowserAuthSchema as f, browserStreamSchema as g, browserStartSessionInputSchema as h, bedrockAgentCoreBrowserStopSessionTool as i, BrowserSessionOutput as l, browserSessionOutputSchema as m, bedrockAgentCoreBrowserModule as n, BedrockAgentCoreBrowserClientOptions as o, browserSessionIdInputSchema as p, bedrockAgentCoreBrowserStartSessionTool as r, BedrockAgentCoreBrowserAuth as s, bedrockAgentCoreBrowserGetSessionTool as t, BrowserStartSessionInput as u };
|
|
107
|
+
//# sourceMappingURL=index-DuOGj7vc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DuOGj7vc.d.ts","names":[],"sources":["../src/vendors/bedrock-agentcore-browser/contracts.ts","../src/vendors/bedrock-agentcore-browser/client.ts","../src/vendors/bedrock-agentcore-browser/module.ts"],"mappings":";;;;;cAOa;cAEA,mCAAiC,EAAA;;;;;;GAM5C,EAAA,KAAA;KAEU,8BAA8B,EAAE,aAAa;cAI5C,gCAA8B,EAAA;;;;;GAKzC,EAAA,KAAA;cAEW,6BAA2B,EAAA;;GAEtC,EAAA,KAAA;cAEW,qBAAmB,EAAA;;;;GAI9B,EAAA,KAAA;cAEW,4BAA0B,EAAA;;;;;;;;;;GAMrC,EAAA,KAAA;KAEU,2BAA2B,EAAE,aAAa;KAC1C,wBAAwB,EAAE,aAAa;KACvC,uBAAuB,EAAE,aAAa;;;KC5BtC,uCAAuC,KAAK;cAE3C;;EAKZ,YAAY,MAAM,6BAA6B,UAAS;SAwBjD,YAAY,KAAK,cAAc;EAYhC,aAAa,QAAO,2BAAgC,QAAQ;EAc5D,YAAY,OAAO,wBAAwB,QAAQ;EAQnD,WAAW,OAAO,wBAAwB,QAAQ;;;;cC1E5C,yCAAA;;;;;;;;;;;;;;;;cAYA,wCAAA;;;;;;;;;;;;;cAWA,uCAAA;;;;;;;;;;;;;cAWA,+BAAA"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/vendors/_vector/schemas.d.ts
|
|
3
|
+
declare const MAX_VECTOR_BATCH = 100;
|
|
4
|
+
declare const MAX_TOP_K = 100;
|
|
5
|
+
declare const MAX_VECTOR_DIMENSIONS = 4096;
|
|
6
|
+
declare const vectorMetadataSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
7
|
+
declare const vectorPointSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
10
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const vectorMatchSchema: z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
score: z.ZodNumber;
|
|
15
|
+
values: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const upsertVectorsInputSchema: z.ZodObject<{
|
|
19
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
20
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
21
|
+
vectors: z.ZodArray<z.ZodObject<{
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
24
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const upsertVectorsOutputSchema: z.ZodObject<{
|
|
28
|
+
upserted: z.ZodNumber;
|
|
29
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const queryVectorsInputSchema: z.ZodObject<{
|
|
32
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
33
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
34
|
+
vector: z.ZodArray<z.ZodNumber>;
|
|
35
|
+
top_k: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
include_values: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
include_metadata: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
declare const queryVectorsOutputSchema: z.ZodObject<{
|
|
41
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
score: z.ZodNumber;
|
|
44
|
+
values: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
45
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const deleteVectorsInputSchema: z.ZodObject<{
|
|
50
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
51
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
52
|
+
ids: z.ZodArray<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
declare const deleteVectorsOutputSchema: z.ZodObject<{
|
|
55
|
+
deleted: z.ZodNumber;
|
|
56
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
type VectorMetadata = z.infer<typeof vectorMetadataSchema>;
|
|
59
|
+
type VectorPoint = z.infer<typeof vectorPointSchema>;
|
|
60
|
+
type VectorMatch = z.infer<typeof vectorMatchSchema>;
|
|
61
|
+
type UpsertVectorsInput = z.infer<typeof upsertVectorsInputSchema>;
|
|
62
|
+
type UpsertVectorsOutput = z.infer<typeof upsertVectorsOutputSchema>;
|
|
63
|
+
type QueryVectorsInput = z.infer<typeof queryVectorsInputSchema>;
|
|
64
|
+
type QueryVectorsOutput = z.infer<typeof queryVectorsOutputSchema>;
|
|
65
|
+
type DeleteVectorsInput = z.infer<typeof deleteVectorsInputSchema>;
|
|
66
|
+
type DeleteVectorsOutput = z.infer<typeof deleteVectorsOutputSchema>;
|
|
67
|
+
//#endregion
|
|
68
|
+
export { upsertVectorsInputSchema as _, MAX_VECTOR_DIMENSIONS as a, vectorMetadataSchema as b, UpsertVectorsInput as c, VectorMetadata as d, VectorPoint as f, queryVectorsOutputSchema as g, queryVectorsInputSchema as h, MAX_VECTOR_BATCH as i, UpsertVectorsOutput as l, deleteVectorsOutputSchema as m, DeleteVectorsOutput as n, QueryVectorsInput as o, deleteVectorsInputSchema as p, MAX_TOP_K as r, QueryVectorsOutput as s, DeleteVectorsInput as t, VectorMatch as u, upsertVectorsOutputSchema as v, vectorPointSchema as x, vectorMatchSchema as y };
|
|
69
|
+
//# sourceMappingURL=index-ccZ1XOHw.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-ccZ1XOHw.d.ts","names":[],"sources":["../src/vendors/_vector/schemas.ts"],"mappings":";;cAOa;cACA;cACA;cAGA,sBAAoB,EAAA,UAAA,EAAA,WAAA,EAAA,mBAAA,EAAA,WAAA,EAAA,WAAA,EAAA,YAAA,EAAA;cAIpB,mBAAiB,EAAA;;;;GAI5B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;GAK5B,EAAA,KAAA;cAEW,0BAAwB,EAAA;;;;;;;;GAQnC,EAAA,KAAA;cAEW,2BAAyB,EAAA;;;GAGpC,EAAA,KAAA;cAEW,yBAAuB,EAAA;;;;;;;;GAuBlC,EAAA,KAAA;cAEW,0BAAwB,EAAA;;;;;;;;GAGnC,EAAA,KAAA;cAEW,0BAAwB,EAAA;;;;GAInC,EAAA,KAAA;cAEW,2BAAyB,EAAA;;;GAGpC,EAAA,KAAA;KASU,iBAAiB,EAAE,aAAa;KAEhC,cAAc,EAAE,aAAa;KAC7B,cAAc,EAAE,aAAa;KAE7B,qBAAqB,EAAE,aAAa;KACpC,sBAAsB,EAAE,aAAa;KACrC,oBAAoB,EAAE,aAAa;KACnC,qBAAqB,EAAE,aAAa;KACpC,qBAAqB,EAAE,aAAa;KACpC,sBAAsB,EAAE,aAAa"}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { a as ModuleDefinition, o as ToolContext, s as ToolDefinition } from "./types-Ccb0DXY9.js";
|
|
2
|
+
import "./index-CZX5OeOF.js";
|
|
3
|
+
import { s as HttpServiceOptions } from "./http-service-T7E5UjP8.js";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
//#region src/vendors/eventbridge-scheduler/contracts.d.ts
|
|
6
|
+
declare const MAX_SCHEDULE_NAME = 64;
|
|
7
|
+
declare const MAX_TASK_REF = 512;
|
|
8
|
+
declare const MAX_PAYLOAD_JSON = 8000;
|
|
9
|
+
declare const MAX_LIST = 100;
|
|
10
|
+
declare const eventBridgeSchedulerAuthSchema: z.ZodObject<{
|
|
11
|
+
access_key_id: z.ZodString;
|
|
12
|
+
secret_access_key: z.ZodString;
|
|
13
|
+
region: z.ZodString;
|
|
14
|
+
session_token: z.ZodOptional<z.ZodString>;
|
|
15
|
+
target_arn: z.ZodString;
|
|
16
|
+
role_arn: z.ZodString;
|
|
17
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
18
|
+
flexible_window_minutes: z.ZodOptional<z.ZodInt>;
|
|
19
|
+
dead_letter_arn: z.ZodOptional<z.ZodString>;
|
|
20
|
+
max_retry_attempts: z.ZodOptional<z.ZodInt>;
|
|
21
|
+
max_event_age_seconds: z.ZodOptional<z.ZodInt>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
type EventBridgeSchedulerAuth = z.infer<typeof eventBridgeSchedulerAuthSchema>;
|
|
24
|
+
declare const scheduleStateSchema: z.ZodEnum<{
|
|
25
|
+
DISABLED: "DISABLED";
|
|
26
|
+
ENABLED: "ENABLED";
|
|
27
|
+
}>;
|
|
28
|
+
type ScheduleState = z.infer<typeof scheduleStateSchema>;
|
|
29
|
+
declare const scheduleCreateInputSchema: z.ZodObject<{
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
schedule_expression: z.ZodString;
|
|
32
|
+
task_ref: z.ZodString;
|
|
33
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
34
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
35
|
+
description: z.ZodOptional<z.ZodString>;
|
|
36
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
DISABLED: "DISABLED";
|
|
38
|
+
ENABLED: "ENABLED";
|
|
39
|
+
}>>;
|
|
40
|
+
start_at: z.ZodOptional<z.ZodString>;
|
|
41
|
+
end_at: z.ZodOptional<z.ZodString>;
|
|
42
|
+
action_after_completion: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
DELETE: "DELETE";
|
|
44
|
+
NONE: "NONE";
|
|
45
|
+
}>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
declare const scheduleUpdateInputSchema: z.ZodObject<{
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
schedule_expression: z.ZodString;
|
|
50
|
+
task_ref: z.ZodString;
|
|
51
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
52
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
53
|
+
description: z.ZodOptional<z.ZodString>;
|
|
54
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
DISABLED: "DISABLED";
|
|
56
|
+
ENABLED: "ENABLED";
|
|
57
|
+
}>>;
|
|
58
|
+
start_at: z.ZodOptional<z.ZodString>;
|
|
59
|
+
end_at: z.ZodOptional<z.ZodString>;
|
|
60
|
+
action_after_completion: z.ZodOptional<z.ZodEnum<{
|
|
61
|
+
DELETE: "DELETE";
|
|
62
|
+
NONE: "NONE";
|
|
63
|
+
}>>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
declare const scheduleNameInputSchema: z.ZodObject<{
|
|
66
|
+
name: z.ZodString;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
declare const scheduleListInputSchema: z.ZodObject<{
|
|
69
|
+
name_prefix: z.ZodOptional<z.ZodString>;
|
|
70
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
DISABLED: "DISABLED";
|
|
72
|
+
ENABLED: "ENABLED";
|
|
73
|
+
}>>;
|
|
74
|
+
max_results: z.ZodOptional<z.ZodInt>;
|
|
75
|
+
next_token: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
declare const scheduleSummarySchema: z.ZodObject<{
|
|
78
|
+
name: z.ZodString;
|
|
79
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
80
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
DISABLED: "DISABLED";
|
|
82
|
+
ENABLED: "ENABLED";
|
|
83
|
+
}>>;
|
|
84
|
+
schedule_expression: z.ZodOptional<z.ZodString>;
|
|
85
|
+
arn: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
declare const scheduleDetailSchema: z.ZodObject<{
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
90
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
DISABLED: "DISABLED";
|
|
92
|
+
ENABLED: "ENABLED";
|
|
93
|
+
}>>;
|
|
94
|
+
schedule_expression: z.ZodOptional<z.ZodString>;
|
|
95
|
+
arn: z.ZodOptional<z.ZodString>;
|
|
96
|
+
description: z.ZodOptional<z.ZodString>;
|
|
97
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
98
|
+
task_ref: z.ZodOptional<z.ZodString>;
|
|
99
|
+
creation_date: z.ZodOptional<z.ZodString>;
|
|
100
|
+
last_modification_date: z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
declare const scheduleWriteOutputSchema: z.ZodObject<{
|
|
103
|
+
name: z.ZodString;
|
|
104
|
+
arn: z.ZodOptional<z.ZodString>;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
declare const scheduleGetOutputSchema: z.ZodObject<{
|
|
107
|
+
schedule: z.ZodObject<{
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
110
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
111
|
+
DISABLED: "DISABLED";
|
|
112
|
+
ENABLED: "ENABLED";
|
|
113
|
+
}>>;
|
|
114
|
+
schedule_expression: z.ZodOptional<z.ZodString>;
|
|
115
|
+
arn: z.ZodOptional<z.ZodString>;
|
|
116
|
+
description: z.ZodOptional<z.ZodString>;
|
|
117
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
118
|
+
task_ref: z.ZodOptional<z.ZodString>;
|
|
119
|
+
creation_date: z.ZodOptional<z.ZodString>;
|
|
120
|
+
last_modification_date: z.ZodOptional<z.ZodString>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
declare const scheduleListOutputSchema: z.ZodObject<{
|
|
124
|
+
schedules: z.ZodArray<z.ZodObject<{
|
|
125
|
+
name: z.ZodString;
|
|
126
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
127
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
128
|
+
DISABLED: "DISABLED";
|
|
129
|
+
ENABLED: "ENABLED";
|
|
130
|
+
}>>;
|
|
131
|
+
schedule_expression: z.ZodOptional<z.ZodString>;
|
|
132
|
+
arn: z.ZodOptional<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
next_token: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
declare const scheduleDeleteOutputSchema: z.ZodObject<{
|
|
137
|
+
name: z.ZodString;
|
|
138
|
+
deleted: z.ZodLiteral<true>;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
type ScheduleCreateInput = z.infer<typeof scheduleCreateInputSchema>;
|
|
141
|
+
type ScheduleUpdateInput = z.infer<typeof scheduleUpdateInputSchema>;
|
|
142
|
+
type ScheduleNameInput = z.infer<typeof scheduleNameInputSchema>;
|
|
143
|
+
type ScheduleListInput = z.infer<typeof scheduleListInputSchema>;
|
|
144
|
+
type ScheduleSummary = z.infer<typeof scheduleSummarySchema>;
|
|
145
|
+
type ScheduleDetail = z.infer<typeof scheduleDetailSchema>;
|
|
146
|
+
type ScheduleWriteOutput = z.infer<typeof scheduleWriteOutputSchema>;
|
|
147
|
+
type ScheduleGetOutput = z.infer<typeof scheduleGetOutputSchema>;
|
|
148
|
+
type ScheduleListOutput = z.infer<typeof scheduleListOutputSchema>;
|
|
149
|
+
type ScheduleDeleteOutput = z.infer<typeof scheduleDeleteOutputSchema>;
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/vendors/eventbridge-scheduler/client.d.ts
|
|
152
|
+
type EventBridgeSchedulerClientOptions = Pick<HttpServiceOptions, 'fetch' | 'signal'>;
|
|
153
|
+
declare class EventBridgeSchedulerClient {
|
|
154
|
+
#private;
|
|
155
|
+
constructor(auth: EventBridgeSchedulerAuth, options?: EventBridgeSchedulerClientOptions);
|
|
156
|
+
static fromContext(ctx: ToolContext): EventBridgeSchedulerClient;
|
|
157
|
+
create(input: ScheduleCreateInput): Promise<ScheduleWriteOutput>;
|
|
158
|
+
update(input: ScheduleUpdateInput): Promise<ScheduleWriteOutput>;
|
|
159
|
+
get(input: ScheduleNameInput): Promise<ScheduleGetOutput>;
|
|
160
|
+
list(input?: ScheduleListInput): Promise<ScheduleListOutput>;
|
|
161
|
+
delete(input: ScheduleNameInput): Promise<ScheduleDeleteOutput>;
|
|
162
|
+
}
|
|
163
|
+
//#endregion
|
|
164
|
+
//#region src/vendors/eventbridge-scheduler/module.d.ts
|
|
165
|
+
declare const eventBridgeSchedulerCreateTool: ToolDefinition<{
|
|
166
|
+
name: string;
|
|
167
|
+
schedule_expression: string;
|
|
168
|
+
task_ref: string;
|
|
169
|
+
payload?: Record<string, unknown> | undefined;
|
|
170
|
+
timezone?: string | undefined;
|
|
171
|
+
description?: string | undefined;
|
|
172
|
+
state?: "DISABLED" | "ENABLED" | undefined;
|
|
173
|
+
start_at?: string | undefined;
|
|
174
|
+
end_at?: string | undefined;
|
|
175
|
+
action_after_completion?: "DELETE" | "NONE" | undefined;
|
|
176
|
+
}, {
|
|
177
|
+
name: string;
|
|
178
|
+
arn?: string | undefined;
|
|
179
|
+
}>;
|
|
180
|
+
declare const eventBridgeSchedulerUpdateTool: ToolDefinition<{
|
|
181
|
+
name: string;
|
|
182
|
+
schedule_expression: string;
|
|
183
|
+
task_ref: string;
|
|
184
|
+
payload?: Record<string, unknown> | undefined;
|
|
185
|
+
timezone?: string | undefined;
|
|
186
|
+
description?: string | undefined;
|
|
187
|
+
state?: "DISABLED" | "ENABLED" | undefined;
|
|
188
|
+
start_at?: string | undefined;
|
|
189
|
+
end_at?: string | undefined;
|
|
190
|
+
action_after_completion?: "DELETE" | "NONE" | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
name: string;
|
|
193
|
+
arn?: string | undefined;
|
|
194
|
+
}>;
|
|
195
|
+
declare const eventBridgeSchedulerGetTool: ToolDefinition<{
|
|
196
|
+
name: string;
|
|
197
|
+
}, {
|
|
198
|
+
schedule: {
|
|
199
|
+
name: string;
|
|
200
|
+
group_name?: string | undefined;
|
|
201
|
+
state?: "DISABLED" | "ENABLED" | undefined;
|
|
202
|
+
schedule_expression?: string | undefined;
|
|
203
|
+
arn?: string | undefined;
|
|
204
|
+
description?: string | undefined;
|
|
205
|
+
timezone?: string | undefined;
|
|
206
|
+
task_ref?: string | undefined;
|
|
207
|
+
creation_date?: string | undefined;
|
|
208
|
+
last_modification_date?: string | undefined;
|
|
209
|
+
};
|
|
210
|
+
}>;
|
|
211
|
+
declare const eventBridgeSchedulerListTool: ToolDefinition<{
|
|
212
|
+
name_prefix?: string | undefined;
|
|
213
|
+
state?: "DISABLED" | "ENABLED" | undefined;
|
|
214
|
+
max_results?: number | undefined;
|
|
215
|
+
next_token?: string | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
schedules: {
|
|
218
|
+
name: string;
|
|
219
|
+
group_name?: string | undefined;
|
|
220
|
+
state?: "DISABLED" | "ENABLED" | undefined;
|
|
221
|
+
schedule_expression?: string | undefined;
|
|
222
|
+
arn?: string | undefined;
|
|
223
|
+
}[];
|
|
224
|
+
next_token?: string | undefined;
|
|
225
|
+
}>;
|
|
226
|
+
declare const eventBridgeSchedulerDeleteTool: ToolDefinition<{
|
|
227
|
+
name: string;
|
|
228
|
+
}, {
|
|
229
|
+
name: string;
|
|
230
|
+
deleted: true;
|
|
231
|
+
}>;
|
|
232
|
+
declare const eventBridgeSchedulerModule: ModuleDefinition<{
|
|
233
|
+
access_key_id: string;
|
|
234
|
+
secret_access_key: string;
|
|
235
|
+
region: string;
|
|
236
|
+
session_token?: string | undefined;
|
|
237
|
+
target_arn: string;
|
|
238
|
+
role_arn: string;
|
|
239
|
+
group_name?: string | undefined;
|
|
240
|
+
flexible_window_minutes?: number | undefined;
|
|
241
|
+
dead_letter_arn?: string | undefined;
|
|
242
|
+
max_retry_attempts?: number | undefined;
|
|
243
|
+
max_event_age_seconds?: number | undefined;
|
|
244
|
+
}>;
|
|
245
|
+
//#endregion
|
|
246
|
+
export { scheduleListInputSchema as A, ScheduleUpdateInput as C, scheduleDeleteOutputSchema as D, scheduleCreateInputSchema as E, scheduleUpdateInputSchema as F, scheduleWriteOutputSchema as I, scheduleNameInputSchema as M, scheduleStateSchema as N, scheduleDetailSchema as O, scheduleSummarySchema as P, ScheduleSummary as S, eventBridgeSchedulerAuthSchema as T, ScheduleGetOutput as _, eventBridgeSchedulerModule as a, ScheduleNameInput as b, EventBridgeSchedulerClientOptions as c, MAX_PAYLOAD_JSON as d, MAX_SCHEDULE_NAME as f, ScheduleDetail as g, ScheduleDeleteOutput as h, eventBridgeSchedulerListTool as i, scheduleListOutputSchema as j, scheduleGetOutputSchema as k, EventBridgeSchedulerAuth as l, ScheduleCreateInput as m, eventBridgeSchedulerDeleteTool as n, eventBridgeSchedulerUpdateTool as o, MAX_TASK_REF as p, eventBridgeSchedulerGetTool as r, EventBridgeSchedulerClient as s, eventBridgeSchedulerCreateTool as t, MAX_LIST as u, ScheduleListInput as v, ScheduleWriteOutput as w, ScheduleState as x, ScheduleListOutput as y };
|
|
247
|
+
//# sourceMappingURL=index-n8JTpNf1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-n8JTpNf1.d.ts","names":[],"sources":["../src/vendors/eventbridge-scheduler/contracts.ts","../src/vendors/eventbridge-scheduler/client.ts","../src/vendors/eventbridge-scheduler/module.ts"],"mappings":";;;;;cAOa;cACA;cACA;cACA;cAQA,gCAA8B,EAAA;;;;;;;;;;;;GAiBzC,EAAA,KAAA;KAEU,2BAA2B,EAAE,aAAa;cAEzC,qBAAmB,EAAA;;;;KAEpB,gBAAgB,EAAE,aAAa;cAE9B,2BAAyB,EAAA;;;;;;;;;;;;;;;;;GAqBpC,EAAA,KAAA;cAEW,2BAAyB,EAAA;;;;;;;;;;;;;;;;;GAA4B,EAAA,KAAA;cAErD,yBAAuB,EAAA;;GAElC,EAAA,KAAA;cAEW,yBAAuB,EAAA;;;;;;;;GAKlC,EAAA,KAAA;cAEW,uBAAqB,EAAA;;;;;;;;;GAMhC,EAAA,KAAA;cAEW,sBAAoB,EAAA;;;;;;;;;;;;;;GAM/B,EAAA,KAAA;cAEW,2BAAyB,EAAA;;;GAGpC,EAAA,KAAA;cAEW,yBAAuB,EAAA;;;;;;;;;;;;;;;;GAElC,EAAA,KAAA;cAEW,0BAAwB,EAAA;;;;;;;;;;;;GAGnC,EAAA,KAAA;cAEW,4BAA0B,EAAA;;;GAGrC,EAAA,KAAA;KAEU,sBAAsB,EAAE,aAAa;KACrC,sBAAsB,EAAE,aAAa;KACrC,oBAAoB,EAAE,aAAa;KACnC,oBAAoB,EAAE,aAAa;KACnC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,sBAAsB,EAAE,aAAa;KACrC,oBAAoB,EAAE,aAAa;KACnC,qBAAqB,EAAE,aAAa;KACpC,uBAAuB,EAAE,aAAa;;;KC/FtC,oCAAoC,KAAK;cAExC;;EAIZ,YAAY,MAAM,0BAA0B,UAAS;SAuB9C,YAAY,KAAK,cAAc;EAQhC,OAAO,OAAO,sBAAsB,QAAQ;EAM5C,OAAO,OAAO,sBAAsB,QAAQ;EAM5C,IAAI,OAAO,oBAAoB,QAAQ;EASvC,KAAK,QAAO,oBAAyB,QAAQ;EAmB7C,OAAO,OAAO,oBAAoB,QAAQ;;;;cC3FpC,gCAAA;;;;YAAA;;;;;;;;;;;cAYA,gCAAA;;;;YAAA;;;;;;;;;;;cAYA,6BAAA;;;;;;;;;;;;;;;;cAWA,8BAAA;;;;;;;;;;;;;;;cAWA,gCAAA;;;;;;cAWA,4BAAA"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { a as ModuleDefinition, o as ToolContext, s as ToolDefinition } from "./types-Ccb0DXY9.js";
|
|
2
|
+
import "./index-CZX5OeOF.js";
|
|
3
|
+
import { s as HttpServiceOptions } from "./http-service-T7E5UjP8.js";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
//#region src/vendors/sqs/contracts.d.ts
|
|
6
|
+
declare const MAX_SQS_MESSAGE_CHARS = 1048576;
|
|
7
|
+
declare const sqsAuthSchema: z.ZodObject<{
|
|
8
|
+
access_key_id: z.ZodString;
|
|
9
|
+
secret_access_key: z.ZodString;
|
|
10
|
+
region: z.ZodString;
|
|
11
|
+
session_token: z.ZodOptional<z.ZodString>;
|
|
12
|
+
queue_url: z.ZodURL;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const queueEnqueueInputSchema: z.ZodObject<{
|
|
15
|
+
body: z.ZodString;
|
|
16
|
+
delay_seconds: z.ZodOptional<z.ZodInt>;
|
|
17
|
+
message_group_id: z.ZodOptional<z.ZodString>;
|
|
18
|
+
deduplication_id: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const queueEnqueueOutputSchema: z.ZodObject<{
|
|
21
|
+
message_id: z.ZodString;
|
|
22
|
+
body_md5: z.ZodOptional<z.ZodString>;
|
|
23
|
+
sequence_number: z.ZodOptional<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const queueReceiveInputSchema: z.ZodObject<{
|
|
26
|
+
max_messages: z.ZodOptional<z.ZodInt>;
|
|
27
|
+
wait_seconds: z.ZodOptional<z.ZodInt>;
|
|
28
|
+
visibility_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const queueMessageSchema: z.ZodObject<{
|
|
31
|
+
message_id: z.ZodString;
|
|
32
|
+
receipt_handle: z.ZodString;
|
|
33
|
+
body: z.ZodString;
|
|
34
|
+
body_md5: z.ZodOptional<z.ZodString>;
|
|
35
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
declare const queueReceiveOutputSchema: z.ZodObject<{
|
|
38
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
39
|
+
message_id: z.ZodString;
|
|
40
|
+
receipt_handle: z.ZodString;
|
|
41
|
+
body: z.ZodString;
|
|
42
|
+
body_md5: z.ZodOptional<z.ZodString>;
|
|
43
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const queueReceiptInputSchema: z.ZodObject<{
|
|
47
|
+
receipt_handle: z.ZodString;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const queueAcknowledgeOutputSchema: z.ZodObject<{
|
|
50
|
+
acknowledged: z.ZodLiteral<true>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const queueExtendVisibilityInputSchema: z.ZodObject<{
|
|
53
|
+
receipt_handle: z.ZodString;
|
|
54
|
+
visibility_timeout_seconds: z.ZodInt;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
declare const queueExtendVisibilityOutputSchema: z.ZodObject<{
|
|
57
|
+
extended: z.ZodLiteral<true>;
|
|
58
|
+
visibility_timeout_seconds: z.ZodInt;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
type SqsAuth = z.infer<typeof sqsAuthSchema>;
|
|
61
|
+
type QueueEnqueueInput = z.infer<typeof queueEnqueueInputSchema>;
|
|
62
|
+
type QueueEnqueueOutput = z.infer<typeof queueEnqueueOutputSchema>;
|
|
63
|
+
type QueueReceiveInput = z.infer<typeof queueReceiveInputSchema>;
|
|
64
|
+
type QueueReceiveOutput = z.infer<typeof queueReceiveOutputSchema>;
|
|
65
|
+
type QueueMessage = z.infer<typeof queueMessageSchema>;
|
|
66
|
+
type QueueReceiptInput = z.infer<typeof queueReceiptInputSchema>;
|
|
67
|
+
type QueueAcknowledgeOutput = z.infer<typeof queueAcknowledgeOutputSchema>;
|
|
68
|
+
type QueueExtendVisibilityInput = z.infer<typeof queueExtendVisibilityInputSchema>;
|
|
69
|
+
type QueueExtendVisibilityOutput = z.infer<typeof queueExtendVisibilityOutputSchema>;
|
|
70
|
+
type QueueOps = {
|
|
71
|
+
enqueue(input: QueueEnqueueInput): Promise<QueueEnqueueOutput>;
|
|
72
|
+
receive(input?: QueueReceiveInput): Promise<QueueReceiveOutput>;
|
|
73
|
+
acknowledge(input: QueueReceiptInput): Promise<QueueAcknowledgeOutput>;
|
|
74
|
+
extendVisibility(input: QueueExtendVisibilityInput): Promise<QueueExtendVisibilityOutput>;
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/vendors/sqs/client.d.ts
|
|
78
|
+
type SqsClientOptions = Pick<HttpServiceOptions, 'fetch' | 'signal'>;
|
|
79
|
+
declare class SqsClient {
|
|
80
|
+
#private;
|
|
81
|
+
constructor(auth: SqsAuth, options?: SqsClientOptions);
|
|
82
|
+
static fromContext(ctx: ToolContext): SqsClient;
|
|
83
|
+
enqueue(input: QueueEnqueueInput): Promise<QueueEnqueueOutput>;
|
|
84
|
+
receive(input?: QueueReceiveInput): Promise<QueueReceiveOutput>;
|
|
85
|
+
acknowledge(input: QueueReceiptInput): Promise<QueueAcknowledgeOutput>;
|
|
86
|
+
extendVisibility(input: QueueExtendVisibilityInput): Promise<QueueExtendVisibilityOutput>;
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region src/vendors/sqs/module.d.ts
|
|
90
|
+
declare const sqsSendTool: ToolDefinition<{
|
|
91
|
+
body: string;
|
|
92
|
+
delay_seconds?: number | undefined;
|
|
93
|
+
message_group_id?: string | undefined;
|
|
94
|
+
deduplication_id?: string | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
message_id: string;
|
|
97
|
+
body_md5?: string | undefined;
|
|
98
|
+
sequence_number?: string | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
declare const sqsReceiveTool: ToolDefinition<{
|
|
101
|
+
max_messages?: number | undefined;
|
|
102
|
+
wait_seconds?: number | undefined;
|
|
103
|
+
visibility_timeout_seconds?: number | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
messages: {
|
|
106
|
+
message_id: string;
|
|
107
|
+
receipt_handle: string;
|
|
108
|
+
body: string;
|
|
109
|
+
body_md5?: string | undefined;
|
|
110
|
+
attributes?: Record<string, string> | undefined;
|
|
111
|
+
}[];
|
|
112
|
+
}>;
|
|
113
|
+
declare const sqsDeleteTool: ToolDefinition<{
|
|
114
|
+
receipt_handle: string;
|
|
115
|
+
}, {
|
|
116
|
+
acknowledged: true;
|
|
117
|
+
}>;
|
|
118
|
+
declare const sqsChangeVisibilityTool: ToolDefinition<{
|
|
119
|
+
receipt_handle: string;
|
|
120
|
+
visibility_timeout_seconds: number;
|
|
121
|
+
}, {
|
|
122
|
+
extended: true;
|
|
123
|
+
visibility_timeout_seconds: number;
|
|
124
|
+
}>;
|
|
125
|
+
declare const sqsModule: ModuleDefinition<{
|
|
126
|
+
access_key_id: string;
|
|
127
|
+
secret_access_key: string;
|
|
128
|
+
region: string;
|
|
129
|
+
session_token?: string | undefined;
|
|
130
|
+
queue_url: string;
|
|
131
|
+
}>;
|
|
132
|
+
//#endregion
|
|
133
|
+
export { queueExtendVisibilityInputSchema as C, queueReceiveInputSchema as D, queueReceiptInputSchema as E, queueReceiveOutputSchema as O, queueEnqueueOutputSchema as S, queueMessageSchema as T, QueueReceiveInput as _, sqsSendTool as a, queueAcknowledgeOutputSchema as b, MAX_SQS_MESSAGE_CHARS as c, QueueEnqueueOutput as d, QueueExtendVisibilityInput as f, QueueReceiptInput as g, QueueOps as h, sqsReceiveTool as i, sqsAuthSchema as k, QueueAcknowledgeOutput as l, QueueMessage as m, sqsDeleteTool as n, SqsClient as o, QueueExtendVisibilityOutput as p, sqsModule as r, SqsClientOptions as s, sqsChangeVisibilityTool as t, QueueEnqueueInput as u, QueueReceiveOutput as v, queueExtendVisibilityOutputSchema as w, queueEnqueueInputSchema as x, SqsAuth as y };
|
|
134
|
+
//# sourceMappingURL=index-pwW1OsOx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-pwW1OsOx.d.ts","names":[],"sources":["../src/vendors/sqs/contracts.ts","../src/vendors/sqs/client.ts","../src/vendors/sqs/module.ts"],"mappings":";;;;;cAEa;cAEA,eAAa,EAAA;;;;;;GAMxB,EAAA,KAAA;cAEW,yBAAuB,EAAA;;;;;GAKlC,EAAA,KAAA;cAEW,0BAAwB,EAAA;;;;GAInC,EAAA,KAAA;cAEW,yBAAuB,EAAA;;;;GASlC,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;;;GAM7B,EAAA,KAAA;cAEW,0BAAwB,EAAA;;;;;;;;GAEnC,EAAA,KAAA;cAEW,yBAAuB,EAAA;;GAElC,EAAA,KAAA;cAEW,8BAA4B,EAAA;;GAEvC,EAAA,KAAA;cAEW,kCAAgC,EAAA;;;GAE3C,EAAA,KAAA;cAEW,mCAAiC,EAAA;;;GAG5C,EAAA,KAAA;KAEU,UAAU,EAAE,aAAa;KACzB,oBAAoB,EAAE,aAAa;KACnC,qBAAqB,EAAE,aAAa;KACpC,oBAAoB,EAAE,aAAa;KACnC,qBAAqB,EAAE,aAAa;KACpC,eAAe,EAAE,aAAa;KAC9B,oBAAoB,EAAE,aAAa;KACnC,yBAAyB,EAAE,aAAa;KACxC,6BAA6B,EAAE,aAAa;KAC5C,8BAA8B,EAAE,aAAa;KAE7C;EACX,QAAQ,OAAO,oBAAoB,QAAQ;EAC3C,QAAQ,QAAQ,oBAAoB,QAAQ;EAC5C,YAAY,OAAO,oBAAoB,QAAQ;EAC/C,iBAAiB,OAAO,6BAA6B,QAAQ;;;;KCzDlD,mBAAmB,KAAK;cA6BvB;;EAIZ,YAAY,MAAM,SAAS,UAAS;SAuB7B,YAAY,KAAK,cAAc;EAOhC,QAAQ,OAAO,oBAAoB,QAAQ;EAkB3C,QAAQ,QAAO,oBAAyB,QAAQ;EAqBhD,YAAY,OAAO,oBAAoB,QAAQ;EAQ/C,iBAAiB,OAAO,6BAA6B,QAAQ;;;;cCvHvD,aAAA;;;;;;;;;;cAYA,gBAAA;;;;;;;;;;iBAAA;;;cAaA,eAAA;;;;;cAYA,yBAAA;;;;;;;cAYA,WAAA"}
|