claude-code-zanii 2.8.4
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/README.md +146 -0
- package/dist/chunks/AddWorkspaceDirectory-y_rd6sRl.js +1 -0
- package/dist/chunks/App-DgWSavG1.js +1 -0
- package/dist/chunks/ApproveApiKey-CJKWha-a.js +1 -0
- package/dist/chunks/ApproveApiKey-DTs2ExZH.js +1 -0
- package/dist/chunks/AssistantSessionChooser-BAhVk4id.js +1 -0
- package/dist/chunks/BackgroundTasksDialog-XU_JPh7R.js +2 -0
- package/dist/chunks/BypassPermissionsModeDialog-DV0Pi7ys.js +1 -0
- package/dist/chunks/ClaudeInChromeOnboarding-6erm_8Fn.js +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-CjBvzB5s.js +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-ts0XnWwl.js +1 -0
- package/dist/chunks/ConsoleOAuthFlow-DySPdSqQ.js +1 -0
- package/dist/chunks/CustomSelect-DqZxzBZP.js +1 -0
- package/dist/chunks/DesktopHandoff-5c90JK88.js +1 -0
- package/dist/chunks/DevChannelsDialog-DCMderzu.js +1 -0
- package/dist/chunks/Dialog-Dgg8bqcG.js +1 -0
- package/dist/chunks/DiffDialog-BU765aqh.js +6 -0
- package/dist/chunks/Doctor-B73iDB-d.js +3 -0
- package/dist/chunks/Doctor-CLZDdNRo.js +1 -0
- package/dist/chunks/ExitFlow-DBqn2mUf.js +2 -0
- package/dist/chunks/Feedback-D-JHabwi.js +2 -0
- package/dist/chunks/Grove-D-uQNMMo.js +11 -0
- package/dist/chunks/HybridTransport-B-G4QJcy.js +4 -0
- package/dist/chunks/ITermBackend-KP1vKsRN.js +1 -0
- package/dist/chunks/InProcessTransport-ByBEKxrQ.js +1 -0
- package/dist/chunks/InvalidConfigDialog-CMqiZ5nG.js +1 -0
- package/dist/chunks/InvalidSettingsDialog-CjPCKzVZ.js +1 -0
- package/dist/chunks/ListItem-B6MyhHvM.js +1 -0
- package/dist/chunks/MCPConnectionManager-BJ8PcYPe.js +1 -0
- package/dist/chunks/Message-DNxJ_tMS.js +1 -0
- package/dist/chunks/MessageSelector-D79Ug71B.js +3 -0
- package/dist/chunks/Messages-CtIbkB2M.js +11 -0
- package/dist/chunks/Onboarding-DVrgKrI9.js +1 -0
- package/dist/chunks/OverageCreditUpsell-D_td1ss4.js +1 -0
- package/dist/chunks/PermissionDialog-BCS22yEO.js +1 -0
- package/dist/chunks/PermissionDialog-C5O1fL53.js +1 -0
- package/dist/chunks/PermissionRequestTitle-CtlbBU9t.js +1 -0
- package/dist/chunks/PluginSettings-OPrg-_3N.js +17 -0
- package/dist/chunks/PressEnterToContinue-DmzxIgbZ.js +1 -0
- package/dist/chunks/PromptInputFooterSuggestions-CcsKj5DK.js +1 -0
- package/dist/chunks/PromptInputHelpMenu-JedFdsxU.js +1 -0
- package/dist/chunks/REPL-ByhyIRnf.js +1 -0
- package/dist/chunks/REPL-Clve-8zC.js +157 -0
- package/dist/chunks/RemoteCallout-BZcabEKb.js +1 -0
- package/dist/chunks/RemoteSessionManager-C2PIFDHt.js +1 -0
- package/dist/chunks/ResumeConversation-D3ZRTFcF.js +1 -0
- package/dist/chunks/SSETransport-DmZWnH0k.js +4 -0
- package/dist/chunks/SearchBox-DQg2Ph0V.js +1 -0
- package/dist/chunks/SearchExtraToolsTool-CLO4nt6N.js +1 -0
- package/dist/chunks/SentryErrorBoundary-BVfBaOOU.js +2 -0
- package/dist/chunks/SentryErrorBoundary-DIaVFad-.js +1 -0
- package/dist/chunks/Settings-rOCxQdS8.js +2 -0
- package/dist/chunks/TeleportProgress-CP8IY6bz.js +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-DMmHgBqo.js +1 -0
- package/dist/chunks/TeleportResumeWrapper-D5wEAW1-.js +1 -0
- package/dist/chunks/ThemePicker-Bgr7yOQB.js +1 -0
- package/dist/chunks/TmuxBackend-BzbtUtP1.js +9 -0
- package/dist/chunks/TrustDialog-BI5U3BQ0.js +1 -0
- package/dist/chunks/TungstenTool-CiQclNwj.js +1 -0
- package/dist/chunks/TungstenTool-kMqy-ifa.js +1 -0
- package/dist/chunks/ValidationErrorsList-DprGtB2w.js +2 -0
- package/dist/chunks/WelcomeV2-C4vfBnIy.js +1 -0
- package/dist/chunks/WindowsTerminalBackend-BSoezOCE.js +2 -0
- package/dist/chunks/add-dir-DpOmv6kv.js +1 -0
- package/dist/chunks/agentDisplay-DuYEwOwO.js +1 -0
- package/dist/chunks/agents-BlurXZrF.js +2 -0
- package/dist/chunks/agents-DhZf7ftU.js +103 -0
- package/dist/chunks/ajv-CDrSAj3O.js +8 -0
- package/dist/chunks/analytics-i6X1et4O.js +1 -0
- package/dist/chunks/ant-D9hd_iYy.js +1 -0
- package/dist/chunks/api-CoaOHwDQ.js +4 -0
- package/dist/chunks/api-DvyGR-L7.js +1 -0
- package/dist/chunks/api-YHYC4Zdk.js +1 -0
- package/dist/chunks/artifacts-BMAYdaqh.js +1 -0
- package/dist/chunks/asciicast-DpHRoebc.js +1 -0
- package/dist/chunks/asciicast-HG1EoAQe.js +4 -0
- package/dist/chunks/assistant-D4-qcNT1.js +1 -0
- package/dist/chunks/assistant-DO2ZmZn1.js +1 -0
- package/dist/chunks/assistant-Dd86NmJM.js +1 -0
- package/dist/chunks/attributionHooks-BUmHrLhB.js +1 -0
- package/dist/chunks/attributionTrailer-r2Pbpu2N.js +1 -0
- package/dist/chunks/auth-CF3BGNYT.js +1 -0
- package/dist/chunks/auth-DwWwG43F.js +1 -0
- package/dist/chunks/auth-V_Xk2iea.js +1 -0
- package/dist/chunks/autoMode-DUksX5_i.js +45 -0
- package/dist/chunks/autoModeDenials-0CPO-Jbu.js +1 -0
- package/dist/chunks/autonomy-C5mNhAdz.js +21 -0
- package/dist/chunks/autonomy-CLt1dWaC.js +1 -0
- package/dist/chunks/autonomyPanel-rioFnrQO.js +1 -0
- package/dist/chunks/axios-DPuSPBlH.js +1 -0
- package/dist/chunks/axios-Zh7qGPze.js +12 -0
- package/dist/chunks/backgroundHousekeeping-BGtfqu-J.js +1 -0
- package/dist/chunks/backgroundHousekeeping-BqKZEvy0.js +17 -0
- package/dist/chunks/banner-BGLr3KYQ.js +2 -0
- package/dist/chunks/base64-js-B1tFNiG0.js +1 -0
- package/dist/chunks/bedrockClient-BFzWuhQK.js +15 -0
- package/dist/chunks/bg-B-YgGwLj.js +9 -0
- package/dist/chunks/bg-IU4gG3jc.js +1 -0
- package/dist/chunks/branch-BWY5W7hf.js +3 -0
- package/dist/chunks/break-cache-CY-O23fJ.js +8 -0
- package/dist/chunks/bridge-CqWd70vK.js +2 -0
- package/dist/chunks/bridgeConfig-CWO8AmCY.js +1 -0
- package/dist/chunks/bridgeConfig-D38y9eXn.js +1 -0
- package/dist/chunks/bridgeConfig-EwUq__ct.js +1 -0
- package/dist/chunks/bridgeConfig-GYR-LUiu.js +1 -0
- package/dist/chunks/bridgeEnabled-DKqmLnKO.js +1 -0
- package/dist/chunks/bridgeEnabled-DZIGDtfY.js +1 -0
- package/dist/chunks/bridgeMain-CXVks2ND.js +1 -0
- package/dist/chunks/bridgeMain-D4nsECwJ.js +68 -0
- package/dist/chunks/bridgeMessaging-BUOZU_ba.js +1 -0
- package/dist/chunks/bridgePointer-BpzIEsD_.js +1 -0
- package/dist/chunks/browser-D1vC3BNd.js +1 -0
- package/dist/chunks/btw-CVXJwoXo.js +1 -0
- package/dist/chunks/buddy-BLcvL8lP.js +3 -0
- package/dist/chunks/bundledMode-DQNSSQbt.js +1 -0
- package/dist/chunks/caches-BrfvzKn5.js +1 -0
- package/dist/chunks/caches-CkSv3MfC.js +3 -0
- package/dist/chunks/capacityWake-BWCSatN6.js +1 -0
- package/dist/chunks/changeDetector-DEZU6tum.js +1 -0
- package/dist/chunks/changeDetector-Df7c6U3d.js +1 -0
- package/dist/chunks/channelAllowlist-BApjAS0V.js +1 -0
- package/dist/chunks/channelNotification-BjWwF85R.js +1 -0
- package/dist/chunks/channelNotification-D01YVwNj.js +1 -0
- package/dist/chunks/chokidar-DPwMBcWI.js +1 -0
- package/dist/chunks/chokidar-DkDXNCTz.js +1 -0
- package/dist/chunks/chrome-D7coxEOI.js +1 -0
- package/dist/chunks/chromeNativeHost-CPj9M_4-.js +1 -0
- package/dist/chunks/chunk-DR8-3Aex.js +1 -0
- package/dist/chunks/classPrivateFieldSet2-DZkxcFPS.js +1 -0
- package/dist/chunks/claudeAiLimitsHook-ATshVrOH.js +1 -0
- package/dist/chunks/claudeDesktop-PVa9tWsM.js +1 -0
- package/dist/chunks/cleanup-C-PGmKpV.js +1 -0
- package/dist/chunks/clear-CxGE9Ntr.js +1 -0
- package/dist/chunks/cliLaunch-CMXoY_LO.js +1 -0
- package/dist/chunks/client-BWED8Tbu.js +35 -0
- package/dist/chunks/client-CinDjeSq.js +7 -0
- package/dist/chunks/client-CpXGg9e0.js +1 -0
- package/dist/chunks/color-B3w_VQTn.js +1 -0
- package/dist/chunks/color-convert-BQZnVz_5.js +1 -0
- package/dist/chunks/commands-DFp48zwy.js +1 -0
- package/dist/chunks/commitAttribution-B0cXmbvv.js +2 -0
- package/dist/chunks/commitAttribution-DRSKRoH6.js +1 -0
- package/dist/chunks/common-BX7bn3hg.js +1 -0
- package/dist/chunks/common-Ce3LanTX.js +1 -0
- package/dist/chunks/common-DdLQuE2_.js +1 -0
- package/dist/chunks/common-HfKcqOYK.js +1 -0
- package/dist/chunks/compact-C8ljGMdo.js +3 -0
- package/dist/chunks/companion-mD1jw6xX.js +1 -0
- package/dist/chunks/completionCache-BqQXVTa9.js +1 -0
- package/dist/chunks/completionCache-BtP4vfAi.js +4 -0
- package/dist/chunks/computerUseLock-ADE_PhIK.js +1 -0
- package/dist/chunks/config-CmyaIIOY.js +1 -0
- package/dist/chunks/config-Rl1Y_Dtq.js +1 -0
- package/dist/chunks/connectHeadless-MFABhXpz.js +1 -0
- package/dist/chunks/constants-BM62Vf_X.js +1 -0
- package/dist/chunks/constants-BfXy-5cI.js +1 -0
- package/dist/chunks/context-BeiZkUNq.js +1 -0
- package/dist/chunks/context-noninteractive-CRdF3iv8.js +54 -0
- package/dist/chunks/controlMessageCompat-591iGHUK.js +1 -0
- package/dist/chunks/conversation-BoguXZEI.js +1 -0
- package/dist/chunks/conversation-yhs7tT-g.js +1 -0
- package/dist/chunks/copy-BpeUcqku.js +7 -0
- package/dist/chunks/createSSHSession-B3JOB4TE.js +6 -0
- package/dist/chunks/createSession-BJSnFBGt.js +1 -0
- package/dist/chunks/createSession-CnRHI3RU.js +1 -0
- package/dist/chunks/cron-iqTFGIos.js +1 -0
- package/dist/chunks/cronScheduler-zRXhgEEU.js +6 -0
- package/dist/chunks/cronTasks-CMJldfoP.js +2 -0
- package/dist/chunks/crossProjectResume-DxO6TX30.js +40 -0
- package/dist/chunks/cwd-B2guYBbl.js +1 -0
- package/dist/chunks/cwd-B5bbyUwz.js +1 -0
- package/dist/chunks/cwd-BXiaJzLh.js +1 -0
- package/dist/chunks/daemon-B3v4OoOu.js +2 -0
- package/dist/chunks/dangerousBackend-OmCzoW35.js +1 -0
- package/dist/chunks/datadog-3-Vvz0yz.js +1 -0
- package/dist/chunks/datadog-BQlp3bTs.js +1 -0
- package/dist/chunks/debug-BDBIipC1.js +2 -0
- package/dist/chunks/debug-C7tW7DFW.js +1 -0
- package/dist/chunks/debug-CjIaNjpK.js +5 -0
- package/dist/chunks/debugUtils-Dsg-UHeg.js +1 -0
- package/dist/chunks/defineProperty-CaCI0a5T.js +1 -0
- package/dist/chunks/desktop-C_SS0068.js +1 -0
- package/dist/chunks/detached-B7RNZeyl.js +5 -0
- package/dist/chunks/detect-libc-DFFGDzPC.js +1 -0
- package/dist/chunks/detectRepository-BnTCJAXR.js +1 -0
- package/dist/chunks/detectRepository-Gobn9eFt.js +1 -0
- package/dist/chunks/detection-CN_uLGU2.js +1 -0
- package/dist/chunks/detection-DW6grIlc.js +1 -0
- package/dist/chunks/diff-B8YmRG5T.js +1 -0
- package/dist/chunks/directoryCompletion-J560aATd.js +1 -0
- package/dist/chunks/dist-B1wOprSs.js +29 -0
- package/dist/chunks/dist-DZQOarNX.js +5 -0
- package/dist/chunks/dist-HZfkKiUF.js +20 -0
- package/dist/chunks/dist-es-4xyrZoNc2.js +1 -0
- package/dist/chunks/dist-es-6kjvVbJd.js +1 -0
- package/dist/chunks/dist-es-BJldFHbt.js +3 -0
- package/dist/chunks/dist-es-BM013UFT.js +1 -0
- package/dist/chunks/dist-es-BPPewn1A.js +1 -0
- package/dist/chunks/dist-es-BZGG3Hnm.js +1 -0
- package/dist/chunks/dist-es-BZjJL64k2.js +1 -0
- package/dist/chunks/dist-es-BctcPxLN.js +1 -0
- package/dist/chunks/dist-es-Bf2jR30y.js +1 -0
- package/dist/chunks/dist-es-BgLoR-hQ.js +1 -0
- package/dist/chunks/dist-es-BismPcTW.js +1 -0
- package/dist/chunks/dist-es-BrPzXmSP.js +1 -0
- package/dist/chunks/dist-es-Bu21Wvhs.js +1 -0
- package/dist/chunks/dist-es-BuWNNAXW.js +1 -0
- package/dist/chunks/dist-es-Bz11sFiK2.js +1 -0
- package/dist/chunks/dist-es-C5VplyPL2.js +5 -0
- package/dist/chunks/dist-es-C66BuLgn.js +1 -0
- package/dist/chunks/dist-es-CCIzgNln2.js +1 -0
- package/dist/chunks/dist-es-CLyx7Kge2.js +1 -0
- package/dist/chunks/dist-es-CUbatGdn.js +1 -0
- package/dist/chunks/dist-es-CYe_-TbD.js +1 -0
- package/dist/chunks/dist-es-C_IHUdzL.js +1 -0
- package/dist/chunks/dist-es-Ci_rKlMr.js +1 -0
- package/dist/chunks/dist-es-ClDZBAj7.js +1 -0
- package/dist/chunks/dist-es-Cp--qjOi.js +1 -0
- package/dist/chunks/dist-es-CzE4kW1L.js +9 -0
- package/dist/chunks/dist-es-DUg5w7-v.js +1 -0
- package/dist/chunks/dist-es-Dl0ZRczY.js +1 -0
- package/dist/chunks/dist-es-Do_155z5.js +1 -0
- package/dist/chunks/dist-es-DxIM0jd82.js +1 -0
- package/dist/chunks/dist-es-Fav2oBDs.js +1 -0
- package/dist/chunks/dist-es-TZjwPaGn.js +1 -0
- package/dist/chunks/dist-es-W22ud2el2.js +1 -0
- package/dist/chunks/dist-es-aU8-02YH.js +1 -0
- package/dist/chunks/dist-es-b3yZSGx82.js +1 -0
- package/dist/chunks/dist-es-dIP5JtXz.js +5 -0
- package/dist/chunks/dist-es-mQ4HvnYs2.js +1 -0
- package/dist/chunks/distRoot-CJaacAHy.js +1 -0
- package/dist/chunks/doctor-DLZPF4iY.js +1 -0
- package/dist/chunks/earlyInput-BTI1CSNt.js +2 -0
- package/dist/chunks/earlyInput-BwGtzhhP.js +1 -0
- package/dist/chunks/effort-BaHvpBWr.js +9 -0
- package/dist/chunks/entry-_e-lyRwv.js +14 -0
- package/dist/chunks/env-CesrOJJq.js +1 -0
- package/dist/chunks/envLessBridgeConfig-4oys0_9A.js +1 -0
- package/dist/chunks/envLessBridgeConfig-DJ1Sts3F.js +1 -0
- package/dist/chunks/envUtils-CFG7IQID.js +1 -0
- package/dist/chunks/errorLogSink-Ti4Suoz6.js +2 -0
- package/dist/chunks/escHotkey-CVn_80xM.js +259 -0
- package/dist/chunks/esm-BFnjHW38.js +1 -0
- package/dist/chunks/esm-BQg_LX3V.js +1 -0
- package/dist/chunks/esm-BtC6CMmM.js +1 -0
- package/dist/chunks/esm-BwzC0MQp.js +1 -0
- package/dist/chunks/esm-CFybeQ_Q.js +1 -0
- package/dist/chunks/esm-CK-5CT5X.js +1 -0
- package/dist/chunks/esm-CL1OwlZB.js +1 -0
- package/dist/chunks/esm-CMzgSTAl.js +1 -0
- package/dist/chunks/esm-CPE_H2Lx.js +1 -0
- package/dist/chunks/esm-CcWquv5a.js +10 -0
- package/dist/chunks/esm-CeNEpRZt.js +1 -0
- package/dist/chunks/esm-D7hykoRB.js +1 -0
- package/dist/chunks/esm-DUtcefEV.js +1 -0
- package/dist/chunks/esm-DhrUwJBp.js +1 -0
- package/dist/chunks/esm-Duu1fRQ8.js +1 -0
- package/dist/chunks/esm-Ght2BaU2.js +1 -0
- package/dist/chunks/esm-Q6Yz2GMx.js +56 -0
- package/dist/chunks/esm-WONEiurY.js +13 -0
- package/dist/chunks/event-streams-BumpU1aB.js +1 -0
- package/dist/chunks/eventLoopStallDetector-DxyFdg1h.js +1 -0
- package/dist/chunks/execAsync-ChKxDZ8C.js +1 -0
- package/dist/chunks/execFileNoThrow-DdmR1mBS.js +1 -0
- package/dist/chunks/execSyncWrapper-Ch4TNj8u.js +1 -0
- package/dist/chunks/execa-BMaINL7N.js +34 -0
- package/dist/chunks/executor-C7INr19-.js +1 -0
- package/dist/chunks/executor-Dnf3YYma.js +1604 -0
- package/dist/chunks/exit-BakzsOD0.js +1 -0
- package/dist/chunks/exit-CiDn2tN9.js +2 -0
- package/dist/chunks/export-b-6pqMqz.js +2 -0
- package/dist/chunks/exportRenderer-RxtEIyTm.js +1 -0
- package/dist/chunks/extra-usage-7EPJNjNW.js +1 -0
- package/dist/chunks/extra-usage-ChvuewCq.js +1 -0
- package/dist/chunks/extra-usage-core-BVhLtoDF.js +1 -0
- package/dist/chunks/extra-usage-noninteractive-_Njh6q-q.js +1 -0
- package/dist/chunks/extraUsage-qOBMQB6g.js +1 -0
- package/dist/chunks/extractMemories-CRBVNiG1.js +1 -0
- package/dist/chunks/fast-C4uw_g7o.js +1 -0
- package/dist/chunks/fast-CEaIzaPl.js +1 -0
- package/dist/chunks/featureCheck-B1GSTyhh.js +1 -0
- package/dist/chunks/featureCheck-DKigAPal.js +1 -0
- package/dist/chunks/feedback-Bf3TjjuD.js +1 -0
- package/dist/chunks/figures-fES5sASd.js +1 -0
- package/dist/chunks/fileStateCache-DAsLEZau.js +1 -0
- package/dist/chunks/files-B-m_4X8b.js +2 -0
- package/dist/chunks/findExecutable-D8vJrFnO.js +1 -0
- package/dist/chunks/firstPartyEventLogger-BtrGagNa.js +1 -0
- package/dist/chunks/flushGate-2zqab-Pp.js +1 -0
- package/dist/chunks/foundry-sdk-CtX8C0x3.js +1 -0
- package/dist/chunks/fpsMetrics-ts_jaF3g.js +1 -0
- package/dist/chunks/fuse-ivQ_eRwF.js +1 -0
- package/dist/chunks/gates-CmKoQ0O-.js +1 -0
- package/dist/chunks/gates-_wbPDQ3M.js +1 -0
- package/dist/chunks/gemini-DRx495gn.js +3 -0
- package/dist/chunks/generateRecap-Cv8gd_QF.js +1 -0
- package/dist/chunks/generateSessionName-Dpjg-u_x.js +1 -0
- package/dist/chunks/genericProcessUtils-BFJMxLqn.js +23 -0
- package/dist/chunks/getMachineId-bsd-C9pL9Ajr.js +1 -0
- package/dist/chunks/getMachineId-darwin-Ma4F9rJg.js +2 -0
- package/dist/chunks/getMachineId-linux-C0lXMqsj.js +1 -0
- package/dist/chunks/getMachineId-unsupported-ByHQTXat.js +1 -0
- package/dist/chunks/getMachineId-win-DZsXZmTz.js +1 -0
- package/dist/chunks/git-Bj8Ow4pJ.js +6 -0
- package/dist/chunks/git-Q_b4oZ17.js +1 -0
- package/dist/chunks/githubRepoPathMapping-DGivBX9h.js +1 -0
- package/dist/chunks/goal-BrHEJv8o.js +3 -0
- package/dist/chunks/goalStorage-CsuPOQbk.js +1 -0
- package/dist/chunks/graceful-fs-BuPWC-vB.js +2 -0
- package/dist/chunks/grok-CDkDDaY_.js +1 -0
- package/dist/chunks/growthbook-D3_Cr9n-.js +1 -0
- package/dist/chunks/growthbook-p4aJ_UMv.js +32 -0
- package/dist/chunks/hash-KW-tVnPp.js +1 -0
- package/dist/chunks/heapdump-CloylIZ9.js +5 -0
- package/dist/chunks/help-DpSJlHIc.js +1 -0
- package/dist/chunks/hooks-2pogt8nv.js +79 -0
- package/dist/chunks/hooks-BBODdwnE.js +1 -0
- package/dist/chunks/hostAdapter-B5KTUqhv.js +1 -0
- package/dist/chunks/hostGuard-DyWr2TwE.js +1 -0
- package/dist/chunks/httpAuthSchemes-CgPbtGos.js +13 -0
- package/dist/chunks/ide-CJEcfBZq.js +2 -0
- package/dist/chunks/inboundAttachments-RNpYpRTO.js +1 -0
- package/dist/chunks/index.min-DCDiLq-j.js +1 -0
- package/dist/chunks/initReplBridge-D2E6IM2B.js +1 -0
- package/dist/chunks/initReplBridge-p2uwDBPx.js +1 -0
- package/dist/chunks/insights-DnpZScKs.js +822 -0
- package/dist/chunks/install-D_vTxUlG.js +1 -0
- package/dist/chunks/install-github-app-BK8A7g3i.js +147 -0
- package/dist/chunks/install-slack-app-C47R9VoI.js +1 -0
- package/dist/chunks/instinctParser-DxKdI3JC.js +1 -0
- package/dist/chunks/instrumentation-DkdAJFrZ.js +12 -0
- package/dist/chunks/intl-Pse97ORk.js +1 -0
- package/dist/chunks/isObject-DaxDnPKm.js +1 -0
- package/dist/chunks/isSymbol-D7QeUnS5.js +1 -0
- package/dist/chunks/job-opl00C4l.js +2 -0
- package/dist/chunks/json-bigint-BRRVs1dv.js +8 -0
- package/dist/chunks/jsx-runtime-BTgGEFjL.js +1 -0
- package/dist/chunks/jws-B_ieuaZg.js +3 -0
- package/dist/chunks/jwtUtils-D-tJzoJY.js +1 -0
- package/dist/chunks/keybindings-mRf9VSe8.js +2 -0
- package/dist/chunks/lang-eH4EJErj.js +1 -0
- package/dist/chunks/language-DD9ar6RA.js +1 -0
- package/dist/chunks/language-EZLNdETg.js +1 -0
- package/dist/chunks/launchAgentsPlatform-Cq0_7-IM.js +1 -0
- package/dist/chunks/launchAutofixPr-Bw7aUHUs.js +18 -0
- package/dist/chunks/launchCommand-Bk1Fn-qZ.js +1 -0
- package/dist/chunks/launchLocalMemory-CLBCUgwd.js +3 -0
- package/dist/chunks/launchLocalVault-BfWJWrBg.js +3 -0
- package/dist/chunks/launchMemoryStores-DdnSVSDZ.js +1 -0
- package/dist/chunks/launchOnboarding-ziCEX3GI.js +8 -0
- package/dist/chunks/launchSchedule-G_c7sgmy.js +1 -0
- package/dist/chunks/launchSkillStore-Z1Kd7nCg.js +1 -0
- package/dist/chunks/launchTeleport-Dp9AFbPx.js +3 -0
- package/dist/chunks/launchVault-hwK-Ljek.js +1 -0
- package/dist/chunks/lazySchema-2sOku3cX.js +1 -0
- package/dist/chunks/lib-BHRYgENJ.js +8 -0
- package/dist/chunks/lib-DRyNc7xD.js +2 -0
- package/dist/chunks/lib-Ddq71jM5.js +14 -0
- package/dist/chunks/loadAgentsDir-Bz0FfcVt.js +5620 -0
- package/dist/chunks/loadAgentsDir-CLM0ws7u.js +1 -0
- package/dist/chunks/loadPluginHooks-B5SIS2uo.js +1 -0
- package/dist/chunks/loadSso-RY87rrJO.js +1 -0
- package/dist/chunks/localSearch-BLF6PSv2.js +1 -0
- package/dist/chunks/localSearch-CTycGe3E.js +1 -0
- package/dist/chunks/localSearch-inDahM8I.js +1 -0
- package/dist/chunks/lockfile--gk1HDM6.js +1 -0
- package/dist/chunks/log-B-Nj3Yed.js +1 -0
- package/dist/chunks/log-DVv8YiNo.js +1 -0
- package/dist/chunks/login-BeLvLowc.js +1 -0
- package/dist/chunks/login-DUUOeNoz.js +1 -0
- package/dist/chunks/logoV2Utils-D5SpeZ3C.js +1 -0
- package/dist/chunks/logout-C2QuTBdS.js +1 -0
- package/dist/chunks/magicDocs-CUXKi-Wv.js +57 -0
- package/dist/chunks/main-CFhpWtpC.js +1420 -0
- package/dist/chunks/main-sboa5RKc.js +31 -0
- package/dist/chunks/mappers-DLkk0PZz.js +1 -0
- package/dist/chunks/mcp-C2f6IgAp.js +2 -0
- package/dist/chunks/mcp-Djui9m3_.js +6 -0
- package/dist/chunks/mcp-DvTSxrJ4.js +1 -0
- package/dist/chunks/mcpServer-DMA0bdFC.js +1 -0
- package/dist/chunks/mcpServer-DxEHfW2v.js +1 -0
- package/dist/chunks/memoize-Bg2dXTzV.js +1 -0
- package/dist/chunks/memoize-DNnuA2aU.js +1 -0
- package/dist/chunks/memory-B9io9Zcv.js +1 -0
- package/dist/chunks/mobile-CPnnvkQV.js +2 -0
- package/dist/chunks/modalContext-B1b0Gsro.js +1 -0
- package/dist/chunks/mode-BDgwh_Xb.js +2 -0
- package/dist/chunks/model-B6cpEh-s.js +1 -0
- package/dist/chunks/model-BcunOCC9.js +1 -0
- package/dist/chunks/modelOptions-CHUHQ9WG.js +1 -0
- package/dist/chunks/normalization-cjPqid31.js +1 -0
- package/dist/chunks/oauth-CnBLewrU.js +1 -0
- package/dist/chunks/oauth-DMPGYAoZ.js +1 -0
- package/dist/chunks/observationStore-DVBxrSdI.js +4 -0
- package/dist/chunks/onChangeAppState-M61XDN6V.js +1 -0
- package/dist/chunks/open-CsUNPSNx.js +1 -0
- package/dist/chunks/openai-BHvlYW3m.js +2 -0
- package/dist/chunks/output-style-BtKuBrs4.js +1 -0
- package/dist/chunks/outputStyles-hHuIBkRB.js +84 -0
- package/dist/chunks/overageCreditGrant-BLFT-rF3.js +1 -0
- package/dist/chunks/p-map-C-WNcN6g.js +1 -0
- package/dist/chunks/p-map-CQ2NythB.js +1 -0
- package/dist/chunks/package-9IAs5Qf0.js +1 -0
- package/dist/chunks/panel-27xLZI7c.js +1 -0
- package/dist/chunks/panel-NoDfShEZ.js +1 -0
- package/dist/chunks/panelCall-CEOWVNCM.js +1 -0
- package/dist/chunks/parseConnectUrl-CxU4IX9o.js +1 -0
- package/dist/chunks/parser-DGlAnaNj.js +1 -0
- package/dist/chunks/parser-DGoLe2RS.js +1 -0
- package/dist/chunks/passes-CExcqu66.js +1 -0
- package/dist/chunks/path-uaxlnhva.js +1 -0
- package/dist/chunks/permissions-B3PceQul.js +1 -0
- package/dist/chunks/permissions-DezIL2xF.js +3 -0
- package/dist/chunks/permissions-DnpI8Whh.js +1 -0
- package/dist/chunks/pipeTransport-CB_Wq_Kx.js +1 -0
- package/dist/chunks/plan-cfZBclh9.js +1 -0
- package/dist/chunks/platform-BXz_rgpy.js +2 -0
- package/dist/chunks/plist-DLGDWBD6.js +6 -0
- package/dist/chunks/plugin-CuhENLRs.js +1 -0
- package/dist/chunks/pluginAutoupdate-wTeOXfQe.js +1 -0
- package/dist/chunks/pluginBlocklist-D6pkKfXr.js +1 -0
- package/dist/chunks/pluginCliCommands-DqxdCwsq.js +1 -0
- package/dist/chunks/pluginFlagging-CjH48f-K.js +1 -0
- package/dist/chunks/pluginOperations-DMFYB3pK.js +2 -0
- package/dist/chunks/pluginStartupCheck-BW3_KfZz.js +1 -0
- package/dist/chunks/pluginStartupCheck-Cj2BMjVw.js +1 -0
- package/dist/chunks/plugins-CarsG2v8.js +4 -0
- package/dist/chunks/policyLimits-DFn1vHkN.js +1 -0
- package/dist/chunks/pollConfig-C8nODJY1.js +1 -0
- package/dist/chunks/poller-DXZJ-dUP.js +1 -0
- package/dist/chunks/poor-C7GQ4a5X.js +1 -0
- package/dist/chunks/poorMode-CBe0rfxB.js +1 -0
- package/dist/chunks/poorMode-CbZTudtw.js +1 -0
- package/dist/chunks/postCommitAttribution--vvAWIqD.js +1 -0
- package/dist/chunks/print-CwwtGSbK.js +114 -0
- package/dist/chunks/privacy-settings-Bz8cAVp5.js +11 -0
- package/dist/chunks/privacyLevel-CRCHhztk.js +1 -0
- package/dist/chunks/process-CnhUplBr.js +1 -0
- package/dist/chunks/process-X4vCP9x0.js +1 -0
- package/dist/chunks/processBashCommand-NL0YEUqW.js +3 -0
- package/dist/chunks/processSlashCommand-FPMWElsI.js +6 -0
- package/dist/chunks/processSlashCommand-_oJs6_w8.js +6 -0
- package/dist/chunks/processUserInput-QAJK0XSn.js +1 -0
- package/dist/chunks/projectContext-B21hXj9q.js +1 -0
- package/dist/chunks/projectContext-DbTQHQS3.js +1 -0
- package/dist/chunks/prompt-C6eleu4x.js +1 -0
- package/dist/chunks/prompt-CUdoQXyN.js +1 -0
- package/dist/chunks/prompt-CsBCtw4l.js +228 -0
- package/dist/chunks/prompt-hnIDYhP4.js +54 -0
- package/dist/chunks/promptEditor-CrlVcc17.js +4 -0
- package/dist/chunks/protectedNamespace-Cn4901XG.js +1 -0
- package/dist/chunks/protocolHandler-DM_w7sJ5.js +13 -0
- package/dist/chunks/protocols-CpoQzjyI.js +7 -0
- package/dist/chunks/proxy-9WvtUy8E.js +99 -0
- package/dist/chunks/rate-limit-options-BehQ3MoX.js +1 -0
- package/dist/chunks/rcDebugLog-BbHlIxCm.js +11 -0
- package/dist/chunks/referral-BfAZEIZL.js +1 -0
- package/dist/chunks/refresh-Bl3Miver.js +1 -0
- package/dist/chunks/registerProtocol-BHZ3vZED.js +36 -0
- package/dist/chunks/registerSkillHooks-BR7v5qDA.js +1 -0
- package/dist/chunks/registry-C2igpRd-.js +1 -0
- package/dist/chunks/release-notes-C_Cou6ye.js +4 -0
- package/dist/chunks/releaseNotes-DveQShyB.js +2 -0
- package/dist/chunks/reload-plugins-D-pAUoB5.js +1 -0
- package/dist/chunks/remote-env-C_dBgbgo.js +1 -0
- package/dist/chunks/remoteBridgeCore-BxWhTy1u.js +1 -0
- package/dist/chunks/remoteControlServer-D3OjUlB-.js +3 -0
- package/dist/chunks/rename-f3m0ETSt.js +1 -0
- package/dist/chunks/renderOptions-QZLxGnh_.js +1 -0
- package/dist/chunks/replBridge-qeVmCJOb.js +1 -0
- package/dist/chunks/resume-CM_8p9Iu.js +2 -0
- package/dist/chunks/rewind-0cB7o6fx.js +1 -0
- package/dist/chunks/ripgrep-BEWqxrpl.js +5 -0
- package/dist/chunks/ripgrep-G82m12Ng.js +1 -0
- package/dist/chunks/rollback-CVo2gqgR.js +11 -0
- package/dist/chunks/runtimeObserver-1EdvvoYw.js +1 -0
- package/dist/chunks/runtimeObserver-CX6vepq9.js +10 -0
- package/dist/chunks/sandbox-adapter-DzHfW2tH.js +1 -0
- package/dist/chunks/sandbox-toggle-N6KgmH2T.js +1 -0
- package/dist/chunks/sanitization-CIBpY9KT.js +1 -0
- package/dist/chunks/satisfies-B7ZvBUQP.js +1 -0
- package/dist/chunks/schemas-Bwt-7U5W.js +40 -0
- package/dist/chunks/sdk-Drp69kIx.js +1 -0
- package/dist/chunks/sdkHeapDumpMonitor-B9GVkISU.js +1 -0
- package/dist/chunks/searchExtraTools-BphNJsl8.js +1 -0
- package/dist/chunks/semver-BsItM2Z4.js +1 -0
- package/dist/chunks/semver-D3lOjiBN.js +1 -0
- package/dist/chunks/sentry-ySzRCXGd.js +1 -0
- package/dist/chunks/server-C8nMDji6.js +1 -0
- package/dist/chunks/server-XZG51Slr.js +1 -0
- package/dist/chunks/serverBanner-D68EBGzH.js +1 -0
- package/dist/chunks/serverLog-hv2hc5US.js +1 -0
- package/dist/chunks/session-CVoGFb8a.js +2 -0
- package/dist/chunks/sessionDataUploader-BaD1Q7v3.js +1 -0
- package/dist/chunks/sessionDiscovery-D7g66TX6.js +1 -0
- package/dist/chunks/sessionFileAccessHooks-9lPjspRX.js +1 -0
- package/dist/chunks/sessionManager-BhOjMNAP.js +1 -0
- package/dist/chunks/sessionMemory-BA6cdxqP.js +1 -0
- package/dist/chunks/sessionMemory-CtEhIRGF.js +1 -0
- package/dist/chunks/sessionMemoryUtils-D_B92ypa.js +1 -0
- package/dist/chunks/sessionObserver-CESI-uVZ.js +1 -0
- package/dist/chunks/sessionObserver-SpE_eglb.js +20 -0
- package/dist/chunks/sessionRestore-DqsqYK4K.js +1 -0
- package/dist/chunks/sessionState-Dgky34M4.js +1 -0
- package/dist/chunks/sessionStorage-DJb5HKhQ.js +1 -0
- package/dist/chunks/sessionStorage-DSMfHTcg.js +1 -0
- package/dist/chunks/sessionStoragePortable-DyM_hZnp.js +3 -0
- package/dist/chunks/sessionTitle-Bzxk_EW9.js +14 -0
- package/dist/chunks/sessionTracing-DR8O0686.js +12 -0
- package/dist/chunks/setup-BHNS9sBS.js +9 -0
- package/dist/chunks/setup-BafJxZ0F.js +4 -0
- package/dist/chunks/setup-MLNNYLi6.js +1 -0
- package/dist/chunks/shadowedRuleDetection-Ch9gTxfD.js +1 -0
- package/dist/chunks/shellQuote-3s6tV-hK.js +1 -0
- package/dist/chunks/sideQuestion-BBn6XIOD.js +20 -0
- package/dist/chunks/signal-BTxmab6r.js +1 -0
- package/dist/chunks/signin-ChbUAEGq.js +1 -0
- package/dist/chunks/sink-B1qICbRh.js +1 -0
- package/dist/chunks/sink-yBIcxQf1.js +1 -0
- package/dist/chunks/sinks-C7weduDR.js +1 -0
- package/dist/chunks/skill-learning-08nEdOJ2.js +5 -0
- package/dist/chunks/skillGapStore-CuvWGqFb.js +5 -0
- package/dist/chunks/skillGapStore-DmMuDXKO.js +1 -0
- package/dist/chunks/skillGenerator-mEMjcmmm.js +8 -0
- package/dist/chunks/skillLearning-B3a-8Ys3.js +1 -0
- package/dist/chunks/skillLearning-q5T6o0mH.js +1 -0
- package/dist/chunks/skillPanel-BuUMhONI.js +28 -0
- package/dist/chunks/skillSearchPanel-BUEv7Sm9.js +21 -0
- package/dist/chunks/skillUsageTracking-BBTiWOKB.js +1 -0
- package/dist/chunks/skills-DvQuQfDW.js +1 -0
- package/dist/chunks/slashCommandParsing-BkTC3GRb.js +1 -0
- package/dist/chunks/sleep-CC8jykQd.js +1 -0
- package/dist/chunks/slowOperations-niPqC54V.js +1 -0
- package/dist/chunks/sprites-C5X62Vyh.js +1 -0
- package/dist/chunks/src-58uAJYF_.js +6 -0
- package/dist/chunks/src-7Y8fx6gl.js +2 -0
- package/dist/chunks/src-BuserDTl.js +1 -0
- package/dist/chunks/src-CMY4XoRy.js +1 -0
- package/dist/chunks/src-CfeAM1FB.js +1 -0
- package/dist/chunks/src-CxT2FDXy.js +1 -0
- package/dist/chunks/src-CyQf7rVu.js +26 -0
- package/dist/chunks/src-DJLbU8sT.js +1 -0
- package/dist/chunks/src-DJQlyVK6.js +5 -0
- package/dist/chunks/src-DNHWYkls.js +53 -0
- package/dist/chunks/src-DU_g0n_Q.js +1 -0
- package/dist/chunks/src-DhqzQjMg.js +19 -0
- package/dist/chunks/src-Duzv1Znh.js +1 -0
- package/dist/chunks/src-OBx6GAig.js +1 -0
- package/dist/chunks/src-WjnK2Dbo.js +1 -0
- package/dist/chunks/src-hjAMxWFj.js +7 -0
- package/dist/chunks/src-lLwoqdC0.js +9 -0
- package/dist/chunks/src-yRsWbJp_.js +2 -0
- package/dist/chunks/sso-oidc-yfC-A2A2.js +1 -0
- package/dist/chunks/startupProfiler-4P7GdVw6.js +3 -0
- package/dist/chunks/startupProfiler-CipS0otN.js +1 -0
- package/dist/chunks/state-9wSimHaL.js +1 -0
- package/dist/chunks/state-BQkyHx88.js +1 -0
- package/dist/chunks/state-CEAUTY3A.js +1 -0
- package/dist/chunks/state-CUZTq6r0.js +1 -0
- package/dist/chunks/state-U0HNbTx8.js +1 -0
- package/dist/chunks/staticRender-BB3CisKd.js +1 -0
- package/dist/chunks/stats-Dyi2U_mq.js +1 -0
- package/dist/chunks/status-CSL-GMou.js +1 -0
- package/dist/chunks/statusNoticeHelpers-BaXE951d.js +1 -0
- package/dist/chunks/stdio-BuUJYJFs.js +3 -0
- package/dist/chunks/stdio-iX0TTmbp.js +1 -0
- package/dist/chunks/stickers-2CRSckfH.js +1 -0
- package/dist/chunks/store-DdfsZvtr.js +1 -0
- package/dist/chunks/stringUtils-U7kMYMJq.js +4 -0
- package/dist/chunks/sts-CJmdeT7s.js +1 -0
- package/dist/chunks/subprocessEnv-DKTILev5.js +1 -0
- package/dist/chunks/subprocessEnv-WjRguKWf.js +1 -0
- package/dist/chunks/supports-color-DaytqqjM.js +1 -0
- package/dist/chunks/systemPromptSections-BnrxBWdc.js +1 -0
- package/dist/chunks/systemPromptSections-Dk6azdAb.js +1 -0
- package/dist/chunks/systemTheme-C1GNqIfy.js +1 -0
- package/dist/chunks/tag-C4cH016L.js +11 -0
- package/dist/chunks/tasks-CEdUW3RQ.js +1 -0
- package/dist/chunks/teamHelpers-CTA_CtTT.js +1 -0
- package/dist/chunks/teamHelpers-D65qZInv.js +1 -0
- package/dist/chunks/teammate-C-FiRloZ.js +1 -0
- package/dist/chunks/teammateModeSnapshot-DWRG5-Us.js +1 -0
- package/dist/chunks/teammateModeSnapshot-DtgsNj1G.js +1 -0
- package/dist/chunks/teleport-C_UgMy0V.js +1 -0
- package/dist/chunks/templateJobs-CMbS0tuk.js +12 -0
- package/dist/chunks/terminalSetup--jwGVap8.js +33 -0
- package/dist/chunks/terminalSetup-zID-wokH.js +1 -0
- package/dist/chunks/theme-C6XwTpVy.js +1 -0
- package/dist/chunks/thinkback-CVLnmLAT.js +1 -0
- package/dist/chunks/thinkback-MeOOO7gf.js +1 -0
- package/dist/chunks/thinkback-play-D7G260F4.js +1 -0
- package/dist/chunks/tmux-DtYJuTWh.js +1 -0
- package/dist/chunks/toolEventObserver-BtC9xDYY.js +1 -0
- package/dist/chunks/toolEventObserver-MfsHAt8h.js +1 -0
- package/dist/chunks/toolPool-CEi_2xIH.js +1 -0
- package/dist/chunks/toolPool-CdYJcCnc.js +1 -0
- package/dist/chunks/trustedDevice-CjQTGAa4.js +1 -0
- package/dist/chunks/trustedDevice-DADcxAAs.js +1 -0
- package/dist/chunks/tui-B8Ijq4Pk.js +6 -0
- package/dist/chunks/turndown.es-T-Xe93nc.js +69 -0
- package/dist/chunks/types-BVelRhgb.js +17 -0
- package/dist/chunks/types-Bqp3meR4.js +1 -0
- package/dist/chunks/types-CNmINIu3.js +1 -0
- package/dist/chunks/types-DgzOOCDl.js +3 -0
- package/dist/chunks/udsClient-ClY_0CKr.js +1 -0
- package/dist/chunks/ultrareviewCommand-CqvHj9Io.js +3 -0
- package/dist/chunks/undercover-CVCVOSrs.js +1 -0
- package/dist/chunks/undercover-CbxiJO2b.js +31 -0
- package/dist/chunks/up-CBJhVVbd.js +12 -0
- package/dist/chunks/updateCCB-DPPpquAw.js +11 -0
- package/dist/chunks/upgrade-DaaHOvft.js +1 -0
- package/dist/chunks/upgrade-k7ZvAWZ0.js +1 -0
- package/dist/chunks/upload-CEDxwMa1.js +1 -0
- package/dist/chunks/upstreamproxy-BtGJ2LRi.js +11 -0
- package/dist/chunks/usage-CsUSu4fb.js +1 -0
- package/dist/chunks/usage-oABvixCs.js +1 -0
- package/dist/chunks/useExitOnCtrlCDWithKeybindings-CBce_-hb.js +1 -0
- package/dist/chunks/useExitOnCtrlCDWithKeybindings-CLYjTZXb.js +1 -0
- package/dist/chunks/useKeybinding-DAQL_dB_.js +1 -0
- package/dist/chunks/useMainLoopModel-QC_H3esG.js +1 -0
- package/dist/chunks/useManageMCPConnections-bf-VfJGD.js +1 -0
- package/dist/chunks/useManagePlugins-CXdYUpit.js +1 -0
- package/dist/chunks/useMergedTools-DERzhQOJ.js +1 -0
- package/dist/chunks/useSearchInput-nqhdILI2.js +1 -0
- package/dist/chunks/useTerminalSize-DzV4aaTi.js +1 -0
- package/dist/chunks/useVoice-CO69xtWC.js +1 -0
- package/dist/chunks/util-C8wqPqv0.js +1 -0
- package/dist/chunks/utils-CDFsSXHr.js +1 -0
- package/dist/chunks/utils-ZO5TryVH.js +1 -0
- package/dist/chunks/v4-DLhvDPkt.js +1 -0
- package/dist/chunks/validatePlugin-C4cd71Yz.js +1 -0
- package/dist/chunks/vertex-sdk-CC3U26o7.js +9 -0
- package/dist/chunks/vim-BNiQx5Vf.js +1 -0
- package/dist/chunks/voice-BCbnJzYL.js +8 -0
- package/dist/chunks/voice-BJyz9KZO.js +8 -0
- package/dist/chunks/voice-CP2ULpju.js +2 -0
- package/dist/chunks/voiceModeEnabled-C-pa8B3Q.js +1 -0
- package/dist/chunks/voiceModeEnabled-CMtRN2pa.js +1 -0
- package/dist/chunks/voiceStreamSTT-31b2u0rj.js +1 -0
- package/dist/chunks/voiceStreamSTT-Fkhm6Ftg.js +1 -0
- package/dist/chunks/voiceStreamSTT-sI-hg-aP.js +1 -0
- package/dist/chunks/web-tools-CLmlPgLk.js +1 -0
- package/dist/chunks/which-C0ex-06E.js +1 -0
- package/dist/chunks/windowsPaths-C5TNvKYu.js +1 -0
- package/dist/chunks/windowsPaths-Kue_7s52.js +1 -0
- package/dist/chunks/workSecret-Dh5Ayceu.js +1 -0
- package/dist/chunks/workerRegistry-B5iWYqpK.js +1 -0
- package/dist/chunks/worktree-BypJA0GB.js +1 -0
- package/dist/chunks/worktreeModeEnabled-DPTdK3JV.js +1 -0
- package/dist/chunks/worktreeModeEnabled-Dtrcn7eD.js +1 -0
- package/dist/chunks/wrapper-BDPb4PTV.js +6 -0
- package/dist/chunks/wrapper-DRTs77RK.js +1 -0
- package/dist/chunks/xdg-BaVL-FHd.js +1 -0
- package/dist/chunks/xml-E8VMPwdJ.js +1 -0
- package/dist/chunks/zod-B_P2Eo_D.js +1 -0
- package/dist/cli-bun.js +2 -0
- package/dist/cli-node.js +2 -0
- package/dist/cli.js +2 -0
- package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
- package/dist/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/package.json +233 -0
- package/scripts/postinstall.cjs +389 -0
- package/scripts/run-parallel.mjs +10 -0
- package/scripts/setup-chrome-mcp.mjs +70 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{h as t,t as n}from"./client-CinDjeSq.js";import{a as r,o as i,t as a}from"./dist-es-BPPewn1A.js";import{c as o,i as s,r as c,s as l,t as u,u as d}from"./dist-es-Do_155z5.js";import{promises as f}from"node:fs";var p,m=e((()=>{p=e=>e&&(typeof e.sso_start_url==`string`||typeof e.sso_account_id==`string`||typeof e.sso_session==`string`||typeof e.sso_region==`string`||typeof e.sso_role_name==`string`)})),h=e((()=>{})),g,_=e((()=>{g=`To refresh this SSO session run 'aws sso login' with the corresponding profile.`})),v,y=e((()=>{v=async(e,t={},n)=>{let{SSOOIDCClient:r}=await import(`./sso-oidc-yfC-A2A2.js`),i=e=>t.clientConfig?.[e]??t.parentClientConfig?.[e]??n?.[e];return new r(Object.assign({},t.clientConfig??{},{region:e??t.clientConfig?.region,logger:i(`logger`),userAgentAppId:i(`userAgentAppId`)}))}})),b,x=e((()=>{y(),b=async(e,t,n={},r)=>{let{CreateTokenCommand:i}=await import(`./sso-oidc-yfC-A2A2.js`);return(await v(t,n,r)).send(new i({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:`refresh_token`}))}})),S,C=e((()=>{a(),_(),S=e=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new r(`Token is expired. ${g}`,!1)}})),w,T=e((()=>{a(),_(),w=(e,t,n=!1)=>{if(t===void 0)throw new r(`Value not present for '${e}' in SSO Token${n?`. Cannot refresh`:``}. ${g}`,!1)}})),E,D,O=e((()=>{u(),{writeFile:E}=f,D=(e,t)=>E(o(e),JSON.stringify(t,null,2))})),k,A,j=e((()=>{a(),u(),_(),x(),C(),T(),O(),k=new Date(0),A=(e={})=>async({callerClientConfig:t}={})=>{e.logger?.debug(`@aws-sdk/token-providers - fromSso`);let n=await c(e),i=d({profile:e.profile??t?.profile}),a=n[i];if(!a)throw new r(`Profile '${i}' could not be found in shared credentials file.`,!1);if(!a.sso_session)throw new r(`Profile '${i}' is missing required property 'sso_session'.`);let o=a.sso_session,u=(await s(e))[o];if(!u)throw new r(`Sso session '${o}' could not be found in shared credentials file.`,!1);for(let e of[`sso_start_url`,`sso_region`])if(!u[e])throw new r(`Sso session '${o}' is missing required property '${e}'.`,!1);u.sso_start_url;let f=u.sso_region,p;try{p=await l(o)}catch{throw new r(`The SSO session token associated with profile=${i} was not found or is invalid. ${g}`,!1)}w(`accessToken`,p.accessToken),w(`expiresAt`,p.expiresAt);let{accessToken:m,expiresAt:h}=p,_={token:m,expiration:new Date(h)};if(_.expiration.getTime()-Date.now()>3e5)return _;if(Date.now()-k.getTime()<30*1e3)return S(_),_;w(`clientId`,p.clientId,!0),w(`clientSecret`,p.clientSecret,!0),w(`refreshToken`,p.refreshToken,!0);try{k.setTime(Date.now());let n=await b(p,f,e,t);w(`accessToken`,n.accessToken),w(`expiresIn`,n.expiresIn);let r=new Date(Date.now()+n.expiresIn*1e3);try{await D(o,{...p,accessToken:n.accessToken,expiresAt:r.toISOString(),refreshToken:n.refreshToken})}catch{}return{token:n.accessToken,expiration:r}}catch{return S(_),_}}})),M=e((()=>{})),N=e((()=>{})),P=e((()=>{h(),j(),M(),N()})),F,I,L=e((()=>{n(),P(),a(),u(),F=!1,I=async({ssoStartUrl:e,ssoSession:n,ssoAccountId:r,ssoRegion:a,ssoRoleName:o,ssoClient:s,clientConfig:c,parentClientConfig:u,callerClientConfig:d,profile:f,filepath:p,configFilepath:m,ignoreCache:h,logger:g})=>{let _,v=`To refresh this SSO session run aws sso login with the corresponding profile.`;if(n)try{let e=await A({profile:f,filepath:p,configFilepath:m,ignoreCache:h})();_={accessToken:e.token,expiresAt:new Date(e.expiration).toISOString()}}catch(e){throw new i(e.message,{tryNextLink:F,logger:g})}else try{_=await l(e)}catch{throw new i(`The SSO session associated with this profile is invalid. ${v}`,{tryNextLink:F,logger:g})}if(new Date(_.expiresAt).getTime()-Date.now()<=0)throw new i(`The SSO session associated with this profile has expired. ${v}`,{tryNextLink:F,logger:g});let{accessToken:y}=_,{SSOClient:b,GetRoleCredentialsCommand:x}=await import(`./loadSso-RY87rrJO.js`),S=s||new b(Object.assign({},c??{},{logger:c?.logger??d?.logger??u?.logger,region:c?.region??a,userAgentAppId:c?.userAgentAppId??d?.userAgentAppId??u?.userAgentAppId})),C;try{C=await S.send(new x({accountId:r,roleName:o,accessToken:y}))}catch(e){throw new i(e,{tryNextLink:F,logger:g})}let{roleCredentials:{accessKeyId:w,secretAccessKey:T,sessionToken:E,expiration:D,credentialScope:O,accountId:k}={}}=C;if(!w||!T||!E||!D)throw new i(`SSO returns an invalid temporary credential.`,{tryNextLink:F,logger:g});let j={accessKeyId:w,secretAccessKey:T,sessionToken:E,expiration:new Date(D),...O&&{credentialScope:O},...k&&{accountId:k}};return n?t(j,`CREDENTIALS_SSO`,`s`):t(j,`CREDENTIALS_SSO_LEGACY`,`u`),j}})),R,z=e((()=>{a(),R=(e,t)=>{let{sso_start_url:n,sso_account_id:r,sso_region:a,sso_role_name:o}=e;if(!n||!r||!a||!o)throw new i(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(`, `)}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:t});return e}})),B,V=e((()=>{a(),u(),m(),L(),z(),B=(e={})=>async({callerClientConfig:t}={})=>{e.logger?.debug(`@aws-sdk/credential-provider-sso - fromSSO`);let{ssoStartUrl:n,ssoAccountId:r,ssoRegion:a,ssoRoleName:o,ssoSession:l}=e,{ssoClient:u}=e,f=d({profile:e.profile??t?.profile});if(!n&&!r&&!a&&!o&&!l){let t=(await c(e))[f];if(!t)throw new i(`Profile ${f} was not found.`,{logger:e.logger});if(!p(t))throw new i(`Profile ${f} is not configured with SSO credentials.`,{logger:e.logger});if(t?.sso_session){let r=(await s(e))[t.sso_session],o=` configurations in profile ${f} and sso-session ${t.sso_session}`;if(a&&a!==r.sso_region)throw new i(`Conflicting SSO region`+o,{tryNextLink:!1,logger:e.logger});if(n&&n!==r.sso_start_url)throw new i(`Conflicting SSO start_url`+o,{tryNextLink:!1,logger:e.logger});t.sso_region=r.sso_region,t.sso_start_url=r.sso_start_url}let{sso_start_url:r,sso_account_id:o,sso_region:l,sso_role_name:d,sso_session:m}=R(t,e.logger);return I({ssoStartUrl:r,ssoSession:m,ssoAccountId:o,ssoRegion:l,ssoRoleName:d,ssoClient:u,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:f,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!n||!r||!a||!o)throw new i(`Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"`,{tryNextLink:!1,logger:e.logger});else return I({ssoStartUrl:n,ssoSession:l,ssoAccountId:r,ssoRegion:a,ssoRoleName:o,ssoClient:u,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:f,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}})),H=e((()=>{})),U=e((()=>{V(),m(),H(),z()}));export{p as i,B as n,R as r,U as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{Buffer as t}from"buffer";var n,r=e((()=>{n=e=>typeof ArrayBuffer==`function`&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)===`[object ArrayBuffer]`})),i,a,o=e((()=>{r(),i=(e,r=0,i=e.byteLength-r)=>{if(!n(e))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return t.from(e,r,i)},a=(e,n)=>{if(typeof e!=`string`)throw TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return n?t.from(e,n):t.from(e)}})),s,c=e((()=>{o(),s=e=>{let t=a(e,`utf8`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)}})),l,u=e((()=>{c(),l=e=>typeof e==`string`?s(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)})),d,f=e((()=>{o(),d=e=>{if(typeof e==`string`)return e;if(typeof e!=`object`||typeof e.byteOffset!=`number`||typeof e.byteLength!=`number`)throw Error(`@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.`);return i(e.buffer,e.byteOffset,e.byteLength).toString(`utf8`)}})),p=e((()=>{c(),u(),f()}));export{i as a,r as c,s as i,n as l,d as n,a as o,l as r,o as s,p as t};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";import{n as r,t as i}from"./dist-es-Cp--qjOi.js";import{n as a,t as o}from"./dist-es-BgLoR-hQ.js";import{Readable as s,Writable as c}from"node:stream";import{Agent as l,request as u}from"node:https";import d,{constants as f}from"node:http2";function p(e){let t=e&&typeof e==`object`&&`reason`in e?e.reason:void 0;if(t){if(t instanceof Error){let e=Error(`Request aborted`);return e.name=`AbortError`,e.cause=t,e}let e=Error(String(t));return e.name=`AbortError`,e}let n=Error(`Request aborted`);return n.name=`AbortError`,n}var m=e((()=>{})),h,g=e((()=>{h=[`ECONNRESET`,`EPIPE`,`ETIMEDOUT`]})),_,v=e((()=>{_=e=>{let t={};for(let n of Object.keys(e)){let r=e[n];t[n]=Array.isArray(r)?r.join(`,`):r}return t}})),y,b=e((()=>{y={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)}})),x,S,C=e((()=>{b(),x=1e3,S=(e,t,n=0)=>{if(!n)return-1;let r=r=>{let i=y.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:`TimeoutError`}))},n-r),a=e=>{e?.connecting?e.on(`connect`,()=>{y.clearTimeout(i)}):y.clearTimeout(i)};e.socket?a(e.socket):e.on(`socket`,a)};return n<2e3?(r(0),0):y.setTimeout(r.bind(null,x),x)}})),w,T=e((()=>{b(),w=(e,t,n=0,r,i)=>n?y.setTimeout(()=>{let a=`@smithy/node-http-handler - [${r?`ERROR`:`WARN`}] a request has exceeded the configured ${n} ms requestTimeout.`;if(r){let n=Object.assign(Error(a),{name:`TimeoutError`,code:`ETIMEDOUT`});e.destroy(n),t(n)}else a+=` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`,i?.warn?.(a)},n):-1})),E,D,O=e((()=>{b(),E=3e3,D=(e,{keepAlive:t,keepAliveMsecs:n},r=E)=>{if(t!==!0)return-1;let i=()=>{e.socket?e.socket.setKeepAlive(t,n||0):e.on(`socket`,e=>{e.setKeepAlive(t,n||0)})};return r===0?(i(),0):y.setTimeout(i,r)}})),k,A,j=e((()=>{b(),k=3e3,A=(e,t,n=0)=>{let r=r=>{let i=n-r,a=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:`TimeoutError`}))};e.socket?(e.socket.setTimeout(i,a),e.on(`close`,()=>e.socket?.removeListener(`timeout`,a))):e.setTimeout(i,a)};return 0<n&&n<6e3?(r(0),0):y.setTimeout(r.bind(null,n===0?0:k),k)}}));async function M(e,t,n=P,r=!1){let i=t.headers??{},a=i.Expect||i.expect,o=-1,s=!0;!r&&a===`100-continue`&&(s=await Promise.race([new Promise(e=>{o=Number(y.setTimeout(()=>e(!0),Math.max(P,n)))}),new Promise(t=>{e.on(`continue`,()=>{y.clearTimeout(o),t(!0)}),e.on(`response`,()=>{y.clearTimeout(o),t(!1)}),e.on(`error`,()=>{y.clearTimeout(o),t(!1)})})])),s&&N(e,t.body)}function N(e,t){if(t instanceof s){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==`string`){n&&t.byteLength===0?e.end():e.end(t);return}let r=t;if(typeof r==`object`&&r.buffer&&typeof r.byteOffset==`number`&&typeof r.byteLength==`number`){e.end(Buffer.from(r.buffer,r.byteOffset,r.byteLength));return}e.end(Buffer.from(t));return}e.end()}var P,F=e((()=>{b(),P=6e3})),I,L,R,z,B=e((()=>{i(),a(),m(),g(),v(),C(),T(),O(),j(),b(),F(),t(),I=0,L=void 0,R=void 0,z=class e{static create(t){return typeof t?.handle==`function`?t:new e(t)}static checkSocketUsage(e,t,n=console){let{sockets:r,requests:i,maxSockets:a}=e;if(typeof a!=`number`||a===1/0||Date.now()-15e3<t)return t;if(r&&i)for(let e in r){let t=r[e]?.length??0,o=i[e]?.length??0;if(t>=a&&o>=2*a)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${t} and ${o} additional requests are enqueued.
|
|
2
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){n(this,`config`,void 0),n(this,`configProvider`,void 0),n(this,`socketWarningTimestamp`,0),n(this,`externalAgent`,!1),n(this,`metadata`,{handlerProtocol:`http/1.1`}),this.configProvider=new Promise((t,n)=>{typeof e==`function`?e().then(e=>{t(this.resolveDefaultConfig(e))}).catch(n):t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(t,{abortSignal:n,requestTimeout:i}={}){this.config||(this.config=await this.configProvider);let a=this.config,s=t.protocol===`https:`;return!s&&!this.config.httpAgent&&(this.config.httpAgent=await this.config.httpAgentProvider()),new Promise((c,d)=>{let f,m=[],g=async e=>{await f,m.forEach(y.clearTimeout),c(e)},v=async e=>{await f,m.forEach(y.clearTimeout),d(e)};if(n?.aborted){v(p(n));return}let b=t.headers??{},x=(b.Expect??b.expect)===`100-continue`,C=s?a.httpsAgent:a.httpAgent;x&&!this.externalAgent&&(C=new(s?l:L)({keepAlive:!1,maxSockets:1/0})),m.push(y.setTimeout(()=>{this.socketWarningTimestamp=e.checkSocketUsage(C,this.socketWarningTimestamp,a.logger)},a.socketAcquisitionWarningTimeout??(a.requestTimeout??2e3)+(a.connectionTimeout??1e3)));let T=o(t.query||{}),E;(t.username!=null||t.password!=null)&&(E=`${t.username??``}:${t.password??``}`);let O=t.path;T&&(O+=`?${T}`),t.fragment&&(O+=`#${t.fragment}`);let k=t.hostname??``;k=k[0]===`[`&&k.endsWith(`]`)?t.hostname.slice(1,-1):t.hostname;let j={headers:t.headers,host:k,method:t.method,path:O,port:t.port,agent:C,auth:E},N=(s?u:R)(j,e=>{g({response:new r({statusCode:e.statusCode||-1,reason:e.statusMessage,headers:_(e.headers),body:e})})});if(N.on(`error`,e=>{h.includes(e.code)?v(Object.assign(e,{name:`TimeoutError`})):v(e)}),n){let e=()=>{N.destroy(),v(p(n))};if(typeof n.addEventListener==`function`){let t=n;t.addEventListener(`abort`,e,{once:!0}),N.once(`close`,()=>t.removeEventListener(`abort`,e))}else n.onabort=e}let P=i??a.requestTimeout;m.push(S(N,v,a.connectionTimeout)),m.push(w(N,v,P,a.throwOnRequestTimeout,a.logger??console)),m.push(A(N,v,a.socketTimeout));let F=j.agent;typeof F==`object`&&`keepAlive`in F&&m.push(D(N,{keepAlive:F.keepAlive,keepAliveMsecs:F.keepAliveMsecs})),f=M(N,t,P,this.externalAgent).catch(e=>(m.forEach(y.clearTimeout),d(e)))})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(n=>({...n,[e]:t}))}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:r,socketAcquisitionWarningTimeout:i,httpAgent:a,httpsAgent:o,throwOnRequestTimeout:s,logger:c}=e||{};return{connectionTimeout:n,requestTimeout:t,socketTimeout:r,socketAcquisitionWarningTimeout:i,throwOnRequestTimeout:s,httpAgentProvider:async()=>{let{Agent:e,request:t}=await import(`node:http`);return R=t,L=e,a instanceof L||typeof a?.destroy==`function`?(this.externalAgent=!0,a):new L({keepAlive:!0,maxSockets:50,...a})},httpsAgent:o instanceof l||typeof o?.destroy==`function`?(this.externalAgent=!0,o):new l({keepAlive:!0,maxSockets:50,...o}),logger:c}}}})),V,H,U=e((()=>{t(),V=Symbol.iterator,H=class{constructor(e){n(this,`sessions`,[]),this.sessions=e??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(e){this.sessions.push(e)}contains(e){return this.sessions.includes(e)}remove(e){this.sessions=this.sessions.filter(t=>t!==e)}[V](){return this.sessions[Symbol.iterator]()}destroy(e){for(let t of this.sessions)t===e&&(t.destroyed||t.destroy())}}})),W,G=e((()=>{U(),t(),W=class{constructor(e){if(n(this,`config`,void 0),n(this,`sessionCache`,new Map),this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError(`maxConcurrency must be greater than zero.`)}lease(e,t){let n=this.getUrlString(e),r=this.sessionCache.get(n);if(r){let e=r.poll();if(e&&!this.config.disableConcurrency&&!t.isEventStream)return e}let i=d.connect(n);this.config.maxConcurrency&&i.settings({maxConcurrentStreams:this.config.maxConcurrency},t=>{if(t)throw Error(`Fail to set maxConcurrentStreams to `+this.config.maxConcurrency+`when creating new session for `+e.destination.toString())}),i.unref();let a=()=>{i.destroy(),this.deleteSession(n,i)};i.on(`goaway`,a),i.on(`error`,a),i.on(`frameError`,a),i.on(`close`,()=>this.deleteSession(n,i)),t.requestTimeout&&i.setTimeout(t.requestTimeout,a);let o=this.sessionCache.get(n)||new H;return o.offerLast(i),this.sessionCache.set(n,o),i}deleteSession(e,t){let n=this.sessionCache.get(e);n&&n.contains(t)&&(n.remove(t),this.sessionCache.set(e,n))}release(e,t){let n=this.getUrlString(e);this.sessionCache.get(n)?.offerLast(t)}destroy(){for(let[e,t]of this.sessionCache){for(let e of t)e.destroyed||e.destroy(),t.remove(e);this.sessionCache.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError(`maxConcurrentStreams must be greater than zero.`);this.config.maxConcurrency=e}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}getUrlString(e){return e.destination.toString()}}})),K,q=e((()=>{i(),a(),m(),v(),G(),F(),t(),K=class e{static create(t){return typeof t?.handle==`function`?t:new e(t)}constructor(e){n(this,`config`,void 0),n(this,`configProvider`,void 0),n(this,`metadata`,{handlerProtocol:`h2`}),n(this,`connectionManager`,new W({})),this.configProvider=new Promise((t,n)=>{typeof e==`function`?e().then(e=>{t(e||{})}).catch(n):t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:i}={}){this.config||(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams??!1),this.config.maxConcurrentStreams&&this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams));let{requestTimeout:a,disableConcurrentStreams:s}=this.config,c=n??a;return new Promise((n,a)=>{let l=!1,u,d=async e=>{await u,n(e)},m=async e=>{await u,a(e)};if(t?.aborted){l=!0,m(p(t));return}let{hostname:h,method:g,port:v,protocol:y,query:b}=e,x=``;(e.username!=null||e.password!=null)&&(x=`${e.username??``}:${e.password??``}@`);let S=`${y}//${x}${h}${v?`:${v}`:``}`,C={destination:new URL(S)},w=this.connectionManager.lease(C,{requestTimeout:this.config?.sessionTimeout,isEventStream:i}),T=e=>{s&&this.destroySession(w),l=!0,m(e)},E=o(b??{}),D=e.path;E&&(D+=`?${E}`),e.fragment&&(D+=`#${e.fragment}`);let O=w.request({...e.headers,[f.HTTP2_HEADER_PATH]:D,[f.HTTP2_HEADER_METHOD]:g});if(w.ref(),O.on(`response`,e=>{let t=new r({statusCode:e[`:status`]??-1,headers:_(e),body:O});l=!0,d({response:t}),s&&(w.close(),this.connectionManager.deleteSession(S,w))}),c&&O.setTimeout(c,()=>{O.close();let e=Error(`Stream timed out because of no activity for ${c} ms`);e.name=`TimeoutError`,T(e)}),t){let e=()=>{O.close(),T(p(t))};if(typeof t.addEventListener==`function`){let n=t;n.addEventListener(`abort`,e,{once:!0}),O.once(`close`,()=>n.removeEventListener(`abort`,e))}else t.onabort=e}O.on(`frameError`,(e,t,n)=>{T(Error(`Frame type id ${e} in stream id ${n} has failed with code ${t}.`))}),O.on(`error`,T),O.on(`aborted`,()=>{T(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${O.rstCode}.`))}),O.on(`close`,()=>{w.unref(),s&&w.destroy(),l||T(Error(`Unexpected error: http2 request did not get a response`))}),u=M(O,e,c)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(n=>({...n,[e]:t}))}httpHandlerConfigs(){return this.config??{}}destroySession(e){e.destroyed||e.destroy()}}})),J,Y=e((()=>{t(),J=class extends c{constructor(...e){super(...e),n(this,`bufferedBytes`,[])}_write(e,t,n){this.bufferedBytes.push(e),n()}}}));async function X(e){let t=[],n=e.getReader(),r=!1,i=0;for(;!r;){let{done:e,value:a}=await n.read();a&&(t.push(a),i+=a.length),r=e}let a=new Uint8Array(i),o=0;for(let e of t)a.set(e,o),o+=e.length;return a}var Z,Q,$=e((()=>{Y(),Z=e=>Q(e)?X(e):new Promise((t,n)=>{let r=new J;e.pipe(r),e.on(`error`,e=>{r.end(),n(e)}),r.on(`error`,n),r.on(`finish`,function(){t(new Uint8Array(Buffer.concat(this.bufferedBytes)))})}),Q=e=>typeof ReadableStream==`function`&&e instanceof ReadableStream}));e((()=>{B(),q(),$()}))();export{I as DEFAULT_REQUEST_TIMEOUT,K as NodeHttp2Handler,z as NodeHttpHandler,Z as streamCollector};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./dist-es-4xyrZoNc2.js";t();export{e as fromSSO};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";var r,i=e((()=>{t(),r=class e extends Error{constructor(t,r=!0){let i,a=!0;typeof r==`boolean`?(i=void 0,a=r):typeof r==`object`&&r&&(i=r.logger,a=r.tryNextLink??!0),super(t),n(this,`name`,`ProviderError`),n(this,`tryNextLink`,void 0),this.tryNextLink=a,Object.setPrototypeOf(this,e.prototype),i?.debug?.(`@smithy/property-provider ${a?`->`:`(!)`} ${t}`)}static from(e,t=!0){return Object.assign(new this(e.message,t),e)}}})),a,o=e((()=>{i(),t(),a=class e extends r{constructor(t,r=!0){super(t,r),n(this,`name`,`CredentialsProviderError`),Object.setPrototypeOf(this,e.prototype)}}})),s,c=e((()=>{i(),t(),s=class e extends r{constructor(t,r=!0){super(t,r),n(this,`name`,`TokenProviderError`),Object.setPrototypeOf(this,e.prototype)}}})),l,u=e((()=>{i(),l=(...e)=>async()=>{if(e.length===0)throw new r(`No providers in chain`);let t;for(let n of e)try{return await n()}catch(e){if(t=e,e?.tryNextLink)continue;throw e}throw t}})),d,f=e((()=>{d=e=>()=>Promise.resolve(e)})),p,m=e((()=>{p=(e,t,n)=>{let r,i,a,o=!1,s=async()=>{i||(i=e());try{r=await i,a=!0,o=!1}finally{i=void 0}return r};return t===void 0?async e=>((!a||e?.forceRefresh)&&(r=await s()),r):async e=>((!a||e?.forceRefresh)&&(r=await s()),o?r:n&&!n(r)?(o=!0,r):(t(r)&&await s(),r))}})),h=e((()=>{o(),i(),c(),u(),f(),m()}));export{s as a,l as i,p as n,a as o,d as r,r as s,h as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";import{a as r,i,r as a,t as o}from"./dist-es-Cp--qjOi.js";import{A as s,C as c,D as l,E as ee,F as te,I as ne,L as re,M as ie,N as ae,O as oe,P as se,R as ce,S as u,_ as le,a as ue,b as de,c as fe,d as pe,f as me,g as he,h as ge,i as _e,j as ve,k as ye,l as be,m as xe,p as Se,r as Ce,s as we,t as Te,u as Ee,v as De,w as d,x as Oe,y as ke,z as Ae}from"./dist-es-dIP5JtXz.js";import{C as je,S as Me,_ as Ne,b as Pe,c as Fe,d as Ie,f as Le,h as Re,m as ze,n as Be,p as Ve,t as He,v as Ue}from"./httpAuthSchemes-CgPbtGos.js";import{n as We,r as Ge,t as Ke}from"./dist-es-BctcPxLN.js";import{i as qe,n as Je,t as Ye}from"./dist-es-6kjvVbJd.js";import{D as Xe,F as Ze,L as Qe,N as $e,O as et,P as tt,R as nt,k as f,v as rt,x as it,y as at,z as ot}from"./protocols-CpoQzjyI.js";import{n as st,t as ct}from"./dist-es-C66BuLgn.js";import{a as lt,d as ut,g as dt,h as ft,i as pt,m as mt,n as ht,o as gt,r as _t,t as vt,u as yt}from"./dist-es-Bu21Wvhs.js";import{g as bt,i as xt,p as St,t as Ct}from"./client-CinDjeSq.js";import{n as p,t as wt}from"./dist-es-BismPcTW.js";import{a as Tt,c as Et,d as m,f as Dt,i as Ot,n as kt,o as At,s as jt,t as h,u as Mt}from"./dist-es-C_IHUdzL.js";import{i as Nt,t as Pt}from"./dist-es-CzE4kW1L.js";import{n as Ft,r as It,t as Lt}from"./dist-es-aU8-02YH.js";import{Readable as Rt}from"stream";import{Buffer as zt}from"buffer";import{PassThrough as Bt,Readable as Vt,Transform as Ht,pipeline as Ut}from"node:stream";function Wt(e){let t=e.signer,n=e.signer,r=Object.assign(e,{eventSigner:t,messageSigner:n}),i=r.eventStreamPayloadHandlerProvider(r);return Object.assign(r,{eventStreamPayloadHandler:i})}var Gt=e((()=>{})),Kt,qt,Jt=e((()=>{o(),Kt=e=>(t,n)=>async r=>{let{request:i}=r;return a.isInstance(i)?e.eventStreamPayloadHandler.handle(t,r,n):t(r)},qt={tags:[`EVENT_STREAM`,`SIGNATURE`,`HANDLE`],name:`eventStreamHandlingMiddleware`,relation:`after`,toMiddleware:`awsAuthMiddleware`,override:!0}})),Yt,Xt,Zt=e((()=>{o(),Yt=e=>async t=>{let{request:n}=t;return a.isInstance(n)?(n.headers={...n.headers,"content-type":`application/vnd.amazon.eventstream`,"x-amz-content-sha256":`STREAMING-AWS4-HMAC-SHA256-EVENTS`},e({...t,request:n})):e(t)},Xt={step:`build`,tags:[`EVENT_STREAM`,`HEADER`,`CONTENT_TYPE`,`CONTENT_SHA256`],name:`eventStreamHeaderMiddleware`,override:!0}})),Qt,$t=e((()=>{Jt(),Zt(),Qt=e=>({applyToStack:t=>{t.addRelativeTo(Kt(e),qt),t.add(Yt,Xt)}})})),en=e((()=>{Gt(),Jt(),Zt(),$t()}));function tn(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function nn(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(r)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(n=0)),n;)try{if(r=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,i=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if((a=n.trys,!(a=a.length>0&&a[a.length-1]))&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1],a=s;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(s);break}a[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e],i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function rn(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}var an=e((()=>{})),on,sn=e((()=>{on=e=>typeof ArrayBuffer==`function`&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)===`[object ArrayBuffer]`})),cn,ln,un=e((()=>{sn(),cn=(e,t=0,n=e.byteLength-t)=>{if(!on(e))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return zt.from(e,t,n)},ln=(e,t)=>{if(typeof e!=`string`)throw TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return t?zt.from(e,t):zt.from(e)}})),dn,fn=e((()=>{un(),dn=e=>{let t=ln(e,`utf8`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)}})),pn=e((()=>{})),mn,hn=e((()=>{un(),mn=e=>{if(typeof e==`string`)return e;if(typeof e!=`object`||typeof e.byteOffset!=`number`||typeof e.byteLength!=`number`)throw Error(`@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.`);return cn(e.buffer,e.byteOffset,e.byteLength).toString(`utf8`)}})),gn=e((()=>{fn(),pn(),hn()}));function _n(e){return e instanceof Uint8Array?e:typeof e==`string`?vn(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var vn,yn=e((()=>{gn(),vn=typeof Buffer<`u`&&Buffer.from?function(e){return Buffer.from(e,`utf8`)}:dn}));function bn(e){return typeof e==`string`?e.length===0:e.byteLength===0}var xn=e((()=>{}));function Sn(e){return new Uint8Array([(e&4278190080)>>24,(e&16711680)>>16,(e&65280)>>8,e&255])}var Cn=e((()=>{}));function wn(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),n=0;n<e.length;)t[n]=e[n],n+=1;return t}return Uint32Array.from(e)}var Tn=e((()=>{})),En=e((()=>{yn(),xn(),Cn(),Tn()})),Dn=e((()=>{an(),En(),An(),function(){function e(){this.crc32=new On}return e.prototype.update=function(e){bn(e)||this.crc32.update(_n(e))},e.prototype.digest=function(){return tn(this,void 0,void 0,function(){return nn(this,function(e){return[2,Sn(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new On},e}()})),On,kn,An=e((()=>{an(),En(),Dn(),On=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var r=rn(e),i=r.next();!i.done;i=r.next()){var a=i.value;this.checksum=this.checksum>>>8^kn[(this.checksum^a)&255]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}(),kn=wn([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117])}));function jn(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,e[t]===0);t--);}var Mn,Nn=e((()=>{et(),t(),Mn=class e{constructor(e){if(n(this,`bytes`,void 0),this.bytes=e,e.byteLength!==8)throw Error(`Int64 buffers must be exactly 8 bytes`)}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);let n=new Uint8Array(8);for(let e=7,r=Math.abs(Math.round(t));e>-1&&r>0;e--,r/=256)n[e]=r;return t<0&&jn(n),new e(n)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;return t&&jn(e),parseInt(f(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}})),Pn,Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn=e((()=>{et(),Nn(),t(),Pn=class{constructor(e,t){n(this,`toUtf8`,void 0),n(this,`fromUtf8`,void 0),this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let n of Object.keys(e)){let r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}let n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;for(let e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case`boolean`:return Uint8Array.from([+!e.value]);case`byte`:return Uint8Array.from([2,e.value]);case`short`:let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case`integer`:let n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case`long`:let r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case`binary`:let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case`string`:let o=this.fromUtf8(e.value),s=new DataView(new ArrayBuffer(3+o.byteLength));s.setUint8(0,7),s.setUint16(1,o.byteLength,!1);let c=new Uint8Array(s.buffer);return c.set(o,3),c;case`timestamp`:let l=new Uint8Array(9);return l[0]=8,l.set(Mn.fromNumber(e.value.valueOf()).bytes,1),l;case`uuid`:if(!Gn.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let ee=new Uint8Array(17);return ee[0]=9,ee.set(Xe(e.value.replace(/\-/g,``)),1),ee}}parse(e){let t={},n=0;for(;n<e.byteLength;){let r=e.getUint8(n++),i=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,r));switch(n+=r,e.getUint8(n++)){case 0:t[i]={type:In,value:!0};break;case 1:t[i]={type:In,value:!1};break;case 2:t[i]={type:Ln,value:e.getInt8(n++)};break;case 3:t[i]={type:Rn,value:e.getInt16(n,!1)},n+=2;break;case 4:t[i]={type:zn,value:e.getInt32(n,!1)},n+=4;break;case 5:t[i]={type:Bn,value:new Mn(new Uint8Array(e.buffer,e.byteOffset+n,8))},n+=8;break;case 6:let r=e.getUint16(n,!1);n+=2,t[i]={type:Vn,value:new Uint8Array(e.buffer,e.byteOffset+n,r)},n+=r;break;case 7:let a=e.getUint16(n,!1);n+=2,t[i]={type:Hn,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,a))},n+=a;break;case 8:t[i]={type:Un,value:new Date(new Mn(new Uint8Array(e.buffer,e.byteOffset+n,8)).valueOf())},n+=8;break;case 9:let o=new Uint8Array(e.buffer,e.byteOffset+n,16);n+=16,t[i]={type:Wn,value:`${f(o.subarray(0,4))}-${f(o.subarray(4,6))}-${f(o.subarray(6,8))}-${f(o.subarray(8,10))}-${f(o.subarray(10))}`};break;default:throw Error(`Unrecognized header type tag`)}}return t}},(function(e){e[e.boolTrue=0]=`boolTrue`,e[e.boolFalse=1]=`boolFalse`,e[e.byte=2]=`byte`,e[e.short=3]=`short`,e[e.integer=4]=`integer`,e[e.long=5]=`long`,e[e.byteArray=6]=`byteArray`,e[e.string=7]=`string`,e[e.timestamp=8]=`timestamp`,e[e.uuid=9]=`uuid`})(Fn||(Fn={})),In=`boolean`,Ln=`byte`,Rn=`short`,zn=`integer`,Bn=`long`,Vn=`binary`,Hn=`string`,Un=`timestamp`,Wn=`uuid`,Gn=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/}));function qn({byteLength:e,byteOffset:t,buffer:n}){if(e<Yn)throw Error(`Provided message too short to accommodate event stream message overhead`);let r=new DataView(n,t,e),i=r.getUint32(0,!1);if(e!==i)throw Error(`Reported message length does not match received message length`);let a=r.getUint32(Jn,!1),o=r.getUint32(g,!1),s=r.getUint32(e-_,!1),c=new On().update(new Uint8Array(n,t,g));if(o!==c.digest())throw Error(`The prelude checksum specified in the message (${o}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(n,t+g,e-(g+_))),s!==c.digest())throw Error(`The message checksum (${c.digest()}) did not match the expected value of ${s}`);return{headers:new DataView(n,t+g+_,a),body:new Uint8Array(n,t+g+_+a,i-a-(g+_+_))}}var Jn,g,_,Yn,Xn=e((()=>{An(),Jn=4,g=Jn*2,_=4,Yn=g+_*2})),Zn,Qn=e((()=>{An(),Kn(),Xn(),t(),Zn=class{constructor(e,t){n(this,`headerMarshaller`,void 0),n(this,`messageBuffer`,void 0),n(this,`isEndOfStream`,void 0),this.headerMarshaller=new Pn(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){let e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage(){return e},isEndOfStream(){return t}}}getAvailableMessages(){let e=this.messageBuffer;this.messageBuffer=[];let t=this.isEndOfStream;return{getMessages(){return e},isEndOfStream(){return t}}}encode({headers:e,body:t}){let n=this.headerMarshaller.format(e),r=n.byteLength+t.byteLength+16,i=new Uint8Array(r),a=new DataView(i.buffer,i.byteOffset,i.byteLength),o=new On;return a.setUint32(0,r,!1),a.setUint32(4,n.byteLength,!1),a.setUint32(8,o.update(i.subarray(0,8)).digest(),!1),i.set(n,12),i.set(t,n.byteLength+12),a.setUint32(r-4,o.update(i.subarray(8,r-4)).digest(),!1),i}decode(e){let{headers:t,body:n}=qn(e);return{headers:this.headerMarshaller.parse(t),body:n}}formatHeaders(e){return this.headerMarshaller.format(e)}}})),$n=e((()=>{})),er,tr,nr=e((()=>{t(),er=Symbol.asyncIterator,tr=class{constructor(e){n(this,`options`,void 0),this.options=e}[er](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.inputStream)yield this.options.decoder.decode(e)}}})),rr,ir,ar=e((()=>{t(),rr=Symbol.asyncIterator,ir=class{constructor(e){n(this,`options`,void 0),this.options=e}[rr](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.messageStream)yield this.options.encoder.encode(e);this.options.includeEndFrame&&(yield new Uint8Array)}}})),or,sr,cr=e((()=>{t(),or=Symbol.asyncIterator,sr=class{constructor(e){n(this,`options`,void 0),this.options=e}[or](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.messageStream){let t=await this.options.deserializer(e);t!==void 0&&(yield t)}}}})),lr,ur,dr=e((()=>{t(),lr=Symbol.asyncIterator,ur=class{constructor(e){n(this,`options`,void 0),this.options=e}[lr](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.inputStream)yield this.options.serializer(e)}}})),fr=e((()=>{Qn(),Kn(),Nn(),$n(),nr(),ar(),cr(),dr()}));function pr(e){let t=0,n=0,r=null,i=null,a=e=>{if(typeof e!=`number`)throw Error(`Attempted to allocate an event message where size was not a number: `+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)},o=async function*(){let o=e[Symbol.asyncIterator]();for(;;){let{value:e,done:s}=await o.next();if(s){if(!t)return;if(t===n)yield r;else throw Error(`Truncated event message received.`);return}let c=e.length,l=0;for(;l<c;){if(!r){let t=c-l;i||(i=new Uint8Array(4));let r=Math.min(4-n,t);if(i.set(e.slice(l,l+r),n),n+=r,l+=r,n<4)break;a(new DataView(i.buffer).getUint32(0,!1)),i=null}let o=Math.min(t-n,c-l);r.set(e.slice(l,l+o),n),n+=o,l+=o,t&&t===n&&(yield r,r=null,t=0,n=0)}}};return{[Symbol.asyncIterator]:o}}var mr=e((()=>{}));function hr(e,t){return async function(n){let{value:r}=n.headers[`:message-type`];if(r===`error`){let e=Error(n.headers[`:error-message`].value||`UnknownError`);throw e.name=n.headers[`:error-code`].value,e}else if(r===`exception`){let r=n.headers[`:exception-type`].value,i=await e({[r]:n});if(i.$unknown){let e=Error(t(n.body));throw e.name=r,e}throw i[r]}else if(r===`event`){let t=await e({[n.headers[`:event-type`].value]:n});return t.$unknown?void 0:t}else throw Error(`Unrecognizable event type: ${n.headers[`:event-type`].value}`)}}var gr=e((()=>{})),_r,vr=e((()=>{fr(),mr(),gr(),t(),_r=class{constructor({utf8Encoder:e,utf8Decoder:t}){n(this,`eventStreamCodec`,void 0),n(this,`utfEncoder`,void 0),this.eventStreamCodec=new Zn(e,t),this.utfEncoder=e}deserialize(e,t){return new sr({messageStream:new tr({inputStream:pr(e),decoder:this.eventStreamCodec}),deserializer:hr(t,this.utfEncoder)})}serialize(e,t){return new ir({messageStream:new ur({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}})),yr=e((()=>{})),br=e((()=>{vr(),yr()})),xr,Sr=e((()=>{xr=e=>e.protocol===`ws:`||e.protocol===`wss:`})),Cr=e((()=>{})),wr,Tr,Er=e((()=>{o(),wr=(e,t)=>n=>r=>{let{request:i}=r;if(a.isInstance(i)&&e.requestHandler.metadata?.handlerProtocol?.toLowerCase().includes(`websocket`)){i.protocol=`wss:`,i.method=`GET`,i.path=`${i.path}-websocket`;let{headers:e}=i;delete e[`content-type`],delete e[`x-amz-content-sha256`];for(let n of Object.keys(e))if(n.indexOf(t.headerPrefix)===0){let r=n.replace(t.headerPrefix,``);i.query[r]=e[n]}e[`x-amz-user-agent`]&&(i.query[`user-agent`]=e[`x-amz-user-agent`]),i.headers={host:e.host??i.hostname}}return n(r)},Tr={name:`websocketEndpointMiddleware`,tags:[`WEBSOCKET`,`EVENT_STREAM`],relation:`after`,toMiddleware:`eventStreamHeaderMiddleware`,override:!0}})),Dr,Or,kr=e((()=>{Dr=()=>e=>async t=>{let n={...t.input},r=await e(t),i=r.output;return n.SessionId&&i.SessionId==null&&(i.SessionId=n.SessionId),r},Or={step:`initialize`,name:`injectSessionIdMiddleware`,tags:[`WEBSOCKET`,`EVENT_STREAM`],override:!0}})),Ar,jr=e((()=>{Er(),kr(),Ar=(e,t)=>({applyToStack:n=>{n.addRelativeTo(wr(e,t),Tr),n.add(Dr(),Or)}})})),Mr,Nr=e((()=>{o(),Sr(),t(),Mr=class{constructor(e){n(this,`signer`,void 0),this.signer=e.signer}presign(e,t={}){return this.signer.presign(e,t)}async sign(e,t){return a.isInstance(e)&&xr(e)?{...await this.signer.presign({...e,body:``},{...t,expiresIn:60,unsignableHeaders:new Set(Object.keys(e.headers).filter(e=>e!==`host`))}),body:e.body}:this.signer.sign(e,t)}signMessage(e,t){return this.signer.signMessage(e,t)}}})),Pr,Fr,Ir=e((()=>{Nr(),Pr=e=>{let{signer:t}=e;return Object.assign(e,{signer:async e=>{let n=await t(e);if(Fr(n))return new Mr({signer:n});throw Error(`Expected WebsocketSignatureV4 signer, please check the client constructor.`)}})},Fr=e=>!!e})),Lr=e((()=>{})),Rr=e((()=>{Cr(),jr(),Ir(),Lr()})),zr,Br=e((()=>{zr=e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)})})),Vr=e((()=>{Br()}));function Hr(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`bedrock`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function Ur(e){return{schemeId:`smithy.api#httpBearerAuth`,propertiesExtractor:({profile:e,filepath:t,configFilepath:n,ignoreCache:r},i)=>({identityProperties:{profile:e,filepath:t,configFilepath:n,ignoreCache:r}})}}var Wr,Gr,Kr,qr=e((()=>{He(),Le(),Ke(),Wr=async(e,t,n)=>({operation:Ge(t).operation,region:await We(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),Gr=e=>{let t=[];switch(e.operation){default:t.push(Hr(e)),t.push(Ur(e))}return t},Kr=e=>{let t=Re(e.token,ze,Ve),n=Be(e);return Object.assign(n,{authSchemePreference:We(e.authSchemePreference??[]),token:t})}})),Jr,v,y=e((()=>{Jr=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`bedrock`}),v={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}}})),Yr,Xr,Zr,Qr,$r,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di,fi,pi=e((()=>{Yr=`@aws-sdk/client-bedrock-runtime`,Xr=`AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native`,Zr=`3.1037.0`,Qr={build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-bedrock-runtime`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo bedrock-runtime`,test:`yarn g:vitest run --passWithNoTests`,"test:browser":`yarn g:vitest run -c vitest.config.browser.e2e.mts`,"test:browser:watch":`yarn g:vitest watch -c vitest.config.browser.e2e.mts`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch --passWithNoTests`},$r=`./dist-cjs/index.js`,ei=`./dist-types/index.d.ts`,ti=`./dist-es/index.js`,ni={"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.5`,"@aws-sdk/credential-provider-node":`^3.972.36`,"@aws-sdk/eventstream-handler-node":`^3.972.14`,"@aws-sdk/middleware-eventstream":`^3.972.10`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-user-agent":`^3.972.35`,"@aws-sdk/middleware-websocket":`^3.972.16`,"@aws-sdk/region-config-resolver":`^3.972.13`,"@aws-sdk/token-providers":`3.1037.0`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.8`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.21`,"@smithy/config-resolver":`^4.4.17`,"@smithy/core":`^3.23.17`,"@smithy/eventstream-serde-browser":`^4.2.14`,"@smithy/eventstream-serde-config-resolver":`^4.3.14`,"@smithy/eventstream-serde-node":`^4.2.14`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.32`,"@smithy/middleware-retry":`^4.5.5`,"@smithy/middleware-serde":`^4.2.20`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.6.1`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.13`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.49`,"@smithy/util-defaults-mode-node":`^4.2.54`,"@smithy/util-endpoints":`^3.4.2`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.4`,"@smithy/util-stream":`^4.5.25`,"@smithy/util-utf8":`^4.2.2`,tslib:`^2.6.2`},ri={"@smithy/snapshot-testing":`^2.0.8`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},ii={node:`>=20.0.0`},ai={"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},oi=[`dist-*/**`],si={name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},ci=`Apache-2.0`,li={"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},ui=`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime`,di={type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-bedrock-runtime`},fi={name:Yr,description:Xr,version:Zr,scripts:Qr,main:$r,types:ei,module:ti,sideEffects:!1,dependencies:ni,devDependencies:ri,engines:ii,typesVersions:ai,files:oi,author:si,license:ci,browser:li,"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:ui,repository:di}}));function mi(e){let t=Buffer.from(e,`hex`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)}var hi,gi=e((()=>{t(),hi=class extends Ht{constructor(e){super({autoDestroy:!0,readableObjectMode:!0,writableObjectMode:!0,...e}),n(this,`priorSignature`,void 0),n(this,`messageSigner`,void 0),n(this,`eventStreamCodec`,void 0),n(this,`systemClockOffsetProvider`,void 0),n(this,`staticCredentials`,void 0),this.priorSignature=e.priorSignature,this.eventStreamCodec=e.eventStreamCodec,this.messageSigner=e.messageSigner,this.systemClockOffsetProvider=e.systemClockOffsetProvider,this.staticCredentials=e.credentials?.()}async _transform(e,t,n){try{let t=new Date(Date.now()+await this.systemClockOffsetProvider()),r={":date":{type:`timestamp`,value:t}},i=await this.messageSigner.sign({message:{body:e,headers:r},priorSignature:this.priorSignature},{signingDate:t,eventStreamCredentials:await this.staticCredentials});this.priorSignature=i.signature;let a=this.eventStreamCodec.encode({headers:{...r,":chunk-signature":{type:`binary`,value:mi(i.signature)}},body:e});return this.push(a),n()}catch(e){n(e)}}}})),_i,vi=e((()=>{fr(),gi(),t(),_i=class{constructor(e){n(this,`messageSigner`,void 0),n(this,`eventStreamCodec`,void 0),n(this,`systemClockOffsetProvider`,void 0),n(this,`credentials`,void 0),this.messageSigner=e.messageSigner,this.eventStreamCodec=new Zn(e.utf8Encoder,e.utf8Decoder),this.systemClockOffsetProvider=async()=>e.systemClockOffset??0,this.credentials=e.credentials}async handle(e,t,n={}){let r=t.request,{body:i,query:a}=r;if(!(i instanceof Vt))throw Error(`Eventstream payload must be a Readable stream.`);let o=i;r.body=new Bt({objectMode:!0});let s=r.headers?.authorization?.match(/Signature=([\w]+)$/)?.[1]??a?.[`X-Amz-Signature`]??``;n.__staticSignature&&(s=``);let c=new hi({priorSignature:s,eventStreamCodec:this.eventStreamCodec,messageSigner:await this.messageSigner(),systemClockOffsetProvider:this.systemClockOffsetProvider,credentials:this.credentials}),l,ee=new Promise((e,t)=>{l=()=>e(void 0),Ut(o,c,r.body,e=>{e&&t(Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${e.message}`,{cause:e}))})}),te;try{te=await Promise.race([e(t),ee])}catch(e){throw r.body.end(),e}finally{l()}return te}}})),yi,bi=e((()=>{vi(),yi=e=>new _i(e)})),xi=e((()=>{bi()}));async function*Si(e){let t=!1,n=!1,r=[];for(e.on(`error`,e=>{if(t||(t=!0),e)throw e}),e.on(`data`,e=>{r.push(e)}),e.on(`end`,()=>{t=!0});!n;){let e=await new Promise(e=>setTimeout(()=>e(r.shift()),0));e&&(yield e),n=t&&r.length===0}}var Ci=e((()=>{})),wi,Ti=e((()=>{br(),Ci(),t(),wi=class{constructor({utf8Encoder:e,utf8Decoder:t}){n(this,`universalMarshaller`,void 0),this.universalMarshaller=new _r({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let n=typeof e[Symbol.asyncIterator]==`function`?e:Si(e);return this.universalMarshaller.deserialize(n,t)}serialize(e,t){return Rt.from(this.universalMarshaller.serialize(e,t))}}})),Ei,Di=e((()=>{Ti(),Ei=e=>new wi(e)})),Oi=e((()=>{Ti(),Di()})),b,x,ki,Ai,ji,Mi,Ni,Pi,Fi,S,Ii,Li,Ri,C,zi,Bi,Vi=e((()=>{yt(),b=`ref`,x=-1,ki=!0,Ai=`isSet`,ji=`PartitionResult`,Mi=`booleanEquals`,Ni=`getAttr`,Pi={[b]:`Endpoint`},Fi={[b]:ji},S={},Ii=[{[b]:`Region`}],Li={conditions:[[Ai,[Pi]],[Ai,Ii],[`aws.partition`,Ii,ji],[Mi,[{[b]:`UseFIPS`},ki]],[Mi,[{[b]:`UseDualStack`},ki]],[Mi,[{fn:Ni,argv:[Fi,`supportsDualStack`]},ki]],[Mi,[{fn:Ni,argv:[Fi,`supportsFIPS`]},ki]]],results:[[x],[x,`Invalid Configuration: FIPS and custom endpoint are not supported`],[x,`Invalid Configuration: Dualstack and custom endpoint are not supported`],[Pi,S],[`https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}`,S],[x,`FIPS and DualStack are enabled, but this partition does not support one or both`],[`https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}`,S],[x,`FIPS is enabled but this partition does not support FIPS`],[`https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}`,S],[x,`DualStack is enabled but this partition does not support DualStack`],[`https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}`,S],[x,`Invalid Configuration: Missing Region`]]},Ri=2,C=1e8,zi=new Int32Array([-1,1,-1,0,12,3,1,4,C+11,2,5,C+11,3,8,6,4,7,C+10,5,C+8,C+9,4,10,9,6,C+6,C+7,5,11,C+5,6,C+4,C+5,3,C+1,13,4,C+2,C+3]),Bi=dt.from(zi,Ri,Li.conditions,Li.results)})),Hi,Ui,Wi=e((()=>{s(),yt(),Vi(),Hi=new ft({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),Ui=(e,t={})=>Hi.get(e,()=>ut(Bi,{endpointParams:e,logger:t.logger})),mt.aws=ve})),w,Gi=e((()=>{h(),w=class e extends Et{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}}})),Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia=e((()=>{Gi(),t(),Ki=class e extends w{constructor(t){super({name:`AccessDeniedException`,$fault:`client`,...t}),n(this,`name`,`AccessDeniedException`),n(this,`$fault`,`client`),Object.setPrototypeOf(this,e.prototype)}},qi=class e extends w{constructor(t){super({name:`InternalServerException`,$fault:`server`,...t}),n(this,`name`,`InternalServerException`),n(this,`$fault`,`server`),Object.setPrototypeOf(this,e.prototype)}},Ji=class e extends w{constructor(t){super({name:`ThrottlingException`,$fault:`client`,...t}),n(this,`name`,`ThrottlingException`),n(this,`$fault`,`client`),Object.setPrototypeOf(this,e.prototype)}},Yi=class e extends w{constructor(t){super({name:`ValidationException`,$fault:`client`,...t}),n(this,`name`,`ValidationException`),n(this,`$fault`,`client`),Object.setPrototypeOf(this,e.prototype)}},Xi=class e extends w{constructor(t){super({name:`ConflictException`,$fault:`client`,...t}),n(this,`name`,`ConflictException`),n(this,`$fault`,`client`),Object.setPrototypeOf(this,e.prototype)}},Zi=class e extends w{constructor(t){super({name:`ResourceNotFoundException`,$fault:`client`,...t}),n(this,`name`,`ResourceNotFoundException`),n(this,`$fault`,`client`),Object.setPrototypeOf(this,e.prototype)}},Qi=class e extends w{constructor(t){super({name:`ServiceQuotaExceededException`,$fault:`client`,...t}),n(this,`name`,`ServiceQuotaExceededException`),n(this,`$fault`,`client`),Object.setPrototypeOf(this,e.prototype)}},$i=class e extends w{constructor(t){super({name:`ServiceUnavailableException`,$fault:`server`,...t}),n(this,`name`,`ServiceUnavailableException`),n(this,`$fault`,`server`),Object.setPrototypeOf(this,e.prototype)}},ea=class e extends w{constructor(t){super({name:`ModelErrorException`,$fault:`client`,...t}),n(this,`name`,`ModelErrorException`),n(this,`$fault`,`client`),n(this,`originalStatusCode`,void 0),n(this,`resourceName`,void 0),Object.setPrototypeOf(this,e.prototype),this.originalStatusCode=t.originalStatusCode,this.resourceName=t.resourceName}},ta=class e extends w{constructor(t){super({name:`ModelNotReadyException`,$fault:`client`,...t}),n(this,`name`,`ModelNotReadyException`),n(this,`$fault`,`client`),n(this,`$retryable`,{}),Object.setPrototypeOf(this,e.prototype)}},na=class e extends w{constructor(t){super({name:`ModelTimeoutException`,$fault:`client`,...t}),n(this,`name`,`ModelTimeoutException`),n(this,`$fault`,`client`),Object.setPrototypeOf(this,e.prototype)}},ra=class e extends w{constructor(t){super({name:`ModelStreamErrorException`,$fault:`client`,...t}),n(this,`name`,`ModelStreamErrorException`),n(this,`$fault`,`client`),n(this,`originalStatusCode`,void 0),n(this,`originalMessage`,void 0),Object.setPrototypeOf(this,e.prototype),this.originalStatusCode=t.originalStatusCode,this.originalMessage=t.originalMessage}}})),aa,oa,sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,ya,ba,xa,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja,Ma,Na,Pa,Fa,Ia,La,Ra,za,Ba,Va,Ha,Ua,Wa,Ga,Ka,qa,Ja,Ya,Xa,Za,Qa,$a,eo,to,no,ro,io,ao,oo,so,co,lo,uo,fo,po,mo,ho,go,_o,vo,yo,bo,xo,So,Co,wo,To,Eo,Do,Oo,ko,Ao,jo,Mo,No,Po,Fo,Io,Lo,Ro,zo,Bo,Vo,Ho,Uo,Wo,Go,Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,ns,rs,is,as,os,ss,cs,ls,us,ds,fs,ps,ms,hs,gs,_s,vs,ys,bs,xs,Ss,Cs,ws,Ts,Es,Ds,Os,ks,As,js,Ms,Ns,Ps,Fs,Is,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,yc,bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc,Ac,jc,Mc,Nc,Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Uc,Wc,Gc,Kc,qc,Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl,_l,vl,T,yl,bl,xl,Sl,Cl,wl,Tl,El,Dl,Ol,kl,Al,jl,Ml,E,Nl,D,O,Pl,Fl,Il,Ll,Rl,zl,Bl,Vl,Hl,Ul,Wl,Gl,Kl,ql,Jl,Yl,Xl,Zl,Ql,$l,eu,tu,nu,ru,k,iu,au,ou,su,cu,lu,uu,du,fu,A,pu,mu,hu,j,gu,_u,vu,M,yu,bu,xu,Su,Cu,wu,Tu,Eu,Du,Ou,N,ku,Au,ju,P,Mu,F,I,L,R,Nu,Pu,Fu,Iu,Lu,Ru,zu,Bu,Vu,Hu,Uu,Wu,z,Gu,Ku,qu,Ju,Yu,Xu,Zu,Qu,$u,ed,td,nd,B,rd,V,id,ad,od,sd,cd,ld,ud,dd,fd,pd,md,hd,gd,H,_d,vd,yd,bd,xd,Sd,Cd,wd,Td,Ed,Dd,Od,kd,Ad,jd,Md,Nd,Pd,Fd,Id,Ld,Rd,zd,Bd,Vd,Hd,Ud,Wd,Gd,Kd,qd,Jd,Yd,Xd,Zd,Qd,$d,ef,tf,nf,rf,af,of,sf,cf,lf,uf,df,ff,U,pf,mf,hf,gf,_f,vf,yf,bf,W,xf,G,Sf,Cf,wf,Tf,Ef,Df,Of,kf,Af,jf,Mf,Nf,Pf,Ff,If,Lf,Rf,zf,Bf,Vf,Hf,Uf,Wf,K,Gf,Kf,qf,Jf,Yf,Xf,Zf,q,Qf,$f,J,ep,tp,np,rp,ip,ap,op,sp,cp,lp,up,dp,Y,fp,pp,X,mp,hp,Z,gp,_p,vp,yp,bp,xp,Sp,Cp,wp,Tp,Ep,Dp,Op,kp,Ap,jp,Mp,Np,Pp,Fp,Ip,Lp,Rp,zp,Bp,Vp,Hp,Up,Wp,Gp,Kp,qp,Jp,Yp,Xp,Zp,Qp,$p,em,tm,nm,rm,im,am,om,sm,cm,lm,um,dm,fm,pm,mm,hm,gm,_m,vm,ym,bm,xm,Sm,Cm,wm,Tm,Em,Dm,Om,Q,km,Am,jm,Mm,Nm,Pm,Fm,Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km,qm,Jm,Ym,Xm,Zm,Qm,$m,eh,th,nh,rh,ih,ah,oh,sh,ch,lh,uh,dh,fh,ph,mh,hh,gh,_h,vh,yh,bh,xh,Sh,Ch,wh,Th,Eh,Dh,Oh,kh,Ah,jh,Mh,Nh,Ph,Fh,Ih,Lh,Rh,zh,Bh,Vh,Hh,Uh,Wh,Gh,Kh,qh,Jh,Yh,Xh,Zh,Qh,$h,eg,tg,ng,rg,ig,ag,og,sg,cg,lg,ug,dg,fg,pg,mg,hg,gg,_g,vg,yg,bg,xg,Sg,Cg,wg,Tg,Eg,Dg,Og,kg,Ag,jg,Mg,Ng,Pg,Fg,Ig,Lg,Rg,zg,Bg,Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_,l_,u_,d_,f_,p_,m_,h_,g_,$=e((()=>{rt(),Gi(),ia(),aa=`Accept`,oa=`AudioBlock`,sa=`AccessDeniedException`,ca=`ApplyGuardrail`,la=`AppliedGuardrailDetails`,ua=`ApplyGuardrailRequest`,da=`ApplyGuardrailResponse`,fa=`AsyncInvokeMessage`,pa=`AsyncInvokeOutputDataConfig`,ma=`AsyncInvokeSummary`,ha=`AsyncInvokeS3OutputDataConfig`,ga=`AsyncInvokeSummaries`,_a=`AudioSource`,va=`AnyToolChoice`,ya=`AutoToolChoice`,ba=`Body`,xa=`BidirectionalInputPayloadPart`,Sa=`BidirectionalOutputPayloadPart`,Ca=`Citation`,wa=`ContentBlocks`,Ta=`ContentBlockDelta`,Ea=`ContentBlockDeltaEvent`,Da=`ContentBlockStart`,Oa=`ContentBlockStartEvent`,ka=`ContentBlockStopEvent`,Aa=`ContentBlock`,ja=`CitationsConfig`,Ma=`CitationsContentBlock`,Na=`CacheDetail`,Pa=`CacheDetailsList`,Fa=`CitationsDelta`,Ia=`ConflictException`,La=`CitationGeneratedContent`,Ra=`CitationGeneratedContentList`,za=`CitationLocation`,Ba=`ConverseMetrics`,Va=`ConverseOutput`,Ha=`CachePointBlock`,Ua=`ConverseRequest`,Wa=`ConverseResponse`,Ga=`ConverseStream`,Ka=`CitationSourceContent`,qa=`CitationSourceContentDelta`,Ja=`CitationSourceContentList`,Ya=`CitationSourceContentListDelta`,Xa=`ConverseStreamMetrics`,Za=`ConverseStreamMetadataEvent`,Qa=`ConverseStreamOutput`,$a=`ConverseStreamRequest`,eo=`ConverseStreamResponse`,to=`ConverseStreamTrace`,no=`ConverseTrace`,ro=`CountTokensInput`,io=`ConverseTokensRequest`,ao=`CountTokensRequest`,oo=`CountTokensResponse`,so=`Content-Type`,co=`CountTokens`,lo=`Citations`,uo=`Converse`,fo=`DocumentBlock`,po=`DocumentContentBlocks`,mo=`DocumentContentBlock`,ho=`DocumentCharLocation`,go=`DocumentChunkLocation`,_o=`DocumentPageLocation`,vo=`DocumentSource`,yo=`ErrorBlock`,bo=`GuardrailAssessment`,xo=`GetAsyncInvoke`,So=`GetAsyncInvokeRequest`,Co=`GetAsyncInvokeResponse`,wo=`GuardrailAssessmentList`,To=`GuardrailAssessmentListMap`,Eo=`GuardrailAssessmentMap`,Do=`GuardrailAutomatedReasoningDifferenceScenarioList`,Oo=`GuardrailAutomatedReasoningFinding`,ko=`GuardrailAutomatedReasoningFindingList`,Ao=`GuardrailAutomatedReasoningImpossibleFinding`,jo=`GuardrailAutomatedReasoningInvalidFinding`,Mo=`GuardrailAutomatedReasoningInputTextReference`,No=`GuardrailAutomatedReasoningInputTextReferenceList`,Po=`GuardrailAutomatedReasoningLogicWarning`,Fo=`GuardrailAutomatedReasoningNoTranslationsFinding`,Io=`GuardrailAutomatedReasoningPolicyAssessment`,Lo=`GuardrailAutomatedReasoningRule`,Ro=`GuardrailAutomatedReasoningRuleList`,zo=`GuardrailAutomatedReasoningScenario`,Bo=`GuardrailAutomatedReasoningSatisfiableFinding`,Vo=`GuardrailAutomatedReasoningStatementList`,Ho=`GuardrailAutomatedReasoningStatementLogicContent`,Uo=`GuardrailAutomatedReasoningStatementNaturalLanguageContent`,Wo=`GuardrailAutomatedReasoningStatement`,Go=`GuardrailAutomatedReasoningTranslation`,Ko=`GuardrailAutomatedReasoningTranslationAmbiguousFinding`,qo=`GuardrailAutomatedReasoningTooComplexFinding`,Jo=`GuardrailAutomatedReasoningTranslationList`,Yo=`GuardrailAutomatedReasoningTranslationOption`,Xo=`GuardrailAutomatedReasoningTranslationOptionList`,Zo=`GuardrailAutomatedReasoningValidFinding`,Qo=`GuardrailConfiguration`,$o=`GuardrailContentBlock`,es=`GuardrailContentBlockList`,ts=`GuardrailConverseContentBlock`,ns=`GuardrailContentFilter`,rs=`GuardrailContentFilterList`,is=`GuardrailContextualGroundingFilter`,as=`GuardrailContextualGroundingFilters`,os=`GuardrailContextualGroundingPolicyAssessment`,ss=`GuardrailConverseImageBlock`,cs=`GuardrailConverseImageSource`,ls=`GuardrailContentPolicyAssessment`,us=`GuardrailConverseTextBlock`,ds=`GuardrailCustomWord`,fs=`GuardrailCustomWordList`,ps=`GuardrailCoverage`,ms=`GuardrailImageBlock`,hs=`GuardrailImageCoverage`,gs=`GuardrailInvocationMetrics`,_s=`GuardrailImageSource`,vs=`GuardrailManagedWord`,ys=`GuardrailManagedWordList`,bs=`GuardrailOutputContent`,xs=`GuardrailOutputContentList`,Ss=`GuardrailPiiEntityFilter`,Cs=`GuardrailPiiEntityFilterList`,ws=`GuardrailRegexFilter`,Ts=`GuardrailRegexFilterList`,Es=`GuardrailStreamConfiguration`,Ds=`GuardrailSensitiveInformationPolicyAssessment`,Os=`GuardrailTopic`,ks=`GuardrailTraceAssessment`,As=`GuardrailTextBlock`,js=`GuardrailTextCharactersCoverage`,Ms=`GuardrailTopicList`,Ns=`GuardrailTopicPolicyAssessment`,Ps=`GuardrailUsage`,Fs=`GuardrailWordPolicyAssessment`,Is=`ImageBlock`,Ls=`ImageBlockDelta`,Rs=`ImageBlockStart`,zs=`InferenceConfiguration`,Bs=`InvokeModel`,Vs=`InvokeModelRequest`,Hs=`InvokeModelResponse`,Us=`InvokeModelTokensRequest`,Ws=`InvokeModelWithBidirectionalStream`,Gs=`InvokeModelWithBidirectionalStreamInput`,Ks=`InvokeModelWithBidirectionalStreamOutput`,qs=`InvokeModelWithBidirectionalStreamRequest`,Js=`InvokeModelWithBidirectionalStreamResponse`,Ys=`InvokeModelWithResponseStream`,Xs=`InvokeModelWithResponseStreamRequest`,Zs=`InvokeModelWithResponseStreamResponse`,Qs=`ImageSource`,$s=`InternalServerException`,ec=`JsonSchemaDefinition`,tc=`ListAsyncInvokes`,nc=`ListAsyncInvokesRequest`,rc=`ListAsyncInvokesResponse`,ic=`Message`,ac=`ModelErrorException`,oc=`ModelInputPayload`,sc=`ModelNotReadyException`,cc=`MessageStartEvent`,lc=`ModelStreamErrorException`,uc=`MessageStopEvent`,dc=`ModelTimeoutException`,fc=`Messages`,pc=`OutputConfig`,mc=`OutputFormat`,hc=`OutputFormatStructure`,gc=`PartBody`,_c=`PerformanceConfiguration`,vc=`PayloadPart`,yc=`PromptRouterTrace`,bc=`PromptVariableMap`,xc=`PromptVariableValues`,Sc=`ReasoningContentBlock`,Cc=`ReasoningContentBlockDelta`,wc=`RequestMetadata`,Tc=`ResourceNotFoundException`,Ec=`ResponseStream`,Dc=`ReasoningTextBlock`,Oc=`StartAsyncInvoke`,kc=`StartAsyncInvokeRequest`,Ac=`StartAsyncInvokeResponse`,jc=`SystemContentBlocks`,Mc=`SystemContentBlock`,Nc=`S3Location`,Pc=`ServiceQuotaExceededException`,Fc=`SearchResultBlock`,Ic=`SearchResultContentBlock`,Lc=`SearchResultContentBlocks`,Rc=`SearchResultLocation`,zc=`ServiceTier`,Bc=`SpecificToolChoice`,Vc=`SystemTool`,Hc=`ServiceUnavailableException`,Uc=`Tag`,Wc=`ToolConfiguration`,Gc=`ToolChoice`,Kc=`ThrottlingException`,qc=`ToolInputSchema`,Jc=`TagList`,Yc=`ToolResultBlock`,Xc=`ToolResultBlocksDelta`,Zc=`ToolResultBlockDelta`,Qc=`ToolResultBlockStart`,$c=`ToolResultContentBlocks`,el=`ToolResultContentBlock`,tl=`ToolSpecification`,nl=`TokenUsage`,rl=`ToolUseBlock`,il=`ToolUseBlockDelta`,al=`ToolUseBlockStart`,ol=`Tools`,sl=`Tool`,cl=`VideoBlock`,ll=`ValidationException`,ul=`VideoSource`,dl=`WebLocation`,fl=`X-Amzn-Bedrock-Accept`,pl=`X-Amzn-Bedrock-Content-Type`,ml=`X-Amzn-Bedrock-GuardrailIdentifier`,hl=`X-Amzn-Bedrock-GuardrailVersion`,gl=`X-Amzn-Bedrock-PerformanceConfig-Latency`,_l=`X-Amzn-Bedrock-Service-Tier`,vl=`X-Amzn-Bedrock-Trace`,T=`action`,yl=`appliedGuardrailDetails`,bl=`asyncInvokeSummaries`,xl=`additionalModelRequestFields`,Sl=`additionalModelResponseFieldPaths`,Cl=`additionalModelResponseFields`,wl=`actionReason`,Tl=`automatedReasoningPolicy`,El=`automatedReasoningPolicyUnits`,Dl=`automatedReasoningPolicies`,Ol=`accept`,kl=`any`,Al=`assessments`,jl=`audio`,Ml=`auto`,E=`bytes`,Nl=`bucketOwner`,D=`body`,O=`client`,Pl=`contentBlockDelta`,Fl=`contentBlockIndex`,Il=`contentBlockStart`,Ll=`contentBlockStop`,Rl=`citationsContent`,zl=`cacheDetails`,Bl=`claimsFalseScenario`,Vl=`contextualGroundingPolicy`,Hl=`contextualGroundingPolicyUnits`,Ul=`contentPolicy`,Wl=`contentPolicyImageUnits`,Gl=`contentPolicyUnits`,Kl=`cachePoint`,ql=`contradictingRules`,Jl=`cacheReadInputTokens`,Yl=`clientRequestToken`,Xl=`contentType`,Zl=`claimsTrueScenario`,Ql=`customWords`,$l=`cacheWriteInputTokens`,eu=`chunk`,tu=`citations`,nu=`citation`,ru=`claims`,k=`content`,iu=`context`,au=`confidence`,ou=`converse`,su=`delta`,cu=`documentChar`,lu=`documentChunk`,uu=`documentIndex`,du=`documentPage`,fu=`differenceScenarios`,A=`detected`,pu=`description`,mu=`domain`,hu=`document`,j=`error`,gu=`endTime`,_u=`enabled`,vu=`end`,M=`format`,yu=`failureMessage`,bu=`filterStrength`,xu=`findings`,Su=`filters`,Cu=`guardrail`,wu=`guardrailArn`,Tu=`guardrailCoverage`,Eu=`guardrailConfig`,Du=`guardContent`,Ou=`guardrailId`,N=`guardrailIdentifier`,ku=`guardrailOrigin`,Au=`guardrailOwnership`,ju=`guardrailProcessingLatency`,P=`guardrailVersion`,Mu=`guarded`,F=`http`,I=`httpError`,L=`httpHeader`,R=`httpQuery`,Nu=`input`,Pu=`invocationArn`,Fu=`inputAssessment`,Iu=`inferenceConfig`,Lu=`invocationMetrics`,Ru=`invokedModelId`,zu=`invokeModel`,Bu=`inputSchema`,Vu=`internalServerException`,Hu=`inputTokens`,Uu=`identifier`,Wu=`images`,z=`image`,Gu=`impossible`,Ku=`invalid`,qu=`json`,Ju=`jsonSchema`,Yu=`key`,Xu=`kmsKeyId`,Zu=`location`,Qu=`latencyMs`,$u=`lastModifiedTime`,ed=`logicWarning`,td=`latency`,nd=`logic`,B=`message`,rd=`modelArn`,V=`modelId`,id=`modelInput`,ad=`modelOutput`,od=`maxResults`,sd=`messageStart`,cd=`modelStreamErrorException`,ld=`messageStop`,ud=`maxTokens`,dd=`modelTimeoutException`,fd=`managedWordLists`,pd=`match`,md=`messages`,hd=`metrics`,gd=`metadata`,H=`name`,_d=`naturalLanguage`,vd=`nextToken`,yd=`noTranslations`,bd=`outputs`,xd=`outputAssessments`,Sd=`outputConfig`,Cd=`outputDataConfig`,wd=`originalMessage`,Td=`outputScope`,Ed=`originalStatusCode`,Dd=`outputTokens`,Od=`options`,kd=`output`,Ad=`premises`,jd=`performanceConfig`,Md=`performanceConfigLatency`,Nd=`piiEntities`,Pd=`promptRouter`,Fd=`promptVariables`,Id=`policyVersionArn`,Ld=`qualifiers`,Rd=`regex`,zd=`reasoningContent`,Bd=`redactedContent`,Vd=`requestMetadata`,Hd=`resourceName`,Ud=`reasoningText`,Wd=`regexes`,Gd=`role`,Kd=`smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime`,qd=`sortBy`,Jd=`sourceContent`,Yd=`statusEquals`,Xd=`sensitiveInformationPolicy`,Zd=`sensitiveInformationPolicyFreeUnits`,Qd=`sensitiveInformationPolicyUnits`,$d=`s3Location`,ef=`sortOrder`,tf=`s3OutputDataConfig`,nf=`streamProcessingMode`,rf=`stopReason`,af=`searchResultIndex`,of=`searchResultLocation`,sf=`searchResult`,cf=`supportingRules`,lf=`stopSequences`,uf=`submitTime`,df=`submitTimeAfter`,ff=`submitTimeBefore`,U=`serviceTier`,pf=`systemTool`,mf=`s3Uri`,hf=`serviceUnavailableException`,gf=`satisfiable`,_f=`score`,vf=`schema`,yf=`server`,bf=`signature`,W=`source`,xf=`status`,G=`start`,Sf=`statements`,Cf=`stream`,wf=`streaming`,Tf=`strict`,Ef=`structure`,Df=`system`,Of=`ttl`,kf=`translationAmbiguous`,Af=`toolConfig`,jf=`textCharacters`,Mf=`toolChoice`,Nf=`tooComplex`,Pf=`throttlingException`,Ff=`textFormat`,If=`topicPolicy`,Lf=`topicPolicyUnits`,Rf=`topP`,zf=`toolResult`,Bf=`toolSpec`,Vf=`totalTokens`,Hf=`toolUse`,Uf=`toolUseId`,Wf=`tags`,K=`text`,Gf=`temperature`,Kf=`threshold`,qf=`title`,Jf=`total`,Yf=`tools`,Xf=`tool`,Zf=`topics`,q=`trace`,Qf=`translation`,$f=`translations`,J=`type`,ep=`usage`,tp=`untranslatedClaims`,np=`untranslatedPremises`,rp=`uri`,ip=`url`,ap=`value`,op=`validationException`,sp=`valid`,cp=`video`,lp=`web`,up=`wordPolicy`,dp=`wordPolicyUnits`,Y=`com.amazonaws.bedrockruntime`,fp=at.for(Kd),pp=[-3,Kd,`BedrockRuntimeServiceException`,0,[],[]],fp.registerError(pp,w),X=at.for(Y),mp=[-3,Y,sa,{[j]:O,[I]:403},[B],[0]],X.registerError(mp,Ki),hp=[-3,Y,Ia,{[j]:O,[I]:400},[B],[0]],X.registerError(hp,Xi),Z=[-3,Y,$s,{[j]:yf,[I]:500},[B],[0]],X.registerError(Z,qi),gp=[-3,Y,ac,{[j]:O,[I]:424},[B,Ed,Hd],[0,1,0]],X.registerError(gp,ea),_p=[-3,Y,sc,{[j]:O,[I]:429},[B],[0]],X.registerError(_p,ta),vp=[-3,Y,lc,{[j]:O,[I]:424},[B,Ed,wd],[0,1,0]],X.registerError(vp,ra),yp=[-3,Y,dc,{[j]:O,[I]:408},[B],[0]],X.registerError(yp,na),bp=[-3,Y,Tc,{[j]:O,[I]:404},[B],[0]],X.registerError(bp,Zi),xp=[-3,Y,Pc,{[j]:O,[I]:400},[B],[0]],X.registerError(xp,Qi),Sp=[-3,Y,Hc,{[j]:yf,[I]:503},[B],[0]],X.registerError(Sp,$i),Cp=[-3,Y,Kc,{[j]:O,[I]:429},[B],[0]],X.registerError(Cp,Ji),wp=[-3,Y,ll,{[j]:O,[I]:400},[B],[0]],X.registerError(wp,Yi),Tp=[fp,X],Ep=[0,Y,fa,8,0],Dp=[0,Y,ba,8,21],Op=[0,Y,Ho,8,0],kp=[0,Y,Uo,8,0],Ap=[0,Y,oc,8,15],jp=[0,Y,gc,8,21],Mp=[3,Y,va,0,[],[]],Np=[3,Y,la,0,[Ou,P,wu,ku,Au],[0,0,0,64,0]],Pp=[3,Y,ua,0,[N,P,W,k,Td],[[0,1],[0,1],0,[()=>cg,0],0],4],Fp=[3,Y,da,0,[ep,T,bd,Al,wl,Tu],[()=>th,0,()=>pg,[()=>eg,0],0,()=>zm],4],Ip=[3,Y,ha,0,[mf,Xu,Nl],[0,0,0],1],Lp=[3,Y,ma,0,[Pu,rd,uf,Cd,Yl,xf,yu,$u,gu],[0,0,5,()=>Og,0,0,[()=>Ep,0],5,5],4],Rp=[3,Y,oa,0,[M,W,j],[0,[()=>kg,0],[()=>mm,0]],2],zp=[3,Y,ya,0,[],[]],Bp=[3,Y,xa,8,[E],[[()=>jp,0]]],Vp=[3,Y,Sa,8,[E],[[()=>jp,0]]],Hp=[3,Y,Na,0,[Of,Hu],[0,1],2],Up=[3,Y,Ha,0,[J,Of],[0,0],1],Wp=[3,Y,Ca,0,[qf,W,Jd,Zu],[0,0,()=>Xh,()=>jg]],Gp=[3,Y,ja,0,[_u],[2],1],Kp=[3,Y,Ma,0,[k,tu],[()=>Jh,()=>Yh]],qp=[3,Y,Fa,0,[qf,W,Jd,Zu],[0,0,()=>Zh,()=>jg]],Jp=[3,Y,qa,0,[K],[0]],Yp=[3,Y,Ea,0,[su,Fl],[[()=>Pg,0],1],2],Xp=[3,Y,Oa,0,[G,Fl],[()=>Fg,1],2],Zp=[3,Y,ka,0,[Fl],[1],1],Qp=[3,Y,Ba,0,[Qu],[1],1],$p=[3,Y,Ua,0,[V,md,Df,Iu,Af,Eu,xl,Fd,Sl,Vd,jd,U,Sd],[[0,1],[()=>_g,0],[()=>yg,0],()=>oh,()=>Lh,()=>Mm,15,[()=>Eg,0],64,[()=>Dg,0],()=>Ch,()=>Ah,[()=>bh,0]],1],em=[3,Y,Wa,0,[kd,rf,ep,hd,Cl,q,jd,U],[[()=>Ig,0],0,()=>Ih,()=>Qp,15,[()=>sm,0],()=>Ch,()=>Ah],4],tm=[3,Y,Za,0,[ep,hd,q,jd,U],[()=>Ih,()=>nm,[()=>am,0],()=>Ch,()=>Ah],2],nm=[3,Y,Xa,0,[Qu],[1],1],rm=[3,Y,$a,0,[V,md,Df,Iu,Af,Eu,xl,Fd,Sl,Vd,jd,U,Sd],[[0,1],[()=>_g,0],[()=>yg,0],()=>oh,()=>Lh,()=>Ym,15,[()=>Eg,0],64,[()=>Dg,0],()=>Ch,()=>Ah,[()=>bh,0]],1],im=[3,Y,eo,0,[Cf],[[()=>Lg,16]]],am=[3,Y,to,0,[Cu,Pd],[[()=>eh,0],()=>wh]],om=[3,Y,io,0,[md,Df,Af,xl],[[()=>_g,0],[()=>yg,0],()=>Lh,15]],sm=[3,Y,no,0,[Cu,Pd],[[()=>eh,0],()=>wh]],cm=[3,Y,ao,0,[V,Nu],[[0,1],[()=>Rg,0]],2],lm=[3,Y,oo,0,[Hu],[1],1],um=[3,Y,fo,0,[H,W,M,iu,tu],[0,()=>Bg,0,0,()=>Gp],2],dm=[3,Y,ho,0,[uu,G,vu],[1,1,1]],fm=[3,Y,go,0,[uu,G,vu],[1,1,1]],pm=[3,Y,_o,0,[uu,G,vu],[1,1,1]],mm=[3,Y,yo,8,[B],[0]],hm=[3,Y,So,0,[Pu],[[0,1]],1],gm=[3,Y,Co,0,[Pu,rd,xf,uf,Cd,Yl,yu,$u,gu],[0,0,0,5,()=>Og,0,[()=>Ep,0],5,5],5],_m=[3,Y,bo,0,[If,Ul,up,Xd,Vl,Tl,Lu,yl],[()=>$m,()=>Pm,()=>nh,()=>Jm,()=>Im,[()=>Cm,0],()=>Um,()=>Np]],vm=[3,Y,Ao,0,[Qf,ql,ed],[[()=>Q,0],()=>ig,[()=>xm,0]]],ym=[3,Y,Mo,0,[K],[[()=>kp,0]]],bm=[3,Y,jo,0,[Qf,ql,ed],[[()=>Q,0],()=>ig,[()=>xm,0]]],xm=[3,Y,Po,0,[J,Ad,ru],[0,[()=>ag,0],[()=>ag,0]]],Sm=[3,Y,Fo,0,[],[]],Cm=[3,Y,Io,0,[xu],[[()=>ng,0]]],wm=[3,Y,Lo,0,[Uu,Id],[0,0]],Tm=[3,Y,Bo,0,[Qf,Zl,Bl,ed],[[()=>Q,0],[()=>Em,0],[()=>Em,0],[()=>xm,0]]],Em=[3,Y,zo,0,[Sf],[[()=>ag,0]]],Dm=[3,Y,Wo,0,[nd,_d],[[()=>Op,0],[()=>kp,0]]],Om=[3,Y,qo,0,[],[]],Q=[3,Y,Go,0,[Ad,ru,np,tp,au],[[()=>ag,0],[()=>ag,0],[()=>rg,0],[()=>rg,0],1]],km=[3,Y,Ko,0,[Od,fu],[[()=>sg,0],[()=>tg,0]]],Am=[3,Y,Yo,0,[$f],[[()=>og,0]]],jm=[3,Y,Zo,0,[Qf,Zl,cf,ed],[[()=>Q,0],[()=>Em,0],()=>ig,[()=>xm,0]]],Mm=[3,Y,Qo,0,[N,P,q],[0,0,0]],Nm=[3,Y,ns,0,[J,au,T,bu,A],[0,0,0,0,2],3],Pm=[3,Y,ls,0,[Su],[()=>lg],1],Fm=[3,Y,is,0,[J,Kf,_f,T,A],[0,1,1,0,2],4],Im=[3,Y,os,0,[Su],[()=>ug]],Lm=[3,Y,ss,8,[M,W],[0,[()=>Wg,0]],2],Rm=[3,Y,us,0,[K,Ld],[0,64],1],zm=[3,Y,ps,0,[jf,Wu],[()=>Zm,()=>Hm]],Bm=[3,Y,ds,0,[pd,T,A],[0,0,2],2],Vm=[3,Y,ms,8,[M,W],[0,[()=>Gg,0]],2],Hm=[3,Y,hs,0,[Mu,Jf],[1,1]],Um=[3,Y,gs,0,[ju,ep,Tu],[1,()=>th,()=>zm]],Wm=[3,Y,vs,0,[pd,J,T,A],[0,0,0,2],3],Gm=[3,Y,bs,0,[K],[0]],Km=[3,Y,Ss,0,[pd,J,T,A],[0,0,0,2],3],qm=[3,Y,ws,0,[T,H,pd,Rd,A],[0,0,0,0,2],1],Jm=[3,Y,Ds,0,[Nd,Wd],[()=>mg,()=>hg],2],Ym=[3,Y,Es,0,[N,P,q,nf],[0,0,0,0]],Xm=[3,Y,As,0,[K,Ld],[0,64],1],Zm=[3,Y,js,0,[Mu,Jf],[1,1]],Qm=[3,Y,Os,0,[H,J,T,A],[0,0,0,2],3],$m=[3,Y,Ns,0,[Zf],[()=>gg],1],eh=[3,Y,ks,0,[ad,Fu,xd,wl],[64,[()=>Tg,0],[()=>wg,0],0]],th=[3,Y,Ps,0,[Lf,Gl,dp,Qd,Zd,Hl,Wl,El,Dl],[1,1,1,1,1,1,1,1,1],6],nh=[3,Y,Fs,0,[Ql,fd],[()=>dg,()=>fg],2],rh=[3,Y,Is,0,[M,W,j],[0,[()=>Kg,0],[()=>mm,0]],2],ih=[3,Y,Ls,0,[W,j],[[()=>Kg,0],[()=>mm,0]]],ah=[3,Y,Rs,0,[M],[0],1],oh=[3,Y,zs,0,[ud,Gf,Rf,lf],[1,1,1,64]],sh=[3,Y,Vs,0,[V,D,Xl,Ol,q,N,P,Md,U],[[0,1],[()=>Dp,16],[0,{[L]:so}],[0,{[L]:aa}],[0,{[L]:vl}],[0,{[L]:ml}],[0,{[L]:hl}],[0,{[L]:gl}],[0,{[L]:_l}]],1],ch=[3,Y,Hs,0,[D,Xl,Md,U],[[()=>Dp,16],[0,{[L]:so}],[0,{[L]:gl}],[0,{[L]:_l}]],2],lh=[3,Y,Us,0,[D],[[()=>Dp,0]],1],uh=[3,Y,qs,0,[V,D],[[0,1],[()=>qg,16]],2],dh=[3,Y,Js,0,[D],[[()=>Jg,16]],1],fh=[3,Y,Xs,0,[V,D,Xl,Ol,q,N,P,Md,U],[[0,1],[()=>Dp,16],[0,{[L]:so}],[0,{[L]:fl}],[0,{[L]:vl}],[0,{[L]:ml}],[0,{[L]:hl}],[0,{[L]:gl}],[0,{[L]:_l}]],1],ph=[3,Y,Zs,0,[D,Xl,Md,U],[[()=>$g,16],[0,{[L]:pl}],[0,{[L]:gl}],[0,{[L]:_l}]],2],mh=[3,Y,ec,0,[vf,H,pu],[0,0,0],1],hh=[3,Y,nc,0,[df,ff,Yd,od,vd,qd,ef],[[5,{[R]:df}],[5,{[R]:ff}],[0,{[R]:Yd}],[1,{[R]:od}],[0,{[R]:vd}],[0,{[R]:qd}],[0,{[R]:ef}]]],gh=[3,Y,rc,0,[vd,bl],[0,[()=>Kh,0]]],_h=[3,Y,ic,0,[Gd,k],[0,[()=>Qh,0]],2],vh=[3,Y,cc,0,[Gd],[0],1],yh=[3,Y,uc,0,[rf,Cl],[0,15],1],bh=[3,Y,pc,0,[Ff],[[()=>xh,0]]],xh=[3,Y,mc,0,[J,Ef],[0,[()=>Yg,0]],2],Sh=[3,Y,vc,8,[E],[[()=>jp,0]]],Ch=[3,Y,_c,0,[td],[0]],wh=[3,Y,yc,0,[Ru],[0]],Th=[3,Y,Dc,8,[K,bf],[0,0],1],Eh=[3,Y,Nc,0,[rp,Nl],[0,0],1],Dh=[3,Y,Fc,0,[W,qf,k,tu],[0,0,()=>vg,()=>Gp],3],Oh=[3,Y,Ic,0,[K],[0],1],kh=[3,Y,Rc,0,[af,G,vu],[1,1,1]],Ah=[3,Y,zc,0,[J],[0],1],jh=[3,Y,Bc,0,[H],[0],1],Mh=[3,Y,kc,0,[V,id,Cd,Yl,Wf],[0,[()=>Ap,0],()=>Og,[0,4],()=>bg],3],Nh=[3,Y,Ac,0,[Pu],[0],1],Ph=[3,Y,Vc,0,[H],[0],1],Fh=[3,Y,Uc,0,[Yu,ap],[0,0],2],Ih=[3,Y,nl,0,[Hu,Dd,Vf,Jl,$l,zl],[1,1,1,1,1,()=>qh],3],Lh=[3,Y,Wc,0,[Yf,Mf],[()=>Cg,()=>n_],1],Rh=[3,Y,Yc,0,[Uf,k,xf,J],[0,[()=>Sg,0],0,0],2],zh=[3,Y,Qc,0,[Uf,J,xf],[0,0,0],1],Bh=[3,Y,tl,0,[H,Bu,pu,Tf],[0,()=>r_,0,2],2],Vh=[3,Y,rl,0,[Uf,H,Nu,J],[0,0,15,0],3],Hh=[3,Y,il,0,[Nu],[0],1],Uh=[3,Y,al,0,[Uf,H,J],[0,0,0],2],Wh=[3,Y,cl,0,[M,W],[0,()=>o_],2],Gh=[3,Y,dl,0,[ip,mu],[0,0]],Kh=[1,Y,ga,0,[()=>Lp,0]],qh=[1,Y,Pa,0,()=>Hp],Jh=[1,Y,Ra,0,()=>Ag],Yh=[1,Y,lo,0,()=>Wp],Xh=[1,Y,Ja,0,()=>Mg],Zh=[1,Y,Ya,0,()=>Jp],Qh=[1,Y,wa,0,[()=>Ng,0]],$h=[1,Y,po,0,()=>zg],eg=[1,Y,wo,0,[()=>_m,0]],tg=[1,Y,Do,0,[()=>Em,0]],ng=[1,Y,ko,0,[()=>Vg,0]],rg=[1,Y,No,0,[()=>ym,0]],ig=[1,Y,Ro,0,()=>wm],ag=[1,Y,Vo,0,[()=>Dm,0]],og=[1,Y,Jo,0,[()=>Q,0]],sg=[1,Y,Xo,0,[()=>Am,0]],cg=[1,Y,es,0,[()=>Hg,0]],lg=[1,Y,rs,0,()=>Nm],ug=[1,Y,as,0,()=>Fm],dg=[1,Y,fs,0,()=>Bm],fg=[1,Y,ys,0,()=>Wm],pg=[1,Y,xs,0,()=>Gm],mg=[1,Y,Cs,0,()=>Km],hg=[1,Y,Ts,0,()=>qm],gg=[1,Y,Ms,0,()=>Qm],_g=[1,Y,fc,0,[()=>_h,0]],vg=[1,Y,Lc,0,()=>Oh],yg=[1,Y,jc,0,[()=>e_,0]],bg=[1,Y,Jc,0,()=>Fh],xg=[1,Y,Xc,0,()=>i_],Sg=[1,Y,$c,0,[()=>a_,0]],Cg=[1,Y,ol,0,()=>t_],wg=[2,Y,To,0,[0,0],[()=>eg,0]],Tg=[2,Y,Eo,0,[0,0],[()=>_m,0]],Eg=[2,Y,bc,8,0,()=>Xg],Dg=[2,Y,wc,8,0,0],Og=[4,Y,pa,0,[tf],[()=>Ip]],kg=[4,Y,_a,8,[E,$d],[21,()=>Eh]],Ag=[4,Y,La,0,[K],[0]],jg=[4,Y,za,0,[lp,cu,du,lu,of],[()=>Gh,()=>dm,()=>pm,()=>fm,()=>kh]],Mg=[4,Y,Ka,0,[K],[0]],Ng=[4,Y,Aa,0,[K,z,hu,cp,jl,Hf,zf,Du,Kl,zd,Rl,sf],[0,[()=>rh,0],()=>um,()=>Wh,[()=>Rp,0],()=>Vh,[()=>Rh,0],[()=>Ug,0],()=>Up,[()=>Zg,0],()=>Kp,()=>Dh]],Pg=[4,Y,Ta,0,[K,Hf,zf,zd,nu,z],[0,()=>Hh,()=>xg,[()=>Qg,0],()=>qp,[()=>ih,0]]],Fg=[4,Y,Da,0,[Hf,zf,z],[()=>Uh,()=>zh,()=>ah]],Ig=[4,Y,Va,0,[B],[[()=>_h,0]]],Lg=[4,Y,Qa,{[wf]:1},[sd,Il,Pl,Ll,ld,gd,Vu,cd,op,Pf,hf],[()=>vh,()=>Xp,[()=>Yp,0],()=>Zp,()=>yh,[()=>tm,0],[()=>Z,0],[()=>vp,0],[()=>wp,0],[()=>Cp,0],[()=>Sp,0]]],Rg=[4,Y,ro,0,[zu,ou],[[()=>lh,0],[()=>om,0]]],zg=[4,Y,mo,0,[K],[0]],Bg=[4,Y,vo,0,[E,$d,K,k],[21,()=>Eh,0,()=>$h]],Vg=[4,Y,Oo,0,[sp,Ku,gf,Gu,kf,Nf,yd],[[()=>jm,0],[()=>bm,0],[()=>Tm,0],[()=>vm,0],[()=>km,0],()=>Om,()=>Sm]],Hg=[4,Y,$o,0,[K,z],[()=>Xm,[()=>Vm,0]]],Ug=[4,Y,ts,0,[K,z],[()=>Rm,[()=>Lm,0]]],Wg=[4,Y,cs,8,[E],[21]],Gg=[4,Y,_s,8,[E],[21]],Kg=[4,Y,Qs,8,[E,$d],[21,()=>Eh]],qg=[4,Y,Gs,{[wf]:1},[eu],[[()=>Bp,0]]],Jg=[4,Y,Ks,{[wf]:1},[eu,Vu,cd,op,Pf,dd,hf],[[()=>Vp,0],[()=>Z,0],[()=>vp,0],[()=>wp,0],[()=>Cp,0],[()=>yp,0],[()=>Sp,0]]],Yg=[4,Y,hc,8,[Ju],[()=>mh]],Xg=[4,Y,xc,0,[K],[0]],Zg=[4,Y,Sc,8,[Ud,Bd],[[()=>Th,0],21]],Qg=[4,Y,Cc,8,[K,Bd,bf],[0,21,0]],$g=[4,Y,Ec,{[wf]:1},[eu,Vu,cd,op,Pf,dd,hf],[[()=>Sh,0],[()=>Z,0],[()=>vp,0],[()=>wp,0],[()=>Cp,0],[()=>yp,0],[()=>Sp,0]]],e_=[4,Y,Mc,0,[K,Du,Kl],[0,[()=>Ug,0],()=>Up]],t_=[4,Y,sl,0,[Bf,pf,Kl],[()=>Bh,()=>Ph,()=>Up]],n_=[4,Y,Gc,0,[Ml,kl,Xf],[()=>zp,()=>Mp,()=>jh]],r_=[4,Y,qc,0,[qu],[15]],i_=[4,Y,Zc,0,[K,qu],[0,15]],a_=[4,Y,el,0,[qu,K,z,hu,cp,sf],[15,0,[()=>rh,0],()=>um,()=>Wh,()=>Dh]],o_=[4,Y,ul,0,[E,$d],[21,()=>Eh]],s_=[9,Y,ca,{[F]:[`POST`,`/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply`,200]},()=>Pp,()=>Fp],c_=[9,Y,uo,{[F]:[`POST`,`/model/{modelId}/converse`,200]},()=>$p,()=>em],l_=[9,Y,Ga,{[F]:[`POST`,`/model/{modelId}/converse-stream`,200]},()=>rm,()=>im],u_=[9,Y,co,{[F]:[`POST`,`/model/{modelId}/count-tokens`,200]},()=>cm,()=>lm],d_=[9,Y,xo,{[F]:[`GET`,`/async-invoke/{invocationArn}`,200]},()=>hm,()=>gm],f_=[9,Y,Bs,{[F]:[`POST`,`/model/{modelId}/invoke`,200]},()=>sh,()=>ch],p_=[9,Y,Ws,{[F]:[`POST`,`/model/{modelId}/invoke-with-bidirectional-stream`,200]},()=>uh,()=>dh],m_=[9,Y,Ys,{[F]:[`POST`,`/model/{modelId}/invoke-with-response-stream`,200]},()=>fh,()=>ph],h_=[9,Y,tc,{[F]:[`GET`,`/async-invoke`,200]},()=>hh,()=>gh],g_=[9,Y,Oc,{[F]:[`POST`,`/async-invoke`,200]},()=>Mh,()=>Nh]})),__,v_=e((()=>{He(),ue(),Le(),h(),ct(),Qe(),Ye(),qr(),Wi(),$(),__=e=>({apiVersion:`2023-09-30`,base64Decoder:e?.base64Decoder??ot,base64Encoder:e?.base64Encoder??nt,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Ui,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Gr,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new Ie},{schemeId:`smithy.api#httpBearerAuth`,identityProvider:e=>e.getIdentityProvider(`smithy.api#httpBearerAuth`),signer:new Ne}],logger:e?.logger??new kt,protocol:e?.protocol??we,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.bedrockruntime`,errorTypeRegistries:Tp,version:`2023-09-30`,serviceTarget:`AmazonBedrockFrontendService`},serviceId:e?.serviceId??`Bedrock Runtime`,urlParser:e?.urlParser??st,utf8Decoder:e?.utf8Decoder??qe,utf8Encoder:e?.utf8Encoder??Je})})),y_,b_=e((()=>{pi(),Ct(),He(),Pt(),xi(),Lt(),xe(),vt(),Le(),Oi(),Se(),le(),wt(),$e(),h(),Ee(),fe(),xt(),v_(),y_=e=>{At(process.version);let t=be(e),n=()=>t().then(jt),r=__(e);bt(process.version);let i={profile:e?.profile,logger:r.logger,signingName:`bedrock`};return{...r,...e,runtime:`node`,defaultsMode:t,authSchemePreference:e?.authSchemePreference??p(Fe,i),bodyLengthChecker:e?.bodyLengthChecker??pe,credentialDefaultProvider:e?.credentialDefaultProvider??Nt,defaultUserAgentProvider:e?.defaultUserAgentProvider??he({serviceId:r.serviceId,clientVersion:fi.version}),eventStreamPayloadHandlerProvider:e?.eventStreamPayloadHandlerProvider??yi,eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Ei,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new Ie},{schemeId:`smithy.api#httpBearerAuth`,identityProvider:e=>e.getIdentityProvider(`smithy.api#httpBearerAuth`)||(async e=>{try{return await It({signingName:`bedrock`})()}catch{return await Ft(e)(e)}}),signer:new Ne}],maxAttempts:e?.maxAttempts??p(ke,e),region:e?.region??p(pt,{..._t,...i}),requestHandler:Ze.create(e?.requestHandler??(async()=>({...await n(),disableConcurrentStreams:!0}))),retryMode:e?.retryMode??p({...de,default:async()=>(await n()).retryMode||St},e),sha256:e?.sha256??me.bind(null,`sha256`),streamCollector:e?.streamCollector??tt,useDualstackEndpoint:e?.useDualstackEndpoint??p(gt,i),useFipsEndpoint:e?.useFipsEndpoint??p(lt,i),userAgentAppId:e?.userAgentAppId??p(ge,i)}}})),x_,S_,C_=e((()=>{x_=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials,i=e.token;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r},setToken(e){i=e},token(){return i}}},S_=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials(),token:e.token()})})),w_,T_=e((()=>{Te(),o(),h(),C_(),w_=(e,t)=>{let n=Object.assign(Ce(e),Ot(e),i(e),x_(e));return t.forEach(e=>e.configure(n)),Object.assign(e,_e(n),Tt(n),r(n),S_(n))}})),E_,D_=e((()=>{en(),ce(),te(),ae(),oe(),Rr(),vt(),Le(),rt(),Vr(),l(),u(),le(),h(),qr(),y(),b_(),T_(),t(),E_=class extends Dt{constructor(...[e]){let t=y_(e||{});super(t),n(this,`config`,void 0),this.initConfig=t,this.config=w_(Pr(Wt(Kr(zr(c(Ae(ht(Oe(ie(Jr(t)))))))))),e?.extensions||[]),this.middlewareStack.use(it(this.config)),this.middlewareStack.use(ye(this.config)),this.middlewareStack.use(De(this.config)),this.middlewareStack.use(ee(this.config)),this.middlewareStack.use(re(this.config)),this.middlewareStack.use(ne(this.config)),this.middlewareStack.use(se(this.config)),this.middlewareStack.use(je(this.config,{httpAuthSchemeParametersProvider:Wr,identityProviderConfigProvider:async e=>new Ue({"aws.auth#sigv4":e.credentials,"smithy.api#httpBearerAuth":e.token})})),this.middlewareStack.use(Me(this.config))}destroy(){super.destroy()}}})),O_,k_=e((()=>{u(),h(),y(),$(),O_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`ApplyGuardrail`,{}).n(`BedrockRuntimeClient`,`ApplyGuardrailCommand`).sc(s_).build(){}})),A_,j_=e((()=>{u(),h(),y(),$(),A_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`Converse`,{}).n(`BedrockRuntimeClient`,`ConverseCommand`).sc(c_).build(){}})),M_,N_=e((()=>{u(),h(),y(),$(),M_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`ConverseStream`,{eventStream:{output:!0}}).n(`BedrockRuntimeClient`,`ConverseStreamCommand`).sc(l_).build(){}})),P_,F_=e((()=>{u(),h(),y(),$(),P_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`CountTokens`,{}).n(`BedrockRuntimeClient`,`CountTokensCommand`).sc(u_).build(){}})),I_,L_=e((()=>{u(),h(),y(),$(),I_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`GetAsyncInvoke`,{}).n(`BedrockRuntimeClient`,`GetAsyncInvokeCommand`).sc(d_).build(){}})),R_,z_=e((()=>{u(),h(),y(),$(),R_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`InvokeModel`,{}).n(`BedrockRuntimeClient`,`InvokeModelCommand`).sc(f_).build(){}})),B_,V_=e((()=>{en(),Rr(),u(),h(),y(),$(),B_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions()),Qt(n),Ar(n,{headerPrefix:`x-amz-bedrock-`})]}).s(`AmazonBedrockFrontendService`,`InvokeModelWithBidirectionalStream`,{eventStream:{input:!0,output:!0}}).n(`BedrockRuntimeClient`,`InvokeModelWithBidirectionalStreamCommand`).sc(p_).build(){}})),H_,U_=e((()=>{u(),h(),y(),$(),H_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`InvokeModelWithResponseStream`,{eventStream:{output:!0}}).n(`BedrockRuntimeClient`,`InvokeModelWithResponseStreamCommand`).sc(m_).build(){}})),W_,G_=e((()=>{u(),h(),y(),$(),W_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`ListAsyncInvokes`,{}).n(`BedrockRuntimeClient`,`ListAsyncInvokesCommand`).sc(h_).build(){}})),K_,q_=e((()=>{u(),h(),y(),$(),K_=class extends m.classBuilder().ep(v).m(function(e,t,n,r){return[d(n,e.getEndpointParameterInstructions())]}).s(`AmazonBedrockFrontendService`,`StartAsyncInvoke`,{}).n(`BedrockRuntimeClient`,`StartAsyncInvokeCommand`).sc(g_).build(){}})),J_,Y_=e((()=>{Le(),D_(),G_(),J_=Pe(E_,W_,`nextToken`,`nextToken`,`maxResults`)})),X_,Z_,Q_,$_=e((()=>{h(),D_(),k_(),j_(),N_(),F_(),L_(),z_(),V_(),U_(),G_(),q_(),Y_(),X_={ApplyGuardrailCommand:O_,ConverseCommand:A_,ConverseStreamCommand:M_,CountTokensCommand:P_,GetAsyncInvokeCommand:I_,InvokeModelCommand:R_,InvokeModelWithBidirectionalStreamCommand:B_,InvokeModelWithResponseStreamCommand:H_,ListAsyncInvokesCommand:W_,StartAsyncInvokeCommand:K_},Z_={paginateListAsyncInvokes:J_},Q_=class extends E_{},Mt(X_,Q_,{paginators:Z_})})),ev=e((()=>{k_(),j_(),N_(),F_(),L_(),z_(),V_(),U_(),G_(),q_()})),tv=e((()=>{})),nv=e((()=>{tv(),Y_()})),rv=e((()=>{})),iv=e((()=>{})),av=e((()=>{D_(),$_(),ev(),$(),nv(),rv(),ia(),iv(),Gi()}));export{tm as $,$g as $n,Um as $t,Hp as A,ph as An,o_ as Ar,Tm as At,hp as B,vp as Bn,Zi as Br,Nm as Bt,Lp as C,p_ as Cn,a_ as Cr,vm as Ct,pp as D,dh as Dn,Uh as Dr,Sm as Dt,zp as E,uh as En,Hh as Er,xm as Et,Mg as F,_h as Fn,qi as Fr,km as Ft,Xp as G,Sh as Gn,w as Gr,Lm as Gt,Pg as H,bh as Hn,$i as Hr,Fm as Ht,Jp as I,vh as In,ea as Ir,Am as It,Qp as J,Xg as Jn,dn as Jr,zm as Jt,Zp as K,Ch as Kn,gn as Kr,Wg as Kt,Gp as L,yh as Ln,ta as Lr,jm as Lt,Wp as M,h_ as Mn,Tp as Mr,Dm as Mt,Ag as N,hh as Nn,Ki as Nr,Om as Nt,Bp as O,m_ as On,wp as Or,Cm as Ot,jg as P,gh as Pn,Xi as Pr,Q as Pt,l_ as Q,bp as Qn,Gg as Qt,Kp as R,gp as Rn,ra as Rr,Mm as Rt,Ip as S,lh as Sn,zh as Sr,Vg as St,kg as T,Jg as Tn,Vh as Tr,bm as Tt,Yp as U,xh as Un,Ji as Ur,Im as Ut,Ng as V,yp as Vn,Qi as Vr,Pm as Vt,Fg as W,Yg as Wn,Yi as Wr,Ug as Wt,$p as X,Qg as Xn,ln as Xr,Vm as Xt,Ig as Y,Zg as Yn,cn as Yr,Bm as Yt,em as Z,Th as Zn,un as Zr,Hm as Zt,Np as _,oh as _n,n_ as _r,mm as _t,W_ as a,Ym as an,Ah as ar,om as at,Fp as b,sh as bn,Rh as br,gm as bt,R_ as c,Qm as cn,g_ as cr,Rg as ct,M_ as d,th as dn,e_ as dr,um as dt,Wm as en,Eh as er,nm as et,A_ as f,nh as fn,Ph as fr,dm as ft,Mp as g,Kg as gn,t_ as gr,Bg as gt,mp as h,ah as hn,Ih as hr,pm as ht,K_ as i,Jm as in,xp as ir,am as it,Up as j,mh as jn,Gh as jr,Em as jt,Vp as k,fh as kn,Wh as kr,wm as kt,I_ as l,$m as ln,Mh as lr,cm as lt,E_ as m,ih as mn,Cp as mr,zg as mt,Q_ as n,Km as nn,Oh as nr,rm as nt,H_ as o,Xm as on,Sp as or,sm as ot,O_ as p,rh as pn,Fh as pr,fm as pt,c_ as q,wh as qn,mn as qr,Rm as qt,J_ as r,qm as rn,kh as rr,im as rt,B_ as s,Zm as sn,jh as sr,u_ as st,av as t,Gm as tn,Dh as tr,Lg as tt,P_ as u,eh as un,Nh as ur,lm as ut,s_ as v,Z as vn,Lh as vr,d_ as vt,Rp as w,qg as wn,Bh as wr,ym as wt,Og as x,ch as xn,i_ as xr,_m as xt,Pp as y,f_ as yn,r_ as yr,hm as yt,qp as z,_p as zn,na as zr,Hg as zt};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./dist-es-CLyx7Kge2.js";t();export{e as fromTokenFile};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{t}from"./dist-es-BuWNNAXW.js";var n,r=e((()=>{t(),n=e=>e.__smithy_context||(e.__smithy_context={})})),i,a=e((()=>{i=e=>{if(typeof e==`function`)return e;let t=Promise.resolve(e);return()=>t}})),o=e((()=>{r(),a()}));export{i as n,n as r,o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";import{a as r,i,r as a}from"./httpAuthSchemes-CgPbtGos.js";var o=e((()=>{})),s=e((()=>{})),c=e((()=>{})),l=e((()=>{})),u,d,f=e((()=>{u=`X-Amz-S3session-Token`,d=u.toLowerCase()}));function p(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function m(e,t){let n=setTimeout(()=>{throw Error(`SignatureV4S3Express credential override was created but not called.`)},10),r=e.credentialProvider;e.credentialProvider=()=>(clearTimeout(n),e.credentialProvider=r,Promise.resolve(t))}var h,g=e((()=>{a(),f(),h=class extends r{async signWithCredentials(e,t,n){let r=p(t);e.headers[d]=t.sessionToken;let i=this;return m(i,r),i.signRequest(e,n??{})}async presignWithCredentials(e,t,n){let r=p(t);return delete e.headers[d],e.headers[u]=t.sessionToken,e.query=e.query??{},e.query[u]=t.sessionToken,m(this,r),this.presign(e,n)}}})),_=e((()=>{g(),f()})),v=e((()=>{})),y=e((()=>{})),b=e((()=>{})),x=e((()=>{o(),s(),c(),l(),_(),v(),y(),b()})),S,C=e((()=>{S={CrtSignerV4:null}})),w,T=e((()=>{x(),a(),C(),t(),w=class{static sigv4aDependency(){return typeof S.CrtSignerV4==`function`?`crt`:typeof i.SignatureV4a==`function`?`js`:`none`}constructor(e){n(this,`sigv4aSigner`,void 0),n(this,`sigv4Signer`,void 0),n(this,`signerOptions`,void 0),this.sigv4Signer=new h(e),this.signerOptions=e}async sign(e,t={}){return t.signingRegion===`*`?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,n={}){if(n.signingRegion===`*`){let r=this.getSigv4aSigner(),i=S.CrtSignerV4;if(i&&r instanceof i)return r.signWithCredentials(e,t,n);throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,n)}async presign(e,t={}){if(t.signingRegion===`*`){let n=this.getSigv4aSigner(),r=S.CrtSignerV4;if(r&&n instanceof r)return n.presign(e,t);throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,n={}){if(n.signingRegion===`*`)throw Error(`Method presignWithCredentials is not supported for [signingRegion=*].`);return this.sigv4Signer.presignWithCredentials(e,t,n)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=S.CrtSignerV4,t=i.SignatureV4a;if(this.signerOptions.runtime===`node`){if(!e&&!t)throw Error(`Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);if(e&&typeof e==`function`)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==`function`)this.sigv4aSigner=new t({...this.signerOptions});else throw Error(`Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}else{if(!t||typeof t!=`function`)throw Error(`JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a`);this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}})),E=e((()=>{T(),C()}));export{w as n,E as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";var t,n,r=e((()=>{t=e=>encodeURIComponent(e).replace(/[!'()*]/g,n),n=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`})),i=e((()=>{})),a=e((()=>{r(),i()}));function o(e){let n=[];for(let r of Object.keys(e).sort()){let i=e[r];if(r=t(r),Array.isArray(i))for(let e=0,a=i.length;e<a;e++)n.push(`${r}=${t(i[e])}`);else{let e=r;(i||typeof i==`string`)&&(e+=`=${t(i)}`),n.push(e)}}return n.join(`&`)}var s=e((()=>{a()}));export{t as i,s as n,a as r,o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{i as t,n,o as r,r as i,t as a}from"./dist-es-BPPewn1A.js";import{a as o,t as s,u as c}from"./dist-es-Do_155z5.js";function l(e){try{let t=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));return t.delete(`CONFIG`),t.delete(`CONFIG_PREFIX_SEPARATOR`),t.delete(`ENV`),[...t].join(`, `)}catch{return e}}var u=e((()=>{})),d,f=e((()=>{a(),u(),d=(e,t)=>async()=>{try{let n=e(process.env,t);if(n===void 0)throw Error();return n}catch(n){throw new r(n.message||`Not found in ENV: ${l(e.toString())}`,{logger:t?.logger})}}})),p,m=e((()=>{a(),s(),u(),p=(e,{preferredFile:t=`config`,...n}={})=>async()=>{let i=c(n),{configFile:a,credentialsFile:s}=await o(n),u=s[i]||{},d=a[i]||{},f=t===`config`?{...u,...d}:{...d,...u};try{let n=e(f,t===`config`?a:s);if(n===void 0)throw Error();return n}catch(t){throw new r(t.message||`Not found in config files w/ profile [${i}]: ${l(e.toString())}`,{logger:n.logger})}}})),h,g,_=e((()=>{a(),h=e=>typeof e==`function`,g=e=>h(e)?async()=>await e():i(e)})),v,y=e((()=>{a(),f(),m(),_(),v=({environmentVariableSelector:e,configFileSelector:r,default:i},a={})=>{let{signingName:o,logger:s}=a;return n(t(d(e,{signingName:o,logger:s}),p(r,a),g(i)))}})),b=e((()=>{y()}));export{v as n,b as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e,t}from"./dist-es-CUbatGdn.js";t();export{e as fromEnv};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";import{a as r,t as i}from"./dist-es-BuWNNAXW.js";var a,o=e((()=>{t(),a=class e{constructor(e,t,r,i){n(this,`nodes`,void 0),n(this,`root`,void 0),n(this,`conditions`,void 0),n(this,`results`,void 0),this.nodes=e,this.root=t,this.conditions=r,this.results=i}static from(t,n,r,i){return new e(t,n,r,i)}}})),s,c=e((()=>{t(),s=class{constructor({size:e,params:t}){n(this,`capacity`,void 0),n(this,`data`,new Map),n(this,`parameters`,[]),this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let n=this.hash(e);if(n===!1)return t();if(!this.data.has(n)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:n,done:r}=e.next();if(this.data.delete(n),r||++t>10)break}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t=``,{parameters:n}=this;if(n.length===0)return!1;for(let r of n){let n=String(e[r]??``);if(n.includes(`|;`))return!1;t+=n+`|;`}return t}}})),l,u=e((()=>{l=class extends Error{constructor(e){super(e),this.name=`EndpointError`}}})),d=e((()=>{})),f=e((()=>{})),ee=e((()=>{})),te=e((()=>{})),ne=e((()=>{})),re=e((()=>{})),p=e((()=>{u(),d(),f(),ee(),te(),ne(),re()})),m,ie=e((()=>{m=`endpoints`}));function h(e){return typeof e!=`object`||!e?e:`ref`in e?`$${h(e.ref)}`:`fn`in e?`${e.fn}(${(e.argv||[]).map(h).join(`, `)})`:JSON.stringify(e,null,2)}var ae=e((()=>{})),oe=e((()=>{ie(),ae()})),g,_=e((()=>{g={}})),v,se=e((()=>{v=(e,t)=>e===t}));function ce(...e){for(let t of e)if(t!=null)return t}var le=e((()=>{})),ue,de=e((()=>{p(),ue=e=>{let t=e.split(`.`),n=[];for(let r of t){let t=r.indexOf(`[`);if(t!==-1){if(r.indexOf(`]`)!==r.length-1)throw new l(`Path: '${e}' does not end with ']'`);let i=r.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new l(`Invalid array index: '${i}' in path: '${e}'`);t!==0&&n.push(r.slice(0,t)),n.push(i)}else n.push(r)}return n}})),y,fe=e((()=>{p(),de(),y=(e,t)=>ue(t).reduce((n,r)=>{if(typeof n!=`object`)throw new l(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);if(Array.isArray(n)){let e=parseInt(r);return n[e<0?n.length+e:e]}return n[r]},e)})),pe,me=e((()=>{pe=e=>e!=null})),b,x,S=e((()=>{b=RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`),x=(e,t=!1)=>{if(!t)return b.test(e);let n=e.split(`.`);for(let e of n)if(!x(e))return!1;return!0}}));function he(e,t,n){return e?t:n}var ge=e((()=>{})),C,_e=e((()=>{C=e=>!e})),w,T,E=e((()=>{w=RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`),T=e=>w.test(e)||e.startsWith(`[`)&&e.endsWith(`]`)})),D,O,ve=e((()=>{i(),E(),D={[r.HTTP]:80,[r.HTTPS]:443},O=e=>{let t=(()=>{try{if(e instanceof URL)return e;if(typeof e==`object`&&`hostname`in e){let{hostname:t,port:n,protocol:r=``,path:i=``,query:a={}}=e,o=new URL(`${r}//${t}${n?`:${n}`:``}${i}`);return o.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(`&`),o}return new URL(e)}catch{return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let n=t.href,{host:i,hostname:a,pathname:o,protocol:s,search:c}=t;if(c)return null;let l=s.slice(0,-1);if(!Object.values(r).includes(l))return null;let u=T(a);return{scheme:l,authority:`${i}${n.includes(`${i}:${D[l]}`)||typeof e==`string`&&e.includes(`${i}:${D[l]}`)?`:${D[l]}`:``}`,path:o,normalizedPath:o.endsWith(`/`)?o:`${o}/`,isIp:u}}}));function ye(e,t,n){if(n===1)return[e];if(e===``)return[``];let r=e.split(t);return n===0?r:r.slice(0,n-1).concat(r.slice(1).join(t))}var be=e((()=>{})),k,xe=e((()=>{k=(e,t)=>e===t})),A,Se=e((()=>{A=(e,t,n,r)=>e==null||t>=n||e.length<n||/[^\u0000-\u007f]/.test(e)?null:r?e.substring(e.length-n,e.length-t):e.substring(t,n)})),j,Ce=e((()=>{j=e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)})),M=e((()=>{se(),le(),fe(),me(),S(),ge(),_e(),ve(),be(),xe(),Se(),Ce()})),N,we=e((()=>{M(),N={booleanEquals:v,coalesce:ce,getAttr:y,isSet:pe,isValidHostLabel:x,ite:he,not:C,parseURL:O,split:ye,stringEquals:k,substring:A,uriEncode:j}})),P,F=e((()=>{M(),P=(e,t)=>{let n=[],{referenceRecord:r,endpointParams:i}=t,a=0;for(;a<e.length;){let t=e.indexOf(`{`,a);if(t===-1){n.push(e.slice(a));break}n.push(e.slice(a,t));let o=e.indexOf(`}`,t);if(o===-1){n.push(e.slice(t));break}e[t+1]===`{`&&e[o+1]===`}`&&(n.push(e.slice(t+1,o)),a=o+2);let s=e.substring(t+1,o);if(s.includes(`#`)){let[e,t]=s.split(`#`);n.push(y(r[e]??i[e],t))}else n.push(r[s]??i[s]);a=o+1}return n.join(``)}})),I,Te=e((()=>{I=({ref:e},t)=>t.referenceRecord[e]??t.endpointParams[e]})),L,R,z,B=e((()=>{p(),_(),we(),F(),Te(),L=(e,t,n)=>{if(typeof e==`string`)return P(e,n);if(e.fn)return z.callFunction(e,n);if(e.ref)return I(e,n);throw new l(`'${t}': ${String(e)} is not a string, function or reference.`)},R=({fn:e,argv:t},n)=>{let r=Array(t.length);for(let e=0;e<r.length;++e){let i=t[e];typeof i==`boolean`||typeof i==`number`?r[e]=i:r[e]=z.evaluateExpression(i,`arg`,n)}let i=e.indexOf(`.`);if(i!==-1){let t=g[e.slice(0,i)]?.[e.slice(i+1)];if(typeof t==`function`)return t(...r)}let a=N[e];if(typeof a==`function`)return a(...r);throw Error(`function ${e} not loaded in endpointFunctions.`)},z={evaluateExpression:L,callFunction:R}})),Ee=e((()=>{B()})),V,De=e((()=>{oe(),p(),Ee(),V=(e,t)=>{let{assign:n}=e;if(n&&n in t.referenceRecord)throw new l(`'${n}' is already defined in Reference Record.`);let r=R(e,t);t.logger?.debug?.(`${m} evaluateCondition: ${h(e)} = ${h(r)}`);let i=r===``?!0:!!r;return n==null?{result:i}:{result:i,toAssign:{name:n,value:r}}}})),Oe,ke=e((()=>{p(),B(),Oe=(e,t)=>Object.entries(e??{}).reduce((e,[n,r])=>(e[n]=r.map(e=>{let r=L(e,`Header value entry`,t);if(typeof r!=`string`)throw new l(`Header '${n}' value '${r}' is not a string`);return r}),e),{})})),H,U,W,Ae=e((()=>{p(),F(),H=(e,t)=>Object.entries(e).reduce((e,[n,r])=>(e[n]=W.getEndpointProperty(r,t),e),{}),U=(e,t)=>{if(Array.isArray(e))return e.map(e=>U(e,t));switch(typeof e){case`string`:return P(e,t);case`object`:if(e===null)throw new l(`Unexpected endpoint property: ${e}`);return W.getEndpointProperties(e,t);case`boolean`:return e;default:throw new l(`Unexpected endpoint property type: ${typeof e}`)}},W={getEndpointProperty:U,getEndpointProperties:H}})),G,je=e((()=>{p(),B(),G=(e,t)=>{let n=L(e,`Endpoint URL`,t);if(typeof n==`string`)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new l(`Endpoint URL must be a string, got ${typeof n}`)}})),K,q,Me=e((()=>{p(),De(),B(),ke(),Ae(),je(),K=1e8,q=(e,t)=>{let{nodes:n,root:r,results:i,conditions:a}=e,o=r,s={},c={referenceRecord:s,endpointParams:t.endpointParams,logger:t.logger};for(;o!==1&&o!==-1&&o<K;){let e=3*(Math.abs(o)-1),[t,r,i]=[n[e],n[e+1],n[e+2]],[l,u,d]=a[t],f=V({fn:l,assign:d,argv:u},c);if(f.toAssign){let{name:e,value:t}=f.toAssign;s[e]=t}o=o>=0===f.result?r:i}if(o>=K){let e=i[o-K];if(e[0]===-1){let[,t]=e;throw new l(L(t,`Error`,c))}let[t,n,r]=e;return{url:G(t,c),properties:H(n,c),headers:Oe(r??{},c)}}throw new l(`No matching endpoint.`)}})),Ne=e((()=>{})),Pe=e((()=>{o(),c(),Me(),E(),S(),_(),Ne(),p()})),J,Fe=e((()=>{J=(e,t,n)=>{if(t in e){if(e[t]===`true`)return!0;if(e[t]===`false`)return!1;throw Error(`Cannot load ${n} "${t}". Expected "true" or "false", got ${e[t]}.`)}}})),Ie=e((()=>{})),Y,Le=e((()=>{(function(e){e.ENV=`env`,e.CONFIG=`shared config entry`})(Y||(Y={}))})),X=e((()=>{Fe(),Ie(),Le()})),Re,ze,Be,Ve=e((()=>{X(),Re=`AWS_USE_DUALSTACK_ENDPOINT`,ze=`use_dualstack_endpoint`,Be={environmentVariableSelector:e=>J(e,Re,Y.ENV),configFileSelector:e=>J(e,ze,Y.CONFIG),default:!1}})),He,Ue,We,Ge=e((()=>{X(),He=`AWS_USE_FIPS_ENDPOINT`,Ue=`use_fips_endpoint`,We={environmentVariableSelector:e=>J(e,He,Y.ENV),configFileSelector:e=>J(e,Ue,Y.CONFIG),default:!1}})),Ke=e((()=>{})),qe=e((()=>{})),Je=e((()=>{Ve(),Ge(),Ke(),qe()})),Ye,Xe,Ze,Qe,$e=e((()=>{Ye=`AWS_REGION`,Xe=`region`,Ze={environmentVariableSelector:e=>e[Ye],configFileSelector:e=>e[Xe],default:()=>{throw Error(`Region is missing`)}},Qe={preferredFile:`credentials`}})),Z,et,tt=e((()=>{Pe(),Z=new Set,et=(e,t=x)=>{if(!Z.has(e)&&!t(e))if(e===`*`)console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`);else Z.add(e)}})),Q,nt=e((()=>{Q=e=>typeof e==`string`&&(e.startsWith(`fips-`)||e.endsWith(`-fips`))})),rt,it=e((()=>{nt(),rt=e=>Q(e)?[`fips-aws-global`,`aws-fips`].includes(e)?`us-east-1`:e.replace(/fips-(dkr-|prod-)?|-fips/,``):e})),$,at=e((()=>{tt(),it(),nt(),$=e=>{let{region:t,useFipsEndpoint:n}=e;if(!t)throw Error(`Region is missing`);return Object.assign(e,{region:async()=>{let e=rt(typeof t==`function`?await t():t);return et(e),e},useFipsEndpoint:async()=>Q(typeof t==`string`?t:await t())?!0:typeof n==`function`?n():Promise.resolve(!!n)})}})),ot=e((()=>{$e(),at()})),st=e((()=>{})),ct=e((()=>{})),lt=e((()=>{})),ut=e((()=>{st(),ct(),lt()})),dt=e((()=>{Je(),ot(),ut()}));export{We as a,Y as c,q as d,T as f,a as g,s as h,Ze as i,J as l,g as m,$ as n,Be as o,x as p,Qe as r,X as s,dt as t,Pe as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";var t=e((()=>{})),n,r=e((()=>{(function(e){e.HEADER=`header`,e.QUERY=`query`})(n||(n={}))})),i,a=e((()=>{(function(e){e.HEADER=`header`,e.QUERY=`query`})(i||(i={}))})),o=e((()=>{})),s=e((()=>{})),c=e((()=>{})),ee=e((()=>{})),te=e((()=>{r(),a(),o(),s(),c(),ee()})),l=e((()=>{})),u=e((()=>{})),d=e((()=>{})),f=e((()=>{})),p=e((()=>{})),m=e((()=>{})),h=e((()=>{})),g=e((()=>{p(),m(),h()})),_=e((()=>{})),v=e((()=>{})),y,b=e((()=>{(function(e){e.HTTP=`http`,e.HTTPS=`https`})(y||(y={}))})),x=e((()=>{})),S=e((()=>{})),C=e((()=>{})),w=e((()=>{})),T=e((()=>{})),E=e((()=>{x(),S(),C(),w(),T()})),D=e((()=>{})),O,k=e((()=>{(function(e){e.MD5=`md5`,e.CRC32=`crc32`,e.CRC32C=`crc32c`,e.SHA1=`sha1`,e.SHA256=`sha256`})(O||(O={}))})),A=e((()=>{})),j=e((()=>{})),M=e((()=>{A(),j(),k()})),N=e((()=>{})),P,F=e((()=>{(function(e){e[e.HEADER=0]=`HEADER`,e[e.TRAILER=1]=`TRAILER`})(P||(P={}))})),I=e((()=>{})),L=e((()=>{})),R=e((()=>{})),z=e((()=>{})),B=e((()=>{})),V=e((()=>{L(),R(),z(),B()})),H=e((()=>{})),U,ne=e((()=>{U=`__smithy_context`})),W=e((()=>{})),G,K=e((()=>{(function(e){e.PROFILE=`profile`,e.SSO_SESSION=`sso-session`,e.SERVICES=`services`})(G||(G={}))})),q=e((()=>{})),J=e((()=>{})),Y=e((()=>{})),X=e((()=>{})),Z=e((()=>{})),re=e((()=>{})),ie=e((()=>{})),ae=e((()=>{})),oe=e((()=>{})),se=e((()=>{})),ce=e((()=>{})),le=e((()=>{})),ue=e((()=>{})),de=e((()=>{})),Q,fe=e((()=>{(function(e){e.HTTP_0_9=`http/0.9`,e.HTTP_1_0=`http/1.0`,e.TDS_8_0=`tds/8.0`})(Q||(Q={}))})),pe=e((()=>{})),$=e((()=>{})),me=e((()=>{})),he=e((()=>{})),ge=e((()=>{})),_e=e((()=>{})),ve=e((()=>{})),ye=e((()=>{t(),te(),l(),u(),d(),f(),g(),_(),v(),b(),E(),D(),M(),N(),F(),I(),V(),H(),ne(),W(),K(),q(),J(),Y(),X(),Z(),re(),ie(),ae(),oe(),se(),ce(),le(),ue(),de(),fe(),pe(),$(),me(),he(),ge(),_e(),ve()}));export{y as a,O as i,G as n,U as r,ye as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./dist-es-DxIM0jd82.js";t();export{e as fromIni};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{r as t,t as n}from"./dist-es-Cp--qjOi.js";import{E as r,I as i,N as a,T as o,h as s}from"./protocols-CpoQzjyI.js";import{h as c,t as l}from"./client-CinDjeSq.js";import{o as u,t as d}from"./dist-es-BPPewn1A.js";import{t as f}from"./dist-es-C_IHUdzL.js";import p from"node:fs/promises";var m,h,g,_,v=e((()=>{d(),m=`169.254.170.2`,h=`169.254.170.23`,g=`[fd00:ec2::23]`,_=(e,t)=>{if(e.protocol!==`https:`&&!(e.hostname===m||e.hostname===h||e.hostname===g)){if(e.hostname.includes(`[`)){if(e.hostname===`[::1]`||e.hostname===`[0000:0000:0000:0000:0000:0000:0000:0001]`)return}else{if(e.hostname===`localhost`)return;let t=e.hostname.split(`.`),n=e=>{let t=parseInt(e,10);return 0<=t&&t<=255};if(t[0]===`127`&&n(t[1])&&n(t[2])&&n(t[3])&&t.length===4)return}throw new u(`URL not accepted. It must either be HTTPS or match one of the following:
|
|
2
|
+
- loopback CIDR 127.0.0.0/8 or [::1/128]
|
|
3
|
+
- ECS container host 169.254.170.2
|
|
4
|
+
- EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:t})}}}));function y(e){return new t({protocol:e.protocol,hostname:e.hostname,port:Number(e.port),path:e.pathname,query:Array.from(e.searchParams.entries()).reduce((e,[t,n])=>(e[t]=n,e),{}),fragment:e.hash})}async function b(e,t){let n=await r(e.body).transformToString();if(e.statusCode===200){let e=JSON.parse(n);if(typeof e.AccessKeyId!=`string`||typeof e.SecretAccessKey!=`string`||typeof e.Token!=`string`||typeof e.Expiration!=`string`)throw new u(`HTTP credential provider response not of the required format, an object matching: { AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }`,{logger:t});return{accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:s(e.Expiration)}}if(e.statusCode>=400&&e.statusCode<500){let r={};try{r=JSON.parse(n)}catch{}throw Object.assign(new u(`Server responded with status: ${e.statusCode}`,{logger:t}),{Code:r.Code,Message:r.Message})}throw new u(`Server responded with status: ${e.statusCode}`,{logger:t})}var x=e((()=>{d(),n(),f(),o()})),S,C=e((()=>{S=(e,t,n)=>async()=>{for(let r=0;r<t;++r)try{return await e()}catch{await new Promise(e=>setTimeout(e,n))}return await e()}})),w,T,E,D,O,k,A=e((()=>{l(),a(),d(),v(),x(),C(),w=`AWS_CONTAINER_CREDENTIALS_RELATIVE_URI`,T=`http://169.254.170.2`,E=`AWS_CONTAINER_CREDENTIALS_FULL_URI`,D=`AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE`,O=`AWS_CONTAINER_AUTHORIZATION_TOKEN`,k=(e={})=>{e.logger?.debug(`@aws-sdk/credential-provider-http - fromHttp`);let t,n=e.awsContainerCredentialsRelativeUri??process.env[w],r=e.awsContainerCredentialsFullUri??process.env[E],a=e.awsContainerAuthorizationToken??process.env[O],o=e.awsContainerAuthorizationTokenFile??process.env[D],s=e.logger?.constructor?.name===`NoOpLogger`||!e.logger?.warn?console.warn:e.logger.warn.bind(e.logger);if(n&&r&&(s(`@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.`),s(`awsContainerCredentialsFullUri will take precedence.`)),a&&o&&(s(`@aws-sdk/credential-provider-http: you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.`),s(`awsContainerAuthorizationToken will take precedence.`)),r)t=r;else if(n)t=`${T}${n}`;else throw new u(`No HTTP credential provider host provided.
|
|
5
|
+
Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:e.logger});let l=new URL(t);_(l,e.logger);let d=i.create({requestTimeout:e.timeout??1e3,connectionTimeout:e.timeout??1e3});return S(async()=>{let t=y(l);a?t.headers.Authorization=a:o&&(t.headers.Authorization=(await p.readFile(o)).toString());try{return b((await d.handle(t)).response).then(e=>c(e,`CREDENTIALS_HTTP`,`z`))}catch(t){throw new u(String(t),{logger:e.logger})}},e.maxRetries??3,e.timeout??1e3)}})),j=e((()=>{A()}));export{k as n,j as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";function t(e){let t={};if(e=e.replace(/^\?/,``),e)for(let n of e.split(`&`)){let[e,r=null]=n.split(`=`);e=decodeURIComponent(e),r&&(r=decodeURIComponent(r)),e in t?Array.isArray(t[e])?t[e].push(r):t[e]=[t[e],r]:t[e]=r}return t}var n=e((()=>{})),r,i=e((()=>{n(),r=e=>{if(typeof e==`string`)return r(new URL(e));let{hostname:n,pathname:i,port:a,protocol:o,search:s}=e,c;return s&&(c=t(s)),{hostname:n,port:a?parseInt(a):void 0,protocol:o,path:i,query:c}}}));export{r as n,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./dist-es-TZjwPaGn.js";t();export{e as fromProcess};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{h as t,t as n}from"./client-CinDjeSq.js";import{o as r,t as i}from"./dist-es-BPPewn1A.js";import{n as a,t as o}from"./dist-es-Do_155z5.js";import{readFileSync as s}from"node:fs";var c,l=e((()=>{c=e=>async t=>{e.logger?.debug(`@aws-sdk/credential-provider-web-identity - fromWebToken`);let{roleArn:n,roleSessionName:r,webIdentityToken:i,providerId:a,policyArns:o,policy:s,durationSeconds:c}=e,{roleAssumerWithWebIdentity:l}=e;if(!l){let{getDefaultRoleAssumerWithWebIdentity:n}=await import(`./sts-CJmdeT7s.js`);l=n({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:{...t?.callerClientConfig,...e.parentClientConfig}},e.clientPlugins)}return l({RoleArn:n,RoleSessionName:r??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:i,ProviderId:a,PolicyArns:o,Policy:s,DurationSeconds:c})}})),u,d,f,p,m=e((()=>{n(),i(),o(),l(),u=`AWS_WEB_IDENTITY_TOKEN_FILE`,d=`AWS_ROLE_ARN`,f=`AWS_ROLE_SESSION_NAME`,p=(e={})=>async n=>{e.logger?.debug(`@aws-sdk/credential-provider-web-identity - fromTokenFile`);let i=e?.webIdentityTokenFile??process.env[u],o=e?.roleArn??process.env[d],l=e?.roleSessionName??process.env[f];if(!i||!o)throw new r(`Web identity configuration not specified`,{logger:e.logger});let p=await c({...e,webIdentityToken:a?.getTokenRecord?.()[i]??s(i,{encoding:`ascii`}),roleArn:o,roleSessionName:l})(n);return i===process.env[u]&&t(p,`CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN`,`h`),p}})),h=e((()=>{m(),l()}));export{p as n,c as r,h as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{h as t,t as n}from"./client-CinDjeSq.js";import{o as r,t as i}from"./dist-es-BPPewn1A.js";var a,o,s,c,l,u,d,f=e((()=>{n(),i(),a=`AWS_ACCESS_KEY_ID`,o=`AWS_SECRET_ACCESS_KEY`,s=`AWS_SESSION_TOKEN`,c=`AWS_CREDENTIAL_EXPIRATION`,l=`AWS_CREDENTIAL_SCOPE`,u=`AWS_ACCOUNT_ID`,d=e=>async()=>{e?.logger?.debug(`@aws-sdk/credential-provider-env - fromEnv`);let n=process.env[a],i=process.env[o],d=process.env[s],f=process.env[c],p=process.env[l],m=process.env[u];if(n&&i){let e={accessKeyId:n,secretAccessKey:i,...d&&{sessionToken:d},...f&&{expiration:new Date(f)},...p&&{credentialScope:p},...m&&{accountId:m}};return t(e,`CREDENTIALS_ENV_VARS`,`g`),e}throw new r(`Unable to find environment variable credentials.`,{logger:e?.logger})}})),p=e((()=>{f()}));export{a,d as c,c as i,u as n,o,l as r,s,p as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";var t=e((()=>{})),n=e((()=>{})),r=e((()=>{})),i=e((()=>{})),a=e((()=>{n(),r(),i()})),o=e((()=>{})),s=e((()=>{})),c=e((()=>{o(),s()})),l=e((()=>{})),u=e((()=>{})),d=e((()=>{})),f=e((()=>{})),p=e((()=>{})),m=e((()=>{})),h,g=e((()=>{h=class{async sign(e,t,n){return e}}})),_=e((()=>{p(),m(),g()})),v,y,b,x=e((()=>{v=e=>function(t){return b(t)&&t.expiration.getTime()-Date.now()<e},y=3e5,v(y),b=e=>e.expiration!==void 0})),S=e((()=>{f(),_(),x()}));e((()=>{t(),a(),c(),l(),u(),d(),S()}))();export{h as NoAuthSigner};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";import{i as r,r as i,t as a}from"./dist-es-BuWNNAXW.js";import{b as o,c as s,t as c,v as l}from"./protocols-CpoQzjyI.js";var u,d,f,p,m,h=e((()=>{u=(e,t)=>{let n=[];if(e&&n.push(e),t)for(let e of t)n.push(e);return n},d=(e,t)=>`${e||`anonymous`}${t&&t.length>0?` (a.k.a. ${t.join(`,`)})`:``}`,f=()=>{let e=[],t=[],n=!1,r=new Set,i=e=>e.sort((e,t)=>p[t.step]-p[e.step]||m[t.priority||`normal`]-m[e.priority||`normal`]),a=n=>{let i=!1,a=e=>{let t=u(e.name,e.aliases);if(t.includes(n)){i=!0;for(let e of t)r.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},o=n=>{let i=!1,a=e=>{if(e.middleware===n){i=!0;for(let t of u(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},s=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(h.identifyOnResolve()),n),c=e=>{let t=[];return e.before.forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t.push(e),e.after.reverse().forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t},l=(n=!1)=>{let r=[],a=[],o={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of u(t.name,t.aliases))o[e]=t;r.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of u(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(t===void 0){if(n)return;throw Error(`${e.toMiddleware} is not found when adding ${d(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}e.relation===`after`&&t.after.push(e),e.relation===`before`&&t.before.push(e)}}),i(r).map(c).reduce((e,t)=>(e.push(...t),e),[])},h={add:(t,n={})=>{let{name:i,override:a,aliases:o}=n,s={step:`initialize`,priority:`normal`,middleware:t,...n},c=u(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${d(i,o)}'`);for(let t of c){let n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(n===-1)continue;let r=e[n];if(r.step!==s.step||s.priority!==r.priority)throw Error(`"${d(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${d(i,o)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(n,1)}}for(let e of c)r.add(e)}e.push(s)},addRelativeTo:(e,n)=>{let{name:i,override:a,aliases:o}=n,s={middleware:e,...n},c=u(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${d(i,o)}'`);for(let e of c){let n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(n===-1)continue;let r=t[n];if(r.toMiddleware!==s.toMiddleware||r.relation!==s.relation)throw Error(`"${d(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${d(i,o)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(n,1)}}for(let e of c)r.add(e)}t.push(s)},clone:()=>s(f()),use:e=>{e.applyToStack(h)},remove:e=>typeof e==`string`?a(e):o(e),removeByTag:n=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:o}=e;if(t&&t.includes(n)){let e=u(a,o);for(let t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=s(f());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:s,identify:()=>l(!0).map(e=>{let t=e.step??e.relation+` `+e.toMiddleware;return d(e.name,e.aliases)+` - `+t}),identifyOnResolve(e){return typeof e==`boolean`&&(n=e),n},resolve:(e,t)=>{for(let n of l().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(h.identify()),e}};return h},p={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},m={high:3,normal:2,low:1}})),g=e((()=>{h()})),_,v=e((()=>{g(),t(),_=class{constructor(e){n(this,`config`,void 0),n(this,`middlewareStack`,f()),n(this,`initConfig`,void 0),n(this,`handlers`,void 0),this.config=e;let{protocol:t,protocolSettings:r}=e;r&&typeof t==`function`&&(e.protocol=new t(r))}send(e,t,n){let r=typeof t==`function`?void 0:t,i=typeof t==`function`?t:n,a=r===void 0&&this.config.cacheMiddleware===!0,o;if(a){this.handlers||(this.handlers=new WeakMap);let t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(i)o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{});else return o(e).then(e=>e.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}})),y=e((()=>{c()}));function b(e,t){if(t==null)return t;let n=o.of(e);if(n.getMergedTraits().sensitive)return x;if(n.isListSchema()){if(n.getValueSchema().getMergedTraits().sensitive)return x}else if(n.isMapSchema()){if(n.getKeySchema().getMergedTraits().sensitive||n.getValueSchema().getMergedTraits().sensitive)return x}else if(n.isStructSchema()&&typeof t==`object`){let e=t,r={};for(let[t,i]of n.structIterator())e[t]!=null&&(r[t]=b(i,e[t]));return r}return t}var x,S=e((()=>{l(),x=`***SensitiveInformation***`})),C,w,T=e((()=>{g(),a(),S(),t(),C=class{constructor(){n(this,`middlewareStack`,f()),n(this,`schema`,void 0)}static classBuilder(){return new w}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:a,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:c,smithyContext:l,additionalContext:u,CommandCtor:d}){for(let i of r.bind(this)(d,e,t,n))this.middlewareStack.use(i);let f=e.concat(this.middlewareStack),{logger:p}=t,m={logger:p,clientName:a,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:c,[i]:{commandInstance:this,...l},...u},{requestHandler:h}=t,g=n??{};return l.eventStream&&(g={isEventStream:!0,...g}),f.resolve(e=>h.handle(e.request,g),m)}},w=class{constructor(){n(this,`_init`,()=>{}),n(this,`_ep`,{}),n(this,`_middlewareFn`,()=>[]),n(this,`_commandName`,``),n(this,`_clientName`,``),n(this,`_additionalContext`,{}),n(this,`_smithyContext`,{}),n(this,`_inputFilterSensitiveLog`,void 0),n(this,`_outputFilterSensitiveLog`,void 0),n(this,`_serializer`,null),n(this,`_deserializer`,null),n(this,`_operationSchema`,void 0)}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){let e=this,t;return t=class extends C{static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),n(this,`input`,void 0),n(this,`serialize`,e._serializer),n(this,`deserialize`,e._deserializer),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(n,r,i){let a=e._operationSchema,o=a?.[4]??a?.input,s=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(a?b.bind(null,o):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(a?b.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}})),E=e((()=>{})),D,O=e((()=>{D=(e,t,n)=>{for(let[n,r]of Object.entries(e)){let e=async function(e,t,n){let i=new r(e);if(typeof t==`function`)this.send(i,t);else if(typeof n==`function`){if(typeof t!=`object`)throw Error(`Expected http options but got ${typeof t}`);this.send(i,t||{},n)}else return this.send(i,t)},i=(n[0].toLowerCase()+n.slice(1)).replace(/Command$/,``);t.prototype[i]=e}let{paginators:r={},waiters:i={}}=n??{};for(let[e,n]of Object.entries(r))t.prototype[e]===void 0&&(t.prototype[e]=function(e={},t,...r){return n({...t,client:this},e,...r)});for(let[e,n]of Object.entries(i))t.prototype[e]===void 0&&(t.prototype[e]=async function(e={},t,...r){let i=t;return typeof t==`number`&&(i={maxWaitTime:t}),n({...i,client:this},e,...r)})}})),k,A,j,M=e((()=>{t(),k=Symbol.hasInstance,A=class e extends Error{constructor(e){super(e.message),n(this,`$fault`,void 0),n(this,`$response`,void 0),n(this,`$retryable`,void 0),n(this,`$metadata`,void 0),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(t){if(!t)return!1;let n=t;return e.prototype.isPrototypeOf(n)||!!n.$fault&&!!n.$metadata&&(n.$fault===`client`||n.$fault===`server`)}static[k](t){if(!t)return!1;let n=t;return this===e?e.isInstance(t):e.isInstance(t)?n.name&&this.name?this.prototype.isPrototypeOf(t)||n.name===this.name:this.prototype.isPrototypeOf(t):!1}},j=(e,t={})=>(Object.entries(t).filter(([,e])=>e!==void 0).forEach(([t,n])=>{(e[t]==null||e[t]===``)&&(e[t]=n)}),e.message=e.message||e.Message||`UnknownError`,delete e.Message,e)})),N=e((()=>{})),P,F=e((()=>{P=e=>{switch(e){case`standard`:return{retryMode:`standard`,connectionTimeout:3100};case`in-region`:return{retryMode:`standard`,connectionTimeout:1100};case`cross-region`:return{retryMode:`standard`,connectionTimeout:3100};case`mobile`:return{retryMode:`standard`,connectionTimeout:3e4};default:return{}}}})),I,L,ee=e((()=>{I=!1,L=e=>{e&&!I&&parseInt(e.substring(1,e.indexOf(`.`)))<16&&(I=!0)}})),R=e((()=>{})),z,B,V,H=e((()=>{a(),z=Object.values(r),B=e=>{let t=[];for(let n in r){let i=r[n];e[i]!==void 0&&t.push({algorithmId:()=>i,checksumConstructor:()=>e[i]})}for(let[n,r]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>n,checksumConstructor:()=>r});return{addChecksumAlgorithm(n){e.checksumAlgorithms=e.checksumAlgorithms??{};let r=n.algorithmId(),i=n.checksumConstructor();z.includes(r)?e.checksumAlgorithms[r.toUpperCase()]=i:e.checksumAlgorithms[r]=i,t.push(n)},checksumAlgorithms(){return t}}},V=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{let n=e.algorithmId();z.includes(n)&&(t[n]=e.checksumConstructor())}),t}})),U,W,G=e((()=>{U=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy(){return e.retryStrategy}}),W=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t}})),K,q,J=e((()=>{H(),G(),K=e=>Object.assign(B(e),U(e)),q=e=>Object.assign(V(e),W(e))})),Y=e((()=>{J()})),X=e((()=>{})),Z,Q=e((()=>{Z=e=>{let t=`#text`;for(let n in e)e.hasOwnProperty(n)&&e[n][t]!==void 0?e[n]=e[n][t]:typeof e[n]==`object`&&e[n]!==null&&(e[n]=Z(e[n]));return e}})),te=e((()=>{})),$,ne=e((()=>{$=class{trace(){}debug(){}info(){}warn(){}error(){}}})),re=e((()=>{})),ie=e((()=>{})),ae=e((()=>{})),oe=e((()=>{})),se=e((()=>{v(),y(),T(),E(),O(),N(),F(),ee(),M(),R(),Y(),X(),Q(),te(),ne(),re(),ie(),ae(),oe(),s()}));export{q as a,A as c,C as d,_ as f,K as i,j as l,$ as n,L as o,Z as r,P as s,se as t,D as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";import{n as r,t as i}from"./dist-es-C66BuLgn.js";import{o as a,s as o,t as s}from"./dist-es-BPPewn1A.js";import{n as c,t as l}from"./dist-es-BismPcTW.js";import{Buffer as ee}from"buffer";import{request as te}from"http";import{parse as ne}from"url";function u(e){return new Promise((t,n)=>{let r=te({method:`GET`,...e,hostname:e.hostname?.replace(/^\[(.+)\]$/,`$1`)});r.on(`error`,e=>{n(Object.assign(new o(`Unable to connect to instance metadata service`),e)),r.destroy()}),r.on(`timeout`,()=>{n(new o(`TimeoutError from instance metadata service`)),r.destroy()}),r.on(`response`,e=>{let{statusCode:i=400}=e;(i<200||300<=i)&&(n(Object.assign(new o(`Error response received from instance metadata service`),{statusCode:i})),r.destroy());let a=[];e.on(`data`,e=>{a.push(e)}),e.on(`end`,()=>{t(ee.concat(a)),r.destroy()})}),r.end()})}var d=e((()=>{s()})),f,p,m=e((()=>{f=e=>!!e&&typeof e==`object`&&typeof e.AccessKeyId==`string`&&typeof e.SecretAccessKey==`string`&&typeof e.Token==`string`&&typeof e.Expiration==`string`,p=e=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration),...e.AccountId&&{accountId:e.AccountId}})})),h,g,_=e((()=>{h=1e3,g=({maxRetries:e=0,timeout:t=h})=>({maxRetries:e,timeout:t})})),v,y=e((()=>{v=(e,t)=>{let n=e();for(let r=0;r<t;r++)n=n.catch(e);return n}})),b,x,S,C,w,T,E,D,O,re=e((()=>{s(),d(),m(),_(),y(),b=`AWS_CONTAINER_CREDENTIALS_FULL_URI`,x=`AWS_CONTAINER_CREDENTIALS_RELATIVE_URI`,S=`AWS_CONTAINER_AUTHORIZATION_TOKEN`,C=(e={})=>{let{timeout:t,maxRetries:n}=g(e);return()=>v(async()=>{let n=await O({logger:e.logger}),r=JSON.parse(await w(t,n));if(!f(r))throw new a(`Invalid response received from instance metadata service.`,{logger:e.logger});return p(r)},n)},w=async(e,t)=>(process.env.AWS_CONTAINER_AUTHORIZATION_TOKEN&&(t.headers={...t.headers,Authorization:process.env[S]}),(await u({...t,timeout:e})).toString()),T=`169.254.170.2`,E={localhost:!0,"127.0.0.1":!0},D={"http:":!0,"https:":!0},O=async({logger:e})=>{if(process.env.AWS_CONTAINER_CREDENTIALS_RELATIVE_URI)return{hostname:T,path:process.env[x]};if(process.env.AWS_CONTAINER_CREDENTIALS_FULL_URI){let t=ne(process.env[b]);if(!t.hostname||!(t.hostname in E))throw new a(`${t.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:e});if(!t.protocol||!(t.protocol in D))throw new a(`${t.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:e});return{...t,port:t.port?parseInt(t.port,10):void 0}}throw new a(`The container metadata credential provider cannot be used unless the ${x} or ${b} environment variable is set`,{tryNextLink:!1,logger:e})}})),k,ie=e((()=>{s(),t(),k=class e extends a{constructor(t,r=!0){super(t,r),n(this,`tryNextLink`,void 0),n(this,`name`,`InstanceMetadataV1FallbackError`),this.tryNextLink=r,Object.setPrototypeOf(this,e.prototype)}}})),A,j=e((()=>{(function(e){e.IPv4=`http://169.254.169.254`,e.IPv6=`http://[fd00:ec2::254]`})(A||(A={}))})),M,N,P,ae=e((()=>{M=`AWS_EC2_METADATA_SERVICE_ENDPOINT`,N=`ec2_metadata_service_endpoint`,P={environmentVariableSelector:e=>e[M],configFileSelector:e=>e[N],default:void 0}})),F,I=e((()=>{(function(e){e.IPv4=`IPv4`,e.IPv6=`IPv6`})(F||(F={}))})),L,R,z,oe=e((()=>{I(),L=`AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE`,R=`ec2_metadata_service_endpoint_mode`,z={environmentVariableSelector:e=>e[L],configFileSelector:e=>e[R],default:F.IPv4}})),B,V,se,H=e((()=>{l(),i(),j(),ae(),I(),oe(),B=async()=>r(await V()||await se()),V=async()=>c(P)(),se=async()=>{let e=await c(z)();switch(e){case F.IPv4:return A.IPv4;case F.IPv6:return A.IPv6;default:throw Error(`Unsupported endpoint mode: ${e}. Select from ${Object.values(F)}`)}}})),U,W,G,ce=e((()=>{U=300,W=300,G=(e,t)=>{let n=U+Math.floor(Math.random()*W),r=new Date(Date.now()+n*1e3);t.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(r)}.\nFor more information, please visit: https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html`);let i=e.originalExpiration??e.expiration;return{...e,...i?{originalExpiration:i}:{},expiration:r}}})),K,le=e((()=>{ce(),K=(e,t={})=>{let n=t?.logger||console,r;return async()=>{let t;try{t=await e(),t.expiration&&t.expiration.getTime()<Date.now()&&(t=G(t,n))}catch(e){if(r)n.warn(`Credential renew failed: `,e),t=G(r,n);else throw e}return r=t,t}}})),q,J,Y,X,Z,Q,$,ue,de,fe,pe=e((()=>{l(),s(),ie(),d(),m(),_(),y(),H(),le(),q=`/latest/meta-data/iam/security-credentials/`,J=`/latest/api/token`,Y=`AWS_EC2_METADATA_V1_DISABLED`,X=`ec2_metadata_v1_disabled`,Z=`x-aws-ec2-metadata-token`,Q=(e={})=>K($(e),{logger:e.logger}),$=(e={})=>{let t=!1,{logger:n,profile:r}=e,{timeout:i,maxRetries:o}=g(e),s=async(n,i)=>{if(t||i.headers?.[Z]==null){let t=!1,n=!1,i=await c({environmentVariableSelector:t=>{let r=t[Y];if(n=!!r&&r!==`false`,r===void 0)throw new a(`${Y} not set in env, checking config file next.`,{logger:e.logger});return n},configFileSelector:e=>{let n=e[X];return t=!!n&&n!==`false`,t},default:!1},{profile:r})();if(e.ec2MetadataV1Disabled||i){let r=[];throw e.ec2MetadataV1Disabled&&r.push(`credential provider initialization (runtime option ec2MetadataV1Disabled)`),t&&r.push(`config file profile (${X})`),n&&r.push(`process environment variable (${Y})`),new k(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${r.join(`, `)}].`)}}let o=(await v(async()=>{let e;try{e=await de(i)}catch(e){throw e.statusCode===401&&(t=!1),e}return e},n)).trim();return v(async()=>{let n;try{n=await fe(o,i,e)}catch(e){throw e.statusCode===401&&(t=!1),e}return n},n)};return async()=>{let e=await B();if(t)return n?.debug(`AWS SDK Instance Metadata`,`using v1 fallback (no token fetch)`),s(o,{...e,timeout:i});{let r;try{r=(await ue({...e,timeout:i})).toString()}catch(r){if(r?.statusCode===400)throw Object.assign(r,{message:`EC2 Metadata token request returned error`});return(r.message===`TimeoutError`||[403,404,405].includes(r.statusCode))&&(t=!0),n?.debug(`AWS SDK Instance Metadata`,`using v1 fallback (initial)`),s(o,{...e,timeout:i})}return s(o,{...e,headers:{[Z]:r},timeout:i})}}},ue=async e=>u({...e,path:J,method:`PUT`,headers:{"x-aws-ec2-metadata-token-ttl-seconds":`21600`}}),de=async e=>(await u({...e,path:q})).toString(),fe=async(e,t,n)=>{let r=JSON.parse((await u({...t,path:q+e})).toString());if(!f(r))throw new a(`Invalid response received from instance metadata service.`,{logger:n.logger});return p(r)}})),me=e((()=>{})),he=e((()=>{re(),pe(),_(),me(),d(),H(),j()}));export{S as a,C as c,u as d,A as i,h as l,Q as n,b as o,B as r,x as s,he as t,g as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,n as t,r as n,t as r}from"./dist-es-CzE4kW1L.js";r();export{t as credentialsTreatedAsExpired,n as credentialsWillNeedRefresh,e as defaultProvider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./defineProperty-CaCI0a5T.js";var r,i,a=e((()=>{r=e=>({setHttpHandler(t){e.httpHandler=t},httpHandler(){return e.httpHandler},updateHttpClientConfig(t,n){e.httpHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs(){return e.httpHandler.httpHandlerConfigs()}}),i=e=>({httpHandler:e.httpHandler()})})),o=e((()=>{a()})),s=e((()=>{})),c=e((()=>{})),l=e((()=>{}));function u(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return{...t,[n]:Array.isArray(r)?[...r]:r}},{})}var d,f=e((()=>{t(),d=class e{constructor(e){n(this,`method`,void 0),n(this,`protocol`,void 0),n(this,`hostname`,void 0),n(this,`port`,void 0),n(this,`path`,void 0),n(this,`query`,void 0),n(this,`headers`,void 0),n(this,`username`,void 0),n(this,`password`,void 0),n(this,`fragment`,void 0),n(this,`body`,void 0),this.method=e.method||`GET`,this.hostname=e.hostname||`localhost`,this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?e.protocol.slice(-1)===`:`?e.protocol:`${e.protocol}:`:`https:`,this.path=e.path?e.path.charAt(0)===`/`?e.path:`/${e.path}`:`/`,this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(t){let n=new e({...t,headers:{...t.headers}});return n.query&&(n.query=u(n.query)),n}static isInstance(e){if(!e)return!1;let t=e;return`method`in t&&`protocol`in t&&`hostname`in t&&`path`in t&&typeof t.query==`object`&&typeof t.headers==`object`}clone(){return e.clone(this)}}})),p,m=e((()=>{t(),p=class{constructor(e){n(this,`statusCode`,void 0),n(this,`reason`,void 0),n(this,`headers`,void 0),n(this,`body`,void 0),this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let t=e;return typeof t.statusCode==`number`&&typeof t.headers==`object`}}})),h=e((()=>{})),g=e((()=>{})),_=e((()=>{o(),s(),c(),l(),f(),m(),h(),g()}));export{i as a,r as i,p as n,d as r,_ as t};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{i as t,o as n,t as r}from"./dist-es-BPPewn1A.js";import{t as i}from"./dist-es-Do_155z5.js";import{c as a,t as o}from"./dist-es-CUbatGdn.js";var s,c=e((()=>{r(),s=async e=>{let{ENV_CMDS_FULL_URI:r,ENV_CMDS_RELATIVE_URI:i,fromContainerMetadata:a,fromInstanceMetadata:o}=await import(`./dist-es-W22ud2el2.js`);if(process.env[i]||process.env[r]){e.logger?.debug(`@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata`);let{fromHttp:n}=await import(`./dist-es-mQ4HvnYs2.js`);return t(n(e),a(e))}return process.env.AWS_EC2_METADATA_DISABLED&&process.env.AWS_EC2_METADATA_DISABLED!==`false`?async()=>{throw new n(`EC2 Instance Metadata Service access disabled`,{logger:e.logger})}:(e.logger?.debug(`@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata`),o(e))}}));function l(e,t){let n=u(e),r,i,a,o=async e=>{if(e?.forceRefresh)return await n(e);if(a?.expiration&&a?.expiration?.getTime()<Date.now()&&(a=void 0),r)await r;else if(!a||t?.(a))if(a)i||(i=n(e).then(e=>{a=e}).finally(()=>{i=void 0}));else return r=n(e).then(e=>{a=e}).finally(()=>{r=void 0}),o(e);return a};return o}var u,d=e((()=>{u=e=>async t=>{let n;for(let r of e)try{return await r(t)}catch(e){if(n=e,e?.tryNextLink)continue;throw e}throw n}})),f,p,m,h,g=e((()=>{o(),r(),i(),c(),d(),f=!1,p=(e={})=>l([async()=>{if(e.profile??process.env.AWS_PROFILE)throw process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY&&(f||((e.logger?.warn&&e.logger?.constructor?.name!==`NoOpLogger`?e.logger.warn.bind(e.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
2
|
+
Multiple credential sources detected:
|
|
3
|
+
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
4
|
+
This SDK will proceed with the AWS_PROFILE value.
|
|
5
|
+
|
|
6
|
+
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
7
|
+
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
8
|
+
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
9
|
+
`),f=!0)),new n(`AWS_PROFILE is set, skipping fromEnv provider.`,{logger:e.logger,tryNextLink:!0});return e.logger?.debug(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv`),a(e)()},async t=>{e.logger?.debug(`@aws-sdk/credential-provider-node - defaultProvider::fromSSO`);let{ssoStartUrl:r,ssoAccountId:i,ssoRegion:a,ssoRoleName:o,ssoSession:s}=e;if(!r&&!i&&!a&&!o&&!s)throw new n(`Skipping SSO provider in default chain (inputs do not include SSO fields).`,{logger:e.logger});let{fromSSO:c}=await import(`./dist-es-BM013UFT.js`);return c(e)(t)},async t=>{e.logger?.debug(`@aws-sdk/credential-provider-node - defaultProvider::fromIni`);let{fromIni:n}=await import(`./dist-es-Bz11sFiK2.js`);return n(e)(t)},async t=>{e.logger?.debug(`@aws-sdk/credential-provider-node - defaultProvider::fromProcess`);let{fromProcess:n}=await import(`./dist-es-CCIzgNln2.js`);return n(e)(t)},async t=>{e.logger?.debug(`@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile`);let{fromTokenFile:n}=await import(`./dist-es-BZjJL64k2.js`);return n(e)(t)},async()=>(e.logger?.debug(`@aws-sdk/credential-provider-node - defaultProvider::remoteProvider`),(await s(e))()),async()=>{throw new n(`Could not load credentials from any providers`,{tryNextLink:!1,logger:e.logger})}],h),m=e=>e?.expiration!==void 0,h=e=>e?.expiration!==void 0&&e.expiration.getTime()-Date.now()<3e5})),_=e((()=>{g()}));export{p as i,h as n,m as r,_ as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as e,t,u as n}from"./dist-es-BZGG3Hnm.js";import"./dist-es-C_IHUdzL.js";t();export{e as BedrockRuntimeClient,n as CountTokensCommand};
|