@aws/lsp-codewhisperer 0.0.27 → 0.0.29

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 (595) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +62 -1
  3. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  4. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
  5. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  6. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
  7. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/package.json +6 -6
  8. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +9 -0
  9. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/index.js +193 -76
  10. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http-handler.js +39 -15
  11. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  12. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-handler.js +9 -1
  13. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/server.mock.js +9 -2
  14. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  15. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  16. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +22 -0
  17. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
  18. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  19. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/write-request-body.js +13 -9
  20. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  21. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +7 -0
  22. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +11 -0
  23. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +7 -0
  24. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  25. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  26. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
  27. package/node_modules/{@smithy/node-http-handler/dist-types → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4}/set-socket-keep-alive.d.ts +7 -6
  28. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
  29. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  30. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/package.json +10 -10
  31. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
  32. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
  33. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +53 -0
  34. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +53 -0
  35. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/package.json +6 -6
  36. package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
  37. package/out/client/token/bearer-token-service.json +1650 -96
  38. package/out/client/token/codewhisperer.d.ts +1 -1
  39. package/out/constants.d.ts +6 -0
  40. package/out/constants.js +7 -1
  41. package/out/constants.js.map +1 -1
  42. package/out/language-server/amazonQServiceManager/AmazonQTokenServiceManager.d.ts +90 -0
  43. package/out/language-server/amazonQServiceManager/AmazonQTokenServiceManager.js +466 -0
  44. package/out/language-server/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -0
  45. package/out/language-server/amazonQServiceManager/BaseAmazonQServiceManager.d.ts +5 -0
  46. package/out/language-server/amazonQServiceManager/BaseAmazonQServiceManager.js +3 -0
  47. package/out/language-server/amazonQServiceManager/BaseAmazonQServiceManager.js.map +1 -0
  48. package/out/language-server/amazonQServiceManager/errors.d.ts +28 -0
  49. package/out/language-server/amazonQServiceManager/errors.js +70 -0
  50. package/out/language-server/amazonQServiceManager/errors.js.map +1 -0
  51. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.d.ts +38 -0
  52. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js +85 -0
  53. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js.map +1 -0
  54. package/out/language-server/chat/chatController.d.ts +1 -1
  55. package/out/language-server/chat/chatController.js +19 -3
  56. package/out/language-server/chat/chatController.js.map +1 -1
  57. package/out/language-server/chat/chatSessionManagementService.d.ts +3 -8
  58. package/out/language-server/chat/chatSessionManagementService.js +5 -57
  59. package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
  60. package/out/language-server/chat/chatSessionService.d.ts +2 -3
  61. package/out/language-server/chat/chatSessionService.js +7 -21
  62. package/out/language-server/chat/chatSessionService.js.map +1 -1
  63. package/out/language-server/chat/contexts/triggerContext.d.ts +1 -1
  64. package/out/language-server/chat/contexts/triggerContext.js +2 -1
  65. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  66. package/out/language-server/chat/telemetry/chatTelemetryController.js +88 -81
  67. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  68. package/out/language-server/codeWhispererSecurityScanServer.d.ts +2 -4
  69. package/out/language-server/codeWhispererSecurityScanServer.js +24 -11
  70. package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
  71. package/out/language-server/codeWhispererServer.js +93 -65
  72. package/out/language-server/codeWhispererServer.js.map +1 -1
  73. package/out/language-server/codeWhispererService.d.ts +12 -1
  74. package/out/language-server/codeWhispererService.js +45 -16
  75. package/out/language-server/codeWhispererService.js.map +1 -1
  76. package/out/language-server/configuration/qConfigurationServer.d.ts +17 -4
  77. package/out/language-server/configuration/qConfigurationServer.js +103 -14
  78. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  79. package/out/language-server/dependencyGraph/commonUtil.d.ts +0 -1
  80. package/out/language-server/dependencyGraph/commonUtil.js +0 -11
  81. package/out/language-server/dependencyGraph/commonUtil.js.map +1 -1
  82. package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
  83. package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
  84. package/out/language-server/netTransform/transformHandler.d.ts +3 -2
  85. package/out/language-server/netTransform/transformHandler.js +7 -2
  86. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  87. package/out/language-server/netTransformServer.js +3 -3
  88. package/out/language-server/netTransformServer.js.map +1 -1
  89. package/out/language-server/proxy-server.js +3 -14
  90. package/out/language-server/proxy-server.js.map +1 -1
  91. package/out/language-server/qChatServer.d.ts +2 -4
  92. package/out/language-server/qChatServer.js +30 -16
  93. package/out/language-server/qChatServer.js.map +1 -1
  94. package/out/language-server/securityScan/constants.d.ts +3 -0
  95. package/out/language-server/securityScan/constants.js +7 -0
  96. package/out/language-server/securityScan/constants.js.map +1 -0
  97. package/out/language-server/securityScan/securityScanHandler.d.ts +5 -5
  98. package/out/language-server/securityScan/securityScanHandler.js +22 -12
  99. package/out/language-server/securityScan/securityScanHandler.js.map +1 -1
  100. package/out/language-server/telemetry/codeDiffTracker.d.ts +1 -1
  101. package/out/language-server/telemetry/codeDiffTracker.js +16 -13
  102. package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
  103. package/out/language-server/telemetryService.d.ts +7 -5
  104. package/out/language-server/telemetryService.js +29 -20
  105. package/out/language-server/telemetryService.js.map +1 -1
  106. package/out/language-server/testUtils.d.ts +3 -0
  107. package/out/language-server/testUtils.js +12 -1
  108. package/out/language-server/testUtils.js.map +1 -1
  109. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js +2 -2
  110. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js.map +1 -1
  111. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +2 -2
  112. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  113. package/out/language-server/utils.d.ts +3 -0
  114. package/out/language-server/utils.js +15 -0
  115. package/out/language-server/utils.js.map +1 -1
  116. package/package.json +8 -8
  117. package/node_modules/@smithy/node-http-handler/README.md +0 -4
  118. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -21
  119. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -8
  120. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -6
  121. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -14
  122. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
  123. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
  124. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  125. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  126. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  127. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -13
  128. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -13
  129. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -23
  130. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -23
  131. package/out/language-server/auto-trigger/autoTrigger.test.d.ts +0 -1
  132. package/out/language-server/auto-trigger/autoTrigger.test.js +0 -82
  133. package/out/language-server/auto-trigger/autoTrigger.test.js.map +0 -1
  134. package/out/language-server/chat/chatController.test.d.ts +0 -1
  135. package/out/language-server/chat/chatController.test.js +0 -709
  136. package/out/language-server/chat/chatController.test.js.map +0 -1
  137. package/out/language-server/chat/chatEventParser.test.d.ts +0 -1
  138. package/out/language-server/chat/chatEventParser.test.js +0 -239
  139. package/out/language-server/chat/chatEventParser.test.js.map +0 -1
  140. package/out/language-server/chat/chatSessionManagementService.test.d.ts +0 -1
  141. package/out/language-server/chat/chatSessionManagementService.test.js +0 -77
  142. package/out/language-server/chat/chatSessionManagementService.test.js.map +0 -1
  143. package/out/language-server/chat/chatSessionService.test.d.ts +0 -1
  144. package/out/language-server/chat/chatSessionService.test.js +0 -86
  145. package/out/language-server/chat/chatSessionService.test.js.map +0 -1
  146. package/out/language-server/chat/contexts/documentContext.test.d.ts +0 -1
  147. package/out/language-server/chat/contexts/documentContext.test.js +0 -117
  148. package/out/language-server/chat/contexts/documentContext.test.js.map +0 -1
  149. package/out/language-server/chat/contexts/triggerContexts.test.d.ts +0 -1
  150. package/out/language-server/chat/contexts/triggerContexts.test.js +0 -81
  151. package/out/language-server/chat/contexts/triggerContexts.test.js.map +0 -1
  152. package/out/language-server/chat/contexts/utils.test.d.ts +0 -1
  153. package/out/language-server/chat/contexts/utils.test.js +0 -72
  154. package/out/language-server/chat/contexts/utils.test.js.map +0 -1
  155. package/out/language-server/chat/telemetry/chatTelemetryController.test.d.ts +0 -1
  156. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +0 -195
  157. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +0 -1
  158. package/out/language-server/codeWhispererServer.test.d.ts +0 -1
  159. package/out/language-server/codeWhispererServer.test.js +0 -1377
  160. package/out/language-server/codeWhispererServer.test.js.map +0 -1
  161. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.d.ts +0 -1
  162. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +0 -483
  163. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +0 -1
  164. package/out/language-server/dependencyGraph/gitIgnoreFilter.d.ts +0 -7
  165. package/out/language-server/dependencyGraph/gitIgnoreFilter.js +0 -39
  166. package/out/language-server/dependencyGraph/gitIgnoreFilter.js.map +0 -1
  167. package/out/language-server/languageDetection.test.d.ts +0 -1
  168. package/out/language-server/languageDetection.test.js +0 -31
  169. package/out/language-server/languageDetection.test.js.map +0 -1
  170. package/out/language-server/mergeRightUtils.test.d.ts +0 -1
  171. package/out/language-server/mergeRightUtils.test.js +0 -53
  172. package/out/language-server/mergeRightUtils.test.js.map +0 -1
  173. package/out/language-server/netTransform/tests/converter.test.d.ts +0 -1
  174. package/out/language-server/netTransform/tests/converter.test.js +0 -108
  175. package/out/language-server/netTransform/tests/converter.test.js.map +0 -1
  176. package/out/language-server/netTransform/tests/transformHandler.test.d.ts +0 -1
  177. package/out/language-server/netTransform/tests/transformHandler.test.js +0 -252
  178. package/out/language-server/netTransform/tests/transformHandler.test.js.map +0 -1
  179. package/out/language-server/netTransform/tests/validation.test.d.ts +0 -1
  180. package/out/language-server/netTransform/tests/validation.test.js +0 -84
  181. package/out/language-server/netTransform/tests/validation.test.js.map +0 -1
  182. package/out/language-server/qChatServer.test.d.ts +0 -1
  183. package/out/language-server/qChatServer.test.js +0 -51
  184. package/out/language-server/qChatServer.test.js.map +0 -1
  185. package/out/language-server/securityScan/securityScanHandler.test.d.ts +0 -1
  186. package/out/language-server/securityScan/securityScanHandler.test.js +0 -171
  187. package/out/language-server/securityScan/securityScanHandler.test.js.map +0 -1
  188. package/out/language-server/session/sessionManager.test.d.ts +0 -1
  189. package/out/language-server/session/sessionManager.test.js +0 -588
  190. package/out/language-server/session/sessionManager.test.js.map +0 -1
  191. package/out/language-server/telemetry/codeDiffTracker.test.d.ts +0 -1
  192. package/out/language-server/telemetry/codeDiffTracker.test.js +0 -125
  193. package/out/language-server/telemetry/codeDiffTracker.test.js.map +0 -1
  194. package/out/language-server/telemetry/codePercentage.test.d.ts +0 -1
  195. package/out/language-server/telemetry/codePercentage.test.js +0 -214
  196. package/out/language-server/telemetry/codePercentage.test.js.map +0 -1
  197. package/out/language-server/telemetry/userTriggerDecision.test.d.ts +0 -1
  198. package/out/language-server/telemetry/userTriggerDecision.test.js +0 -1348
  199. package/out/language-server/telemetry/userTriggerDecision.test.js.map +0 -1
  200. package/out/language-server/telemetry.test.d.ts +0 -1
  201. package/out/language-server/telemetry.test.js +0 -98
  202. package/out/language-server/telemetry.test.js.map +0 -1
  203. package/out/language-server/telemetryService.test.d.ts +0 -1
  204. package/out/language-server/telemetryService.test.js +0 -771
  205. package/out/language-server/telemetryService.test.js.map +0 -1
  206. package/out/language-server/utilities/filesystemUtilities.d.ts +0 -8
  207. package/out/language-server/utilities/filesystemUtilities.js +0 -30
  208. package/out/language-server/utilities/filesystemUtilities.js.map +0 -1
  209. package/out/language-server/utilities/filesystemUtilities.test.d.ts +0 -1
  210. package/out/language-server/utilities/filesystemUtilities.test.js +0 -85
  211. package/out/language-server/utilities/filesystemUtilities.test.js.map +0 -1
  212. package/out/language-server/utilities/pathUtils.d.ts +0 -27
  213. package/out/language-server/utilities/pathUtils.js +0 -79
  214. package/out/language-server/utilities/pathUtils.js.map +0 -1
  215. package/out/language-server/utilities/pathUtils.test.d.ts +0 -1
  216. package/out/language-server/utilities/pathUtils.test.js +0 -43
  217. package/out/language-server/utilities/pathUtils.test.js.map +0 -1
  218. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.d.ts +0 -5
  219. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js +0 -49
  220. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js.map +0 -1
  221. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.d.ts +0 -1
  222. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js +0 -157
  223. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js.map +0 -1
  224. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.d.ts +0 -1
  225. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js +0 -88
  226. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +0 -1
  227. package/out/language-server/utilities/telemetryUtils.test.d.ts +0 -1
  228. package/out/language-server/utilities/telemetryUtils.test.js +0 -207
  229. package/out/language-server/utilities/telemetryUtils.test.js.map +0 -1
  230. package/out/language-server/utilities/textUtils.d.ts +0 -1
  231. package/out/language-server/utilities/textUtils.js +0 -12
  232. package/out/language-server/utilities/textUtils.js.map +0 -1
  233. package/out/language-server/utilities/textUtils.test.d.ts +0 -1
  234. package/out/language-server/utilities/textUtils.test.js +0 -21
  235. package/out/language-server/utilities/textUtils.test.js.map +0 -1
  236. package/out/language-server/utils.test.d.ts +0 -1
  237. package/out/language-server/utils.test.js +0 -152
  238. package/out/language-server/utils.test.js.map +0 -1
  239. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller}/LICENSE +0 -0
  240. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/README.md +0 -0
  241. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -0
  242. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -0
  243. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -0
  244. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -0
  245. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -0
  246. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/index.js +0 -0
  247. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -0
  248. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -0
  249. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/abort-controller → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler}/LICENSE +0 -0
  250. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/constants.js +0 -0
  251. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/get-transformed-headers.js +0 -0
  252. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http-handler.js +0 -0
  253. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -0
  254. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -0
  255. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-handler.js +0 -0
  256. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/readable.mock.js +0 -0
  257. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/server.mock.js +0 -0
  258. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-connection-timeout.js +0 -0
  259. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -0
  260. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-timeout.js +0 -0
  261. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/collector.js +0 -0
  262. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/index.js +0 -0
  263. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -0
  264. /package/node_modules/{@smithy/node-http-handler/dist-cjs/write-request-body.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
  265. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Field.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
  266. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/constants.js +0 -0
  267. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/get-transformed-headers.js +0 -0
  268. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/index.js +0 -0
  269. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-pool.js +0 -0
  270. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/readable.mock.js +0 -0
  271. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/collector.js +0 -0
  272. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -0
  273. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/constants.d.ts +0 -0
  274. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -0
  275. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/index.d.ts +0 -0
  276. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -0
  277. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -0
  278. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-handler.d.ts +0 -0
  279. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/readable.mock.d.ts +0 -0
  280. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/server.mock.d.ts +0 -0
  281. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -0
  282. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/index.d.ts +0 -0
  283. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -0
  284. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -0
  285. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -0
  286. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/index.d.ts +0 -0
  287. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -0
  288. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -0
  289. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -0
  290. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -0
  291. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -0
  292. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -0
  293. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -0
  294. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -0
  295. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -0
  296. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/write-request-body.d.ts +0 -0
  297. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/LICENSE +0 -0
  298. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/README.md +0 -0
  299. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js} +0 -0
  300. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js} +0 -0
  301. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
  302. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -0
  303. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
  304. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js} +0 -0
  305. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js} +0 -0
  306. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/types.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js} +0 -0
  307. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/abort.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js} +0 -0
  308. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Field.js +0 -0
  309. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Fields.js +0 -0
  310. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  311. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -0
  312. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +0 -0
  313. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +0 -0
  314. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/index.js +0 -0
  315. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +0 -0
  316. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/types.js +0 -0
  317. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -0
  318. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +0 -0
  319. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  320. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -0
  321. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -0
  322. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +0 -0
  323. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -0
  324. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +0 -0
  325. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
  326. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
  327. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
  328. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
  329. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
  330. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
  331. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
  332. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  333. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
  334. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/types.d.ts +0 -0
  335. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/LICENSE +0 -0
  336. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/README.md +0 -0
  337. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-cjs/index.js +0 -0
  338. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-es/index.js +0 -0
  339. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/index.d.ts +0 -0
  340. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
  341. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/package.json +0 -0
  342. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/LICENSE +0 -0
  343. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/README.md +0 -0
  344. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js → types/dist-cjs/abort.js} +0 -0
  345. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
  346. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
  347. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
  348. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpSigner.js +0 -0
  349. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
  350. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/auth.js +0 -0
  351. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/index.js +0 -0
  352. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
  353. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/client.js → types/dist-cjs/checksum.js} +0 -0
  354. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/command.js → types/dist-cjs/client.js} +0 -0
  355. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js → types/dist-cjs/command.js} +0 -0
  356. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/config.js +0 -0
  357. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/index.js +0 -0
  358. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/manager.js +0 -0
  359. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/pool.js +0 -0
  360. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js → types/dist-cjs/crypto.js} +0 -0
  361. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
  362. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js → types/dist-cjs/encode.js} +0 -0
  363. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js → types/dist-cjs/endpoint.js} +0 -0
  364. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
  365. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
  366. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
  367. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
  368. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/index.js +0 -0
  369. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/shared.js +0 -0
  370. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/http.js → types/dist-cjs/eventStream.js} +0 -0
  371. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/checksum.js +0 -0
  372. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
  373. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
  374. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/index.js +0 -0
  375. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/retry.js +0 -0
  376. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
  377. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
  378. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js → types/dist-cjs/http.js} +0 -0
  379. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
  380. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
  381. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/identity.js +0 -0
  382. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/index.js +0 -0
  383. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/tokenIdentity.js +0 -0
  384. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/index.js +0 -0
  385. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js → types/dist-cjs/logger.js} +0 -0
  386. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js → types/dist-cjs/middleware.js} +0 -0
  387. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js → types/dist-cjs/pagination.js} +0 -0
  388. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/response.js → types/dist-cjs/profile.js} +0 -0
  389. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js → types/dist-cjs/response.js} +0 -0
  390. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js → types/dist-cjs/retry.js} +0 -0
  391. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js → types/dist-cjs/serde.js} +0 -0
  392. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js → types/dist-cjs/shapes.js} +0 -0
  393. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js → types/dist-cjs/signature.js} +0 -0
  394. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js → types/dist-cjs/stream.js} +0 -0
  395. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
  396. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  397. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  398. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js → types/dist-cjs/transfer.js} +0 -0
  399. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-method-transforms.js +0 -0
  400. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
  401. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/exact.js +0 -0
  402. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/no-undefined.js +0 -0
  403. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/type-transform.js +0 -0
  404. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/util.js → types/dist-cjs/uri.js} +0 -0
  405. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js → types/dist-cjs/util.js} +0 -0
  406. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/abort.js +0 -0
  407. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
  408. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthScheme.js +0 -0
  409. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
  410. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpSigner.js +0 -0
  411. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/IdentityProviderConfig.js +0 -0
  412. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/auth.js +0 -0
  413. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/index.js +0 -0
  414. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/blob/blob-payload-input-types.js +0 -0
  415. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/checksum.js +0 -0
  416. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/client.js +0 -0
  417. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/command.js +0 -0
  418. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/config.js +0 -0
  419. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/index.js +0 -0
  420. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/manager.js +0 -0
  421. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/pool.js +0 -0
  422. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/crypto.js +0 -0
  423. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
  424. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/encode.js +0 -0
  425. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoint.js +0 -0
  426. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
  427. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
  428. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/RuleSetObject.js +0 -0
  429. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/TreeRuleObject.js +0 -0
  430. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/index.js +0 -0
  431. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/shared.js +0 -0
  432. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/eventStream.js +0 -0
  433. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/checksum.js +0 -0
  434. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
  435. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
  436. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/index.js +0 -0
  437. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/retry.js +0 -0
  438. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/externals-check/browser-externals-check.js +0 -0
  439. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http/httpHandlerInitialization.js +0 -0
  440. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http.js +0 -0
  441. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/apiKeyIdentity.js +0 -0
  442. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/awsCredentialIdentity.js +0 -0
  443. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/identity.js +0 -0
  444. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/index.js +0 -0
  445. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/tokenIdentity.js +0 -0
  446. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/index.js +0 -0
  447. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/logger.js +0 -0
  448. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/middleware.js +0 -0
  449. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/pagination.js +0 -0
  450. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/profile.js +0 -0
  451. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/response.js +0 -0
  452. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/retry.js +0 -0
  453. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/serde.js +0 -0
  454. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/shapes.js +0 -0
  455. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/signature.js +0 -0
  456. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/stream.js +0 -0
  457. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
  458. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  459. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  460. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transfer.js +0 -0
  461. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-method-transforms.js +0 -0
  462. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
  463. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/exact.js +0 -0
  464. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/no-undefined.js +0 -0
  465. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/type-transform.js +0 -0
  466. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/uri.js +0 -0
  467. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/util.js +0 -0
  468. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/waiter.js +0 -0
  469. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/abort.d.ts +0 -0
  470. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
  471. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
  472. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
  473. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpSigner.d.ts +0 -0
  474. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
  475. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/auth.d.ts +0 -0
  476. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/index.d.ts +0 -0
  477. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
  478. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/checksum.d.ts +0 -0
  479. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/client.d.ts +0 -0
  480. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/command.d.ts +0 -0
  481. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/config.d.ts +0 -0
  482. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/index.d.ts +0 -0
  483. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/manager.d.ts +0 -0
  484. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/pool.d.ts +0 -0
  485. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/crypto.d.ts +0 -0
  486. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  487. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/encode.d.ts +0 -0
  488. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoint.d.ts +0 -0
  489. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
  490. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
  491. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
  492. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
  493. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/index.d.ts +0 -0
  494. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/shared.d.ts +0 -0
  495. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/eventStream.d.ts +0 -0
  496. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/checksum.d.ts +0 -0
  497. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
  498. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
  499. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/index.d.ts +0 -0
  500. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/retry.d.ts +0 -0
  501. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
  502. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
  503. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http.d.ts +0 -0
  504. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
  505. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
  506. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/identity.d.ts +0 -0
  507. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/index.d.ts +0 -0
  508. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/tokenIdentity.d.ts +0 -0
  509. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/index.d.ts +0 -0
  510. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/logger.d.ts +0 -0
  511. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/middleware.d.ts +0 -0
  512. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/pagination.d.ts +0 -0
  513. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/profile.d.ts +0 -0
  514. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/response.d.ts +0 -0
  515. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/retry.d.ts +0 -0
  516. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/serde.d.ts +0 -0
  517. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/shapes.d.ts +0 -0
  518. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/signature.d.ts +0 -0
  519. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/stream.d.ts +0 -0
  520. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  521. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  522. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  523. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transfer.d.ts +0 -0
  524. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-method-transforms.d.ts +0 -0
  525. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
  526. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/exact.d.ts +0 -0
  527. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/no-undefined.d.ts +0 -0
  528. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/type-transform.d.ts +0 -0
  529. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/abort.d.ts +0 -0
  530. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
  531. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
  532. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
  533. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
  534. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
  535. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
  536. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/index.d.ts +0 -0
  537. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
  538. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/checksum.d.ts +0 -0
  539. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/client.d.ts +0 -0
  540. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/command.d.ts +0 -0
  541. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/config.d.ts +0 -0
  542. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/index.d.ts +0 -0
  543. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
  544. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
  545. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/crypto.d.ts +0 -0
  546. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  547. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/encode.d.ts +0 -0
  548. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoint.d.ts +0 -0
  549. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
  550. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
  551. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
  552. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
  553. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
  554. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
  555. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/eventStream.d.ts +0 -0
  556. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
  557. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
  558. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
  559. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
  560. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
  561. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
  562. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
  563. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http.d.ts +0 -0
  564. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
  565. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
  566. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
  567. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/index.d.ts +0 -0
  568. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
  569. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/index.d.ts +0 -0
  570. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/logger.d.ts +0 -0
  571. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/middleware.d.ts +0 -0
  572. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/pagination.d.ts +0 -0
  573. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/profile.d.ts +0 -0
  574. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/response.d.ts +0 -0
  575. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/retry.d.ts +0 -0
  576. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/serde.d.ts +0 -0
  577. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/shapes.d.ts +0 -0
  578. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/signature.d.ts +0 -0
  579. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/stream.d.ts +0 -0
  580. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  581. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  582. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  583. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transfer.d.ts +0 -0
  584. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
  585. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
  586. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
  587. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
  588. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
  589. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/uri.d.ts +0 -0
  590. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/util.d.ts +0 -0
  591. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/waiter.d.ts +0 -0
  592. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/uri.d.ts +0 -0
  593. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/util.d.ts +0 -0
  594. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/waiter.d.ts +0 -0
  595. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/package.json +0 -0
