@psnext/slingcli 2.5.20260629-1 → 2.5.20260705-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 (380) hide show
  1. package/node_modules/@aws/lambda-invoke-store/README.md +25 -1
  2. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +12 -0
  3. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +12 -0
  4. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +6 -0
  5. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  6. package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
  7. package/node_modules/@aws-sdk/core/client.d.ts +1 -3
  8. package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
  9. package/node_modules/@aws-sdk/core/package.json +10 -17
  10. package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
  11. package/node_modules/@aws-sdk/core/util.d.ts +1 -3
  12. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  13. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
  14. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
  15. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  16. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
  17. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +4 -4
  18. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
  19. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  20. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  21. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  22. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  23. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +6 -6
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
  26. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
  27. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -4
  28. package/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
  29. package/node_modules/@aws-sdk/middleware-websocket/package.json +7 -7
  30. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +13 -25
  32. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +13 -17
  33. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +12 -15
  34. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +12 -15
  35. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +13 -25
  36. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commandBuilder.js +6 -0
  37. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -14
  38. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -14
  39. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +1 -0
  40. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +0 -2
  41. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +1 -2
  42. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js +0 -2
  43. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +2 -0
  44. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +8 -0
  45. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -17
  46. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +1 -0
  47. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +0 -2
  48. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +1 -2
  49. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +0 -2
  50. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  51. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js +6 -0
  52. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -14
  53. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js +1 -0
  54. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +0 -2
  55. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +1 -2
  56. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +0 -2
  57. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +2 -0
  58. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js +6 -0
  59. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -14
  60. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +1 -0
  61. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +0 -2
  62. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +1 -2
  63. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js +0 -2
  64. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  65. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js +6 -0
  66. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -14
  67. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
  68. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -0
  69. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +0 -2
  70. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +1 -2
  71. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js +0 -2
  72. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  73. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commandBuilder.d.ts +18 -0
  74. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
  75. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +3 -8
  76. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -0
  77. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
  78. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
  79. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
  80. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  81. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +18 -0
  82. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  83. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -0
  84. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
  85. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
  86. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
  87. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  88. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commandBuilder.d.ts +18 -0
  89. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  90. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -0
  91. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
  92. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
  93. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
  94. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  95. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commandBuilder.d.ts +18 -0
  96. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  97. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -0
  98. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
  99. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
  100. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
  101. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  102. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commandBuilder.d.ts +18 -0
  103. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -8
  104. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
  105. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -0
  106. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
  107. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -2
  108. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
  109. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  110. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +46 -0
  111. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
  112. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +7 -16
  113. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +1 -0
  114. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +8 -2
  115. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +8 -2
  116. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +8 -2
  117. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  118. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +42 -0
  119. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  120. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
  121. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +8 -2
  122. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +8 -2
  123. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +8 -2
  124. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  125. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +42 -0
  126. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  127. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts +1 -0
  128. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +8 -2
  129. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +8 -2
  130. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +8 -2
  131. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  132. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +42 -0
  133. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  134. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
  135. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +8 -2
  136. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +8 -2
  137. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +8 -2
  138. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  139. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +46 -0
  140. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +7 -16
  141. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
  142. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
  143. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -2
  144. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +8 -2
  145. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -2
  146. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  147. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
  148. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  149. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
  150. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +4 -4
  151. package/node_modules/@aws-sdk/nested-clients/package.json +8 -10
  152. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
  153. package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
  154. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
  155. package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
  156. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  157. package/node_modules/@aws-sdk/types/package.json +2 -2
  158. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
  159. package/node_modules/@aws-sdk/xml-builder/package.json +3 -4
  160. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +10 -1
  161. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +4 -6
  162. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +20 -2
  163. package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  164. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +2 -14
  165. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +16 -5
  166. package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +2 -1
  167. package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +2 -1
  168. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +54 -19
  169. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +8 -3
  170. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +2 -14
  171. package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +2 -1
  172. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +15 -45
  173. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +124 -4
  174. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +18 -0
  175. package/node_modules/@earendil-works/pi-ai/dist/providers/cerebras.models.js +18 -0
  176. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js +18 -0
  177. package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +4 -3
  178. package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js +57 -0
  179. package/node_modules/@earendil-works/pi-ai/dist/providers/groq.models.js +1 -1
  180. package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.models.js +4 -4
  181. package/node_modules/@earendil-works/pi-ai/dist/providers/nvidia.models.js +4 -4
  182. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +5 -5
  183. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +75 -2
  184. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +105 -88
  185. package/node_modules/@earendil-works/pi-ai/dist/providers/together.models.js +2 -2
  186. package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +41 -4
  187. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-ams.models.js +12 -12
  188. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-cn.models.js +12 -12
  189. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-sgp.models.js +12 -12
  190. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi.models.js +15 -15
  191. package/node_modules/@earendil-works/pi-ai/dist/utils/error-body.js +109 -0
  192. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/device-code.js +15 -2
  193. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.js +3 -2
  194. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +3 -0
  195. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +1 -0
  196. package/node_modules/@earendil-works/pi-ai/package.json +1 -1
  197. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +35 -4
  198. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +13 -5
  199. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +5 -8
  200. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +6 -0
  201. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js +33 -1
  202. package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.js +28 -1
  203. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +14 -17
  204. package/node_modules/@earendil-works/pi-coding-agent/dist/core/project-trust.js +1 -1
  205. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-attribution.js +0 -10
  206. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js +87 -68
  207. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js +8 -0
  208. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +20 -5
  209. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js +2 -2
  210. package/node_modules/@earendil-works/pi-coding-agent/dist/index.js +2 -1
  211. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +1 -1
  212. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +15 -7
  213. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-entry.js +52 -0
  214. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +13 -1
  215. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/status-indicator.js +60 -0
  216. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js +18 -5
  217. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +143 -130
  218. package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +7 -0
  219. package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +12 -12
  220. package/node_modules/@earendil-works/pi-coding-agent/package.json +4 -4
  221. package/node_modules/@earendil-works/pi-orchestrator/package.json +2 -2
  222. package/node_modules/@earendil-works/pi-tui/package.json +1 -1
  223. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
  224. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
  225. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
  226. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +18 -0
  227. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
  228. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
  229. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
  230. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
  231. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
  232. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +85 -137
  233. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
  234. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
  235. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
  236. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
  237. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
  238. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
  239. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
  240. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
  241. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
  242. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
  243. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
  244. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -0
  245. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js +17 -0
  246. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
  247. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
  248. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
  249. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
  250. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
  251. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
  252. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
  253. package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
  254. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
  255. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  256. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
  257. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +35 -27
  258. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
  259. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
  260. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
  261. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
  262. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
  263. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
  264. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
  265. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
  266. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
  267. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
  268. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
  269. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
  270. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
  271. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
  272. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
  273. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -0
  274. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
  275. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +5 -6
  276. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
  277. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
  278. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +4 -5
  279. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +4 -5
  280. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +3 -4
  281. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +1 -2
  282. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +1 -2
  283. package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
  284. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
  285. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  286. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
  287. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +29 -12
  288. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
  289. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
  290. package/node_modules/@smithy/core/package.json +5 -5
  291. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  292. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
  293. package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
  294. package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
  295. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  296. package/node_modules/@smithy/signature-v4/package.json +3 -4
  297. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  298. package/node_modules/@smithy/types/package.json +1 -1
  299. package/node_modules/@types/node/README.md +1 -1
  300. package/node_modules/@types/node/buffer.d.ts +64 -25
  301. package/node_modules/@types/node/crypto.d.ts +18 -5
  302. package/node_modules/@types/node/diagnostics_channel.d.ts +237 -3
  303. package/node_modules/@types/node/dns.d.ts +1 -1
  304. package/node_modules/@types/node/ffi.d.ts +486 -0
  305. package/node_modules/@types/node/fs/promises.d.ts +3 -0
  306. package/node_modules/@types/node/fs.d.ts +21 -6
  307. package/node_modules/@types/node/http.d.ts +25 -0
  308. package/node_modules/@types/node/index.d.ts +1 -0
  309. package/node_modules/@types/node/package.json +2 -2
  310. package/node_modules/@types/node/process.d.ts +14 -1
  311. package/node_modules/@types/node/quic.d.ts +92 -11
  312. package/node_modules/@types/node/sqlite.d.ts +55 -0
  313. package/node_modules/@types/node/stream/iter.d.ts +150 -0
  314. package/node_modules/@types/node/stream.d.ts +32 -0
  315. package/node_modules/@types/node/test.d.ts +112 -2
  316. package/node_modules/@types/node/ts5.6/index.d.ts +1 -0
  317. package/node_modules/@types/node/ts5.7/index.d.ts +1 -0
  318. package/node_modules/@types/node/util.d.ts +19 -2
  319. package/node_modules/@types/node/v8.d.ts +84 -2
  320. package/node_modules/@types/node/worker_threads.d.ts +8 -7
  321. package/node_modules/protobufjs/dist/light/protobuf.js +2 -2
  322. package/node_modules/protobufjs/dist/light/protobuf.min.js +2 -2
  323. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  324. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  325. package/node_modules/protobufjs/dist/protobuf.js +5 -2
  326. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  327. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  328. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  329. package/node_modules/protobufjs/package.json +1 -1
  330. package/node_modules/protobufjs/src/parse.js +3 -0
  331. package/package.json +7 -7
  332. package/slingshot/index.js +261 -261
  333. package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
  334. package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
  335. package/node_modules/@aws-crypto/crc32/README.md +0 -16
  336. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
  337. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
  338. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
  339. package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
  340. package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
  341. package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
  342. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
  343. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
  344. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
  345. package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
  346. package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
  347. package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
  348. package/node_modules/@aws-crypto/crc32/package.json +0 -32
  349. package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
  350. package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
  351. package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
  352. package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
  353. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
  354. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
  355. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
  356. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
  357. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
  358. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
  359. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
  360. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
  361. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  362. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  363. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  364. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
  365. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
  366. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
  367. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  368. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  369. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  370. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
  371. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
  372. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -234
  373. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
  374. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
  375. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
  376. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
  377. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
  378. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
  379. /package/node_modules/@smithy/{core/dist-es/submodules/endpoints/middleware-endpoint/types.js → types/dist-es/endpoints/EndpointParameterInstructions.js} +0 -0
  380. /package/node_modules/@smithy/{core/dist-types/submodules/endpoints/middleware-endpoint/types.d.ts → types/dist-types/endpoints/EndpointParameterInstructions.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.58",
3
+ "version": "3.972.62",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -31,16 +31,16 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.49",
35
- "@aws-sdk/credential-provider-http": "^3.972.51",
36
- "@aws-sdk/credential-provider-ini": "^3.972.56",
37
- "@aws-sdk/credential-provider-process": "^3.972.49",
38
- "@aws-sdk/credential-provider-sso": "^3.972.55",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.55",
40
- "@aws-sdk/types": "^3.973.13",
41
- "@smithy/core": "^3.24.6",
42
- "@smithy/credential-provider-imds": "^4.3.7",
43
- "@smithy/types": "^4.14.3",
34
+ "@aws-sdk/credential-provider-env": "^3.972.53",
35
+ "@aws-sdk/credential-provider-http": "^3.972.55",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.60",
37
+ "@aws-sdk/credential-provider-process": "^3.972.53",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.59",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.59",
40
+ "@aws-sdk/types": "^3.973.15",
41
+ "@smithy/core": "^3.29.0",
42
+ "@smithy/credential-provider-imds": "^4.4.5",
43
+ "@smithy/types": "^4.15.1",
44
44
  "tslib": "^2.6.2"
45
45
  },
