@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.
Files changed (192) hide show
  1. package/dist/discovery.js +2 -1
  2. package/dist/embedding-provider.js +23 -15
  3. package/dist/register.sync.runtime.js +9 -11
  4. package/dist/stream.runtime.js +0 -1
  5. package/dist/thinking-policy.js +4 -17
  6. package/node_modules/@aws-sdk/client-bedrock/dist-cjs/index.js +1 -1
  7. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/package.json +5 -5
  8. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/token-providers/package.json +6 -6
  9. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  10. package/node_modules/@aws-sdk/client-bedrock/package.json +9 -9
  11. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +1 -1
  12. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json +5 -5
  13. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/token-providers/package.json +6 -6
  14. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  15. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +13 -13
  16. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/package.json +5 -5
  17. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  18. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  19. package/node_modules/@smithy/node-http-handler/CHANGELOG.md +9 -0
  20. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -2
  21. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
  22. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
  23. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  24. package/package.json +8 -8
  25. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/CHANGELOG.md +0 -1138
  26. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  27. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +0 -9
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
  81. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/CHANGELOG.md +0 -1138
  82. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  83. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +0 -9
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
  137. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/CHANGELOG.md +0 -1138
  138. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  139. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/README.md +0 -9
  140. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -852
  141. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
  142. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
  143. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
  144. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -50
  145. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
  146. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
  147. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -136
  148. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
  149. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -173
  150. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +0 -2
  151. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
  152. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
  153. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
  154. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
  155. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
  156. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
  157. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
  158. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +0 -10
  159. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
  160. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
  161. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +0 -46
  162. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
  163. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -47
  164. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -46
  165. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -36
  166. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -76
  167. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +0 -2
  168. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +0 -2
  169. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
  170. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +0 -6
  171. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
  172. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
  173. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -9
  174. 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
  175. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
  176. 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
  177. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +0 -46
  178. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
  179. 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
  180. 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
  181. 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
  182. 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
  183. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +0 -2
  184. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +0 -2
  185. 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
  186. 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
  187. 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
  188. 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
  189. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -9
  190. 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
  191. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -12
  192. 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 normalized = normalizeOptionalLowercaseString(summary.providerName ?? (typeof summary.modelId === "string" ? summary.modelId.split(".")[0] : void 0));
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 parseBedrockEmbeddingResponseJson(raw) {
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 = parseBedrockEmbeddingResponseJson(raw);
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 = parseBedrockEmbeddingResponseJson(raw).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
- const res = await sdk.send(new InvokeModelCommand({
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, optionsValue) => {
253
+ const embedQuery = async (text, signal) => {
255
254
  if (!text.trim()) return [];
256
- if (isCohere) return (await embedCohere([text], "search_query", optionsValue?.signal))[0] ?? [];
257
- return embedSingle(text, optionsValue?.signal);
255
+ if (isCohere) return (await embedCohere([text], "search_query", signal))[0] ?? [];
256
+ return embedSingle(text, signal);
258
257
  };
259
- const embedBatch = async (texts, optionsLocal) => {
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
- embedQuery,
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.outputDimensionality != null) {
312
- if (spec?.validDims && !spec.validDims.includes(options.outputDimensionality)) throw new Error(`Invalid dimensions ${options.outputDimensionality} for ${model}. Valid values: ${spec.validDims.join(", ")}`);
313
- dimensions = options.outputDimensionality;
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 { mergeImplicitBedrockProvider, resolveBedrockConfigApiKey } from "./discovery-shared.js";
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(adaptMemoryEmbeddingProviderAdapter(bedrockMemoryEmbeddingProviderAdapter));
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: mergeImplicitBedrockProvider({
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) if ((fable5 || opus5 || sonnet5) && serviceTier !== "default") {
327
- const modelLabel = fable5 ? "Fable 5" : opus5 ? "Opus 5" : "Sonnet 5";
328
- api.logger.warn(`ignoring unsupported ${modelLabel} Bedrock service tier: ${serviceTier}`);
329
- } else wrapped = createBedrockServiceTierWrapper(wrapped, serviceTier);
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);
@@ -438,7 +438,6 @@ function handleContentBlockStop(event, blocks, output, stream, redactedReasoning
438
438
  block,
439
439
  contentIndex: index
440
440
  });
441
- break;
442
441
  }
443
442
  }
444
443
  function flushPendingBedrockToolCalls(pending, blocks, output, stream) {
@@ -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 isOpus48BedrockModelRef(modelRef) {
14
- return /(?:^|[/.:])(?:(?:us|eu|ap|apac|au|jp|global)\.)?(?:anthropic\.)?claude-opus-4[.-]8(?:$|[-.:/])/i.test(modelRef);
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) || isOpus47BedrockModelRef(modelRef) || isOpus48BedrockModelRef(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(isOpus48BedrockModelRef)) return {
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" },
@@ -86,7 +86,7 @@ const commonParams = {
86
86
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
87
87
  };
88
88
 
89
- var version = "3.1112.0";
89
+ var version = "3.1115.0";
90
90
  var packageInfo = {
91
91
  version: version};
92
92
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.977.8",
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.4",
128
- "@aws-sdk/xml-builder": "^3.972.39",
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.31.1",
130
+ "@smithy/core": "^3.33.3",
131
131
  "@smithy/signature-v4": "^5.6.12",
132
- "@smithy/types": "^4.16.1",
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.1113.0",
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.8",
52
- "@aws-sdk/nested-clients": "^3.997.43",
53
- "@aws-sdk/types": "^3.974.4",
54
- "@smithy/core": "^3.31.1",
55
- "@smithy/types": "^4.16.1",
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.39",
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.16.1",
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.1113.0",
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.8",
50
- "@aws-sdk/credential-provider-node": "^3.972.80",
51
- "@aws-sdk/token-providers": "3.1113.0",
52
- "@aws-sdk/types": "^3.974.4",
53
- "@smithy/core": "^3.31.1",
54
- "@smithy/fetch-http-handler": "^5.6.13",
55
- "@smithy/node-http-handler": "^4.9.13",
56
- "@smithy/types": "^4.16.1",
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": {
@@ -90,7 +90,7 @@ const commonParams = {
90
90
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
91
91
  };
92
92
 
93
- var version = "3.1112.0";
93
+ var version = "3.1115.0";
94
94
  var packageInfo = {
95
95
  version: version};
96
96
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.977.8",
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.4",
128
- "@aws-sdk/xml-builder": "^3.972.39",
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.31.1",
130
+ "@smithy/core": "^3.33.3",
131
131
  "@smithy/signature-v4": "^5.6.12",
132
- "@smithy/types": "^4.16.1",
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.1113.0",
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.8",
52
- "@aws-sdk/nested-clients": "^3.997.43",
53
- "@aws-sdk/types": "^3.974.4",
54
- "@smithy/core": "^3.31.1",
55
- "@smithy/types": "^4.16.1",
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.39",
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.16.1",
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.1113.0",
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.8",
58
- "@aws-sdk/credential-provider-node": "^3.972.80",
59
- "@aws-sdk/eventstream-handler-node": "^3.972.33",
60
- "@aws-sdk/middleware-eventstream": "^3.972.28",
61
- "@aws-sdk/middleware-websocket": "^3.972.51",
62
- "@aws-sdk/token-providers": "3.1113.0",
63
- "@aws-sdk/types": "^3.974.4",
64
- "@smithy/core": "^3.31.1",
65
- "@smithy/fetch-http-handler": "^5.6.13",
66
- "@smithy/node-http-handler": "^4.9.13",
67
- "@smithy/types": "^4.16.1",
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.16",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.977.8",
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.4",
128
- "@aws-sdk/xml-builder": "^3.972.39",
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.31.1",
130
+ "@smithy/core": "^3.33.3",
131
131
  "@smithy/signature-v4": "^5.6.12",
132
- "@smithy/types": "^4.16.1",
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.39",
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.16.1",
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.80",
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.69",
49
- "@aws-sdk/credential-provider-http": "^3.972.71",
50
- "@aws-sdk/credential-provider-ini": "^3.973.14",
51
- "@aws-sdk/credential-provider-process": "^3.972.69",
52
- "@aws-sdk/credential-provider-sso": "^3.973.13",
53
- "@aws-sdk/credential-provider-web-identity": "^3.972.75",
54
- "@aws-sdk/types": "^3.974.4",
55
- "@smithy/core": "^3.31.1",
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.16.1",
57
+ "@smithy/types": "^4.17.2",
58
58
  "tslib": "^2.6.2"
59
59
  },
60
60
  "devDependencies": {
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.11.3
4
+
5
+ ### Patch Changes
6
+
7
+ - a825452: switch for-in loops to guarded
8
+ - Updated dependencies [e82a22b]
9
+ - Updated dependencies [a825452]
10
+ - @smithy/core@3.33.3
11
+
3
12
  ## 4.11.2
4
13
 
5
14
  ### Patch Changes
@@ -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.2",
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.2",
42
+ "@smithy/core": "^3.33.3",
43
43
  "@smithy/types": "^4.17.2",
44
44
  "tslib": "^2.6.2"
45
45
  },