@slycode/slycode 0.2.10 → 0.2.12

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 (366) hide show
  1. package/dist/messaging/index.js +4 -2
  2. package/dist/messaging/index.js.map +1 -1
  3. package/dist/messaging/stt.d.ts +1 -0
  4. package/dist/messaging/stt.js +66 -57
  5. package/dist/messaging/stt.js.map +1 -1
  6. package/dist/messaging/types.d.ts +1 -0
  7. package/dist/web/.next/BUILD_ID +1 -1
  8. package/dist/web/.next/build-manifest.json +2 -2
  9. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  10. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
  11. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
  13. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
  14. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
  15. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
  16. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
  17. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
  18. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
  19. package/dist/web/.next/prerender-manifest.json +3 -3
  20. package/dist/web/.next/server/app/_global-error.html +2 -2
  21. package/dist/web/.next/server/app/_global-error.rsc +1 -1
  22. package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  23. package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  24. package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  25. package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  26. package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  27. package/dist/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  28. package/dist/web/.next/server/app/_not-found.html +1 -1
  29. package/dist/web/.next/server/app/_not-found.rsc +2 -2
  30. package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  31. package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  32. package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  33. package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  34. package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  35. package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  36. package/dist/web/.next/server/app/api/cli-assets/assistant/route.js.nft.json +1 -1
  37. package/dist/web/.next/server/app/api/cli-assets/fix/route.js.nft.json +1 -1
  38. package/dist/web/.next/server/app/api/cli-assets/import/route.js.nft.json +1 -1
  39. package/dist/web/.next/server/app/api/cli-assets/route.js.nft.json +1 -1
  40. package/dist/web/.next/server/app/api/cli-assets/store/preview/route.js.nft.json +1 -1
  41. package/dist/web/.next/server/app/api/cli-assets/store/route.js.nft.json +1 -1
  42. package/dist/web/.next/server/app/api/cli-assets/sync/route.js.nft.json +1 -1
  43. package/dist/web/.next/server/app/api/cli-assets/updates/route.js.nft.json +1 -1
  44. package/dist/web/.next/server/app/api/dashboard/route.js.nft.json +1 -1
  45. package/dist/web/.next/server/app/api/file/route.js.nft.json +1 -1
  46. package/dist/web/.next/server/app/api/git-status/route.js.nft.json +1 -1
  47. package/dist/web/.next/server/app/api/kanban/route.js.nft.json +1 -1
  48. package/dist/web/.next/server/app/api/kanban/stream/route.js.nft.json +1 -1
  49. package/dist/web/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
  50. package/dist/web/.next/server/app/api/projects/reorder/route.js.nft.json +1 -1
  51. package/dist/web/.next/server/app/api/projects/route.js.nft.json +1 -1
  52. package/dist/web/.next/server/app/api/scheduler/route.js.nft.json +1 -1
  53. package/dist/web/.next/server/app/api/search/route.js.nft.json +1 -1
  54. package/dist/web/.next/server/app/api/sly-actions/invalidate/route.js.nft.json +1 -1
  55. package/dist/web/.next/server/app/api/sly-actions/route.js.nft.json +1 -1
  56. package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
  57. package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
  58. package/dist/web/.next/server/app/api/version-check/route.js.nft.json +1 -1
  59. package/dist/web/.next/server/app/page.js.nft.json +1 -1
  60. package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
  61. package/dist/web/.next/server/app/project/[id]/page.js.nft.json +1 -1
  62. package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
  63. package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
  64. package/dist/web/.next/server/chunks/{[root-of-the-server]__104b2da3._.js → [root-of-the-server]__4297cb97._.js} +3 -3
  65. package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
  66. package/dist/web/.next/server/chunks/{[root-of-the-server]__41df0777._.js → [root-of-the-server]__cf14e306._.js} +2 -2
  67. package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
  68. package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
  69. package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
  70. package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
  71. package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
  72. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
  73. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
  74. package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
  75. package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
  76. package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
  77. package/dist/web/.next/server/pages/404.html +1 -1
  78. package/dist/web/.next/server/pages/500.html +2 -2
  79. package/dist/web/.next/server/server-reference-manifest.js +1 -1
  80. package/dist/web/.next/server/server-reference-manifest.json +1 -1
  81. package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
  82. package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
  83. package/dist/web/.next/static/chunks/3df3846316317676.css +1 -0
  84. package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
  85. package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
  86. package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
  87. package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
  88. package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
  89. package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
  90. package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
  91. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
  92. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
  93. package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
  94. package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
  95. package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
  96. package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
  97. package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
  98. package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
  99. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  100. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  101. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  102. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  103. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  104. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  105. package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
  106. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  107. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
  108. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
  109. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
  110. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
  111. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
  112. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
  113. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
  114. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
  115. package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
  116. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
  117. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
  118. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
  119. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
  120. package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
  121. package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
  122. package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
  123. package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
  124. package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
  125. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
  126. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
  127. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
  128. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
  129. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
  130. package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
  131. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
  132. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
  133. package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  134. package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  135. package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
  136. package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
  137. package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
  138. package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
  139. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
  140. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  141. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
  142. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
  143. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
  144. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
  145. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
  146. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
  147. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
  148. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
  149. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
  150. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
  151. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
  152. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
  153. package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
  154. package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
  155. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
  156. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
  157. package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
  158. package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
  159. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
  160. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
  161. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
  162. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
  163. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
  164. package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
  165. package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
  166. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
  167. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
  168. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  169. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  170. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
  171. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
  172. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  173. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  174. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
  175. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
  176. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  177. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
  178. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  179. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  180. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  181. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  182. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  183. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  184. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
  185. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  186. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
  187. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
  188. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
  189. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
  190. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  191. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  192. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
  193. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
  194. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  195. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
  196. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
  197. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
  198. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
  199. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
  200. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
  201. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
  202. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  203. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  204. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
  205. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
  206. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
  207. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  208. package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
  209. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
  210. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
  211. package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
  212. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
  213. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
  214. package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
  215. package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
  216. package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
  217. package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
  218. package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
  219. package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  220. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
  221. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
  222. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
  223. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
  224. package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
  225. package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
  226. package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
  227. package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
  228. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
  229. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  230. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
  231. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
  232. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
  233. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
  234. package/dist/web/node_modules/@smithy/core/package.json +146 -0
  235. package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  236. package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  237. package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
  238. package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
  239. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
  240. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
  241. package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
  242. package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
  243. package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
  244. package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
  245. package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
  246. package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
  247. package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
  248. package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
  249. package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
  250. package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
  251. package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  252. package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
  253. package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
  254. package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
  255. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
  256. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
  257. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
  258. package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
  259. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
  260. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
  261. package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
  262. package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
  263. package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
  264. package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
  265. package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
  266. package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
  267. package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
  268. package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
  269. package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
  270. package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  271. package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
  272. package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
  273. package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
  274. package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
  275. package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
  276. package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
  277. package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
  278. package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
  279. package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
  280. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  281. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  282. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
  283. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
  284. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  285. package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  286. package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
  287. package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
  288. package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
  289. package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
  290. package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
  291. package/dist/web/node_modules/@smithy/types/package.json +61 -0
  292. package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
  293. package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
  294. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
  295. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
  296. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
  297. package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
  298. package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
  299. package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
  300. package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
  301. package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
  302. package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  303. package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
  304. package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
  305. package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
  306. package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
  307. package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
  308. package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
  309. package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
  310. package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
  311. package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
  312. package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
  313. package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
  314. package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
  315. package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
  316. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
  317. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  318. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
  319. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
  320. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
  321. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
  322. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
  323. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
  324. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
  325. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
  326. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
  327. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
  328. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
  329. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
  330. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
  331. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
  332. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
  333. package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
  334. package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
  335. package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
  336. package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
  337. package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
  338. package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
  339. package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
  340. package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
  341. package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  342. package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
  343. package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  344. package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
  345. package/dist/web/node_modules/tslib/package.json +47 -0
  346. package/dist/web/node_modules/tslib/tslib.js +484 -0
  347. package/dist/web/package-lock.json +470 -161
  348. package/dist/web/package.json +3 -1
  349. package/dist/web/src/app/api/transcribe/route.ts +84 -68
  350. package/dist/web/src/components/VoiceControlBar.tsx +1 -0
  351. package/dist/web/src/lib/webm-to-ogg-opus.ts +254 -0
  352. package/dist/web/tsconfig.tsbuildinfo +1 -1
  353. package/package.json +1 -1
  354. package/templates/kanban-seed.json +1 -1
  355. package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
  356. package/dist/web/.next/server/chunks/[root-of-the-server]__1cdc76ef._.js +0 -3
  357. package/dist/web/.next/server/chunks/[root-of-the-server]__3998d59e._.js +0 -19
  358. package/dist/web/.next/server/chunks/[root-of-the-server]__3dc5531f._.js +0 -5
  359. package/dist/web/.next/server/chunks/[root-of-the-server]__403750fd._.js +0 -3
  360. package/dist/web/.next/server/chunks/[root-of-the-server]__934c9bb4._.js +0 -5
  361. package/dist/web/.next/server/chunks/[root-of-the-server]__e00fb85f._.js +0 -9
  362. package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
  363. package/dist/web/.next/static/chunks/f3d7065d54a0b9ac.css +0 -1
  364. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
  365. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
  366. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