@@ -0,0 +1,28 @@
1
+ export declare class AmazonQError extends Error {
2
+ code: string;
3
+ constructor(message: string, code: string);
4
+ }
5
+ export declare class AmazonQServiceInitializationError extends AmazonQError {
6
+ constructor(message?: string);
7
+ }
8
+ export declare class AmazonQServiceNotInitializedError extends AmazonQError {
9
+ constructor(message?: string);
10
+ }
11
+ export declare class AmazonQServicePendingSigninError extends AmazonQError {
12
+ constructor(message?: string);
13
+ }
14
+ export declare class AmazonQServicePendingProfileError extends AmazonQError {
15
+ constructor(message?: string);
16
+ }
17
+ export declare class AmazonQServicePendingProfileUpdateError extends AmazonQError {
18
+ constructor(message?: string);
19
+ }
20
+ export declare class AmazonQServiceProfileUpdateCancelled extends AmazonQError {
21
+ constructor(message?: string);
22
+ }
23
+ export declare class AmazonQServiceInvalidProfileError extends AmazonQError {
24
+ constructor(message?: string);
25
+ }
26
+ export declare class AmazonQServiceNoProfileSupportError extends AmazonQError {
27
+ constructor(message?: string);
28
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AmazonQServiceNoProfileSupportError = exports.AmazonQServiceInvalidProfileError = exports.AmazonQServiceProfileUpdateCancelled = exports.AmazonQServicePendingProfileUpdateError = exports.AmazonQServicePendingProfileError = exports.AmazonQServicePendingSigninError = exports.AmazonQServiceNotInitializedError = exports.AmazonQServiceInitializationError = exports.AmazonQError = void 0;
4
+ // Base error class for Amazon Q
5
+ class AmazonQError extends Error {
6
+ code;
7
+ constructor(message, code) {
8
+ super(message);
9
+ this.name = 'AmazonQError';
10
+ this.code = code;
11
+ }
12
+ }
13
+ exports.AmazonQError = AmazonQError;
14
+ class AmazonQServiceInitializationError extends AmazonQError {
15
+ constructor(message = 'Amazon Q service manager initilization error') {
16
+ super(message, 'E_AMAZON_Q_INITIALIZATION_ERROR');
17
+ this.name = 'AmazonQServiceInitializationError';
18
+ }
19
+ }
20
+ exports.AmazonQServiceInitializationError = AmazonQServiceInitializationError;
21
+ class AmazonQServiceNotInitializedError extends AmazonQError {
22
+ constructor(message = 'Amazon Q service SDK is not initialized') {
23
+ super(message, 'E_AMAZON_Q_NOT_INITIALIZED');
24
+ this.name = 'AmazonQServiceNotInitializedError';
25
+ }
26
+ }
27
+ exports.AmazonQServiceNotInitializedError = AmazonQServiceNotInitializedError;
28
+ class AmazonQServicePendingSigninError extends AmazonQError {
29
+ constructor(message = 'Amazon Q service is not signed in') {
30
+ super(message, 'E_AMAZON_Q_PENDING_CONNECTION');
31
+ this.name = 'AmazonQServicePendingSigninError';
32
+ }
33
+ }
34
+ exports.AmazonQServicePendingSigninError = AmazonQServicePendingSigninError;
35
+ class AmazonQServicePendingProfileError extends AmazonQError {
36
+ constructor(message = 'Amazon Q Profile is not selected for IDC connection type') {
37
+ super(message, 'E_AMAZON_Q_PENDING_PROFILE');
38
+ this.name = 'AmazonQServicePendingProfileError';
39
+ }
40
+ }
41
+ exports.AmazonQServicePendingProfileError = AmazonQServicePendingProfileError;
42
+ class AmazonQServicePendingProfileUpdateError extends AmazonQError {
43
+ constructor(message = 'Amazon Q Profile is pending update') {
44
+ super(message, 'E_AMAZON_Q_PENDING_PROFILE_UPDATE');
45
+ this.name = 'AmazonQServicePendingProfileUpdateError';
46
+ }
47
+ }
48
+ exports.AmazonQServicePendingProfileUpdateError = AmazonQServicePendingProfileUpdateError;
49
+ class AmazonQServiceProfileUpdateCancelled extends AmazonQError {
50
+ constructor(message = 'Amazon Q Profile cancelled') {
51
+ super(message, 'E_AMAZON_Q_PROFILE_UPDATE_CANCELLED');
52
+ this.name = 'AmazonQServiceProfileUpdateCancelled';
53
+ }
54
+ }
55
+ exports.AmazonQServiceProfileUpdateCancelled = AmazonQServiceProfileUpdateCancelled;
56
+ class AmazonQServiceInvalidProfileError extends AmazonQError {
57
+ constructor(message = 'Selected Amazon Q Profile is invalid') {
58
+ super(message, 'E_AMAZON_Q_INVALID_PROFILE');
59
+ this.name = 'AmazonQServiceInvalidProfileError';
60
+ }
61
+ }
62
+ exports.AmazonQServiceInvalidProfileError = AmazonQServiceInvalidProfileError;
63
+ class AmazonQServiceNoProfileSupportError extends AmazonQError {
64
+ constructor(message = 'Current Connection type does not support Amazon Q Profiles') {
65
+ super(message, 'E_AMAZON_Q_CONNECTION_NO_PROFILE_SUPPORT');
66
+ this.name = 'AmazonQServiceNoProfileSupportError';
67
+ }
68
+ }
69
+ exports.AmazonQServiceNoProfileSupportError = AmazonQServiceNoProfileSupportError;
70
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/language-server/amazonQServiceManager/errors.ts"],"names":[],"mappings":";;;AAAA,gCAAgC;AAChC,MAAa,YAAa,SAAQ,KAAK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CAAqC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,GAAG,sCAAsC,CAAA;IACtD,CAAC;CACJ;AALD,oFAKC;AAED,MAAa,iCAAkC,SAAQ,YAAY;IAC/D,YAAY,UAAkB,sCAAsC;QAChE,KAAK,CAAC,OAAO,EAAE,4BAA4B,CAAC,CAAA;QAC5C,IAAI,CAAC,IAAI,GAAG,mCAAmC,CAAA;IACnD,CAAC;CACJ;AALD,8EAKC;AAED,MAAa,mCAAoC,SAAQ,YAAY;IACjE,YAAY,UAAkB,4DAA4D;QACtF,KAAK,CAAC,OAAO,EAAE,0CAA0C,CAAC,CAAA;QAC1D,IAAI,CAAC,IAAI,GAAG,qCAAqC,CAAA;IACrD,CAAC;CACJ;AALD,kFAKC"}
@@ -0,0 +1,38 @@
1
+ import { AWSInitializationOptions, Logging } from '@aws/language-server-runtimes/server-interface';
2
+ import { SsoConnectionType } from '../utils';
3
+ import { CodeWhispererServiceToken } from '../codeWhispererService';
4
+ export interface AmazonQDeveloperProfile {
5
+ arn: string;
6
+ name: string;
7
+ identityDetails?: IdentityDetails;
8
+ }
9
+ interface IdentityDetails {
10
+ region: string;
11
+ }
12
+ export interface ListAllAvailableProfilesHandlerParams {
13
+ connectionType: SsoConnectionType;
14
+ logging: Logging;
15
+ endpoints?: {
16
+ [region: string]: string;
17
+ };
18
+ }
19
+ export type ListAllAvailableProfilesHandler = (params: ListAllAvailableProfilesHandlerParams) => Promise<AmazonQDeveloperProfile[]>;
20
+ export declare const MAX_Q_DEVELOPER_PROFILE_PAGES = 10;
21
+ export declare const getListAllAvailableProfilesHandler: (service: (region: string, endpoint: string) => CodeWhispererServiceToken) => ListAllAvailableProfilesHandler;
22
+ /**
23
+ * @returns true if AWSInitializationOptions has the Q developer profiles flag set explicitly to true
24
+ *
25
+ * @example
26
+ * The function expects to receive the following structure:
27
+ * ```ts
28
+ * {
29
+ * awsClientCapabilities?: {
30
+ * q?: {
31
+ * developerProfiles?: boolean
32
+ * }
33
+ * }
34
+ * }
35
+ * ```
36
+ */
37
+ export declare function signalsAWSQDeveloperProfilesEnabled(initializationOptions: AWSInitializationOptions): boolean;
38
+ export {};
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getListAllAvailableProfilesHandler = exports.MAX_Q_DEVELOPER_PROFILE_PAGES = void 0;
4
+ exports.signalsAWSQDeveloperProfilesEnabled = signalsAWSQDeveloperProfilesEnabled;
5
+ const server_interface_1 = require("@aws/language-server-runtimes/server-interface");
6
+ const utils_1 = require("../utils");
7
+ const constants_1 = require("../../constants");
8
+ exports.MAX_Q_DEVELOPER_PROFILE_PAGES = 10;
9
+ const MAX_Q_DEVELOPER_PROFILES_PER_PAGE = 10;
10
+ const getListAllAvailableProfilesHandler = (service) => async ({ connectionType, logging, endpoints }) => {
11
+ if (!connectionType || connectionType !== 'identityCenter') {
12
+ logging.debug('Connection type is not set or not identityCenter - returning empty response.');
13
+ return [];
14
+ }
15
+ let allProfiles = [];
16
+ const qEndpoints = endpoints ?? constants_1.AWS_Q_ENDPOINTS;
17
+ const result = await Promise.allSettled(Object.entries(qEndpoints).map(([region, endpoint]) => {
18
+ const codeWhispererService = service(region, endpoint);
19
+ return fetchProfilesFromRegion(codeWhispererService, region, logging);
20
+ }));
21
+ const fulfilledResults = result.filter(settledResult => settledResult.status === 'fulfilled');
22
+ if (fulfilledResults.length === 0) {
23
+ throw new server_interface_1.ResponseError(server_interface_1.LSPErrorCodes.RequestFailed, `Failed to retrieve profiles from all queried regions`);
24
+ }
25
+ fulfilledResults.forEach(fulfilledResult => allProfiles.push(...fulfilledResult.value));
26
+ return allProfiles;
27
+ };
28
+ exports.getListAllAvailableProfilesHandler = getListAllAvailableProfilesHandler;
29
+ async function fetchProfilesFromRegion(service, region, logging) {
30
+ let allRegionalProfiles = [];
31
+ let nextToken = undefined;
32
+ let numberOfPages = 0;
33
+ try {
34
+ do {
35
+ logging.debug(`Fetching profiles from region: ${region} (iteration: ${numberOfPages})`);
36
+ const response = await service.listAvailableProfiles({
37
+ maxResults: MAX_Q_DEVELOPER_PROFILES_PER_PAGE,
38
+ });
39
+ const profiles = response.profiles.map(profile => ({
40
+ arn: profile.arn,
41
+ name: profile.profileName,
42
+ identityDetails: {
43
+ region,
44
+ },
45
+ }));
46
+ allRegionalProfiles.push(...profiles);
47
+ logging.debug(`Fetched profiles from ${region}: ${JSON.stringify(response)} (iteration: ${numberOfPages})`);
48
+ nextToken = response.nextToken;
49
+ numberOfPages++;
50
+ } while (nextToken !== undefined && numberOfPages < exports.MAX_Q_DEVELOPER_PROFILE_PAGES);
51
+ return allRegionalProfiles;
52
+ }
53
+ catch (error) {
54
+ logging.error(`Error fetching profiles from ${region}: ${error}`);
55
+ throw error;
56
+ }
57
+ }
58
+ const AWSQCapabilitiesKey = 'q';
59
+ const developerProfilesEnabledKey = 'developerProfiles';
60
+ /**
61
+ * @returns true if AWSInitializationOptions has the Q developer profiles flag set explicitly to true
62
+ *
63
+ * @example
64
+ * The function expects to receive the following structure:
65
+ * ```ts
66
+ * {
67
+ * awsClientCapabilities?: {
68
+ * q?: {
69
+ * developerProfiles?: boolean
70
+ * }
71
+ * }
72
+ * }
73
+ * ```
74
+ */
75
+ function signalsAWSQDeveloperProfilesEnabled(initializationOptions) {
76
+ const qCapabilities = initializationOptions.awsClientCapabilities?.[AWSQCapabilitiesKey];
77
+ if ((0, utils_1.isObject)(qCapabilities) &&
78
+ !(qCapabilities instanceof Array) &&
79
+ developerProfilesEnabledKey in qCapabilities &&
80
+ (0, utils_1.isBool)(qCapabilities[developerProfilesEnabledKey])) {
81
+ return qCapabilities[developerProfilesEnabledKey];
82
+ }
83
+ return false;
84
+ }
85
+ //# sourceMappingURL=qDeveloperProfiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qDeveloperProfiles.js","sourceRoot":"","sources":["../../../src/language-server/amazonQServiceManager/qDeveloperProfiles.ts"],"names":[],"mappings":";;;AAwHA,kFAaC;AArID,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GAAG,mBAAmB,CAAA;AAEvD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,mCAAmC,CAAC,qBAA+C;IAC/F,MAAM,aAAa,GAAG,qBAAqB,CAAC,qBAAqB,EAAE,CAAC,mBAAmB,CAAC,CAAA;IAExF,IACI,IAAA,gBAAQ,EAAC,aAAa,CAAC;QACvB,CAAC,CAAC,aAAa,YAAY,KAAK,CAAC;QACjC,2BAA2B,IAAI,aAAa;QAC5C,IAAA,cAAM,EAAC,aAAa,CAAC,2BAA2B,CAAC,CAAC,EACpD,CAAC;QACC,OAAO,aAAa,CAAC,2BAA2B,CAAC,CAAA;IACrD,CAAC;IAED,OAAO,KAAK,CAAA;AAChB,CAAC"}
@@ -3,7 +3,7 @@ import { CancellationToken, Chat, ChatParams, ChatResult, EndChatParams, QuickAc
3
3
  import { Features, LspHandlers } from '../types';
4
4
  import { ChatSessionManagementService } from './chatSessionManagementService';
5
5
  import { TelemetryService } from '../telemetryService';
6
- type ChatHandlers = LspHandlers<Chat>;
6
+ type ChatHandlers = Omit<LspHandlers<Chat>, 'openTab' | 'sendChatUpdate' | 'onFileClicked'>;
7
7
  export declare class ChatController implements ChatHandlers {
8
8
  #private;
9
9
  constructor(chatSessionManagementService: ChatSessionManagementService, features: Features, telemetryService: TelemetryService);
@@ -14,7 +14,9 @@ const metric_1 = require("../telemetry/metric");
14
14
  const triggerContext_1 = require("./contexts/triggerContext");
15
15
  const constants_1 = require("./constants");
16
16
  const qConfigurationServer_1 = require("../configuration/qConfigurationServer");
17
- const textUtils_1 = require("../utilities/textUtils");
17
+ const lsp_core_1 = require("@aws/lsp-core");
18
+ const errors_1 = require("../amazonQServiceManager/errors");
19
+ const AmazonQTokenServiceManager_1 = require("../amazonQServiceManager/AmazonQTokenServiceManager");
18
20
  class ChatController {
19
21
  #features;
20
22
  #chatSessionManagementService;
@@ -57,7 +59,8 @@ class ChatController {
57
59
  const conversationIdentifier = session?.conversationId ?? 'New conversation';
58
60
  try {
59
61
  this.#log('Request for conversation id:', conversationIdentifier);
60
- requestInput = this.#triggerContext.getChatParamsFromTrigger(params, triggerContext, this.#customizationArn);
62
+ const profileArn = AmazonQTokenServiceManager_1.AmazonQTokenServiceManager.getInstance(this.#features).getActiveProfileArn();
63
+ requestInput = this.#triggerContext.getChatParamsFromTrigger(params, triggerContext, this.#customizationArn, profileArn);
61
64
  metric.recordStart();
62
65
  response = await session.sendMessage(requestInput);
63
66
  this.#log('Response for conversation id:', conversationIdentifier, JSON.stringify(response.$metadata));
@@ -67,6 +70,19 @@ class ChatController {
67
70
  metric.setDimension('cwsprChatRepsonseCode', err.statusCode ?? 400);
68
71
  this.#telemetryController.emitMessageResponseError(params.tabId, metric.metric);
69
72
  }
73
+ if (err instanceof errors_1.AmazonQServicePendingSigninError) {
74
+ this.#log(`Q Chat SSO Connection error: ${(0, utils_2.getErrorMessage)(err)}`);
75
+ return (0, utils_1.createAuthFollowUpResult)('full-auth');
76
+ }
77
+ if (err instanceof errors_1.AmazonQServicePendingProfileError) {
78
+ this.#log(`Q Chat SSO Connection error: ${(0, utils_2.getErrorMessage)(err)}`);
79
+ const followUpResult = (0, utils_1.createAuthFollowUpResult)('use-supported-auth');
80
+ // Access first element in array
81
+ if (followUpResult.followUp?.options) {
82
+ followUpResult.followUp.options[0].pillText = 'Select Q Developer Profile';
83
+ }
84
+ return followUpResult;
85
+ }
70
86
  const authFollowType = (0, utils_1.getAuthFollowUpType)(err);
71
87
  if (authFollowType) {
72
88
  this.#log(`Q auth error: ${(0, utils_2.getErrorMessage)(err)}`);
@@ -317,7 +333,7 @@ class ChatController {
317
333
  try {
318
334
  const qConfig = await this.#features.lsp.workspace.getConfiguration(qConfigurationServer_1.Q_CONFIGURATION_SECTION);
319
335
  if (qConfig) {
320
- this.#customizationArn = (0, textUtils_1.undefinedIfEmpty)(qConfig.customization);
336
+ this.#customizationArn = lsp_core_1.textUtils.undefinedIfEmpty(qConfig.customization);
321
337
  this.#log(`Chat configuration updated to use ${this.#customizationArn}`);
322
338
  /*
323
339
  The flag enableTelemetryEventsToDestination is set to true temporarily. It's value will be determined through destination
@@ -1 +1 @@
1
- {"version":3,"file":"chatController.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatController.ts"],"names":[],"mappings":";;;AACA,qEAQ+C;AAC/C,qFAYuD;AACvD,+BAAiC;AACjC,8CAK2B;AAE3B,uDAA2E;AAC3E,mCAA+F;AAE/F,iFAA6E;AAC7E,iDAA4C;AAC5C,oCAA2E;AAC3E,gDAA4C;AAC5C,8DAA+E;AAC/E,2CAA0C;AAC1C,gFAA+E;AAC/E,sDAAyD;AAKzD,MAAa,cAAc;IACvB,SAAS,CAAU;IACnB,6BAA6B,CAA8B;IAC3D,oBAAoB,CAAyB;IAC7C,eAAe,CAAqB;IACpC,iBAAiB,CAAS;IAC1B,iBAAiB,CAAkB;IAEnC,YACI,4BAA0D,EAC1D,QAAkB,EAClB,gBAAkC;QAElC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAA;QACzB,IAAI,CAAC,6BAA6B,GAAG,4BAA4B,CAAA;QACjE,IAAI,CAAC,eAAe,GAAG,IAAI,oCAAmB,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;QACpF,IAAI,CAAC,oBAAoB,GAAG,IAAI,iDAAuB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAA;QACnF,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAA;IAC7C,CAAC;IAED,OAAO;QACH,IAAI,CAAC,6BAA6B,CAAC,OAAO,EAAE,CAAA;QAC5C,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE,CAAA;IACvC,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,MAAkB,EAAE,KAAwB;QAC3D,MAAM,oBAAoB,GAAG,IAAA,8BAAsB,EAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAEzE,IAAI,oBAAoB,EAAE,CAAC;YACvB,OAAO,oBAAoB,CAAA;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AAA,4BAAgB,EAAC,OAAO,CAAC,aAAa,CAAC,CAAA;gBAChE,IAAI,CAAC,IAAI,CAAC,qCAAqC,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAA;gBACxE;;;kBAGE;gBACF,kDAAkD;gBAClD,sGAAsG;gBACtG,MAAM,yBAAyB,GAAG,OAAO,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAA;gBAC1F,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,CAAA;YAC5E,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,IAAI,CAAC,8BAA8B,KAAK,EAAE,CAAC,CAAA;QACpD,CAAC;IACL,CAAC,CAAA;IAED,IAAI,CAAC,GAAG,QAAkB;QACtB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IAClD,CAAC;CACJ;AAvZD,wCAuZC"}
1
+ {"version":3,"file":"chatController.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatController.ts"],"names":[],"mappings":";;;AACA,qEAQ+C;AAC/C,qFAYuD;AACvD,+BAAiC;AACjC,8CAK2B;AAE3B,uDAA2E;AAC3E,mCAA+F;AAE/F,iFAA6E;AAC7E,iDAA4C;AAC5C,oCAA2E;AAC3E,gDAA4C;AAC5C,8DAA+E;AAC/E,2CAA0C;AAC1C,gFAA+E;AAC/E,4CAAyC;AAEzC,4DAAqH;AACrH,oGAAgG;AAIhG,MAAa,cAAc;IACvB,SAAS,CAAU;IACnB,6BAA6B,CAA8B;IAC3D,oBAAoB,CAAyB;IAC7C,eAAe,CAAqB;IACpC,iBAAiB,CAAS;IAC1B,iBAAiB,CAAkB;IAEnC,YACI,4BAA0D,EAC1D,QAAkB,EAClB,gBAAkC;QAElC,IAAI,CAAC,SAAS,GAAG,QA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AG,CAAC,SAAS,CAAC,gBAAgB,CAAC,8CAAuB,CAAC,CAAA;YAC5F,IAAI,OAAO,EAAE,CAAC;gBACV,IAAI,CAAC,iBAAiB,GAAG,oBAAS,CAAC,gBAAgB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;gBAC1E,IAAI,CAAC,IAAI,CAAC,qCAAqC,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAA;gBACxE;;;kBAGE;gBACF,kDAAkD;gBAClD,sGAAsG;gBACtG,MAAM,yBAAyB,GAAG,OAAO,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAA;gBAC1F,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,CAAA;YAC5E,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,IAAI,CAAC,8BAA8B,KAAK,EAAE,CAAC,CAAA;QACpD,CAAC;IACL,CAAC,CAAA;IAED,IAAI,CAAC,GAAG,QAAkB;QACtB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IAClD,CAAC;CACJ;AA/aD,wCA+aC"}
@@ -1,17 +1,12 @@
1
- import { CredentialsProvider, SDKInitializator } from '@aws/language-server-runtimes/server-interface';
2
1
  import { Result } from '../types';
3
- import { ChatSessionService, ChatSessionServiceConfig } from './chatSessionService';
2
+ import { ChatSessionService } from './chatSessionService';
3
+ import { AmazonQTokenServiceManager } from '../amazonQServiceManager/AmazonQTokenServiceManager';
4
4
  export declare class ChatSessionManagementService {
5
5
  #private;
6
6
  static getInstance(): ChatSessionManagementService;
7
7
  static reset(): void;
8
8
  private constructor();
9
- withConfig(clientConfig?: ChatSessionServiceConfig | (() => ChatSessionServiceConfig)): this;
10
- withCredentialsProvider(credentialsProvider: CredentialsProvider): this;
11
- withCodeWhispererRegion(codeWhispererRegion: string): this;
12
- withCodeWhispererEndpoint(codeWhispererEndpoint: string): this;
13
- withSdkRuntimeConfigurator(sdkInitializator: SDKInitializator): this;
14
- setCustomUserAgent(customUserAgent: string): void;
9
+ withAmazonQServiceManager(amazonQServiceManager: AmazonQTokenServiceManager): this;
15
10
  hasSession(tabId: string): boolean;
16
11
  createSession(tabId: string): Result<ChatSessionService, string>;
17
12
  getSession(tabId: string): Result<ChatSessionService, string>;
@@ -5,12 +5,7 @@ const chatSessionService_1 = require("./chatSessionService");
5
5
  class ChatSessionManagementService {
6
6
  static #instance;
7
7
  #sessionByTab = new Map();
8
- #credentialsProvider;
9
- #clientConfig = {};
10
- #customUserAgent = '%Amazon-Q-For-LanguageServers%';
11
- #codeWhispererRegion;
12
- #codeWhispererEndpoint;
13
- #sdkInitializator;
8
+ #amazonQServiceManager;
14
9
  static getInstance() {
15
10
  if (!ChatSessionManagementService.#instance) {
16
11
  ChatSessionManagementService.#instance = new ChatSessionManagementService();
@@ -21,68 +16,21 @@ class ChatSessionManagementService {
21
16
  ChatSessionManagementService.#instance = undefined;
22
17
  }
23
18
  constructor() { }
24
- withConfig(clientConfig) {
25
- this.#clientConfig = clientConfig;
19
+ withAmazonQServiceManager(amazonQServiceManager) {
20
+ this.#amazonQServiceManager = amazonQServiceManager;
26
21
  return this;
27
22
  }
28
- withCredentialsProvider(credentialsProvider) {
29
- this.#credentialsProvider = credentialsProvider;
30
- return this;
31
- }
32
- withCodeWhispererRegion(codeWhispererRegion) {
33
- this.#codeWhispererRegion = codeWhispererRegion;
34
- return this;
35
- }
36
- withCodeWhispererEndpoint(codeWhispererEndpoint) {
37
- this.#codeWhispererEndpoint = codeWhispererEndpoint;
38
- return this;
39
- }
40
- withSdkRuntimeConfigurator(sdkInitializator) {
41
- this.#sdkInitializator = sdkInitializator;
42
- return this;
43
- }
44
- setCustomUserAgent(customUserAgent) {
45
- this.#customUserAgent = customUserAgent;
46
- }
47
23
  hasSession(tabId) {
48
24
  return this.#sessionByTab.has(tabId);
49
25
  }
50
26
  createSession(tabId) {
51
- if (!this.#credentialsProvider) {
52
- return {
53
- success: false,
54
- error: 'Credentials provider is not set',
55
- };
56
- }
57
- else if (!this.#codeWhispererRegion) {
58
- return {
59
- success: false,
60
- error: 'CodeWhispererRegion is not set',
61
- };
62
- }
63
- else if (!this.#codeWhispererEndpoint) {
64
- return {
65
- success: false,
66
- error: 'CodeWhispererEndpoint is not set',
67
- };
68
- }
69
- else if (!this.#sdkInitializator) {
70
- return {
71
- success: false,
72
- error: 'SdkInitializator is not set',
73
- };
74
- }
75
- else if (this.#sessionByTab.has(tabId)) {
27
+ if (this.#sessionByTab.has(tabId)) {
76
28
  return {
77
29
  success: true,
78
30
  data: this.#sessionByTab.get(tabId),
79
31
  };
80
32
  }
81
- const clientConfig = typeof this.#clientConfig === 'function' ? this.#clientConfig() : this.#clientConfig;
82
- const newSession = new chatSessionService_1.ChatSessionService(this.#credentialsProvider, this.#codeWhispererRegion, this.#codeWhispererEndpoint, this.#sdkInitializator, {
83
- ...clientConfig,
84
- customUserAgent: this.#customUserAgent,
85
- });
33
+ const newSession = new chatSessionService_1.ChatSessionService(this.#amazonQServiceManager);
86
34
  this.#sessionByTab.set(tabId, newSession);
87
35
  return {
88
36
  success: true,
@@ -1 +1 @@
1
- {"version":3,"file":"chatSessionManagementService.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatSessionManagementService.ts"],"names":[],"mappings":";;;AAEA,6DAAmF;AAEnF,MAAa,4BAA4B;IACrC,MAAM,CAAC,SAAS,CAA+B;IAC/C,aAAa,GAAoC,IAAI,GAAG,EAAe,CAAA;IACvE,oBAAoB,CAAsB;IAC1C,aAAa,GAAiE,EAAE,CAAA;IAChF,gBAAgB,GAAY,gCAAgC,CAAA;IAC5D,oBAAoB,CAAS;IAC7B,sBAAsB,CAAS;IAC/B,iBAAiB,CAAmB;IAE7B,MAAM,CAAC,WAAW;QACrB,IAAI,CAAC,4BAA4B,CAAC,SAAS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CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;IACjF,CAAC;IAEM,aAAa,CAAC,KAAa;QAC9B,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;QACxC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QAEhC,OAAO;YACH,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,SAAS;SAClB,CAAA;IACL,CAAC;IAEM,OAAO;QACV,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAC5D,CAAC;CACJ;AAjID,oEAiIC"}
1
+ {"version":3,"file":"chatSessionManagementService.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatSessionManagementService.ts"],"names":[],"mappings":";;;AACA,6DAAyD;AAGzD,MAAa,4BAA4B;IACrC,MAAM,CAAC,SAAS,CAA+B;IAC/C,aAAa,GAAoC,IAAI,GAAG,EAAe,CAAA;IACvE,sBAAsB,CAA6B;IAE5C,MAAM,CAAC,WAAW;QACrB,IAAI,CAAC,4BAA4B,CAAC,SAAS,EAAE,CAAC;YAC1C,4BAA4B,CAAC,SAAS,GAAG,IAAI,4BAA4B,EAAE,CAAA;QAC/E,CAAC;QAED,OAAO,4BAA4B,CAAC,SAAS,CAAA;IACjD,CAAC;IAEM,MAAM,CAAC,KAAK;QACf,4BAA4B,CAAC,SAAS,GAAG,SAAS,CAAA;IACtD,CAAC;IAED,gBAAuB,CAAC;IAEjB,yBAAyB,CAAC,qBAAiD;QAC9E,IAAI,CAAC,sBAAsB,GAAG,qBAAqB,CAAA;QAEnD,OAAO,IAAI,CAAA;IACf,CAAC;IAEM,UAAU,CAAC,KAAa;QAC3B,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IACxC,CAAC;IAEM,aAAa,CAAC,KAAa;QAC9B,IAAI,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAChC,OAAO;gBACH,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAE;aACvC,CAAA;QACL,CAAC;QAED,MAAM,UAAU,GAAG,IAAI,uCAAkB,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAA;QAEtE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;QAEzC,OAAO;YACH,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,UAAU;SACnB,CAAA;IACL,CAAC;IAEM,UAAU,CAAC,KAAa;QAC3B,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAE7C,OAAO,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;IACjF,CAAC;IAEM,aAAa,CAAC,KAAa;QAC9B,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;QACxC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QAEhC,OAAO;YACH,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,SAAS;SAClB,CAAA;IACL,CAAC;IAEM,OAAO;QACV,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAC5D,CAAC;CACJ;AAlED,oEAkEC"}
@@ -1,13 +1,12 @@
1
1
  import { CodeWhispererStreamingClientConfig, SendMessageCommandInput, SendMessageCommandOutput } from '@amzn/codewhisperer-streaming';
2
- import { CredentialsProvider } from '@aws/language-server-runtimes/server-interface';
3
- import { SDKInitializator } from '@aws/language-server-runtimes/server-interface';
2
+ import { AmazonQTokenServiceManager } from '../amazonQServiceManager/AmazonQTokenServiceManager';
4
3
  export type ChatSessionServiceConfig = CodeWhispererStreamingClientConfig;
5
4
  export declare class ChatSessionService {
6
5
  #private;
7
6
  shareCodeWhispererContentWithAWS: boolean;
8
7
  get conversationId(): string | undefined;
9
8
  set conversationId(value: string | undefined);
10
- constructor(credentialsProvider: CredentialsProvider, codeWhispererRegion: string, codeWhispererEndpoint: string, sdkInitializator: SDKInitializator, config?: CodeWhispererStreamingClientConfig);
9
+ constructor(amazonQServiceManager?: AmazonQTokenServiceManager);
11
10
  sendMessage(request: SendMessageCommandInput): Promise<SendMessageCommandOutput>;
12
11
  clear(): void;
13
12
  dispose(): void;
@@ -1,43 +1,29 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChatSessionService = void 0;
4
- const codewhisperer_streaming_1 = require("@amzn/codewhisperer-streaming");
5
- const util_retry_1 = require("@aws-sdk/util-retry");
6
- const utils_1 = require("../utils");
7
4
  class ChatSessionService {
8
5
  shareCodeWhispererContentWithAWS = false;
9
- #codeWhispererRegion;
10
- #codeWhispererEndpoint;
11
- #sdkInitializator;
12
6
  #abortController;
13
- #credentialsProvider;
14
- #config;
15
7
  #conversationId;
8
+ #amazonQServiceManager;
16
9
  get conversationId() {
17
10
  return this.#conversationId;
18
11
  }
19
12
  set conversationId(value) {
20
13
  this.#conversationId = value;
21
14
  }
22
- constructor(credentialsProvider, codeWhispererRegion, codeWhispererEndpoint, sdkInitializator, config) {
23
- this.#credentialsProvider = credentialsProvider;
24
- this.#codeWhispererRegion = codeWhispererRegion;
25
- this.#codeWhispererEndpoint = codeWhispererEndpoint;
26
- this.#sdkInitializator = sdkInitializator;
27
- this.#config = config;
15
+ constructor(amazonQServiceManager) {
16
+ this.#amazonQServiceManager = amazonQServiceManager;
28
17
  }
29
18
  async sendMessage(request) {
30
19
  this.#abortController = new AbortController();
31
20
  if (this.#conversationId && request.conversationState) {
32
21
  request.conversationState.conversationId = this.#conversationId;
33
22
  }
34
- const client = this.#sdkInitializator(codewhisperer_streaming_1.CodeWhispererStreaming, {
35
- region: this.#codeWhispererRegion,
36
- endpoint: this.#codeWhispererEndpoint,
37
- token: () => Promise.resolve({ token: (0, utils_1.getBearerTokenFromProvider)(this.#credentialsProvider) }),
38
- retryStrategy: new util_retry_1.ConfiguredRetryStrategy(0, (attempt) => 500 + attempt ** 10),
39
- ...this.#config,
40
- });
23
+ if (!this.#amazonQServiceManager) {
24
+ throw new Error('amazonQServiceManager is not initialized');
25
+ }
26
+ const client = this.#amazonQServiceManager.getStreamingClient();
41
27
  const response = await client.sendMessage(request, {
42
28
  abortSignal: this.#abortController?.signal,
43
29
  });
@@ -1 +1 @@
1
- {"version":3,"file":"chatSessionService.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatSessionService.ts"],"names":[],"mappings":";;;AAAA,2EAKsC;AACtC,oDAA6D;AAE7D,oCAAqD;AAIrD,MAAa,kBAAkB;IACpB,gCAAgC,GAAG,KAAK,CAAA;IACtC,oBAAoB,CAAQ;IAC5B,sBAAsB,CAAQ;IACvC,iBAAiB,CAAkB;IACnC,gBAAgB,CAAkB;IAClC,oBAAoB,CAAqB;IACzC,OAAO,CAAqC;IAC5C,eAAe,CAAS;IAExB,IAAW,cAAc;QACrB,OAAO,IAAI,CAAC,eAAe,CAAA;IAC/B,CAAC;IAED,IAAW,cAAc,CAAC,KAAyB;QAC/C,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;IAChC,CAAC;IAED,YACI,mBAAwC,EACxC,mBAA2B,EAC3B,qBAA6B,EAC7B,gBAAkC,EAClC,MAA2C;QAE3C,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAA;QAC/C,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAA;QAC/C,IAAI,CAAC,sBAAsB,GAAG,qBAAqB,CAAA;QACnD,IAAI,CAAC,iB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
1
+ {"version":3,"file":"chatSessionService.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatSessionService.ts"],"names":[],"mappings":";;;AAQA,MAAa,kBAAkB;IACpB,gCAAgC,GAAG,KAAK,CAAA;IAC/C,gBAAgB,CAAkB;IAClC,eAAe,CAAS;IACxB,sBAAsB,CAA6B;IAEnD,IAAW,cAAc;QACrB,OAAO,IAAI,CAAC,eAAe,CAAA;IAC/B,CAAC;IAED,IAAW,cAAc,CAAC,KAAyB;QAC/C,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;IAChC,CAAC;IAED,YAAY,qBAAkD;QAC1D,IAAI,CAAC,sBAAsB,GAAG,qBAAqB,CAAA;IACvD,CAAC;IAEM,KAAK,CAAC,WAAW,CAAC,OAAgC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAA;QAE7C,IAAI,IAAI,CAAC,eAAe,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC;YACpD,OAAO,CAAC,iBAAiB,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAA;QACnE,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC/B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;QAC/D,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,EAAE,CAAA;QAE/D,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE;YAC/C,WAAW,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM;SAC7C,CAAC,CAAA;QAEF,OAAO,QAAQ,CAAA;IACnB,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAE,CAAA;QAC9B,IAAI,CAAC,eAAe,GAAG,SAAS,CAAA;IACpC,CAAC;IAEM,OAAO;QACV,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAE,CAAA;IAClC,CAAC;IAEM,YAAY;QACf,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAE,CAAA;IAClC,CAAC;CACJ;AAlDD,gDAkDC"}
@@ -12,6 +12,6 @@ export declare class QChatTriggerContext {
12
12
  private static readonly DEFAULT_CURSOR_STATE;
13
13
  constructor(workspace: Features['workspace'], logger: Features['logging']);
14
14
  getNewTriggerContext(params: ChatParams): Promise<TriggerContext>;
15
- getChatParamsFromTrigger(params: ChatParams, triggerContext: TriggerContext, customizationArn?: string): SendMessageCommandInput;
15
+ getChatParamsFromTrigger(params: ChatParams, triggerContext: TriggerContext, customizationArn?: string, profileArn?: string): SendMessageCommandInput;
16
16
  extractDocumentContext(input: Pick<ChatParams, 'cursorState' | 'textDocument'>): Promise<DocumentContext | undefined>;
17
17
  }
@@ -18,7 +18,7 @@ class QChatTriggerContext {
18
18
  userIntent: this.#guessIntentFromPrompt(params.prompt.prompt),
19
19
  };
20
20
  }
21
- getChatParamsFromTrigger(params, triggerContext, customizationArn) {
21
+ getChatParamsFromTrigger(params, triggerContext, customizationArn, profileArn) {
22
22
  const { prompt } = params;
23
23
  const data = {
24
24
  conversationState: {
@@ -43,6 +43,7 @@ class QChatTriggerContext {
43
43
  },
44
44
  customizationArn,
45
45
  },
46
+ profileArn,
46
47
  };
47
48
  return data;
48
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"triggerContext.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/triggerContext.ts"],"names":[],"mappings":";;;AACA,2EAAoG;AAGpG,uDAA6E;AAO7E,MAAa,mBAAmB;IACpB,MAAM,CAAU,oBAAoB,GAAgB,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAA;IAEnG,UAAU,CAAuB;IACjC,yBAAyB,CAA0B;IAEnD,YAAY,SAAgC,EAAE,MAA2B;QACrE,IAAI,CAAC,UAAU,GAAG,SAAS,CAAA;QAC3B,IAAI,CAAC,yBAAyB,GAAG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,MAAM,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC,CAAA;QAEtG,OAAO,YAAY;YACf,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,sBAAsB,CACjD,YAAY;YACZ,2HAA2H;YAC3H,iEAAiE;YACjE,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,mBAAmB,CAAC,oBAAoB,CAC/D;YACH,CAAC,CAAC,SAAS,CAAA;IACnB,CAAC;IAED,sBAAsB,CAAC,MAAe;QAClC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,SAAS,CAAA;QACpB,CAAC;aAAM,IAAI,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAClC,OAAO,oCAAU,CAAC,sBAAsB,CAAA;QAC5C,CAAC;aAAM,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACnC,OAAO,oCAAU,CAAC,gCAAgC,CAAA;QACtD,CAAC;aAAM,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,OAAO,oCAAU,CAAC,2BAA2B,CAAA;QACjD,CAAC;aAAM,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACnC,OAAO,oCAAU,CAAC,YAAY,CAAA;QAClC,CAAC;QAED,OAAO,SAAS,CAAA;IACpB,CAAC;;AAzFL,kDA0FC"}
1
+ {"version":3,"file":"triggerContext.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/triggerContext.ts"],"names":[],"mappings":";;;AACA,2EAAoG;AAGpG,uDAA6E;AAO7E,MAAa,mBAAmB;IACpB,MAAM,CAAU,oBAAoB,GAAgB,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAA;IAEnG,UAAU,CAAuB;IACjC,yBAAyB,CAA0B;IAEnD,YAAY,SAA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