46
46
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.49",
3
+ "version": "3.972.53",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.23",
30
- "@aws-sdk/types": "^3.973.13",
31
- "@smithy/core": "^3.24.6",
32
- "@smithy/types": "^4.14.3",
29
+ "@aws-sdk/core": "^3.974.27",
30
+ "@aws-sdk/types": "^3.973.15",
31
+ "@smithy/core": "^3.29.0",
32
+ "@smithy/types": "^4.15.1",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1074.0",
3
+ "version": "3.1079.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.974.23",
33
- "@aws-sdk/nested-clients": "^3.997.23",
34
- "@aws-sdk/types": "^3.973.13",
35
- "@smithy/core": "^3.24.6",
36
- "@smithy/types": "^4.14.3",
32
+ "@aws-sdk/core": "^3.974.27",
33
+ "@aws-sdk/nested-clients": "^3.997.27",
34
+ "@aws-sdk/types": "^3.973.15",
35
+ "@smithy/core": "^3.29.0",
36
+ "@smithy/types": "^4.15.1",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.55",
3
+ "version": "3.972.59",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,12 +28,12 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.23",
32
- "@aws-sdk/nested-clients": "^3.997.23",
33
- "@aws-sdk/token-providers": "3.1074.0",
34
- "@aws-sdk/types": "^3.973.13",
35
- "@smithy/core": "^3.24.6",
36
- "@smithy/types": "^4.14.3",
31
+ "@aws-sdk/core": "^3.974.27",
32
+ "@aws-sdk/nested-clients": "^3.997.27",
33
+ "@aws-sdk/token-providers": "3.1079.0",
34
+ "@aws-sdk/types": "^3.973.15",
35
+ "@smithy/core": "^3.29.0",
36
+ "@smithy/types": "^4.15.1",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
@@ -1,3 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- __exportStar(require("./fromTokenFile"), exports);
3
- __exportStar(require("./fromWebToken"), exports);
1
+ const { setCredentialFeature } = require("@aws-sdk/core/client");
2
+ const { CredentialsProviderError, externalDataInterceptor } = require("@smithy/core/config");
3
+ const { readFileSync } = require("node:fs");
4
+
5
+ const fromWebToken = (init) => async (awsIdentityProperties) => {
6
+ init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
7
+ const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
8
+ let { roleAssumerWithWebIdentity } = init;
9
+ if (!roleAssumerWithWebIdentity) {
10
+ const { getDefaultRoleAssumerWithWebIdentity } = require('@aws-sdk/nested-clients/sts');
11
+ roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
12
+ ...init.clientConfig,
13
+ credentialProviderLogger: init.logger,
14
+ parentClientConfig: {
15
+ ...awsIdentityProperties?.callerClientConfig,
16
+ ...init.parentClientConfig,
17
+ },
18
+ }, init.clientPlugins);
19
+ }
20
+ return roleAssumerWithWebIdentity({
21
+ RoleArn: roleArn,
22
+ RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,
23
+ WebIdentityToken: webIdentityToken,
24
+ ProviderId: providerId,
25
+ PolicyArns: policyArns,
26
+ Policy: policy,
27
+ DurationSeconds: durationSeconds,
28
+ });
29
+ };
30
+
31
+ const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
32
+ const ENV_ROLE_ARN = "AWS_ROLE_ARN";
33
+ const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
34
+ const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
35
+ init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
36
+ const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
37
+ const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
38
+ const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];
39
+ if (!webIdentityTokenFile || !roleArn) {
40
+ throw new CredentialsProviderError("Web identity configuration not specified", {
41
+ logger: init.logger,
42
+ });
43
+ }
44
+ const credentials = await fromWebToken({
45
+ ...init,
46
+ webIdentityToken: externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ??
47
+ readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
48
+ roleArn,
49
+ roleSessionName,
50
+ })(awsIdentityProperties);
51
+ if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
52
+ setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
53
+ }
54
+ return credentials;
55
+ };
56
+
57
+ exports.fromTokenFile = fromTokenFile;
58
+ exports.fromWebToken = fromWebToken;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.55",
3
+ "version": "3.972.59",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -20,8 +20,7 @@
20
20
  "./dist-es/fromTokenFile": false