@@ -0,0 +1,224 @@
1
+ 'use strict';
2
+
3
+ var sharedIniFileLoader = require('@smithy/shared-ini-file-loader');
4
+ var propertyProvider = require('@smithy/property-provider');
5
+ var client = require('@aws-sdk/core/client');
6
+ var credentialProviderLogin = require('@aws-sdk/credential-provider-login');
7
+
8
+ const resolveCredentialSource = (credentialSource, profileName, logger) => {
9
+ const sourceProvidersMap = {
10
+ EcsContainer: async (options) => {
11
+ const { fromHttp } = await import('@aws-sdk/credential-provider-http');
12
+ const { fromContainerMetadata } = await import('@smithy/credential-provider-imds');
13
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
14
+ return async () => propertyProvider.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
15
+ },
16
+ Ec2InstanceMetadata: async (options) => {
17
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
18
+ const { fromInstanceMetadata } = await import('@smithy/credential-provider-imds');
19
+ return async () => fromInstanceMetadata(options)().then(setNamedProvider);
20
+ },
21
+ Environment: async (options) => {
22
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
23
+ const { fromEnv } = await import('@aws-sdk/credential-provider-env');
24
+ return async () => fromEnv(options)().then(setNamedProvider);
25
+ },
26
+ };
27
+ if (credentialSource in sourceProvidersMap) {
28
+ return sourceProvidersMap[credentialSource];
29
+ }
30
+ else {
31
+ throw new propertyProvider.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` +
32
+ `expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
33
+ }
34
+ };
35
+ const setNamedProvider = (creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
36
+
37
+ const isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
38
+ return (Boolean(arg) &&
39
+ typeof arg === "object" &&
40
+ typeof arg.role_arn === "string" &&
41
+ ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 &&
42
+ ["undefined", "string"].indexOf(typeof arg.external_id) > -1 &&
43
+ ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 &&
44
+ (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger })));
45
+ };
46
+ const isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
47
+ const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
48
+ if (withSourceProfile) {
49
+ logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);
50
+ }
51
+ return withSourceProfile;
52
+ };
53
+ const isCredentialSourceProfile = (arg, { profile, logger }) => {
54
+ const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
55
+ if (withProviderProfile) {
56
+ logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);
57
+ }
58
+ return withProviderProfile;
59
+ };
60
+ const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => {
61
+ options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
62
+ const profileData = profiles[profileName];
63
+ const { source_profile, region } = profileData;
64
+ if (!options.roleAssumer) {
65
+ const { getDefaultRoleAssumer } = await import('@aws-sdk/nested-clients/sts');
66
+ options.roleAssumer = getDefaultRoleAssumer({
67
+ ...options.clientConfig,
68
+ credentialProviderLogger: options.logger,
69
+ parentClientConfig: {
70
+ ...callerClientConfig,
71
+ ...options?.parentClientConfig,
72
+ region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region,
73
+ },
74
+ }, options.clientPlugins);
75
+ }
76
+ if (source_profile && source_profile in visitedProfiles) {
77
+ throw new propertyProvider.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` +
78
+ ` ${sharedIniFileLoader.getProfileName(options)}. Profiles visited: ` +
79
+ Object.keys(visitedProfiles).join(", "), { logger: options.logger });
80
+ }
81
+ options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
82
+ const sourceCredsProvider = source_profile
83
+ ? resolveProfileData(source_profile, profiles, options, callerClientConfig, {
84
+ ...visitedProfiles,
85
+ [source_profile]: true,
86
+ }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
87
+ : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();
88
+ if (isCredentialSourceWithoutRoleArn(profileData)) {
89
+ return sourceCredsProvider.then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o"));
90
+ }
91
+ else {
92
+ const params = {
93
+ RoleArn: profileData.role_arn,
94
+ RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,
95
+ ExternalId: profileData.external_id,
96
+ DurationSeconds: parseInt(profileData.duration_seconds || "3600", 10),
97
+ };
98
+ const { mfa_serial } = profileData;
99
+ if (mfa_serial) {
100
+ if (!options.mfaCodeProvider) {
101
+ throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
102
+ }
103
+ params.SerialNumber = mfa_serial;
104
+ params.TokenCode = await options.mfaCodeProvider(mfa_serial);
105
+ }
106
+ const sourceCreds = await sourceCredsProvider;
107
+ return options.roleAssumer(sourceCreds, params).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o"));
108
+ }
109
+ };
110
+ const isCredentialSourceWithoutRoleArn = (section) => {
111
+ return !section.role_arn && !!section.credential_source;
112
+ };
113
+
114
+ const isLoginProfile = (data) => {
115
+ return Boolean(data && data.login_session);
116
+ };
117
+ const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
118
+ const credentials = await credentialProviderLogin.fromLoginCredentials({
119
+ ...options,
120
+ profile: profileName,
121
+ })({ callerClientConfig });
122
+ return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
123
+ };
124
+
125
+ const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
126
+ const resolveProcessCredentials = async (options, profile) => import('@aws-sdk/credential-provider-process').then(({ fromProcess }) => fromProcess({
127
+ ...options,
128
+ profile,
129
+ })().then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
130
+
131
+ const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
132
+ const { fromSSO } = await import('@aws-sdk/credential-provider-sso');
133
+ return fromSSO({
134
+ profile,
135
+ logger: options.logger,
136
+ parentClientConfig: options.parentClientConfig,
137
+ clientConfig: options.clientConfig,
138
+ })({
139
+ callerClientConfig,
140
+ }).then((creds) => {
141
+ if (profileData.sso_session) {
142
+ return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r");
143
+ }
144
+ else {
145
+ return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO_LEGACY", "t");
146
+ }
147
+ });
148
+ };
149
+ const isSsoProfile = (arg) => arg &&
150
+ (typeof arg.sso_start_url === "string" ||
151
+ typeof arg.sso_account_id === "string" ||
152
+ typeof arg.sso_session === "string" ||
153
+ typeof arg.sso_region === "string" ||
154
+ typeof arg.sso_role_name === "string");
155
+
156
+ const isStaticCredsProfile = (arg) => Boolean(arg) &&
157
+ typeof arg === "object" &&
158
+ typeof arg.aws_access_key_id === "string" &&
159
+ typeof arg.aws_secret_access_key === "string" &&
160
+ ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 &&
161
+ ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1;
162
+ const resolveStaticCredentials = async (profile, options) => {
163
+ options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
164
+ const credentials = {
165
+ accessKeyId: profile.aws_access_key_id,
166
+ secretAccessKey: profile.aws_secret_access_key,
167
+ sessionToken: profile.aws_session_token,
168
+ ...(profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }),
169
+ ...(profile.aws_account_id && { accountId: profile.aws_account_id }),
170
+ };
171
+ return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n");
172
+ };
173
+
174
+ const isWebIdentityProfile = (arg) => Boolean(arg) &&
175
+ typeof arg === "object" &&
176
+ typeof arg.web_identity_token_file === "string" &&
177
+ typeof arg.role_arn === "string" &&
178
+ ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
179
+ const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('@aws-sdk/credential-provider-web-identity').then(({ fromTokenFile }) => fromTokenFile({
180
+ webIdentityTokenFile: profile.web_identity_token_file,
181
+ roleArn: profile.role_arn,
182
+ roleSessionName: profile.role_session_name,
183
+ roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,
184
+ logger: options.logger,
185
+ parentClientConfig: options.parentClientConfig,
186
+ })({
187
+ callerClientConfig,
188
+ }).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")));
189
+
190
+ const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
191
+ const data = profiles[profileName];
192
+ if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
193
+ return resolveStaticCredentials(data, options);
194
+ }
195
+ if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
196
+ return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData);
197
+ }
198
+ if (isStaticCredsProfile(data)) {
199
+ return resolveStaticCredentials(data, options);
200
+ }
201
+ if (isWebIdentityProfile(data)) {
202
+ return resolveWebIdentityCredentials(data, options, callerClientConfig);
203
+ }
204
+ if (isProcessProfile(data)) {
205
+ return resolveProcessCredentials(options, profileName);
206
+ }
207
+ if (isSsoProfile(data)) {
208
+ return await resolveSsoCredentials(profileName, data, options, callerClientConfig);
209
+ }
210
+ if (isLoginProfile(data)) {
211
+ return resolveLoginCredentials(profileName, options, callerClientConfig);
212
+ }
213
+ throw new propertyProvider.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
214
+ };
215
+
216
+ const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
217
+ init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
218
+ const profiles = await sharedIniFileLoader.parseKnownFiles(init);
219
+ return resolveProfileData(sharedIniFileLoader.getProfileName({
220
+ profile: init.profile ?? callerClientConfig?.profile,
221
+ }), profiles, init, callerClientConfig);
222
+ };
223
+
224
+ exports.fromIni = fromIni;
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@aws-sdk/credential-provider-ini",
3
+ "version": "3.972.22",
4
+ "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
+ "main": "./dist-cjs/index.js",
6
+ "module": "./dist-es/index.js",
7
+ "scripts": {
8
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
9
+ "build:cjs": "node ../../scripts/compilation/inline credential-provider-ini",
10
+ "build:es": "tsc -p tsconfig.es.json",
11
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
12
+ "build:types": "tsc -p tsconfig.types.json",
13
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
+ "test": "yarn g:vitest run",
16
+ "test:watch": "yarn g:vitest watch",
17
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
18
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
19
+ },
20
+ "keywords": [
21
+ "aws",
22
+ "credentials"
23
+ ],
24
+ "sideEffects": false,
25
+ "author": {
26
+ "name": "AWS SDK for JavaScript Team",
27
+ "url": "https://aws.amazon.com/javascript/"
28
+ },
29
+ "license": "Apache-2.0",
30
+ "dependencies": {
31
+ "@aws-sdk/core": "^3.973.22",
32
+ "@aws-sdk/credential-provider-env": "^3.972.20",
33
+ "@aws-sdk/credential-provider-http": "^3.972.22",
34
+ "@aws-sdk/credential-provider-login": "^3.972.22",
35
+ "@aws-sdk/credential-provider-process": "^3.972.20",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.22",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.22",
38
+ "@aws-sdk/nested-clients": "^3.996.12",
39
+ "@aws-sdk/types": "^3.973.6",
40
+ "@smithy/credential-provider-imds": "^4.2.12",
41
+ "@smithy/property-provider": "^4.2.12",
42
+ "@smithy/shared-ini-file-loader": "^4.4.7",
43
+ "@smithy/types": "^4.13.1",
44
+ "tslib": "^2.6.2"
45
+ },
46
+ "devDependencies": {
47
+ "@tsconfig/recommended": "1.0.1",
48
+ "@types/node": "^20.14.8",
49
+ "concurrently": "7.0.0",
50
+ "downlevel-dts": "0.10.1",
51
+ "premove": "4.0.0",
52
+ "typescript": "~5.8.3"
53
+ },
54
+ "types": "./dist-types/index.d.ts",
55
+ "engines": {
56
+ "node": ">=20.0.0"
57
+ },
58
+ "typesVersions": {
59
+ "<4.5": {
60
+ "dist-types/*": [
61
+ "dist-types/ts3.4/*"
62
+ ]
63
+ }
64
+ },
65
+ "files": [
66
+ "dist-*/**"
67
+ ],
68
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-ini",
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
72
+ "directory": "packages-internal/credential-provider-ini"
73
+ }
74
+ }
@@ -0,0 +1,286 @@
1
+ 'use strict';
2
+
3
+ var client = require('@aws-sdk/core/client');
4
+ var propertyProvider = require('@smithy/property-provider');
5
+ var sharedIniFileLoader = require('@smithy/shared-ini-file-loader');
6
+ var protocolHttp = require('@smithy/protocol-http');
7
+ var node_crypto = require('node:crypto');
8
+ var node_fs = require('node:fs');
9
+ var node_os = require('node:os');
10
+ var node_path = require('node:path');
11
+
12
+ class LoginCredentialsFetcher {
13
+ profileData;
14
+ init;
15
+ callerClientConfig;
16
+ static REFRESH_THRESHOLD = 5 * 60 * 1000;
17
+ constructor(profileData, init, callerClientConfig) {
18
+ this.profileData = profileData;
19
+ this.init = init;
20
+ this.callerClientConfig = callerClientConfig;
21
+ }
22
+ async loadCredentials() {
23
+ const token = await this.loadToken();
24
+ if (!token) {
25
+ throw new propertyProvider.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger });
26
+ }
27
+ const accessToken = token.accessToken;
28
+ const now = Date.now();
29
+ const expiryTime = new Date(accessToken.expiresAt).getTime();
30
+ const timeUntilExpiry = expiryTime - now;
31
+ if (timeUntilExpiry <= LoginCredentialsFetcher.REFRESH_THRESHOLD) {
32
+ return this.refresh(token);
33
+ }
34
+ return {
35
+ accessKeyId: accessToken.accessKeyId,
36
+ secretAccessKey: accessToken.secretAccessKey,
37
+ sessionToken: accessToken.sessionToken,
38
+ accountId: accessToken.accountId,
39
+ expiration: new Date(accessToken.expiresAt),
40
+ };
41
+ }
42
+ get logger() {
43
+ return this.init?.logger;
44
+ }
45
+ get loginSession() {
46
+ return this.profileData.login_session;
47
+ }
48
+ async refresh(token) {
49
+ const { SigninClient, CreateOAuth2TokenCommand } = await import('@aws-sdk/nested-clients/signin');
50
+ const { logger, userAgentAppId } = this.callerClientConfig ?? {};
51
+ const isH2 = (requestHandler) => {
52
+ return requestHandler?.metadata?.handlerProtocol === "h2";
53
+ };
54
+ const requestHandler = isH2(this.callerClientConfig?.requestHandler)
55
+ ? undefined
56
+ : this.callerClientConfig?.requestHandler;
57
+ const region = this.profileData.region ?? (await this.callerClientConfig?.region?.()) ?? process.env.AWS_REGION;
58
+ const client = new SigninClient({
59
+ credentials: {
60
+ accessKeyId: "",
61
+ secretAccessKey: "",
62
+ },
63
+ region,
64
+ requestHandler,
65
+ logger,
66
+ userAgentAppId,
67
+ ...this.init?.clientConfig,
68
+ });
69
+ this.createDPoPInterceptor(client.middlewareStack);
70
+ const commandInput = {
71
+ tokenInput: {
72
+ clientId: token.clientId,
73
+ refreshToken: token.refreshToken,
74
+ grantType: "refresh_token",
75
+ },
76
+ };
77
+ try {
78
+ const response = await client.send(new CreateOAuth2TokenCommand(commandInput));
79
+ const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {};
80
+ const { refreshToken, expiresIn } = response.tokenOutput ?? {};
81
+ if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) {
82
+ throw new propertyProvider.CredentialsProviderError("Token refresh response missing required fields", {
83
+ logger: this.logger,
84
+ tryNextLink: false,
85
+ });
86
+ }
87
+ const expiresInMs = (expiresIn ?? 900) * 1000;
88
+ const expiration = new Date(Date.now() + expiresInMs);
89
+ const updatedToken = {
90
+ ...token,
91
+ accessToken: {
92
+ ...token.accessToken,
93
+ accessKeyId: accessKeyId,
94
+ secretAccessKey: secretAccessKey,
95
+ sessionToken: sessionToken,
96
+ expiresAt: expiration.toISOString(),
97
+ },
98
+ refreshToken: refreshToken,
99
+ };
100
+ await this.saveToken(updatedToken);
101
+ const newAccessToken = updatedToken.accessToken;
102
+ return {
103
+ accessKeyId: newAccessToken.accessKeyId,
104
+ secretAccessKey: newAccessToken.secretAccessKey,
105
+ sessionToken: newAccessToken.sessionToken,
106
+ accountId: newAccessToken.accountId,
107
+ expiration,
108
+ };
109
+ }
110
+ catch (error) {
111
+ if (error.name === "AccessDeniedException") {
112
+ const errorType = error.error;
113
+ let message;
114
+ switch (errorType) {
115
+ case "TOKEN_EXPIRED":
116
+ message = "Your session has expired. Please reauthenticate.";
117
+ break;
118
+ case "USER_CREDENTIALS_CHANGED":
119
+ message =
120
+ "Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";
121
+ break;
122
+ case "INSUFFICIENT_PERMISSIONS":
123
+ message =
124
+ "Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";
125
+ break;
126
+ default:
127
+ message = `Failed to refresh token: ${String(error)}. Please re-authenticate using \`aws login\``;
128
+ }
129
+ throw new propertyProvider.CredentialsProviderError(message, { logger: this.logger, tryNextLink: false });
130
+ }
131
+ throw new propertyProvider.CredentialsProviderError(`Failed to refresh token: ${String(error)}. Please re-authenticate using aws login`, { logger: this.logger });
132
+ }
133
+ }
134
+ async loadToken() {
135
+ const tokenFilePath = this.getTokenFilePath();
136
+ try {
137
+ let tokenData;
138
+ try {
139
+ tokenData = await sharedIniFileLoader.readFile(tokenFilePath, { ignoreCache: this.init?.ignoreCache });
140
+ }
141
+ catch {
142
+ tokenData = await node_fs.promises.readFile(tokenFilePath, "utf8");
143
+ }
144
+ const token = JSON.parse(tokenData);
145
+ const missingFields = ["accessToken", "clientId", "refreshToken", "dpopKey"].filter((k) => !token[k]);
146
+ if (!token.accessToken?.accountId) {
147
+ missingFields.push("accountId");
148
+ }
149
+ if (missingFields.length > 0) {
150
+ throw new propertyProvider.CredentialsProviderError(`Token validation failed, missing fields: ${missingFields.join(", ")}`, {
151
+ logger: this.logger,
152
+ tryNextLink: false,
153
+ });
154
+ }
155
+ return token;
156
+ }
157
+ catch (error) {
158
+ throw new propertyProvider.CredentialsProviderError(`Failed to load token from ${tokenFilePath}: ${String(error)}`, {
159
+ logger: this.logger,
160
+ tryNextLink: false,
161
+ });
162
+ }
163
+ }
164
+ async saveToken(token) {
165
+ const tokenFilePath = this.getTokenFilePath();
166
+ const directory = node_path.dirname(tokenFilePath);
167
+ try {
168
+ await node_fs.promises.mkdir(directory, { recursive: true });
169
+ }
170
+ catch (error) {
171
+ }
172
+ await node_fs.promises.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8");
173
+ }
174
+ getTokenFilePath() {
175
+ const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? node_path.join(node_os.homedir(), ".aws", "login", "cache");
176
+ const loginSessionBytes = Buffer.from(this.loginSession, "utf8");
177
+ const loginSessionSha256 = node_crypto.createHash("sha256").update(loginSessionBytes).digest("hex");
178
+ return node_path.join(directory, `${loginSessionSha256}.json`);
179
+ }
180
+ derToRawSignature(derSignature) {
181
+ let offset = 2;
182
+ if (derSignature[offset] !== 0x02) {
183
+ throw new Error("Invalid DER signature");
184
+ }
185
+ offset++;
186
+ const rLength = derSignature[offset++];
187
+ let r = derSignature.subarray(offset, offset + rLength);
188
+ offset += rLength;
189
+ if (derSignature[offset] !== 0x02) {
190
+ throw new Error("Invalid DER signature");
191
+ }
192
+ offset++;
193
+ const sLength = derSignature[offset++];
194
+ let s = derSignature.subarray(offset, offset + sLength);
195
+ r = r[0] === 0x00 ? r.subarray(1) : r;
196
+ s = s[0] === 0x00 ? s.subarray(1) : s;
197
+ const rPadded = Buffer.concat([Buffer.alloc(32 - r.length), r]);
198
+ const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]);
199
+ return Buffer.concat([rPadded, sPadded]);
200
+ }
201
+ createDPoPInterceptor(middlewareStack) {
202
+ middlewareStack.add((next) => async (args) => {
203
+ if (protocolHttp.HttpRequest.isInstance(args.request)) {
204
+ const request = args.request;
205
+ const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : ""}${request.path}`;
206
+ const dpop = await this.generateDpop(request.method, actualEndpoint);
207
+ request.headers = {
208
+ ...request.headers,
209
+ DPoP: dpop,
210
+ };
211
+ }
212
+ return next(args);
213
+ }, {
214
+ step: "finalizeRequest",
215
+ name: "dpopInterceptor",
216
+ override: true,
217
+ });
218
+ }
219
+ async generateDpop(method = "POST", endpoint) {
220
+ const token = await this.loadToken();
221
+ try {
222
+ const privateKey = node_crypto.createPrivateKey({
223
+ key: token.dpopKey,
224
+ format: "pem",
225
+ type: "sec1",
226
+ });
227
+ const publicKey = node_crypto.createPublicKey(privateKey);
228
+ const publicDer = publicKey.export({ format: "der", type: "spki" });
229
+ let pointStart = -1;
230
+ for (let i = 0; i < publicDer.length; i++) {
231
+ if (publicDer[i] === 0x04) {
232
+ pointStart = i;
233
+ break;
234
+ }
235
+ }
236
+ const x = publicDer.slice(pointStart + 1, pointStart + 33);
237
+ const y = publicDer.slice(pointStart + 33, pointStart + 65);
238
+ const header = {
239
+ alg: "ES256",
240
+ typ: "dpop+jwt",
241
+ jwk: {
242
+ kty: "EC",
243
+ crv: "P-256",
244
+ x: x.toString("base64url"),
245
+ y: y.toString("base64url"),
246
+ },
247
+ };
248
+ const payload = {
249
+ jti: crypto.randomUUID(),
250
+ htm: method,
251
+ htu: endpoint,
252
+ iat: Math.floor(Date.now() / 1000),
253
+ };
254
+ const headerB64 = Buffer.from(JSON.stringify(header)).toString("base64url");
255
+ const payloadB64 = Buffer.from(JSON.stringify(payload)).toString("base64url");
256
+ const message = `${headerB64}.${payloadB64}`;
257
+ const asn1Signature = node_crypto.sign("sha256", Buffer.from(message), privateKey);
258
+ const rawSignature = this.derToRawSignature(asn1Signature);
259
+ const signatureB64 = rawSignature.toString("base64url");
260
+ return `${message}.${signatureB64}`;
261
+ }
262
+ catch (error) {
263
+ throw new propertyProvider.CredentialsProviderError(`Failed to generate Dpop proof: ${error instanceof Error ? error.message : String(error)}`, { logger: this.logger, tryNextLink: false });
264
+ }
265
+ }
266
+ }
267
+
268
+ const fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
269
+ init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
270
+ const profiles = await sharedIniFileLoader.parseKnownFiles(init || {});
271
+ const profileName = sharedIniFileLoader.getProfileName({
272
+ profile: init?.profile ?? callerClientConfig?.profile,
273
+ });
274
+ const profile = profiles[profileName];
275
+ if (!profile?.login_session) {
276
+ throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} does not contain login_session.`, {
277
+ tryNextLink: true,
278
+ logger: init?.logger,
279
+ });
280
+ }
281
+ const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig);
282
+ const credentials = await fetcher.loadCredentials();
283
+ return client.setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD");
284
+ };
285
+
286
+ exports.fromLoginCredentials = fromLoginCredentials;
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "@aws-sdk/credential-provider-login",
3
+ "version": "3.972.22",
4
+ "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
+ "main": "./dist-cjs/index.js",
6
+ "module": "./dist-es/index.js",
7
+ "scripts": {
8
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
9
+ "build:cjs": "node ../../scripts/compilation/inline credential-provider-login",
10
+ "build:es": "tsc -p tsconfig.es.json",
11
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
12
+ "build:types": "tsc -p tsconfig.types.json",
13
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
+ "test": "yarn g:vitest run",
16
+ "test:watch": "yarn g:vitest watch"
17
+ },
18
+ "keywords": [
19
+ "aws",
20
+ "credentials",
21
+ "signin",
22
+ "login"
23
+ ],
24
+ "sideEffects": false,
25
+ "author": {
26
+ "name": "AWS SDK for JavaScript Team",
27
+ "url": "https://aws.amazon.com/javascript/"
28
+ },
29
+ "license": "Apache-2.0",
30
+ "dependencies": {
31
+ "@aws-sdk/core": "^3.973.22",
32
+ "@aws-sdk/nested-clients": "^3.996.12",
33
+ "@aws-sdk/types": "^3.973.6",
34
+ "@smithy/property-provider": "^4.2.12",
35
+ "@smithy/protocol-http": "^5.3.12",
36
+ "@smithy/shared-ini-file-loader": "^4.4.7",
37
+ "@smithy/types": "^4.13.1",
38
+ "tslib": "^2.6.2"
39
+ },
40
+ "devDependencies": {
41
+ "@tsconfig/recommended": "1.0.1",
42
+ "@types/node": "^20.14.8",
43
+ "concurrently": "7.0.0",
44
+ "downlevel-dts": "0.10.1",
45
+ "premove": "4.0.0",
46
+ "typescript": "~5.8.3"
47
+ },
48
+ "types": "./dist-types/index.d.ts",
49
+ "engines": {
50
+ "node": ">=20.0.0"
51
+ },
52
+ "typesVersions": {
53
+ "<4.5": {
54
+ "dist-types/*": [
55
+ "dist-types/ts3.4/*"
56
+ ]
57
+ }
58
+ },
59
+ "files": [
60
+ "dist-*/**"
61
+ ],
62
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-login",
63
+ "repository": {
64
+ "type": "git",
65
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
66
+ "directory": "packages-internal/credential-provider-login"
67
+ }
68
+ }