@openclaw/amazon-bedrock-provider 2026.9.1-beta.1 → 2026.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/discovery.js +2 -1
- package/dist/embedding-provider.js +23 -15
- package/dist/register.sync.runtime.js +9 -11
- package/dist/stream.runtime.js +0 -1
- package/dist/thinking-policy.js +4 -17
- package/node_modules/@aws-sdk/client-bedrock/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/package.json +5 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock/package.json +9 -9
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json +5 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@smithy/node-http-handler/CHANGELOG.md +9 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -2
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/package.json +8 -8
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/CHANGELOG.md +0 -1138
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +0 -9
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -852
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -50
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -136
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -173
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/CHANGELOG.md +0 -1138
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +0 -9
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -852
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -50
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -136
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -173
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/CHANGELOG.md +0 -1138
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/LICENSE +0 -201
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/README.md +0 -9
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -852
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -50
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -136
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -173
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/package.json +0 -56
package/dist/discovery.js
CHANGED
|
@@ -162,7 +162,8 @@ function resolveDefaultMaxTokens(config) {
|
|
|
162
162
|
}
|
|
163
163
|
function matchesProviderFilter(summary, filter) {
|
|
164
164
|
if (filter.length === 0) return true;
|
|
165
|
-
const
|
|
165
|
+
const providerName = summary.providerName ?? (typeof summary.modelId === "string" ? summary.modelId.split(".")[0] : void 0);
|
|
166
|
+
const normalized = normalizeOptionalLowercaseString(providerName);
|
|
166
167
|
if (!normalized) return false;
|
|
167
168
|
return filter.includes(normalized);
|
|
168
169
|
}
|
|
@@ -167,9 +167,9 @@ function buildCohereBody(family, texts, inputType, dims) {
|
|
|
167
167
|
}
|
|
168
168
|
return JSON.stringify(body);
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function parseEmbeddingResponseJson(raw) {
|
|
171
171
|
try {
|
|
172
|
-
const parsed = JSON.parse(raw);
|
|
172
|
+
const parsed = JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(raw));
|
|
173
173
|
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) throw new Error("Amazon Bedrock embedding response returned malformed JSON");
|
|
174
174
|
return parsed;
|
|
175
175
|
} catch {
|
|
@@ -189,7 +189,7 @@ function asNumberArrayBatch(value) {
|
|
|
189
189
|
return value.map((entry) => asNumberArray(entry));
|
|
190
190
|
}
|
|
191
191
|
function parseSingle(family, raw) {
|
|
192
|
-
const data =
|
|
192
|
+
const data = parseEmbeddingResponseJson(raw);
|
|
193
193
|
switch (family) {
|
|
194
194
|
case "nova": return asNumberArray(Array.isArray(data.embeddings) ? data.embeddings[0]?.embedding : null);
|
|
195
195
|
case "twelvelabs": {
|
|
@@ -202,7 +202,7 @@ function parseSingle(family, raw) {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
function parseCohereBatch(family, raw) {
|
|
205
|
-
const embeddings =
|
|
205
|
+
const embeddings = parseEmbeddingResponseJson(raw).embeddings;
|
|
206
206
|
if (!embeddings) throw malformedBedrockEmbeddingResponse();
|
|
207
207
|
if (family === "cohere-v4" && !Array.isArray(embeddings)) {
|
|
208
208
|
const embeddingRecord = asOptionalRecord(embeddings);
|
|
@@ -231,13 +231,12 @@ async function createBedrockEmbeddingProvider(options) {
|
|
|
231
231
|
useDualstackEndpoint: client.useDualstackEndpoint
|
|
232
232
|
});
|
|
233
233
|
try {
|
|
234
|
-
|
|
234
|
+
return (await sdk.send(new InvokeModelCommand({
|
|
235
235
|
modelId: client.model,
|
|
236
236
|
body,
|
|
237
237
|
contentType: "application/json",
|
|
238
238
|
accept: "application/json"
|
|
239
|
-
}), signal ? { abortSignal: signal } : void 0);
|
|
240
|
-
return new TextDecoder().decode(res.body);
|
|
239
|
+
}), signal ? { abortSignal: signal } : void 0)).body;
|
|
241
240
|
} finally {
|
|
242
241
|
sdk.destroy();
|
|
243
242
|
}
|
|
@@ -251,13 +250,15 @@ async function createBedrockEmbeddingProvider(options) {
|
|
|
251
250
|
const raw = await invoke(buildCohereBody(family, texts, inputType, client.dimensions), signal);
|
|
252
251
|
return parseCohereBatch(family, raw).map((e) => sanitizeAndNormalizeEmbedding(e));
|
|
253
252
|
};
|
|
254
|
-
const embedQuery = async (text,
|
|
253
|
+
const embedQuery = async (text, signal) => {
|
|
255
254
|
if (!text.trim()) return [];
|
|
256
|
-
if (isCohere) return (await embedCohere([text], "search_query",
|
|
257
|
-
return embedSingle(text,
|
|
255
|
+
if (isCohere) return (await embedCohere([text], "search_query", signal))[0] ?? [];
|
|
256
|
+
return embedSingle(text, signal);
|
|
258
257
|
};
|
|
259
|
-
const embedBatch = async (
|
|
258
|
+
const embedBatch = async (inputs, optionsLocal) => {
|
|
259
|
+
const texts = inputs.map((input) => typeof input === "string" ? input : input.text);
|
|
260
260
|
if (texts.length === 0) return [];
|
|
261
|
+
if (optionsLocal?.inputType === "query") return await Promise.all(texts.map((text) => embedQuery(text, optionsLocal.signal)));
|
|
261
262
|
if (isCohere) return embedCohere(texts, "search_document", optionsLocal?.signal);
|
|
262
263
|
return Promise.all(texts.map((t) => t.trim() ? embedSingle(t, optionsLocal?.signal) : Promise.resolve([])));
|
|
263
264
|
};
|
|
@@ -266,7 +267,14 @@ async function createBedrockEmbeddingProvider(options) {
|
|
|
266
267
|
id: "bedrock",
|
|
267
268
|
model: client.model,
|
|
268
269
|
maxInputTokens: spec?.maxTokens,
|
|
269
|
-
|
|
270
|
+
embed: async (input, optionsValue) => {
|
|
271
|
+
const text = typeof input === "string" ? input : input.text;
|
|
272
|
+
if (optionsValue?.inputType === "query") return await embedQuery(text, optionsValue.signal);
|
|
273
|
+
return (await embedBatch([text], {
|
|
274
|
+
...optionsValue,
|
|
275
|
+
inputType: "document"
|
|
276
|
+
}))[0] ?? [];
|
|
277
|
+
},
|
|
270
278
|
embedBatch
|
|
271
279
|
},
|
|
272
280
|
client
|
|
@@ -308,9 +316,9 @@ function resolveBedrockEmbeddingClient(options, BedrockRuntimeClient) {
|
|
|
308
316
|
}
|
|
309
317
|
}
|
|
310
318
|
let dimensions;
|
|
311
|
-
if (options.
|
|
312
|
-
if (spec?.validDims && !spec.validDims.includes(options.
|
|
313
|
-
dimensions = options.
|
|
319
|
+
if (options.dimensions != null) {
|
|
320
|
+
if (spec?.validDims && !spec.validDims.includes(options.dimensions)) throw new Error(`Invalid dimensions ${options.dimensions} for ${model}. Valid values: ${spec.validDims.join(", ")}`);
|
|
321
|
+
dimensions = options.dimensions;
|
|
314
322
|
} else dimensions = spec?.dims;
|
|
315
323
|
return {
|
|
316
324
|
region,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { refreshAwsSharedConfigCacheForBedrock } from "./aws-credential-refresh.js";
|
|
2
2
|
import { supportsBedrockPromptCaching } from "./bedrock-options.js";
|
|
3
3
|
import { loadBedrockControlPlaneSdk, runBedrockControlPlaneRequest } from "./control-plane.js";
|
|
4
|
-
import {
|
|
4
|
+
import { resolveBedrockConfigApiKey } from "./discovery-shared.js";
|
|
5
5
|
import { bedrockMemoryEmbeddingProviderAdapter } from "./memory-embedding-adapter.js";
|
|
6
6
|
import { isLatestAdaptiveBedrockModelRef, isOpus47OrNewerBedrockModelRef, resolveBedrockClaudeThinkingProfile, resolveBedrockNativeThinkingLevelMap, supportsBedrockNativeMaxEffort } from "./thinking-policy.js";
|
|
7
7
|
import { streamSimpleBedrock } from "./stream.runtime.js";
|
|
8
|
-
import { adaptMemoryEmbeddingProviderAdapter } from "openclaw/plugin-sdk/memory-core-host-engine-embeddings";
|
|
9
8
|
import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
10
9
|
import { buildProviderReplayFamilyHooks, normalizeProviderId, resolveClaudeFable5ModelIdentity, resolveClaudeModelIdentity, resolveClaudeMythos5ModelIdentity, resolveClaudeOpus5ModelIdentity, resolveClaudeSonnet5ModelIdentity } from "openclaw/plugin-sdk/provider-model-shared";
|
|
11
10
|
import { createPayloadPatchStreamWrapper } from "openclaw/plugin-sdk/provider-stream-shared";
|
|
@@ -216,7 +215,7 @@ function registerAmazonBedrockPlugin(api) {
|
|
|
216
215
|
function resolveCurrentPluginConfig(config) {
|
|
217
216
|
return resolvePluginConfigObject(config, providerId) ?? (config ? void 0 : startupPluginConfig);
|
|
218
217
|
}
|
|
219
|
-
api.registerEmbeddingProvider(
|
|
218
|
+
api.registerEmbeddingProvider(bedrockMemoryEmbeddingProviderAdapter);
|
|
220
219
|
const baseWrapStreamFn = ({ modelId, model, streamFn }) => {
|
|
221
220
|
const modelRef = {
|
|
222
221
|
id: modelId,
|
|
@@ -290,10 +289,7 @@ function registerAmazonBedrockPlugin(api) {
|
|
|
290
289
|
env: ctx.env
|
|
291
290
|
});
|
|
292
291
|
if (!implicit) return null;
|
|
293
|
-
return { provider:
|
|
294
|
-
existing: ctx.config.models?.providers?.[providerId],
|
|
295
|
-
implicit
|
|
296
|
-
}) };
|
|
292
|
+
return { provider: implicit };
|
|
297
293
|
}
|
|
298
294
|
},
|
|
299
295
|
resolveConfigApiKey: ({ env }) => resolveBedrockConfigApiKey(env),
|
|
@@ -323,10 +319,12 @@ function registerAmazonBedrockPlugin(api) {
|
|
|
323
319
|
streamFn
|
|
324
320
|
})) ?? void 0;
|
|
325
321
|
const serviceTier = resolveBedrockServiceTier(extraParams, (message) => api.logger.warn(message));
|
|
326
|
-
if (serviceTier && wrapped)
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
322
|
+
if (serviceTier && wrapped) {
|
|
323
|
+
if ((fable5 || opus5 || sonnet5) && serviceTier !== "default") {
|
|
324
|
+
const modelLabel = fable5 ? "Fable 5" : opus5 ? "Opus 5" : "Sonnet 5";
|
|
325
|
+
api.logger.warn(`ignoring unsupported ${modelLabel} Bedrock service tier: ${serviceTier}`);
|
|
326
|
+
} else wrapped = createBedrockServiceTierWrapper(wrapped, serviceTier);
|
|
327
|
+
}
|
|
330
328
|
const region = resolveBedrockRegion(config) ?? extractRegionFromBaseUrl(model?.baseUrl) ?? currentPluginConfig?.discovery?.region;
|
|
331
329
|
const mayNeedCacheInjection = isBedrockAppInferenceProfile(modelId) && !sharedRuntimeWouldInjectCachePoints(modelId);
|
|
332
330
|
const shouldOmitTemperature = opus47OrNewer || fable5 || isLatestAdaptiveBedrockModelRef(modelId, model?.params);
|
package/dist/stream.runtime.js
CHANGED
package/dist/thinking-policy.js
CHANGED
|
@@ -10,19 +10,15 @@ const BASE_CLAUDE_THINKING_LEVELS = [
|
|
|
10
10
|
function isOpus5BedrockModelRef(modelRef) {
|
|
11
11
|
return /(?:^|[/.:])(?:(?:us|eu|ap|apac|au|jp|global)\.)?(?:anthropic\.)?claude-opus-5(?:$|[-.:/])/i.test(modelRef);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
return /(?:^|[/.:])(?:(?:us|eu|ap|apac|au|jp|global)\.)?(?:anthropic\.)?claude-opus-4[.-]
|
|
13
|
+
function isOpus47Or48BedrockModelRef(modelRef) {
|
|
14
|
+
return /(?:^|[/.:])(?:(?:us|eu|ap|apac|au|jp|global)\.)?(?:anthropic\.)?claude-opus-4[.-][78](?:$|[-.:/])/i.test(modelRef);
|
|
15
15
|
}
|
|
16
16
|
function isOpus46BedrockModelRef(modelRef) {
|
|
17
17
|
return /(?:^|[/.:])(?:(?:us|eu|ap|apac|au|jp|global)\.)?(?:anthropic\.)?claude-opus-4[.-]6(?:$|[-.:/])/i.test(modelRef);
|
|
18
18
|
}
|
|
19
|
-
/** Return whether a Bedrock model ref names Claude Opus 4.7. */
|
|
20
|
-
function isOpus47BedrockModelRef(modelRef) {
|
|
21
|
-
return /(?:^|[/.:])(?:(?:us|eu|ap|apac|au|jp|global)\.)?(?:anthropic\.)?claude-opus-4[.-]7(?:$|[-.:/])/i.test(modelRef);
|
|
22
|
-
}
|
|
23
19
|
/** Return whether a Bedrock model ref names Claude Opus 4.7 or newer. */
|
|
24
20
|
function isOpus47OrNewerBedrockModelRef(modelRef) {
|
|
25
|
-
return isOpus5BedrockModelRef(modelRef) ||
|
|
21
|
+
return isOpus5BedrockModelRef(modelRef) || isOpus47Or48BedrockModelRef(modelRef);
|
|
26
22
|
}
|
|
27
23
|
function isMythosPreviewBedrockModelRef(modelRef) {
|
|
28
24
|
return /(?:^|[/.:])(?:(?:us|eu|ap|apac|au|jp|global)\.)?(?:anthropic\.)?claude-mythos-preview(?:$|[-.:/])/i.test(modelRef);
|
|
@@ -122,16 +118,7 @@ function resolveBedrockClaudeThinkingProfile(modelId, params) {
|
|
|
122
118
|
],
|
|
123
119
|
defaultLevel: "high"
|
|
124
120
|
};
|
|
125
|
-
if (modelRefs.some(
|
|
126
|
-
levels: [
|
|
127
|
-
...BASE_CLAUDE_THINKING_LEVELS,
|
|
128
|
-
{ id: "xhigh" },
|
|
129
|
-
{ id: "adaptive" },
|
|
130
|
-
{ id: "max" }
|
|
131
|
-
],
|
|
132
|
-
defaultLevel: "off"
|
|
133
|
-
};
|
|
134
|
-
if (modelRefs.some(isOpus47BedrockModelRef)) return {
|
|
121
|
+
if (modelRefs.some(isOpus47Or48BedrockModelRef)) return {
|
|
135
122
|
levels: [
|
|
136
123
|
...BASE_CLAUDE_THINKING_LEVELS,
|
|
137
124
|
{ id: "xhigh" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.977.
|
|
3
|
+
"version": "3.977.9",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
"test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@aws-sdk/types": "^3.974.
|
|
128
|
-
"@aws-sdk/xml-builder": "^3.972.
|
|
127
|
+
"@aws-sdk/types": "^3.974.5",
|
|
128
|
+
"@aws-sdk/xml-builder": "^3.972.40",
|
|
129
129
|
"@aws/lambda-invoke-store": "^0.3.0",
|
|
130
|
-
"@smithy/core": "^3.
|
|
130
|
+
"@smithy/core": "^3.33.3",
|
|
131
131
|
"@smithy/signature-v4": "^5.6.12",
|
|
132
|
-
"@smithy/types": "^4.
|
|
132
|
+
"@smithy/types": "^4.17.2",
|
|
133
133
|
"bowser": "^2.11.0",
|
|
134
134
|
"tslib": "^2.6.2"
|
|
135
135
|
},
|
package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/token-providers/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1116.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.977.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
53
|
-
"@aws-sdk/types": "^3.974.
|
|
54
|
-
"@smithy/core": "^3.
|
|
55
|
-
"@smithy/types": "^4.
|
|
51
|
+
"@aws-sdk/core": "^3.977.9",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.44",
|
|
53
|
+
"@aws-sdk/types": "^3.974.5",
|
|
54
|
+
"@smithy/core": "^3.33.3",
|
|
55
|
+
"@smithy/types": "^4.17.2",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.40",
|
|
4
4
|
"description": "XML utilities for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:fuzz": "jazzer tests/xml-parser.fuzz.js corpus --sync -i xml-parser -- -max_total_time=300"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@smithy/types": "^4.
|
|
50
|
+
"@smithy/types": "^4.17.2",
|
|
51
51
|
"tslib": "^2.6.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1116.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.977.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/token-providers": "3.
|
|
52
|
-
"@aws-sdk/types": "^3.974.
|
|
53
|
-
"@smithy/core": "^3.
|
|
54
|
-
"@smithy/fetch-http-handler": "^5.
|
|
55
|
-
"@smithy/node-http-handler": "^4.
|
|
56
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.977.9",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.81",
|
|
51
|
+
"@aws-sdk/token-providers": "3.1116.0",
|
|
52
|
+
"@aws-sdk/types": "^3.974.5",
|
|
53
|
+
"@smithy/core": "^3.33.3",
|
|
54
|
+
"@smithy/fetch-http-handler": "^5.7.2",
|
|
55
|
+
"@smithy/node-http-handler": "^4.11.3",
|
|
56
|
+
"@smithy/types": "^4.17.2",
|
|
57
57
|
"tslib": "^2.6.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.977.
|
|
3
|
+
"version": "3.977.9",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
"test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@aws-sdk/types": "^3.974.
|
|
128
|
-
"@aws-sdk/xml-builder": "^3.972.
|
|
127
|
+
"@aws-sdk/types": "^3.974.5",
|
|
128
|
+
"@aws-sdk/xml-builder": "^3.972.40",
|
|
129
129
|
"@aws/lambda-invoke-store": "^0.3.0",
|
|
130
|
-
"@smithy/core": "^3.
|
|
130
|
+
"@smithy/core": "^3.33.3",
|
|
131
131
|
"@smithy/signature-v4": "^5.6.12",
|
|
132
|
-
"@smithy/types": "^4.
|
|
132
|
+
"@smithy/types": "^4.17.2",
|
|
133
133
|
"bowser": "^2.11.0",
|
|
134
134
|
"tslib": "^2.6.2"
|
|
135
135
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1116.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.977.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
53
|
-
"@aws-sdk/types": "^3.974.
|
|
54
|
-
"@smithy/core": "^3.
|
|
55
|
-
"@smithy/types": "^4.
|
|
51
|
+
"@aws-sdk/core": "^3.977.9",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.44",
|
|
53
|
+
"@aws-sdk/types": "^3.974.5",
|
|
54
|
+
"@smithy/core": "^3.33.3",
|
|
55
|
+
"@smithy/types": "^4.17.2",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/xml-builder/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.40",
|
|
4
4
|
"description": "XML utilities for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:fuzz": "jazzer tests/xml-parser.fuzz.js corpus --sync -i xml-parser -- -max_total_time=300"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@smithy/types": "^4.
|
|
50
|
+
"@smithy/types": "^4.17.2",
|
|
51
51
|
"tslib": "^2.6.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1116.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aws-sdk/core": "^3.977.
|
|
58
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
59
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
60
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
61
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
62
|
-
"@aws-sdk/token-providers": "3.
|
|
63
|
-
"@aws-sdk/types": "^3.974.
|
|
64
|
-
"@smithy/core": "^3.
|
|
65
|
-
"@smithy/fetch-http-handler": "^5.
|
|
66
|
-
"@smithy/node-http-handler": "^4.
|
|
67
|
-
"@smithy/types": "^4.
|
|
57
|
+
"@aws-sdk/core": "^3.977.9",
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.81",
|
|
59
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.34",
|
|
60
|
+
"@aws-sdk/middleware-eventstream": "^3.972.29",
|
|
61
|
+
"@aws-sdk/middleware-websocket": "^3.972.52",
|
|
62
|
+
"@aws-sdk/token-providers": "3.1116.0",
|
|
63
|
+
"@aws-sdk/types": "^3.974.5",
|
|
64
|
+
"@smithy/core": "^3.33.3",
|
|
65
|
+
"@smithy/fetch-http-handler": "^5.7.2",
|
|
66
|
+
"@smithy/node-http-handler": "^4.11.3",
|
|
67
|
+
"@smithy/types": "^4.17.2",
|
|
68
68
|
"tslib": "^2.6.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@smithy/snapshot-testing": "^2.2
|
|
71
|
+
"@smithy/snapshot-testing": "^2.3.2",
|
|
72
72
|
"@tsconfig/node20": "20.1.8",
|
|
73
73
|
"@types/node": "^20.14.8",
|
|
74
74
|
"concurrently": "7.0.0",
|
package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.977.
|
|
3
|
+
"version": "3.977.9",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
"test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@aws-sdk/types": "^3.974.
|
|
128
|
-
"@aws-sdk/xml-builder": "^3.972.
|
|
127
|
+
"@aws-sdk/types": "^3.974.5",
|
|
128
|
+
"@aws-sdk/xml-builder": "^3.972.40",
|
|
129
129
|
"@aws/lambda-invoke-store": "^0.3.0",
|
|
130
|
-
"@smithy/core": "^3.
|
|
130
|
+
"@smithy/core": "^3.33.3",
|
|
131
131
|
"@smithy/signature-v4": "^5.6.12",
|
|
132
|
-
"@smithy/types": "^4.
|
|
132
|
+
"@smithy/types": "^4.17.2",
|
|
133
133
|
"bowser": "^2.11.0",
|
|
134
134
|
"tslib": "^2.6.2"
|
|
135
135
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.40",
|
|
4
4
|
"description": "XML utilities for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:fuzz": "jazzer tests/xml-parser.fuzz.js corpus --sync -i xml-parser -- -max_total_time=300"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@smithy/types": "^4.
|
|
50
|
+
"@smithy/types": "^4.17.2",
|
|
51
51
|
"tslib": "^2.6.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.81",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
49
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
51
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
53
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
54
|
-
"@aws-sdk/types": "^3.974.
|
|
55
|
-
"@smithy/core": "^3.
|
|
48
|
+
"@aws-sdk/credential-provider-env": "^3.972.70",
|
|
49
|
+
"@aws-sdk/credential-provider-http": "^3.972.72",
|
|
50
|
+
"@aws-sdk/credential-provider-ini": "^3.973.15",
|
|
51
|
+
"@aws-sdk/credential-provider-process": "^3.972.70",
|
|
52
|
+
"@aws-sdk/credential-provider-sso": "^3.973.14",
|
|
53
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.76",
|
|
54
|
+
"@aws-sdk/types": "^3.974.5",
|
|
55
|
+
"@smithy/core": "^3.33.3",
|
|
56
56
|
"@smithy/credential-provider-imds": "^4.4.16",
|
|
57
|
-
"@smithy/types": "^4.
|
|
57
|
+
"@smithy/types": "^4.17.2",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
const { hasOwn } = require("@smithy/core/serde");
|
|
2
|
+
const { streamCollector } = require("@smithy/core/serde");
|
|
3
|
+
exports.streamCollector = streamCollector;
|
|
1
4
|
const { buildQueryString, HttpResponse } = require("@smithy/core/protocols");
|
|
2
5
|
const node_https = require("node:https");
|
|
3
6
|
const { Readable } = require("node:stream");
|
|
4
7
|
const http2 = require("node:http2");
|
|
5
|
-
const { streamCollector } = require("@smithy/core/serde");
|
|
6
|
-
exports.streamCollector = streamCollector;
|
|
7
8
|
|
|
8
9
|
function buildAbortError(abortSignal) {
|
|
9
10
|
const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
|
|
@@ -30,6 +31,8 @@ const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
|
|
|
30
31
|
const getTransformedHeaders = (headers) => {
|
|
31
32
|
const transformedHeaders = {};
|
|
32
33
|
for (const name in headers) {
|
|
34
|
+
if (!hasOwn(headers, name))
|
|
35
|
+
continue;
|
|
33
36
|
const headerValues = headers[name];
|
|
34
37
|
transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
|
|
35
38
|
}
|
|
@@ -231,6 +234,8 @@ class NodeHttpHandler {
|
|
|
231
234
|
}
|
|
232
235
|
if (sockets && requests) {
|
|
233
236
|
for (const origin in sockets) {
|
|
237
|
+
if (!hasOwn(sockets, origin))
|
|
238
|
+
continue;
|
|
234
239
|
const socketsInUse = sockets[origin]?.length ?? 0;
|
|
235
240
|
const requestsEnqueued = requests[origin]?.length ?? 0;
|
|
236
241
|
if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
const getTransformedHeaders = (headers) => {
|
|
2
3
|
const transformedHeaders = {};
|
|
3
4
|
for (const name in headers) {
|
|
5
|
+
if (!hasOwn(headers, name))
|
|
6
|
+
continue;
|
|
4
7
|
const headerValues = headers[name];
|
|
5
8
|
transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
|
|
6
9
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
|
|
2
3
|
import { buildAbortError } from "./build-abort-error";
|
|
3
4
|
import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
|
|
@@ -35,6 +36,8 @@ export class NodeHttpHandler {
|
|
|
35
36
|
}
|
|
36
37
|
if (sockets && requests) {
|
|
37
38
|
for (const origin in sockets) {
|
|
39
|
+
if (!hasOwn(sockets, origin))
|
|
40
|
+
continue;
|
|
38
41
|
const socketsInUse = sockets[origin]?.length ?? 0;
|
|
39
42
|
const requestsEnqueued = requests[origin]?.length ?? 0;
|
|
40
43
|
if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.3",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"test:watch": "yarn g:vitest watch"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@smithy/core": "^3.33.
|
|
42
|
+
"@smithy/core": "^3.33.3",
|
|
43
43
|
"@smithy/types": "^4.17.2",
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|