21
21
  },
22
22
  "react-native": {
23
- "./dist-es/fromTokenFile": false,
24
- "./dist-cjs/fromTokenFile": false
23
+ "./dist-es/fromTokenFile": false
25
24
  },
26
25
  "keywords": [
27
26
  "aws",
@@ -34,11 +33,11 @@
34
33
  },
35
34
  "license": "Apache-2.0",
36
35
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.23",
38
- "@aws-sdk/nested-clients": "^3.997.23",
39
- "@aws-sdk/types": "^3.973.13",
40
- "@smithy/core": "^3.24.6",
41
- "@smithy/types": "^4.14.3",
36
+ "@aws-sdk/core": "^3.974.27",
37
+ "@aws-sdk/nested-clients": "^3.997.27",
38
+ "@aws-sdk/types": "^3.973.15",
39
+ "@smithy/core": "^3.29.0",
40
+ "@smithy/types": "^4.15.1",
42
41
  "tslib": "^2.6.2"
43
42
  },
44
43
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/eventstream-handler-node",
3
- "version": "3.972.22",
3
+ "version": "3.972.25",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "^3.973.13",
26
- "@smithy/core": "^3.24.6",
27
- "@smithy/types": "^4.14.3",
25
+ "@aws-sdk/types": "^3.973.15",
26
+ "@smithy/core": "^3.29.0",
27
+ "@smithy/types": "^4.15.1",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-eventstream",
3
- "version": "3.972.18",
3
+ "version": "3.972.21",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "^3.973.13",
27
- "@smithy/core": "^3.24.6",
28
- "@smithy/types": "^4.14.3",
26
+ "@aws-sdk/types": "^3.973.15",
27
+ "@smithy/core": "^3.29.0",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-websocket",
3
- "version": "3.972.31",
3
+ "version": "3.972.35",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "^3.974.23",
28
- "@aws-sdk/types": "^3.973.13",
29
- "@smithy/core": "^3.24.6",
30
- "@smithy/fetch-http-handler": "^5.4.6",
31
- "@smithy/signature-v4": "^5.4.6",
32
- "@smithy/types": "^4.14.3",
27
+ "@aws-sdk/core": "^3.974.27",
28
+ "@aws-sdk/types": "^3.973.15",
29
+ "@smithy/core": "^3.29.0",
30
+ "@smithy/fetch-http-handler": "^5.6.2",
31
+ "@smithy/signature-v4": "^5.6.1",
32
+ "@smithy/types": "^4.15.1",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/nested-clients/cognito-identity" {
6
- export * from "@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d";
7
- }
5
+ export * from "./dist-types/submodules/cognito-identity/index";
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -9,9 +10,10 @@ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntim
9
10
  const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
