@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["#backend","#storage","#ops"],"sources":["../../../src/modules/artifacts/contracts.ts","../../../src/modules/artifacts/providers/host.ts","../../../src/modules/artifacts/providers/object.ts","../../../src/modules/artifacts/client.ts","../../../src/modules/artifacts/module.ts"],"sourcesContent":["/**\n * ArtifactRef creation and bounded read contracts.\n * Host-mapped and object-store backends share the same model-facing verbs.\n */\n\nimport { isFunction } from 'es-toolkit'\nimport { z } from 'zod'\n\nimport { artifactRefSchema } from '../../shared/artifact'\nimport { MAX_OBJECT_BYTES, s3AuthSchema } from '../../vendors/s3'\n\nexport const MAX_ARTIFACT_READ_BYTES = MAX_OBJECT_BYTES\nexport const MAX_ARTIFACT_CREATE_BYTES = MAX_OBJECT_BYTES\nexport const MAX_ARTIFACT_INLINE_CHARS = Math.ceil((MAX_ARTIFACT_CREATE_BYTES * 4) / 3) + 4\n\nexport const artifactsCreateInputSchema = z.object({\n\tkey: z.string().min(1).max(1_024).describe('Destination key for the new artifact'),\n\tbody: z.string().max(MAX_ARTIFACT_INLINE_CHARS).describe('Artifact body encoded as specified by encoding'),\n\tencoding: z.enum(['utf8', 'base64']).describe('How body is encoded'),\n\tmedia_type: z.string().min(1).max(200).optional().describe('MIME type when known'),\n\tfilename: z.string().min(1).max(512).optional().describe('Display filename when different from the key')\n})\n\nexport const artifactsCreateOutputSchema = z.object({\n\tartifact: artifactRefSchema.describe('Reference to the created artifact')\n})\n\nexport const artifactsReadRangeInputSchema = z\n\t.object({\n\t\tsource: artifactRefSchema.describe('Artifact to read'),\n\t\tstart_byte: z.int().min(0).describe('Inclusive zero-based start byte'),\n\t\tend_byte: z.int().min(0).describe('Inclusive zero-based end byte')\n\t})\n\t.superRefine((input, ctx) => {\n\t\tconst byteLength = input.end_byte - input.start_byte + 1\n\t\tif (byteLength < 1) {\n\t\t\tctx.addIssue({\n\t\t\t\tcode: 'custom',\n\t\t\t\tpath: ['end_byte'],\n\t\t\t\tmessage: 'end_byte must be greater than or equal to start_byte'\n\t\t\t})\n\t\t}\n\t\tif (byteLength > MAX_ARTIFACT_READ_BYTES) {\n\t\t\tctx.addIssue({\n\t\t\t\tcode: 'custom',\n\t\t\t\tpath: ['end_byte'],\n\t\t\t\tmessage: `Byte range cannot exceed ${MAX_ARTIFACT_READ_BYTES} bytes`\n\t\t\t})\n\t\t}\n\t})\n\nexport const artifactsReadRangeOutputSchema = z.object({\n\tsource: artifactRefSchema,\n\tbody_base64: z.string().describe('Requested bytes encoded as base64'),\n\tstart_byte: z.int().min(0),\n\tend_byte: z.int().min(0),\n\ttotal_bytes: z.int().min(0).optional(),\n\tmedia_type: z.string().optional()\n})\n\nexport const artifactsReadLinesInputSchema = z\n\t.object({\n\t\tsource: artifactRefSchema.describe('UTF-8 text artifact to read'),\n\t\tstart_line: z.int().min(1).describe('Inclusive one-based start line'),\n\t\tend_line: z.int().min(1).describe('Inclusive one-based end line')\n\t})\n\t.refine((input) => input.end_line >= input.start_line, {\n\t\tpath: ['end_line'],\n\t\tmessage: 'end_line must be greater than or equal to start_line'\n\t})\n\nexport const artifactsReadLinesOutputSchema = z.object({\n\tsource: artifactRefSchema,\n\ttext: z.string().describe('Selected UTF-8 lines'),\n\tstart_line: z.int().min(1),\n\tend_line: z.int().min(1),\n\ttotal_lines: z.int().min(0)\n})\n\nexport const artifactResolveInputSchema = z.object({\n\tsource: artifactRefSchema,\n\tmax_bytes: z.int().min(0)\n})\n\nexport const resolvedArtifactSchema = z.object({\n\tartifact: artifactRefSchema,\n\tbytes: z.custom<Uint8Array>((value) => value instanceof Uint8Array, 'bytes must be a Uint8Array')\n})\n\nexport type ArtifactsCreateInput = z.infer<typeof artifactsCreateInputSchema>\nexport type ArtifactsCreateOutput = z.infer<typeof artifactsCreateOutputSchema>\nexport type ArtifactsReadRangeInput = z.infer<typeof artifactsReadRangeInputSchema>\nexport type ArtifactsReadRangeOutput = z.infer<typeof artifactsReadRangeOutputSchema>\nexport type ArtifactsReadLinesInput = z.infer<typeof artifactsReadLinesInputSchema>\nexport type ArtifactsReadLinesOutput = z.infer<typeof artifactsReadLinesOutputSchema>\nexport type ArtifactResolveInput = z.infer<typeof artifactResolveInputSchema>\nexport type ResolvedArtifact = z.infer<typeof resolvedArtifactSchema>\n\nexport type ArtifactsOps = {\n\tcreate(input: ArtifactsCreateInput): Promise<ArtifactsCreateOutput>\n\treadRange(input: ArtifactsReadRangeInput): Promise<ArtifactsReadRangeOutput>\n\treadLines(input: ArtifactsReadLinesInput): Promise<ArtifactsReadLinesOutput>\n}\n\nexport type ArtifactResolverOps = {\n\tresolve(input: ArtifactResolveInput): Promise<ResolvedArtifact>\n}\n\nexport type ArtifactsClientOps = ArtifactsOps & ArtifactResolverOps\n\nexport const artifactsBackendSchema = z.object({\n\tcreate: z.custom<ArtifactsOps['create']>(isFunction, 'create must be a function'),\n\treadRange: z.custom<ArtifactsOps['readRange']>(isFunction, 'readRange must be a function'),\n\treadLines: z.custom<ArtifactsOps['readLines']>(isFunction, 'readLines must be a function'),\n\tresolve: z.custom<ArtifactResolverOps['resolve']>(isFunction, 'resolve must be a function').optional()\n})\n\nexport const objectArtifactsAuthSchema = z.object({\n\tprovider: z.literal('object'),\n\tstorage: s3AuthSchema.describe('S3-compatible object storage for ArtifactRef bytes')\n})\n\nexport const hostArtifactsAuthSchema = z.object({\n\tprovider: z.literal('host'),\n\tbackend: artifactsBackendSchema.describe('Host artifact operations for host-mapped ArtifactRefs')\n})\n\nexport const artifactsAuthSchema = z.discriminatedUnion('provider', [\n\tobjectArtifactsAuthSchema,\n\thostArtifactsAuthSchema\n])\n\nexport type ArtifactsAuth = z.infer<typeof artifactsAuthSchema>\nexport type ObjectArtifactsAuth = z.infer<typeof objectArtifactsAuthSchema>\nexport type HostArtifactsAuth = z.infer<typeof hostArtifactsAuthSchema>\n","import { ToolError } from '../../../core/errors'\nimport type {\n\tArtifactResolveInput,\n\tArtifactsClientOps,\n\tArtifactsCreateInput,\n\tArtifactsCreateOutput,\n\tArtifactsReadLinesInput,\n\tArtifactsReadLinesOutput,\n\tArtifactsReadRangeInput,\n\tArtifactsReadRangeOutput,\n\tHostArtifactsAuth,\n\tResolvedArtifact\n} from '../contracts'\nimport {\n\tartifactsCreateOutputSchema,\n\tartifactsReadLinesOutputSchema,\n\tartifactsReadRangeOutputSchema,\n\tresolvedArtifactSchema\n} from '../contracts'\n\nfunction requireHostStore(store: 'object' | 'host'): void {\n\tif (store !== 'host') {\n\t\tthrow new ToolError('The host artifact provider only resolves host-mapped references', {\n\t\t\tcode: 'unsupported'\n\t\t})\n\t}\n}\n\nexport class HostArtifactsProvider implements ArtifactsClientOps {\n\treadonly #backend: HostArtifactsAuth['backend']\n\n\tconstructor(auth: HostArtifactsAuth) {\n\t\tthis.#backend = auth.backend\n\t}\n\n\tasync create(input: ArtifactsCreateInput): Promise<ArtifactsCreateOutput> {\n\t\tconst output = artifactsCreateOutputSchema.parse(await this.#backend.create(input))\n\t\trequireHostStore(output.artifact.store)\n\t\treturn output\n\t}\n\n\tasync readRange(input: ArtifactsReadRangeInput): Promise<ArtifactsReadRangeOutput> {\n\t\trequireHostStore(input.source.store)\n\t\treturn artifactsReadRangeOutputSchema.parse(await this.#backend.readRange(input))\n\t}\n\n\tasync readLines(input: ArtifactsReadLinesInput): Promise<ArtifactsReadLinesOutput> {\n\t\trequireHostStore(input.source.store)\n\t\treturn artifactsReadLinesOutputSchema.parse(await this.#backend.readLines(input))\n\t}\n\n\tasync resolve(input: ArtifactResolveInput): Promise<ResolvedArtifact> {\n\t\trequireHostStore(input.source.store)\n\t\tif (input.source.byte_length !== undefined && input.source.byte_length > input.max_bytes) {\n\t\t\tthrow new ToolError('Artifact exceeds resolution limit', {\n\t\t\t\tcode: 'too_large',\n\t\t\t\tdetails: { max_bytes: input.max_bytes, content_length: input.source.byte_length }\n\t\t\t})\n\t\t}\n\t\tif (!this.#backend.resolve) {\n\t\t\tthrow new ToolError('The host artifact backend does not support byte resolution', {\n\t\t\t\tcode: 'unsupported'\n\t\t\t})\n\t\t}\n\n\t\tconst output = resolvedArtifactSchema.parse(await this.#backend.resolve(input))\n\t\trequireHostStore(output.artifact.store)\n\t\tif (output.artifact.key !== input.source.key) {\n\t\t\tthrow new ToolError('The host artifact backend resolved a different artifact', {\n\t\t\t\tcode: 'internal'\n\t\t\t})\n\t\t}\n\t\tif (output.bytes.byteLength > input.max_bytes) {\n\t\t\tthrow new ToolError('Artifact exceeds resolution limit', {\n\t\t\t\tcode: 'too_large',\n\t\t\t\tdetails: { max_bytes: input.max_bytes, content_length: output.bytes.byteLength }\n\t\t\t})\n\t\t}\n\t\treturn {\n\t\t\tartifact: {\n\t\t\t\t...input.source,\n\t\t\t\t...output.artifact,\n\t\t\t\tbyte_length: output.bytes.byteLength\n\t\t\t},\n\t\t\tbytes: output.bytes\n\t\t}\n\t}\n}\n","import { ToolError } from '../../../core/errors'\nimport { artifactRefSchema } from '../../../shared/artifact'\nimport { base64ToBytes, bytesToBase64, bytesToUtf8, utf8ToBytes } from '../../../shared/bytes'\nimport { mediaTypeFromPath } from '../../../shared/content-type'\nimport type { HttpServiceOptions } from '../../../transport/http-service'\nimport { S3Client } from '../../../vendors/s3'\nimport type {\n\tArtifactResolveInput,\n\tArtifactsClientOps,\n\tArtifactsCreateInput,\n\tArtifactsCreateOutput,\n\tArtifactsReadLinesInput,\n\tArtifactsReadLinesOutput,\n\tArtifactsReadRangeInput,\n\tArtifactsReadRangeOutput,\n\tObjectArtifactsAuth,\n\tResolvedArtifact\n} from '../contracts'\nimport { MAX_ARTIFACT_CREATE_BYTES, MAX_ARTIFACT_READ_BYTES } from '../contracts'\n\nexport type ObjectArtifactsProviderOptions = Pick<HttpServiceOptions, 'fetch' | 'signal'>\n\nfunction requireObjectSource(store: 'object' | 'host'): void {\n\tif (store !== 'object') {\n\t\tthrow new ToolError('The object artifact provider only resolves object-store references', {\n\t\t\tcode: 'unsupported'\n\t\t})\n\t}\n}\n\nfunction artifactBytes(input: ArtifactsCreateInput): Uint8Array {\n\tconst bytes = input.encoding === 'base64' ? base64ToBytes(input.body) : utf8ToBytes(input.body)\n\tif (bytes.byteLength > MAX_ARTIFACT_CREATE_BYTES) {\n\t\tthrow new ToolError('Artifact body exceeds create limit', {\n\t\t\tcode: 'too_large',\n\t\t\tdetails: { max_bytes: MAX_ARTIFACT_CREATE_BYTES, content_length: bytes.byteLength }\n\t\t})\n\t}\n\treturn bytes\n}\n\nfunction textLines(text: string): string[] {\n\treturn text.split('\\n').map((line) => (line.endsWith('\\r') ? line.slice(0, -1) : line))\n}\n\nexport class ObjectArtifactsProvider implements ArtifactsClientOps {\n\treadonly #storage: S3Client\n\n\tconstructor(auth: ObjectArtifactsAuth, options: ObjectArtifactsProviderOptions = {}) {\n\t\tthis.#storage = new S3Client(auth.storage, options)\n\t}\n\n\tasync create(input: ArtifactsCreateInput): Promise<ArtifactsCreateOutput> {\n\t\tconst bytes = artifactBytes(input)\n\t\tconst mediaType = input.media_type ?? mediaTypeFromPath(input.filename ?? input.key)\n\t\tawait this.#storage.putBytes(input.key, bytes, mediaType)\n\t\treturn {\n\t\t\tartifact: artifactRefSchema.parse({\n\t\t\t\tstore: 'object',\n\t\t\t\tkey: input.key,\n\t\t\t\tbyte_length: bytes.byteLength,\n\t\t\t\t...(mediaType && { media_type: mediaType }),\n\t\t\t\t...(input.filename && { filename: input.filename })\n\t\t\t})\n\t\t}\n\t}\n\n\tasync readRange(input: ArtifactsReadRangeInput): Promise<ArtifactsReadRangeOutput> {\n\t\trequireObjectSource(input.source.store)\n\t\tconst result = await this.#storage.getBytesRange(input.source.key, {\n\t\t\tstart_byte: input.start_byte,\n\t\t\tend_byte: input.end_byte\n\t\t})\n\t\treturn {\n\t\t\tsource: input.source,\n\t\t\tbody_base64: bytesToBase64(result.bytes),\n\t\t\tstart_byte: result.start_byte,\n\t\t\tend_byte: result.end_byte,\n\t\t\t...(result.total_bytes !== undefined && { total_bytes: result.total_bytes }),\n\t\t\t...(result.content_type && { media_type: result.content_type })\n\t\t}\n\t}\n\n\tasync readLines(input: ArtifactsReadLinesInput): Promise<ArtifactsReadLinesOutput> {\n\t\trequireObjectSource(input.source.store)\n\t\tconst bytes = await this.#storage.getBytes(input.source.key, { maxBytes: MAX_ARTIFACT_READ_BYTES })\n\t\tconst lines = textLines(bytesToUtf8(bytes))\n\t\tif (input.start_line > lines.length) {\n\t\t\tthrow new ToolError('start_line is beyond the end of the artifact', {\n\t\t\t\tcode: 'bad_input',\n\t\t\t\tdetails: { start_line: input.start_line, total_lines: lines.length }\n\t\t\t})\n\t\t}\n\t\tconst selected = lines.slice(input.start_line - 1, input.end_line)\n\t\treturn {\n\t\t\tsource: input.source,\n\t\t\ttext: selected.join('\\n'),\n\t\t\tstart_line: input.start_line,\n\t\t\tend_line: input.start_line + selected.length - 1,\n\t\t\ttotal_lines: lines.length\n\t\t}\n\t}\n\n\tasync resolve(input: ArtifactResolveInput): Promise<ResolvedArtifact> {\n\t\trequireObjectSource(input.source.store)\n\t\tif (input.source.byte_length !== undefined && input.source.byte_length > input.max_bytes) {\n\t\t\tthrow new ToolError('Artifact exceeds resolution limit', {\n\t\t\t\tcode: 'too_large',\n\t\t\t\tdetails: { max_bytes: input.max_bytes, content_length: input.source.byte_length }\n\t\t\t})\n\t\t}\n\n\t\tconst head = await this.#storage.head({ key: input.source.key })\n\t\tif (!head.exists) {\n\t\t\tthrow new ToolError('Artifact not found', { code: 'not_found' })\n\t\t}\n\t\tif (head.content_length !== undefined && head.content_length > input.max_bytes) {\n\t\t\tthrow new ToolError('Artifact exceeds resolution limit', {\n\t\t\t\tcode: 'too_large',\n\t\t\t\tdetails: { max_bytes: input.max_bytes, content_length: head.content_length }\n\t\t\t})\n\t\t}\n\n\t\tconst bytes = await this.#storage.getBytes(input.source.key, { maxBytes: input.max_bytes })\n\t\treturn {\n\t\t\tartifact: artifactRefSchema.parse({\n\t\t\t\t...input.source,\n\t\t\t\t...(!input.source.media_type && head.content_type && { media_type: head.content_type }),\n\t\t\t\tbyte_length: bytes.byteLength\n\t\t\t}),\n\t\t\tbytes\n\t\t}\n\t}\n}\n","import { ToolError } from '../../core/errors'\nimport { requireAuth } from '../../core/provider'\nimport type { ToolContext } from '../../core/types'\nimport type {\n\tArtifactResolveInput,\n\tArtifactsAuth,\n\tArtifactsClientOps,\n\tArtifactsCreateInput,\n\tArtifactsReadLinesInput,\n\tArtifactsReadRangeInput,\n\tResolvedArtifact\n} from './contracts'\nimport { artifactResolveInputSchema, artifactsAuthSchema, resolvedArtifactSchema } from './contracts'\nimport { HostArtifactsProvider } from './providers/host'\nimport { ObjectArtifactsProvider } from './providers/object'\n\nfunction transportOptions(ctx: ToolContext) {\n\treturn {\n\t\t...(ctx.fetch && { fetch: ctx.fetch }),\n\t\t...(ctx.signal && { signal: ctx.signal })\n\t}\n}\n\nfunction providerFor(auth: ArtifactsAuth, ctx: ToolContext): ArtifactsClientOps {\n\tswitch (auth.provider) {\n\t\tcase 'object':\n\t\t\treturn new ObjectArtifactsProvider(auth, transportOptions(ctx))\n\t\tcase 'host':\n\t\t\treturn new HostArtifactsProvider(auth)\n\t}\n}\n\nexport class ArtifactsClient implements ArtifactsClientOps {\n\treadonly #ops: ArtifactsClientOps\n\n\tconstructor(ops: ArtifactsClientOps) {\n\t\tthis.#ops = ops\n\t}\n\n\tstatic fromContext(ctx: ToolContext): ArtifactsClient {\n\t\tconst auth = requireAuth(ctx, artifactsAuthSchema)\n\t\treturn new ArtifactsClient(providerFor(auth, ctx))\n\t}\n\n\tstatic fromAuth(auth: ArtifactsAuth, ctx: ToolContext = {}): ArtifactsClient {\n\t\treturn new ArtifactsClient(providerFor(auth, ctx))\n\t}\n\n\tcreate(input: ArtifactsCreateInput) {\n\t\treturn this.#ops.create(input)\n\t}\n\n\treadRange(input: ArtifactsReadRangeInput) {\n\t\treturn this.#ops.readRange(input)\n\t}\n\n\treadLines(input: ArtifactsReadLinesInput) {\n\t\treturn this.#ops.readLines(input)\n\t}\n\n\tasync resolve(input: ArtifactResolveInput): Promise<ResolvedArtifact> {\n\t\tconst parsedInput = artifactResolveInputSchema.parse(input)\n\t\tconst output = resolvedArtifactSchema.parse(await this.#ops.resolve(parsedInput))\n\t\tif (output.bytes.byteLength > parsedInput.max_bytes) {\n\t\t\tthrow new ToolError('Artifact exceeds resolution limit', {\n\t\t\t\tcode: 'too_large',\n\t\t\t\tdetails: { max_bytes: parsedInput.max_bytes, content_length: output.bytes.byteLength }\n\t\t\t})\n\t\t}\n\t\treturn {\n\t\t\tartifact: {\n\t\t\t\t...output.artifact,\n\t\t\t\tbyte_length: output.bytes.byteLength\n\t\t\t},\n\t\t\tbytes: output.bytes\n\t\t}\n\t}\n}\n","import { defineModule, defineTool } from '../../core/define'\nimport { ArtifactsClient } from './client'\nimport {\n\tartifactsAuthSchema,\n\tartifactsCreateInputSchema,\n\tartifactsCreateOutputSchema,\n\tartifactsReadLinesInputSchema,\n\tartifactsReadLinesOutputSchema,\n\tartifactsReadRangeInputSchema,\n\tartifactsReadRangeOutputSchema\n} from './contracts'\n\nexport const artifactsCreateTool = defineTool({\n\tid: 'artifacts-create',\n\tname: 'createArtifact',\n\tdescription:\n\t\t'Persist small, already-serialized UTF-8 or base64 content and return its ArtifactRef. Use for raw bytes or text when no structured builder is required. Do not use this to invent DOCX, XLSX, PPTX, PDF, or image formats.',\n\tinputSchema: artifactsCreateInputSchema,\n\toutputSchema: artifactsCreateOutputSchema,\n\tsideEffect: 'write',\n\truntime: 'both',\n\texecute: async (input, ctx) => ArtifactsClient.fromContext(ctx).create(input)\n})\n\nexport const artifactsReadRangeTool = defineTool({\n\tid: 'artifacts-read-range',\n\tname: 'readArtifactRange',\n\tdescription:\n\t\t'Read an explicit inclusive byte range from an existing ArtifactRef as base64. Use for bounded binary inspection or chunked transfer, not for understanding a supported document when a format-aware reader is available.',\n\tinputSchema: artifactsReadRangeInputSchema,\n\toutputSchema: artifactsReadRangeOutputSchema,\n\tsideEffect: 'read',\n\truntime: 'both',\n\texecute: async (input, ctx) => ArtifactsClient.fromContext(ctx).readRange(input)\n})\n\nexport const artifactsReadLinesTool = defineTool({\n\tid: 'artifacts-read-lines',\n\tname: 'readArtifactLines',\n\tdescription:\n\t\t'Read an explicit inclusive line range from a UTF-8 text artifact. Use for bounded inspection instead of loading the whole file into context.',\n\tinputSchema: artifactsReadLinesInputSchema,\n\toutputSchema: artifactsReadLinesOutputSchema,\n\tsideEffect: 'read',\n\truntime: 'both',\n\texecute: async (input, ctx) => ArtifactsClient.fromContext(ctx).readLines(input)\n})\n\nexport const artifactsModule = defineModule({\n\tid: 'artifacts',\n\ttitle: 'Artifacts',\n\tdescription:\n\t\t'Persist small serialized content and inspect bounded byte or text ranges. ArtifactRef is the handoff between tools; structured document creation belongs to purpose-built builders.',\n\truntime: 'both',\n\tauth: { type: 'custom', schema: artifactsAuthSchema },\n\tcategories: ['storage', 'artifacts'],\n\tclassification: 'pii',\n\ttags: ['artifact-ref', 'object-store'],\n\ttools: [artifactsCreateTool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B,YAAY,GAAG,CAAC,CAAC,UAAU,KAAK;AAChF,CAAC;AAED,MAAa,yBAAyB,WAAW;CAChD,IAAI;CACJ,MAAM;CACN,aACC;CACD,aAAa;CACb,cAAc;CACd,YAAY;CACZ,SAAS;CACT,SAAS,OAAO,OAAO,QAAQ,gBAAgB,YAAY,GAAG,CAAC,CAAC,UAAU,KAAK;AAChF,CAAC;AAED,MAAa,kBAAkB,aAAa;CAC3C,IAAI;CACJ,OAAO;CACP,aACC;CACD,SAAS;CACT,MAAM;EAAE,MAAM;EAAU,QAAQ;CAAoB;CACpD,YAAY,CAAC,WAAW,WAAW;CACnC,gBAAgB;CAChB,MAAM,CAAC,gBAAgB,cAAc;CACrC,OAAO;EAAC;EAAqB;EAAwB;CAAsB;AAC5E,CAAC"}
|
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
import { a as ModuleDefinition, o as ToolContext, s as ToolDefinition } from "../../types-Ccb0DXY9.js";
|
|
2
|
+
import "../../index-CZX5OeOF.js";
|
|
3
|
+
import { c as BrowserSessionIdInput, g as browserStreamSchema, h as browserStartSessionInputSchema, l as BrowserSessionOutput, m as browserSessionOutputSchema, o as BedrockAgentCoreBrowserClientOptions, p as browserSessionIdInputSchema, u as BrowserStartSessionInput } from "../../index-DuOGj7vc.js";
|
|
4
|
+
import { p as CloudflareBrowserClientOptions } from "../../index-Cuh6eMWc.js";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
//#region src/modules/browser/contracts.d.ts
|
|
7
|
+
declare const agentCoreBrowserSeamAuthSchema: 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
|
+
provider: z.ZodLiteral<"bedrock-agentcore">;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
/** Optional storage for screenshot ArtifactRef on Cloudflare. */
|
|
16
|
+
declare const cloudflareBrowserSeamAuthSchema: z.ZodObject<{
|
|
17
|
+
account_id: z.ZodString;
|
|
18
|
+
api_token: z.ZodString;
|
|
19
|
+
browser: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
chromium: "chromium";
|
|
21
|
+
kitesurf: "kitesurf";
|
|
22
|
+
}>>;
|
|
23
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
access_key_id: z.ZodString;
|
|
25
|
+
secret_access_key: z.ZodString;
|
|
26
|
+
region: z.ZodString;
|
|
27
|
+
bucket: z.ZodString;
|
|
28
|
+
endpoint: z.ZodOptional<z.ZodURL>;
|
|
29
|
+
session_token: z.ZodOptional<z.ZodString>;
|
|
30
|
+
key_prefix: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
provider: z.ZodLiteral<"cloudflare">;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
declare const browserAuthSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
|
+
access_key_id: z.ZodString;
|
|
36
|
+
secret_access_key: z.ZodString;
|
|
37
|
+
region: z.ZodString;
|
|
38
|
+
session_token: z.ZodOptional<z.ZodString>;
|
|
39
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
40
|
+
provider: z.ZodLiteral<"bedrock-agentcore">;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
account_id: z.ZodString;
|
|
43
|
+
api_token: z.ZodString;
|
|
44
|
+
browser: z.ZodOptional<z.ZodEnum<{
|
|
45
|
+
chromium: "chromium";
|
|
46
|
+
kitesurf: "kitesurf";
|
|
47
|
+
}>>;
|
|
48
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
access_key_id: z.ZodString;
|
|
50
|
+
secret_access_key: z.ZodString;
|
|
51
|
+
region: z.ZodString;
|
|
52
|
+
bucket: z.ZodString;
|
|
53
|
+
endpoint: z.ZodOptional<z.ZodURL>;
|
|
54
|
+
session_token: z.ZodOptional<z.ZodString>;
|
|
55
|
+
key_prefix: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
provider: z.ZodLiteral<"cloudflare">;
|
|
58
|
+
}, z.core.$strip>], "provider">;
|
|
59
|
+
type AgentCoreBrowserSeamAuth = z.infer<typeof agentCoreBrowserSeamAuthSchema>;
|
|
60
|
+
type CloudflareBrowserSeamAuth = z.infer<typeof cloudflareBrowserSeamAuthSchema>;
|
|
61
|
+
type BrowserAuth = z.infer<typeof browserAuthSchema>;
|
|
62
|
+
declare const browserNavigateInputSchema: z.ZodObject<{
|
|
63
|
+
session_id: z.ZodString;
|
|
64
|
+
url: z.ZodURL;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
declare const browserNavigateOutputSchema: z.ZodObject<{
|
|
67
|
+
session_id: z.ZodString;
|
|
68
|
+
url: z.ZodString;
|
|
69
|
+
title: z.ZodOptional<z.ZodString>;
|
|
70
|
+
html: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
declare const browserSnapshotInputSchema: z.ZodObject<{
|
|
73
|
+
session_id: z.ZodString;
|
|
74
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
75
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
76
|
+
html: "html";
|
|
77
|
+
text: "text";
|
|
78
|
+
}>>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
declare const browserSnapshotOutputSchema: z.ZodObject<{
|
|
81
|
+
session_id: z.ZodString;
|
|
82
|
+
format: z.ZodEnum<{
|
|
83
|
+
html: "html";
|
|
84
|
+
text: "text";
|
|
85
|
+
}>;
|
|
86
|
+
content: z.ZodString;
|
|
87
|
+
url: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
declare const browserClickInputSchema: z.ZodObject<{
|
|
90
|
+
session_id: z.ZodString;
|
|
91
|
+
selector: z.ZodString;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
declare const browserTypeInputSchema: z.ZodObject<{
|
|
94
|
+
session_id: z.ZodString;
|
|
95
|
+
selector: z.ZodString;
|
|
96
|
+
text: z.ZodString;
|
|
97
|
+
clear: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
declare const browserWaitInputSchema: z.ZodObject<{
|
|
100
|
+
session_id: z.ZodString;
|
|
101
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
102
|
+
timeout_ms: z.ZodOptional<z.ZodInt>;
|
|
103
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
declare const browserScreenshotInputSchema: z.ZodObject<{
|
|
106
|
+
session_id: z.ZodString;
|
|
107
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
108
|
+
output_key: z.ZodOptional<z.ZodString>;
|
|
109
|
+
full_page: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
declare const browserScreenshotOutputSchema: z.ZodObject<{
|
|
112
|
+
session_id: z.ZodString;
|
|
113
|
+
result: z.ZodObject<{
|
|
114
|
+
store: z.ZodEnum<{
|
|
115
|
+
host: "host";
|
|
116
|
+
object: "object";
|
|
117
|
+
}>;
|
|
118
|
+
key: z.ZodString;
|
|
119
|
+
media_type: z.ZodOptional<z.ZodString>;
|
|
120
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
121
|
+
byte_length: z.ZodOptional<z.ZodInt>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
declare const browserGetStateInputSchema: z.ZodObject<{
|
|
125
|
+
session_id: z.ZodString;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
declare const browserGetStateOutputSchema: z.ZodObject<{
|
|
128
|
+
session_id: z.ZodString;
|
|
129
|
+
status: z.ZodOptional<z.ZodString>;
|
|
130
|
+
url: z.ZodOptional<z.ZodString>;
|
|
131
|
+
title: z.ZodOptional<z.ZodString>;
|
|
132
|
+
streams: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
automation_stream_endpoint: z.ZodOptional<z.ZodString>;
|
|
134
|
+
automation_stream_status: z.ZodOptional<z.ZodString>;
|
|
135
|
+
live_view_stream_endpoint: z.ZodOptional<z.ZodString>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
declare const browserActionOkSchema: z.ZodObject<{
|
|
139
|
+
session_id: z.ZodString;
|
|
140
|
+
ok: z.ZodLiteral<true>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
type BrowserNavigateInput = z.infer<typeof browserNavigateInputSchema>;
|
|
143
|
+
type BrowserNavigateOutput = z.infer<typeof browserNavigateOutputSchema>;
|
|
144
|
+
type BrowserSnapshotInput = z.infer<typeof browserSnapshotInputSchema>;
|
|
145
|
+
type BrowserSnapshotOutput = z.infer<typeof browserSnapshotOutputSchema>;
|
|
146
|
+
type BrowserClickInput = z.infer<typeof browserClickInputSchema>;
|
|
147
|
+
type BrowserTypeInput = z.infer<typeof browserTypeInputSchema>;
|
|
148
|
+
type BrowserWaitInput = z.infer<typeof browserWaitInputSchema>;
|
|
149
|
+
type BrowserScreenshotInput = z.infer<typeof browserScreenshotInputSchema>;
|
|
150
|
+
type BrowserScreenshotOutput = z.infer<typeof browserScreenshotOutputSchema>;
|
|
151
|
+
type BrowserGetStateInput = z.infer<typeof browserGetStateInputSchema>;
|
|
152
|
+
type BrowserGetStateOutput = z.infer<typeof browserGetStateOutputSchema>;
|
|
153
|
+
type BrowserActionOk = z.infer<typeof browserActionOkSchema>;
|
|
154
|
+
type BrowserOps = {
|
|
155
|
+
startSession(input?: BrowserStartSessionInput): Promise<BrowserSessionOutput>;
|
|
156
|
+
getSession(input: BrowserSessionIdInput): Promise<BrowserSessionOutput>;
|
|
157
|
+
stopSession(input: BrowserSessionIdInput): Promise<BrowserSessionOutput>;
|
|
158
|
+
navigate(input: BrowserNavigateInput): Promise<BrowserNavigateOutput>;
|
|
159
|
+
snapshot(input: BrowserSnapshotInput): Promise<BrowserSnapshotOutput>;
|
|
160
|
+
click(input: BrowserClickInput): Promise<BrowserActionOk>;
|
|
161
|
+
type(input: BrowserTypeInput): Promise<BrowserActionOk>;
|
|
162
|
+
wait(input: BrowserWaitInput): Promise<BrowserActionOk>;
|
|
163
|
+
screenshot(input: BrowserScreenshotInput): Promise<BrowserScreenshotOutput>;
|
|
164
|
+
getState(input: BrowserGetStateInput): Promise<BrowserGetStateOutput>;
|
|
165
|
+
};
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/modules/browser/client.d.ts
|
|
168
|
+
declare class BrowserClient implements BrowserOps {
|
|
169
|
+
#private;
|
|
170
|
+
constructor(ops: BrowserOps);
|
|
171
|
+
static fromContext(ctx: ToolContext): BrowserClient;
|
|
172
|
+
static fromAuth(auth: BrowserAuth, ctx?: ToolContext): BrowserClient;
|
|
173
|
+
startSession(input?: BrowserStartSessionInput): Promise<{
|
|
174
|
+
session_id: string;
|
|
175
|
+
browser_id?: string | undefined;
|
|
176
|
+
created_at?: string | undefined;
|
|
177
|
+
status?: string | undefined;
|
|
178
|
+
streams?: {
|
|
179
|
+
automation_stream_endpoint?: string | undefined;
|
|
180
|
+
automation_stream_status?: string | undefined;
|
|
181
|
+
live_view_stream_endpoint?: string | undefined;
|
|
182
|
+
} | undefined;
|
|
183
|
+
}>;
|
|
184
|
+
getSession(input: BrowserSessionIdInput): Promise<{
|
|
185
|
+
session_id: string;
|
|
186
|
+
browser_id?: string | undefined;
|
|
187
|
+
created_at?: string | undefined;
|
|
188
|
+
status?: string | undefined;
|
|
189
|
+
streams?: {
|
|
190
|
+
automation_stream_endpoint?: string | undefined;
|
|
191
|
+
automation_stream_status?: string | undefined;
|
|
192
|
+
live_view_stream_endpoint?: string | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
}>;
|
|
195
|
+
stopSession(input: BrowserSessionIdInput): Promise<{
|
|
196
|
+
session_id: string;
|
|
197
|
+
browser_id?: string | undefined;
|
|
198
|
+
created_at?: string | undefined;
|
|
199
|
+
status?: string | undefined;
|
|
200
|
+
streams?: {
|
|
201
|
+
automation_stream_endpoint?: string | undefined;
|
|
202
|
+
automation_stream_status?: string | undefined;
|
|
203
|
+
live_view_stream_endpoint?: string | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
}>;
|
|
206
|
+
navigate(input: BrowserNavigateInput): Promise<{
|
|
207
|
+
session_id: string;
|
|
208
|
+
url: string;
|
|
209
|
+
title?: string | undefined;
|
|
210
|
+
html?: string | undefined;
|
|
211
|
+
}>;
|
|
212
|
+
snapshot(input: BrowserSnapshotInput): Promise<{
|
|
213
|
+
session_id: string;
|
|
214
|
+
format: "html" | "text";
|
|
215
|
+
content: string;
|
|
216
|
+
url?: string | undefined;
|
|
217
|
+
}>;
|
|
218
|
+
click(input: BrowserClickInput): Promise<{
|
|
219
|
+
session_id: string;
|
|
220
|
+
ok: true;
|
|
221
|
+
}>;
|
|
222
|
+
type(input: BrowserTypeInput): Promise<{
|
|
223
|
+
session_id: string;
|
|
224
|
+
ok: true;
|
|
225
|
+
}>;
|
|
226
|
+
wait(input: BrowserWaitInput): Promise<{
|
|
227
|
+
session_id: string;
|
|
228
|
+
ok: true;
|
|
229
|
+
}>;
|
|
230
|
+
screenshot(input: BrowserScreenshotInput): Promise<{
|
|
231
|
+
session_id: string;
|
|
232
|
+
result: {
|
|
233
|
+
store: "host" | "object";
|
|
234
|
+
key: string;
|
|
235
|
+
media_type?: string | undefined;
|
|
236
|
+
filename?: string | undefined;
|
|
237
|
+
byte_length?: number | undefined;
|
|
238
|
+
};
|
|
239
|
+
}>;
|
|
240
|
+
getState(input: BrowserGetStateInput): Promise<{
|
|
241
|
+
session_id: string;
|
|
242
|
+
status?: string | undefined;
|
|
243
|
+
url?: string | undefined;
|
|
244
|
+
title?: string | undefined;
|
|
245
|
+
streams?: {
|
|
246
|
+
automation_stream_endpoint?: string | undefined;
|
|
247
|
+
automation_stream_status?: string | undefined;
|
|
248
|
+
live_view_stream_endpoint?: string | undefined;
|
|
249
|
+
} | undefined;
|
|
250
|
+
}>;
|
|
251
|
+
}
|
|
252
|
+
//#endregion
|
|
253
|
+
//#region src/modules/browser/domain.d.ts
|
|
254
|
+
/** Connection handle for a CDP client (Playwright `connectOverCDP`, puppeteer, AgentBrowser). */
|
|
255
|
+
type BrowserCdpConnection = {
|
|
256
|
+
session_id: string;
|
|
257
|
+
/** WebSocket debugger URL for Chrome DevTools Protocol. */
|
|
258
|
+
websocket_url: string;
|
|
259
|
+
/**
|
|
260
|
+
* Optional HTTP headers for the WebSocket upgrade.
|
|
261
|
+
* Empty for most providers when the URL already embeds credentials / signed query.
|
|
262
|
+
*/
|
|
263
|
+
headers: Record<string, string>;
|
|
264
|
+
/** Hosted live-view / DevTools UI when the provider returns one. */
|
|
265
|
+
live_view_url?: string;
|
|
266
|
+
status?: string;
|
|
267
|
+
};
|
|
268
|
+
type MintBrowserCdpOptions = {
|
|
269
|
+
/**
|
|
270
|
+
* Extra WebSocket headers (e.g. Authorization for custom proxies).
|
|
271
|
+
* Merged after provider defaults; caller keys win.
|
|
272
|
+
*/
|
|
273
|
+
headers?: Record<string, string>;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Build a CDP connection object from a browser session (start/get/get-state).
|
|
277
|
+
* Prefer this over driving click/type tools when the host runs a hybrid agent browser.
|
|
278
|
+
*
|
|
279
|
+
* @throws ToolError `bad_input` when the session has no automation stream endpoint.
|
|
280
|
+
*/
|
|
281
|
+
declare function mintBrowserCdpConnection(session: BrowserSessionOutput, options?: MintBrowserCdpOptions): BrowserCdpConnection;
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region src/modules/browser/module.d.ts
|
|
284
|
+
declare const browserStartSessionTool: ToolDefinition<{
|
|
285
|
+
name?: string | undefined;
|
|
286
|
+
session_timeout_seconds?: number | undefined;
|
|
287
|
+
viewport_width?: number | undefined;
|
|
288
|
+
viewport_height?: number | undefined;
|
|
289
|
+
}, {
|
|
290
|
+
session_id: string;
|
|
291
|
+
browser_id?: string | undefined;
|
|
292
|
+
created_at?: string | undefined;
|
|
293
|
+
status?: string | undefined;
|
|
294
|
+
streams?: {
|
|
295
|
+
automation_stream_endpoint?: string | undefined;
|
|
296
|
+
automation_stream_status?: string | undefined;
|
|
297
|
+
live_view_stream_endpoint?: string | undefined;
|
|
298
|
+
} | undefined;
|
|
299
|
+
}>;
|
|
300
|
+
declare const browserGetSessionTool: ToolDefinition<{
|
|
301
|
+
session_id: string;
|
|
302
|
+
}, {
|
|
303
|
+
session_id: string;
|
|
304
|
+
browser_id?: string | undefined;
|
|
305
|
+
created_at?: string | undefined;
|
|
306
|
+
status?: string | undefined;
|
|
307
|
+
streams?: {
|
|
308
|
+
automation_stream_endpoint?: string | undefined;
|
|
309
|
+
automation_stream_status?: string | undefined;
|
|
310
|
+
live_view_stream_endpoint?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
}>;
|
|
313
|
+
declare const browserStopSessionTool: ToolDefinition<{
|
|
314
|
+
session_id: string;
|
|
315
|
+
}, {
|
|
316
|
+
session_id: string;
|
|
317
|
+
browser_id?: string | undefined;
|
|
318
|
+
created_at?: string | undefined;
|
|
319
|
+
status?: string | undefined;
|
|
320
|
+
streams?: {
|
|
321
|
+
automation_stream_endpoint?: string | undefined;
|
|
322
|
+
automation_stream_status?: string | undefined;
|
|
323
|
+
live_view_stream_endpoint?: string | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
}>;
|
|
326
|
+
declare const browserNavigateTool: ToolDefinition<{
|
|
327
|
+
session_id: string;
|
|
328
|
+
url: string;
|
|
329
|
+
}, {
|
|
330
|
+
session_id: string;
|
|
331
|
+
url: string;
|
|
332
|
+
title?: string | undefined;
|
|
333
|
+
html?: string | undefined;
|
|
334
|
+
}>;
|
|
335
|
+
declare const browserSnapshotTool: ToolDefinition<{
|
|
336
|
+
session_id: string;
|
|
337
|
+
url?: string | undefined;
|
|
338
|
+
format?: "html" | "text" | undefined;
|
|
339
|
+
}, {
|
|
340
|
+
session_id: string;
|
|
341
|
+
format: "html" | "text";
|
|
342
|
+
content: string;
|
|
343
|
+
url?: string | undefined;
|
|
344
|
+
}>;
|
|
345
|
+
declare const browserClickTool: ToolDefinition<{
|
|
346
|
+
session_id: string;
|
|
347
|
+
selector: string;
|
|
348
|
+
}, {
|
|
349
|
+
session_id: string;
|
|
350
|
+
ok: true;
|
|
351
|
+
}>;
|
|
352
|
+
declare const browserTypeTool: ToolDefinition<{
|
|
353
|
+
session_id: string;
|
|
354
|
+
selector: string;
|
|
355
|
+
text: string;
|
|
356
|
+
clear?: boolean | undefined;
|
|
357
|
+
}, {
|
|
358
|
+
session_id: string;
|
|
359
|
+
ok: true;
|
|
360
|
+
}>;
|
|
361
|
+
declare const browserWaitTool: ToolDefinition<{
|
|
362
|
+
session_id: string;
|
|
363
|
+
selector?: string | undefined;
|
|
364
|
+
timeout_ms?: number | undefined;
|
|
365
|
+
url?: string | undefined;
|
|
366
|
+
}, {
|
|
367
|
+
session_id: string;
|
|
368
|
+
ok: true;
|
|
369
|
+
}>;
|
|
370
|
+
declare const browserScreenshotTool: ToolDefinition<{
|
|
371
|
+
session_id: string;
|
|
372
|
+
url?: string | undefined;
|
|
373
|
+
output_key?: string | undefined;
|
|
374
|
+
full_page?: boolean | undefined;
|
|
375
|
+
}, {
|
|
376
|
+
session_id: string;
|
|
377
|
+
result: {
|
|
378
|
+
store: "host" | "object";
|
|
379
|
+
key: string;
|
|
380
|
+
media_type?: string | undefined;
|
|
381
|
+
filename?: string | undefined;
|
|
382
|
+
byte_length?: number | undefined;
|
|
383
|
+
};
|
|
384
|
+
}>;
|
|
385
|
+
declare const browserGetStateTool: ToolDefinition<{
|
|
386
|
+
session_id: string;
|
|
387
|
+
}, {
|
|
388
|
+
session_id: string;
|
|
389
|
+
status?: string | undefined;
|
|
390
|
+
url?: string | undefined;
|
|
391
|
+
title?: string | undefined;
|
|
392
|
+
streams?: {
|
|
393
|
+
automation_stream_endpoint?: string | undefined;
|
|
394
|
+
automation_stream_status?: string | undefined;
|
|
395
|
+
live_view_stream_endpoint?: string | undefined;
|
|
396
|
+
} | undefined;
|
|
397
|
+
}>;
|
|
398
|
+
declare const browserModule: ModuleDefinition<{
|
|
399
|
+
access_key_id: string;
|
|
400
|
+
secret_access_key: string;
|
|
401
|
+
region: string;
|
|
402
|
+
session_token?: string | undefined;
|
|
403
|
+
browser_id?: string | undefined;
|
|
404
|
+
provider: "bedrock-agentcore";
|
|
405
|
+
} | {
|
|
406
|
+
account_id: string;
|
|
407
|
+
api_token: string;
|
|
408
|
+
browser?: "chromium" | "kitesurf" | undefined;
|
|
409
|
+
storage?: {
|
|
410
|
+
access_key_id: string;
|
|
411
|
+
secret_access_key: string;
|
|
412
|
+
region: string;
|
|
413
|
+
bucket: string;
|
|
414
|
+
endpoint?: string | undefined;
|
|
415
|
+
session_token?: string | undefined;
|
|
416
|
+
key_prefix?: string | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
provider: "cloudflare";
|
|
419
|
+
}>;
|
|
420
|
+
//#endregion
|
|
421
|
+
//#region src/modules/browser/providers/bedrock-agentcore.d.ts
|
|
422
|
+
type AgentCoreBrowserProviderOptions = BedrockAgentCoreBrowserClientOptions;
|
|
423
|
+
declare class AgentCoreBrowserProvider implements BrowserOps {
|
|
424
|
+
#private;
|
|
425
|
+
constructor(auth: AgentCoreBrowserSeamAuth, options?: AgentCoreBrowserProviderOptions);
|
|
426
|
+
startSession(input?: BrowserStartSessionInput): Promise<{
|
|
427
|
+
session_id: string;
|
|
428
|
+
browser_id?: string | undefined;
|
|
429
|
+
created_at?: string | undefined;
|
|
430
|
+
status?: string | undefined;
|
|
431
|
+
streams?: {
|
|
432
|
+
automation_stream_endpoint?: string | undefined;
|
|
433
|
+
automation_stream_status?: string | undefined;
|
|
434
|
+
live_view_stream_endpoint?: string | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
}>;
|
|
437
|
+
getSession(input: BrowserSessionIdInput): Promise<{
|
|
438
|
+
session_id: string;
|
|
439
|
+
browser_id?: string | undefined;
|
|
440
|
+
created_at?: string | undefined;
|
|
441
|
+
status?: string | undefined;
|
|
442
|
+
streams?: {
|
|
443
|
+
automation_stream_endpoint?: string | undefined;
|
|
444
|
+
automation_stream_status?: string | undefined;
|
|
445
|
+
live_view_stream_endpoint?: string | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
}>;
|
|
448
|
+
stopSession(input: BrowserSessionIdInput): Promise<{
|
|
449
|
+
session_id: string;
|
|
450
|
+
browser_id?: string | undefined;
|
|
451
|
+
created_at?: string | undefined;
|
|
452
|
+
status?: string | undefined;
|
|
453
|
+
streams?: {
|
|
454
|
+
automation_stream_endpoint?: string | undefined;
|
|
455
|
+
automation_stream_status?: string | undefined;
|
|
456
|
+
live_view_stream_endpoint?: string | undefined;
|
|
457
|
+
} | undefined;
|
|
458
|
+
}>;
|
|
459
|
+
navigate(_input: BrowserNavigateInput): Promise<BrowserNavigateOutput>;
|
|
460
|
+
snapshot(_input: BrowserSnapshotInput): Promise<BrowserSnapshotOutput>;
|
|
461
|
+
click(_input: BrowserClickInput): Promise<BrowserActionOk>;
|
|
462
|
+
type(_input: BrowserTypeInput): Promise<BrowserActionOk>;
|
|
463
|
+
wait(_input: BrowserWaitInput): Promise<BrowserActionOk>;
|
|
464
|
+
screenshot(_input: BrowserScreenshotInput): Promise<BrowserScreenshotOutput>;
|
|
465
|
+
getState(input: BrowserGetStateInput): Promise<BrowserGetStateOutput>;
|
|
466
|
+
}
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region src/modules/browser/providers/cloudflare.d.ts
|
|
469
|
+
type CloudflareBrowserProviderOptions = CloudflareBrowserClientOptions;
|
|
470
|
+
declare class CloudflareBrowserProvider implements BrowserOps {
|
|
471
|
+
#private;
|
|
472
|
+
constructor(auth: CloudflareBrowserSeamAuth, options?: CloudflareBrowserProviderOptions);
|
|
473
|
+
startSession(input?: BrowserStartSessionInput): Promise<{
|
|
474
|
+
session_id: string;
|
|
475
|
+
browser_id?: string | undefined;
|
|
476
|
+
created_at?: string | undefined;
|
|
477
|
+
status?: string | undefined;
|
|
478
|
+
streams?: {
|
|
479
|
+
automation_stream_endpoint?: string | undefined;
|
|
480
|
+
automation_stream_status?: string | undefined;
|
|
481
|
+
live_view_stream_endpoint?: string | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
}>;
|
|
484
|
+
getSession(input: BrowserSessionIdInput): Promise<{
|
|
485
|
+
session_id: string;
|
|
486
|
+
browser_id?: string | undefined;
|
|
487
|
+
created_at?: string | undefined;
|
|
488
|
+
status?: string | undefined;
|
|
489
|
+
streams?: {
|
|
490
|
+
automation_stream_endpoint?: string | undefined;
|
|
491
|
+
automation_stream_status?: string | undefined;
|
|
492
|
+
live_view_stream_endpoint?: string | undefined;
|
|
493
|
+
} | undefined;
|
|
494
|
+
}>;
|
|
495
|
+
stopSession(input: BrowserSessionIdInput): Promise<{
|
|
496
|
+
session_id: string;
|
|
497
|
+
browser_id?: string | undefined;
|
|
498
|
+
created_at?: string | undefined;
|
|
499
|
+
status?: string | undefined;
|
|
500
|
+
streams?: {
|
|
501
|
+
automation_stream_endpoint?: string | undefined;
|
|
502
|
+
automation_stream_status?: string | undefined;
|
|
503
|
+
live_view_stream_endpoint?: string | undefined;
|
|
504
|
+
} | undefined;
|
|
505
|
+
}>;
|
|
506
|
+
navigate(input: BrowserNavigateInput): Promise<BrowserNavigateOutput>;
|
|
507
|
+
snapshot(input: BrowserSnapshotInput): Promise<BrowserSnapshotOutput>;
|
|
508
|
+
click(_input: BrowserClickInput): Promise<BrowserActionOk>;
|
|
509
|
+
type(_input: BrowserTypeInput): Promise<BrowserActionOk>;
|
|
510
|
+
wait(_input: BrowserWaitInput): Promise<BrowserActionOk>;
|
|
511
|
+
screenshot(input: BrowserScreenshotInput): Promise<BrowserScreenshotOutput>;
|
|
512
|
+
getState(input: BrowserGetStateInput): Promise<BrowserGetStateOutput>;
|
|
513
|
+
}
|
|
514
|
+
//#endregion
|
|
515
|
+
export { AgentCoreBrowserProvider, type AgentCoreBrowserProviderOptions, type AgentCoreBrowserSeamAuth, type BrowserActionOk, type BrowserAuth, type BrowserCdpConnection, type BrowserClickInput, BrowserClient, type BrowserGetStateInput, type BrowserGetStateOutput, type BrowserNavigateInput, type BrowserNavigateOutput, type BrowserOps, type BrowserScreenshotInput, type BrowserScreenshotOutput, type BrowserSessionIdInput, type BrowserSessionOutput, type BrowserSnapshotInput, type BrowserSnapshotOutput, type BrowserStartSessionInput, type BrowserTypeInput, type BrowserWaitInput, CloudflareBrowserProvider, type CloudflareBrowserProviderOptions, type CloudflareBrowserSeamAuth, type MintBrowserCdpOptions, agentCoreBrowserSeamAuthSchema, browserActionOkSchema, browserAuthSchema, browserClickInputSchema, browserClickTool, browserGetSessionTool, browserGetStateInputSchema, browserGetStateOutputSchema, browserGetStateTool, browserModule, browserNavigateInputSchema, browserNavigateOutputSchema, browserNavigateTool, browserScreenshotInputSchema, browserScreenshotOutputSchema, browserScreenshotTool, browserSessionIdInputSchema, browserSessionOutputSchema, browserSnapshotInputSchema, browserSnapshotOutputSchema, browserSnapshotTool, browserStartSessionInputSchema, browserStartSessionTool, browserStopSessionTool, browserStreamSchema, browserTypeInputSchema, browserTypeTool, browserWaitInputSchema, browserWaitTool, cloudflareBrowserSeamAuthSchema, mintBrowserCdpConnection };
|
|
516
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/modules/browser/contracts.ts","../../../src/modules/browser/client.ts","../../../src/modules/browser/domain.ts","../../../src/modules/browser/module.ts","../../../src/modules/browser/providers/bedrock-agentcore.ts","../../../src/modules/browser/providers/cloudflare.ts"],"mappings":";;;;;;cAwBa,gCAA8B,EAAA;;;;;;;GA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