13
14
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
14
15
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
15
17
 
16
18
  const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => {
17
19
  return {
@@ -79,7 +81,7 @@ const commonParams = {
79
81
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
80
82
  };
81
83
 
82
- var version = "3.997.22";
84
+ var version = "3.997.26";
83
85
  var packageInfo = {
84
86
  version: version};
85
87
 
@@ -440,6 +442,7 @@ const getRuntimeConfig$1 = (config) => {
440
442
  serviceTarget: "AWSCognitoIdentityService",
441
443
  },
442
444
  serviceId: config?.serviceId ?? "Cognito Identity",
445
+ sha256: config?.sha256 ?? Sha256,
443
446
  urlParser: config?.urlParser ?? parseUrl,
444
447
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
445
448
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -472,7 +475,6 @@ const getRuntimeConfig = (config) => {
472
475
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
473
476
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
474
477
  }, config),
475
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
476
478
  streamCollector: config?.streamCollector ?? streamCollector,
477
479
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
478
480
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -560,28 +562,14 @@ class CognitoIdentityClient extends Client {
560
562
  }
561
563
  }
562
564
 
563
- class GetCredentialsForIdentityCommand extends Command
564
- .classBuilder()
565
- .ep(commonParams)
566
- .m(function (Command, cs, config, o) {
567
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
568
- })
569
- .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
570
- .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
571
- .sc(GetCredentialsForIdentity$)
572
- .build() {
565
+ const command = makeBuilder(commonParams, "AWSCognitoIdentityService", "CognitoIdentityClient", getEndpointPlugin);
566
+ const _ep0 = {};
567
+ const _mw0 = (Command, cs, config, o) => [];
568
+
569
+ class GetCredentialsForIdentityCommand extends command(_ep0, _mw0, "GetCredentialsForIdentity", GetCredentialsForIdentity$) {
573
570
  }
574
571
 
575
- class GetIdCommand extends Command
576
- .classBuilder()
577
- .ep(commonParams)
578
- .m(function (Command, cs, config, o) {
579
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
580
- })
581
- .s("AWSCognitoIdentityService", "GetId", {})
582
- .n("CognitoIdentityClient", "GetIdCommand")
583
- .sc(GetId$)
584
- .build() {
572
+ class GetIdCommand extends command(_ep0, _mw0, "GetId", GetId$) {
585
573
  }
586
574
 
587
575
  const commands = {
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -9,9 +10,10 @@ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntim
9
10
  const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
13
14
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
14
15
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
15
17
 
16
18
  const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
17
19
  return {
@@ -75,7 +77,7 @@ const commonParams = {
75
77
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
78
  };
77
79
 
78
- var version = "3.997.22";
80
+ var version = "3.997.26";
79
81
  var packageInfo = {
80
82
  version: version};
81
83
 
@@ -372,6 +374,7 @@ const getRuntimeConfig$1 = (config) => {
372
374
  serviceTarget: "Signin",
373
375
  },
374
376
  serviceId: config?.serviceId ?? "Signin",
377
+ sha256: config?.sha256 ?? Sha256,
375
378
  urlParser: config?.urlParser ?? parseUrl,
376
379
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
377
380
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -404,7 +407,6 @@ const getRuntimeConfig = (config) => {
404
407
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
405
408
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
406
409
  }, config),
407
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
408
410
  streamCollector: config?.streamCollector ?? streamCollector,
409
411
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
410
412
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -492,19 +494,13 @@ class SigninClient extends Client {
492
494
  }
493
495
  }
494
496
 
495
- class CreateOAuth2TokenCommand extends Command
496
- .classBuilder()
497
- .ep({
498
- ...commonParams,
497
+ const command = makeBuilder(commonParams, "Signin", "SigninClient", getEndpointPlugin);
498
+ const _ep0 = {
499
499
  IsControlPlane: { type: "staticContextParams", value: false },
500
- })
501
- .m(function (Command, cs, config, o) {
502
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
503
- })
504
- .s("Signin", "CreateOAuth2Token", {})
505
- .n("SigninClient", "CreateOAuth2TokenCommand")
506
- .sc(CreateOAuth2Token$)
507
- .build() {
500
+ };
501
+ const _mw0 = (Command, cs, config, o) => [];
502
+
503
+ class CreateOAuth2TokenCommand extends command(_ep0, _mw0, "CreateOAuth2Token", CreateOAuth2Token$) {
508
504
  }
509
505
 
510
506
  const commands = {
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -9,9 +10,10 @@ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntim
9
10
  const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
13
14
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
14
15
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
15
17
 
16
18
  const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
17
19
  return {
@@ -75,7 +77,7 @@ const commonParams = {
75
77
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
78
  };
77
79
 
78
- var version = "3.997.22";
80
+ var version = "3.997.26";
79
81
  var packageInfo = {
80
82
  version: version};
81
83
 
@@ -311,6 +313,7 @@ const getRuntimeConfig$1 = (config) => {
311
313
  serviceTarget: "SWBPortalService",
312
314
  },
313
315
  serviceId: config?.serviceId ?? "SSO",
316
+ sha256: config?.sha256 ?? Sha256,
314
317
  urlParser: config?.urlParser ?? parseUrl,
315
318
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
316
319
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -343,7 +346,6 @@ const getRuntimeConfig = (config) => {
343
346
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
344
347
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
345
348
  }, config),
346
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
347
349
  streamCollector: config?.streamCollector ?? streamCollector,
348
350
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
349
351
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -431,16 +433,11 @@ class SSOClient extends Client {
431
433
  }
432
434
  }
433
435
 
434
- class GetRoleCredentialsCommand extends Command
435
- .classBuilder()
436
- .ep(commonParams)
437
- .m(function (Command, cs, config, o) {
438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
439
- })
440
- .s("SWBPortalService", "GetRoleCredentials", {})
441
- .n("SSOClient", "GetRoleCredentialsCommand")
442
- .sc(GetRoleCredentials$)
443
- .build() {
436
+ const command = makeBuilder(commonParams, "SWBPortalService", "SSOClient", getEndpointPlugin);
437
+ const _ep0 = {};
438
+ const _mw0 = (Command, cs, config, o) => [];
439
+
440
+ class GetRoleCredentialsCommand extends command(_ep0, _mw0, "GetRoleCredentials", GetRoleCredentials$) {
444
441
  }
445
442
 
446
443
  const commands = {
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -9,9 +10,10 @@ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntim
9
10
  const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
13
14
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
14
15
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
15
17
 
16
18
  const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
17
19
  return {
@@ -75,7 +77,7 @@ const commonParams = {
75
77
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
78
  };
77
79
 
78
- var version = "3.997.22";
80
+ var version = "3.997.26";
79
81
  var packageInfo = {
80
82
  version: version};
81
83
 
@@ -492,6 +494,7 @@ const getRuntimeConfig$1 = (config) => {
492
494
  serviceTarget: "AWSSSOOIDCService",
493
495
  },
494
496
  serviceId: config?.serviceId ?? "SSO OIDC",
497
+ sha256: config?.sha256 ?? Sha256,
495
498
  urlParser: config?.urlParser ?? parseUrl,
496
499
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
497
500
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -524,7 +527,6 @@ const getRuntimeConfig = (config) => {
524
527
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
525
528
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
526
529
  }, config),
527
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
528
530
  streamCollector: config?.streamCollector ?? streamCollector,
529
531
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
530
532
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -612,16 +614,11 @@ class SSOOIDCClient extends Client {
612
614
  }
613
615
  }
614
616
 
615
- class CreateTokenCommand extends Command
616
- .classBuilder()
617
- .ep(commonParams)
618
- .m(function (Command, cs, config, o) {
619
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
620
- })
621
- .s("AWSSSOOIDCService", "CreateToken", {})
622
- .n("SSOOIDCClient", "CreateTokenCommand")
623
- .sc(CreateToken$)
624
- .build() {
617
+ const command = makeBuilder(commonParams, "AWSSSOOIDCService", "SSOOIDCClient", getEndpointPlugin);
618
+ const _ep0 = {};
619
+ const _mw0 = (Command, cs, config, o) => [];
620
+
621
+ class CreateTokenCommand extends command(_ep0, _mw0, "CreateToken", CreateToken$) {
625
622
  }
626
623
 
627
624
  const commands = {