@aws/lsp-codewhisperer 0.0.27 → 0.0.28

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 (553) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +59 -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/constants.d.ts +3 -0
  39. package/out/constants.js +4 -1
  40. package/out/constants.js.map +1 -1
  41. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.d.ts +38 -0
  42. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js +85 -0
  43. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js.map +1 -0
  44. package/out/language-server/chat/chatController.d.ts +1 -1
  45. package/out/language-server/chat/chatController.js +2 -2
  46. package/out/language-server/chat/chatController.js.map +1 -1
  47. package/out/language-server/codeWhispererServer.js +7 -32
  48. package/out/language-server/codeWhispererServer.js.map +1 -1
  49. package/out/language-server/codeWhispererService.d.ts +4 -0
  50. package/out/language-server/codeWhispererService.js +6 -0
  51. package/out/language-server/codeWhispererService.js.map +1 -1
  52. package/out/language-server/configuration/qConfigurationServer.d.ts +18 -1
  53. package/out/language-server/configuration/qConfigurationServer.js +107 -6
  54. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  55. package/out/language-server/dependencyGraph/commonUtil.d.ts +0 -1
  56. package/out/language-server/dependencyGraph/commonUtil.js +0 -11
  57. package/out/language-server/dependencyGraph/commonUtil.js.map +1 -1
  58. package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
  59. package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
  60. package/out/language-server/netTransform/transformHandler.d.ts +3 -2
  61. package/out/language-server/netTransform/transformHandler.js +7 -2
  62. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  63. package/out/language-server/netTransformServer.js +1 -1
  64. package/out/language-server/netTransformServer.js.map +1 -1
  65. package/out/language-server/telemetry/codeDiffTracker.js +15 -12
  66. package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
  67. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js +2 -2
  68. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js.map +1 -1
  69. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +2 -2
  70. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  71. package/out/language-server/utils.d.ts +1 -0
  72. package/out/language-server/utils.js +4 -0
  73. package/out/language-server/utils.js.map +1 -1
  74. package/package.json +8 -8
  75. package/node_modules/@smithy/node-http-handler/README.md +0 -4
  76. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -21
  77. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -8
  78. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -6
  79. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -14
  80. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
  81. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
  82. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  83. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  84. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  85. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -13
  86. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -13
  87. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -23
  88. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -23
  89. package/out/language-server/auto-trigger/autoTrigger.test.d.ts +0 -1
  90. package/out/language-server/auto-trigger/autoTrigger.test.js +0 -82
  91. package/out/language-server/auto-trigger/autoTrigger.test.js.map +0 -1
  92. package/out/language-server/chat/chatController.test.d.ts +0 -1
  93. package/out/language-server/chat/chatController.test.js +0 -709
  94. package/out/language-server/chat/chatController.test.js.map +0 -1
  95. package/out/language-server/chat/chatEventParser.test.d.ts +0 -1
  96. package/out/language-server/chat/chatEventParser.test.js +0 -239
  97. package/out/language-server/chat/chatEventParser.test.js.map +0 -1
  98. package/out/language-server/chat/chatSessionManagementService.test.d.ts +0 -1
  99. package/out/language-server/chat/chatSessionManagementService.test.js +0 -77
  100. package/out/language-server/chat/chatSessionManagementService.test.js.map +0 -1
  101. package/out/language-server/chat/chatSessionService.test.d.ts +0 -1
  102. package/out/language-server/chat/chatSessionService.test.js +0 -86
  103. package/out/language-server/chat/chatSessionService.test.js.map +0 -1
  104. package/out/language-server/chat/contexts/documentContext.test.d.ts +0 -1
  105. package/out/language-server/chat/contexts/documentContext.test.js +0 -117
  106. package/out/language-server/chat/contexts/documentContext.test.js.map +0 -1
  107. package/out/language-server/chat/contexts/triggerContexts.test.d.ts +0 -1
  108. package/out/language-server/chat/contexts/triggerContexts.test.js +0 -81
  109. package/out/language-server/chat/contexts/triggerContexts.test.js.map +0 -1
  110. package/out/language-server/chat/contexts/utils.test.d.ts +0 -1
  111. package/out/language-server/chat/contexts/utils.test.js +0 -72
  112. package/out/language-server/chat/contexts/utils.test.js.map +0 -1
  113. package/out/language-server/chat/telemetry/chatTelemetryController.test.d.ts +0 -1
  114. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +0 -195
  115. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +0 -1
  116. package/out/language-server/codeWhispererServer.test.d.ts +0 -1
  117. package/out/language-server/codeWhispererServer.test.js +0 -1377
  118. package/out/language-server/codeWhispererServer.test.js.map +0 -1
  119. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.d.ts +0 -1
  120. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +0 -483
  121. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +0 -1
  122. package/out/language-server/dependencyGraph/gitIgnoreFilter.d.ts +0 -7
  123. package/out/language-server/dependencyGraph/gitIgnoreFilter.js +0 -39
  124. package/out/language-server/dependencyGraph/gitIgnoreFilter.js.map +0 -1
  125. package/out/language-server/languageDetection.test.d.ts +0 -1
  126. package/out/language-server/languageDetection.test.js +0 -31
  127. package/out/language-server/languageDetection.test.js.map +0 -1
  128. package/out/language-server/mergeRightUtils.test.d.ts +0 -1
  129. package/out/language-server/mergeRightUtils.test.js +0 -53
  130. package/out/language-server/mergeRightUtils.test.js.map +0 -1
  131. package/out/language-server/netTransform/tests/converter.test.d.ts +0 -1
  132. package/out/language-server/netTransform/tests/converter.test.js +0 -108
  133. package/out/language-server/netTransform/tests/converter.test.js.map +0 -1
  134. package/out/language-server/netTransform/tests/transformHandler.test.d.ts +0 -1
  135. package/out/language-server/netTransform/tests/transformHandler.test.js +0 -252
  136. package/out/language-server/netTransform/tests/transformHandler.test.js.map +0 -1
  137. package/out/language-server/netTransform/tests/validation.test.d.ts +0 -1
  138. package/out/language-server/netTransform/tests/validation.test.js +0 -84
  139. package/out/language-server/netTransform/tests/validation.test.js.map +0 -1
  140. package/out/language-server/qChatServer.test.d.ts +0 -1
  141. package/out/language-server/qChatServer.test.js +0 -51
  142. package/out/language-server/qChatServer.test.js.map +0 -1
  143. package/out/language-server/securityScan/securityScanHandler.test.d.ts +0 -1
  144. package/out/language-server/securityScan/securityScanHandler.test.js +0 -171
  145. package/out/language-server/securityScan/securityScanHandler.test.js.map +0 -1
  146. package/out/language-server/session/sessionManager.test.d.ts +0 -1
  147. package/out/language-server/session/sessionManager.test.js +0 -588
  148. package/out/language-server/session/sessionManager.test.js.map +0 -1
  149. package/out/language-server/telemetry/codeDiffTracker.test.d.ts +0 -1
  150. package/out/language-server/telemetry/codeDiffTracker.test.js +0 -125
  151. package/out/language-server/telemetry/codeDiffTracker.test.js.map +0 -1
  152. package/out/language-server/telemetry/codePercentage.test.d.ts +0 -1
  153. package/out/language-server/telemetry/codePercentage.test.js +0 -214
  154. package/out/language-server/telemetry/codePercentage.test.js.map +0 -1
  155. package/out/language-server/telemetry/userTriggerDecision.test.d.ts +0 -1
  156. package/out/language-server/telemetry/userTriggerDecision.test.js +0 -1348
  157. package/out/language-server/telemetry/userTriggerDecision.test.js.map +0 -1
  158. package/out/language-server/telemetry.test.d.ts +0 -1
  159. package/out/language-server/telemetry.test.js +0 -98
  160. package/out/language-server/telemetry.test.js.map +0 -1
  161. package/out/language-server/telemetryService.test.d.ts +0 -1
  162. package/out/language-server/telemetryService.test.js +0 -771
  163. package/out/language-server/telemetryService.test.js.map +0 -1
  164. package/out/language-server/utilities/filesystemUtilities.d.ts +0 -8
  165. package/out/language-server/utilities/filesystemUtilities.js +0 -30
  166. package/out/language-server/utilities/filesystemUtilities.js.map +0 -1
  167. package/out/language-server/utilities/filesystemUtilities.test.d.ts +0 -1
  168. package/out/language-server/utilities/filesystemUtilities.test.js +0 -85
  169. package/out/language-server/utilities/filesystemUtilities.test.js.map +0 -1
  170. package/out/language-server/utilities/pathUtils.d.ts +0 -27
  171. package/out/language-server/utilities/pathUtils.js +0 -79
  172. package/out/language-server/utilities/pathUtils.js.map +0 -1
  173. package/out/language-server/utilities/pathUtils.test.d.ts +0 -1
  174. package/out/language-server/utilities/pathUtils.test.js +0 -43
  175. package/out/language-server/utilities/pathUtils.test.js.map +0 -1
  176. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.d.ts +0 -5
  177. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js +0 -49
  178. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js.map +0 -1
  179. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.d.ts +0 -1
  180. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js +0 -157
  181. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js.map +0 -1
  182. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.d.ts +0 -1
  183. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js +0 -88
  184. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +0 -1
  185. package/out/language-server/utilities/telemetryUtils.test.d.ts +0 -1
  186. package/out/language-server/utilities/telemetryUtils.test.js +0 -207
  187. package/out/language-server/utilities/telemetryUtils.test.js.map +0 -1
  188. package/out/language-server/utilities/textUtils.d.ts +0 -1
  189. package/out/language-server/utilities/textUtils.js +0 -12
  190. package/out/language-server/utilities/textUtils.js.map +0 -1
  191. package/out/language-server/utilities/textUtils.test.d.ts +0 -1
  192. package/out/language-server/utilities/textUtils.test.js +0 -21
  193. package/out/language-server/utilities/textUtils.test.js.map +0 -1
  194. package/out/language-server/utils.test.d.ts +0 -1
  195. package/out/language-server/utils.test.js +0 -152
  196. package/out/language-server/utils.test.js.map +0 -1
  197. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller}/LICENSE +0 -0
  198. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/README.md +0 -0
  199. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -0
  200. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -0
  201. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -0
  202. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -0
  203. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -0
  204. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/index.js +0 -0
  205. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -0
  206. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -0
  207. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/abort-controller → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler}/LICENSE +0 -0
  208. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/constants.js +0 -0
  209. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/get-transformed-headers.js +0 -0
  210. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http-handler.js +0 -0
  211. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -0
  212. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -0
  213. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-handler.js +0 -0
  214. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/readable.mock.js +0 -0
  215. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/server.mock.js +0 -0
  216. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-connection-timeout.js +0 -0
  217. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -0
  218. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-timeout.js +0 -0
  219. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/collector.js +0 -0
  220. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/index.js +0 -0
  221. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -0
  222. /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
  223. /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
  224. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/constants.js +0 -0
  225. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/get-transformed-headers.js +0 -0
  226. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/index.js +0 -0
  227. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-pool.js +0 -0
  228. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/readable.mock.js +0 -0
  229. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/collector.js +0 -0
  230. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -0
  231. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/constants.d.ts +0 -0
  232. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -0
  233. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/index.d.ts +0 -0
  234. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -0
  235. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -0
  236. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-handler.d.ts +0 -0
  237. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/readable.mock.d.ts +0 -0
  238. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/server.mock.d.ts +0 -0
  239. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -0
  240. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/index.d.ts +0 -0
  241. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -0
  242. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -0
  243. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -0
  244. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/index.d.ts +0 -0
  245. /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
  246. /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
  247. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -0
  248. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -0
  249. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -0
  250. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -0
  251. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -0
  252. /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
  253. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -0
  254. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/write-request-body.d.ts +0 -0
  255. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/LICENSE +0 -0
  256. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/README.md +0 -0
  257. /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
  258. /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
  259. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
  260. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -0
  261. /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
  262. /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
  263. /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
  264. /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
  265. /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
  266. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Field.js +0 -0
  267. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Fields.js +0 -0
  268. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  269. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -0
  270. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +0 -0
  271. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +0 -0
  272. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/index.js +0 -0
  273. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +0 -0
  274. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/types.js +0 -0
  275. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -0
  276. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +0 -0
  277. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  278. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -0
  279. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -0
  280. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +0 -0
  281. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -0
  282. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +0 -0
  283. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
  284. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
  285. /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
  286. /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
  287. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
  288. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
  289. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
  290. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  291. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
  292. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/types.d.ts +0 -0
  293. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/LICENSE +0 -0
  294. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/README.md +0 -0
  295. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-cjs/index.js +0 -0
  296. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-es/index.js +0 -0
  297. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/index.d.ts +0 -0
  298. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
  299. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/package.json +0 -0
  300. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/LICENSE +0 -0
  301. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/README.md +0 -0
  302. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js → types/dist-cjs/abort.js} +0 -0
  303. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
  304. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
  305. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
  306. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpSigner.js +0 -0
  307. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
  308. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/auth.js +0 -0
  309. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/index.js +0 -0
  310. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
  311. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/client.js → types/dist-cjs/checksum.js} +0 -0
  312. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/command.js → types/dist-cjs/client.js} +0 -0
  313. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js → types/dist-cjs/command.js} +0 -0
  314. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/config.js +0 -0
  315. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/index.js +0 -0
  316. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/manager.js +0 -0
  317. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/pool.js +0 -0
  318. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js → types/dist-cjs/crypto.js} +0 -0
  319. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
  320. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js → types/dist-cjs/encode.js} +0 -0
  321. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js → types/dist-cjs/endpoint.js} +0 -0
  322. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
  323. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
  324. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
  325. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
  326. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/index.js +0 -0
  327. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/shared.js +0 -0
  328. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/http.js → types/dist-cjs/eventStream.js} +0 -0
  329. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/checksum.js +0 -0
  330. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
  331. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
  332. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/index.js +0 -0
  333. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/retry.js +0 -0
  334. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
  335. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
  336. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js → types/dist-cjs/http.js} +0 -0
  337. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
  338. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
  339. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/identity.js +0 -0
  340. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/index.js +0 -0
  341. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/tokenIdentity.js +0 -0
  342. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/index.js +0 -0
  343. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js → types/dist-cjs/logger.js} +0 -0
  344. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js → types/dist-cjs/middleware.js} +0 -0
  345. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js → types/dist-cjs/pagination.js} +0 -0
  346. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/response.js → types/dist-cjs/profile.js} +0 -0
  347. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js → types/dist-cjs/response.js} +0 -0
  348. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js → types/dist-cjs/retry.js} +0 -0
  349. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js → types/dist-cjs/serde.js} +0 -0
  350. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js → types/dist-cjs/shapes.js} +0 -0
  351. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js → types/dist-cjs/signature.js} +0 -0
  352. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js → types/dist-cjs/stream.js} +0 -0
  353. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
  354. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  355. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  356. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js → types/dist-cjs/transfer.js} +0 -0
  357. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-method-transforms.js +0 -0
  358. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
  359. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/exact.js +0 -0
  360. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/no-undefined.js +0 -0
  361. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/type-transform.js +0 -0
  362. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/util.js → types/dist-cjs/uri.js} +0 -0
  363. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js → types/dist-cjs/util.js} +0 -0
  364. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/abort.js +0 -0
  365. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
  366. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthScheme.js +0 -0
  367. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
  368. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpSigner.js +0 -0
  369. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/IdentityProviderConfig.js +0 -0
  370. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/auth.js +0 -0
  371. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/index.js +0 -0
  372. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/blob/blob-payload-input-types.js +0 -0
  373. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/checksum.js +0 -0
  374. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/client.js +0 -0
  375. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/command.js +0 -0
  376. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/config.js +0 -0
  377. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/index.js +0 -0
  378. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/manager.js +0 -0
  379. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/pool.js +0 -0
  380. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/crypto.js +0 -0
  381. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
  382. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/encode.js +0 -0
  383. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoint.js +0 -0
  384. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
  385. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
  386. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/RuleSetObject.js +0 -0
  387. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/TreeRuleObject.js +0 -0
  388. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/index.js +0 -0
  389. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/shared.js +0 -0
  390. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/eventStream.js +0 -0
  391. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/checksum.js +0 -0
  392. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
  393. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
  394. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/index.js +0 -0
  395. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/retry.js +0 -0
  396. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/externals-check/browser-externals-check.js +0 -0
  397. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http/httpHandlerInitialization.js +0 -0
  398. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http.js +0 -0
  399. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/apiKeyIdentity.js +0 -0
  400. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/awsCredentialIdentity.js +0 -0
  401. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/identity.js +0 -0
  402. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/index.js +0 -0
  403. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/tokenIdentity.js +0 -0
  404. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/index.js +0 -0
  405. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/logger.js +0 -0
  406. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/middleware.js +0 -0
  407. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/pagination.js +0 -0
  408. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/profile.js +0 -0
  409. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/response.js +0 -0
  410. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/retry.js +0 -0
  411. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/serde.js +0 -0
  412. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/shapes.js +0 -0
  413. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/signature.js +0 -0
  414. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/stream.js +0 -0
  415. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
  416. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  417. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  418. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transfer.js +0 -0
  419. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-method-transforms.js +0 -0
  420. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
  421. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/exact.js +0 -0
  422. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/no-undefined.js +0 -0
  423. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/type-transform.js +0 -0
  424. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/uri.js +0 -0
  425. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/util.js +0 -0
  426. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/waiter.js +0 -0
  427. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/abort.d.ts +0 -0
  428. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
  429. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
  430. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
  431. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpSigner.d.ts +0 -0
  432. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
  433. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/auth.d.ts +0 -0
  434. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/index.d.ts +0 -0
  435. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
  436. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/checksum.d.ts +0 -0
  437. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/client.d.ts +0 -0
  438. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/command.d.ts +0 -0
  439. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/config.d.ts +0 -0
  440. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/index.d.ts +0 -0
  441. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/manager.d.ts +0 -0
  442. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/pool.d.ts +0 -0
  443. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/crypto.d.ts +0 -0
  444. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  445. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/encode.d.ts +0 -0
  446. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoint.d.ts +0 -0
  447. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
  448. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
  449. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
  450. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
  451. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/index.d.ts +0 -0
  452. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/shared.d.ts +0 -0
  453. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/eventStream.d.ts +0 -0
  454. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/checksum.d.ts +0 -0
  455. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
  456. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
  457. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/index.d.ts +0 -0
  458. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/retry.d.ts +0 -0
  459. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
  460. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
  461. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http.d.ts +0 -0
  462. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
  463. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
  464. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/identity.d.ts +0 -0
  465. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/index.d.ts +0 -0
  466. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/tokenIdentity.d.ts +0 -0
  467. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/index.d.ts +0 -0
  468. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/logger.d.ts +0 -0
  469. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/middleware.d.ts +0 -0
  470. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/pagination.d.ts +0 -0
  471. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/profile.d.ts +0 -0
  472. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/response.d.ts +0 -0
  473. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/retry.d.ts +0 -0
  474. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/serde.d.ts +0 -0
  475. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/shapes.d.ts +0 -0
  476. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/signature.d.ts +0 -0
  477. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/stream.d.ts +0 -0
  478. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  479. /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
  480. /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
  481. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transfer.d.ts +0 -0
  482. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-method-transforms.d.ts +0 -0
  483. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
  484. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/exact.d.ts +0 -0
  485. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/no-undefined.d.ts +0 -0
  486. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/type-transform.d.ts +0 -0
  487. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/abort.d.ts +0 -0
  488. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
  489. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
  490. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
  491. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
  492. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
  493. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
  494. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/index.d.ts +0 -0
  495. /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
  496. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/checksum.d.ts +0 -0
  497. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/client.d.ts +0 -0
  498. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/command.d.ts +0 -0
  499. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/config.d.ts +0 -0
  500. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/index.d.ts +0 -0
  501. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
  502. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
  503. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/crypto.d.ts +0 -0
  504. /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
  505. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/encode.d.ts +0 -0
  506. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoint.d.ts +0 -0
  507. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
  508. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
  509. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
  510. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
  511. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
  512. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
  513. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/eventStream.d.ts +0 -0
  514. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
  515. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
  516. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
  517. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
  518. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
  519. /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
  520. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
  521. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http.d.ts +0 -0
  522. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
  523. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
  524. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
  525. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/index.d.ts +0 -0
  526. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
  527. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/index.d.ts +0 -0
  528. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/logger.d.ts +0 -0
  529. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/middleware.d.ts +0 -0
  530. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/pagination.d.ts +0 -0
  531. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/profile.d.ts +0 -0
  532. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/response.d.ts +0 -0
  533. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/retry.d.ts +0 -0
  534. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/serde.d.ts +0 -0
  535. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/shapes.d.ts +0 -0
  536. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/signature.d.ts +0 -0
  537. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/stream.d.ts +0 -0
  538. /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
  539. /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
  540. /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
  541. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transfer.d.ts +0 -0
  542. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
  543. /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
  544. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
  545. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
  546. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/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/uri.d.ts +0 -0
  548. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/util.d.ts +0 -0
  549. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/waiter.d.ts +0 -0
  550. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/uri.d.ts +0 -0
  551. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/util.d.ts +0 -0
  552. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/waiter.d.ts +0 -0
  553. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/package.json +0 -0
@@ -1,2 +1,5 @@
1
1
  export declare const DEFAULT_AWS_Q_ENDPOINT_URL = "https://codewhisperer.us-east-1.amazonaws.com/";
2
2
  export declare const DEFAULT_AWS_Q_REGION = "us-east-1";
3
+ export declare const AWS_Q_ENDPOINTS: {
4
+ "us-east-1": string;
5
+ };
package/out/constants.js CHANGED
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_AWS_Q_REGION = exports.DEFAULT_AWS_Q_ENDPOINT_URL = void 0;
3
+ exports.AWS_Q_ENDPOINTS = exports.DEFAULT_AWS_Q_REGION = exports.DEFAULT_AWS_Q_ENDPOINT_URL = void 0;
4
4
  exports.DEFAULT_AWS_Q_ENDPOINT_URL = 'https://codewhisperer.us-east-1.amazonaws.com/';
5
5
  exports.DEFAULT_AWS_Q_REGION = 'us-east-1';
6
+ exports.AWS_Q_ENDPOINTS = {
7
+ [exports.DEFAULT_AWS_Q_REGION]: exports.DEFAULT_AWS_Q_ENDPOINT_URL,
8
+ };
6
9
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gDAAgD,CAAA;AAC7E,QAAA,oBAAoB,GAAG,WAAW,CAAA"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gDAAgD,CAAA;AAC7E,QAAA,oBAAoB,GAAG,WAAW,CAAA;AAElC,QAAA,eAAe,GAAG;IAC3B,CAAC,4BAAoB,CAAC,EAAE,kCAA0B;CACrD,CAAA"}
@@ -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
+ nextToken = response.nextToken;
48
+ numberOfPages++;
49
+ logging.debug(`Fetched profiles from ${region}: ${JSON.stringify(response)} (iteration: ${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 qCapibilities = initializationOptions.awsClientCapabilities?.[AWSQCapabilitiesKey];
77
+ if ((0, utils_1.isObject)(qCapibilities) &&
78
+ !(qCapibilities instanceof Array) &&
79
+ developerProfilesEnabledKey in qCapibilities &&
80
+ (0, utils_1.isBool)(qCapibilities[developerProfilesEnabledKey])) {
81
+ return qCapibilities[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":";;;AAyHA,kFAaC;AAtID,qFAKuD;AACvD,oCAA8D;AAC9D,+CAAiD;AAuBpC,QAAA,6BAA6B,GAAG,EAAE,CAAA;AAC/C,MAAM,iCAAiC,GAAG,EAAE,CAAA;AAErC,MAAM,kCAAkC,GAC3C,CAAC,OAAwE,EAAmC,EAAE,CAC9G,KAAK,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAA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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'>;
7
7
  export declare class ChatController implements ChatHandlers {
8
8
  #private;
9
9
  constructor(chatSessionManagementService: ChatSessionManagementService, features: Features, telemetryService: TelemetryService);
@@ -14,7 +14,7 @@ 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
18
  class ChatController {
19
19
  #features;
20
20
  #chatSessionManagementService;
@@ -317,7 +317,7 @@ class ChatController {
317
317
  try {
318
318
  const qConfig = await this.#features.lsp.workspace.getConfiguration(qConfigurationServer_1.Q_CONFIGURATION_SECTION);
319
319
  if (qConfig) {
320
- this.#customizationArn = (0, textUtils_1.undefinedIfEmpty)(qConfig.customization);
320
+ this.#customizationArn = lsp_core_1.textUtils.undefinedIfEmpty(qConfig.customization);
321
321
  this.#log(`Chat configuration updated to use ${this.#customizationArn}`);
322
322
  /*
323
323
  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,qF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kB;YACxE,wBAAwB,EAAE,eAAe,CAAC,WAAW,CAAC,0BAA0B;YAChF,uBAAuB,EAAE,eAAe,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC;SAC7D,CAAC,CAAA;QAEF,OAAO,eAAe,CAAC,SAAS,EAAE,CAAA;IACtC,CAAC;IAED,mBAAmB,GAAG,KAAK,IAAI,EAAE;QAC7B,IAAI,CAAC;YACD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,GAAG,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;AAvZD,wCAuZC"}
@@ -12,7 +12,7 @@ const utils_1 = require("./utils");
12
12
  const telemetryUtils_1 = require("./utilities/telemetryUtils");
13
13
  const qConfigurationServer_1 = require("./configuration/qConfigurationServer");
14
14
  const supplementalContextUtil_1 = require("./utilities/supplementalContextUtil/supplementalContextUtil");
15
- const textUtils_1 = require("./utilities/textUtils");
15
+ const lsp_core_1 = require("@aws/lsp-core");
16
16
  const telemetryService_1 = require("./telemetryService");
17
17
  const codeDiffTracker_1 = require("./telemetry/codeDiffTracker");
18
18
  const constants_1 = require("../constants");
@@ -120,36 +120,11 @@ const emitUserTriggerDecisionTelemetry = async (telemetry, telemetryService, ses
120
120
  return;
121
121
  }
122
122
  await emitAggregatedUserTriggerDecisionTelemetry(telemetryService, session, timeSinceLastUserModification);
123
- emitUserDecisionTelemetry(telemetry, session);
124
123
  session.reportedUserDecision = true;
125
124
  };
126
125
  const emitAggregatedUserTriggerDecisionTelemetry = (telemetryService, session, timeSinceLastUserModification) => {
127
126
  return telemetryService.emitUserTriggerDecision(session, timeSinceLastUserModification);
128
127
  };
129
- const emitUserDecisionTelemetry = (telemetry, session) => {
130
- session.suggestions.forEach((suggestion, i) => {
131
- const licenses = suggestion.references?.map(r => r.licenseName).filter((l) => !!l);
132
- const data = {
133
- codewhispererRequestId: session.responseContext?.requestId,
134
- codewhispererSessionId: session.responseContext?.codewhispererSessionId,
135
- codewhispererCompletionType: (0, utils_1.getCompletionType)(suggestion),
136
- codewhispererTriggerType: session.triggerType,
137
- codewhispererLanguage: session.language,
138
- credentialStartUrl: session.credentialStartUrl,
139
- codewhispererSuggestionIndex: i,
140
- codewhispererSuggestionState: session.getSuggestionState(suggestion.itemId),
141
- codewhispererSuggestionReferences: [...new Set(licenses)],
142
- codewhispererSuggestionReferenceCount: suggestion.references?.length || 0,
143
- codewhispererSupplementalContextTimeout: session.supplementalMetadata?.isProcessTimeout,
144
- codewhispererSupplementalContextIsUtg: session.supplementalMetadata?.isUtg,
145
- codewhispererSupplementalContextLength: session.supplementalMetadata?.contentsLength,
146
- };
147
- telemetry.emitMetric({
148
- name: 'codewhisperer_userDecision',
149
- data,
150
- });
151
- });
152
- };
153
128
  const mergeSuggestionsWithRightContext = (rightFileContext, suggestions, range) => {
154
129
  return suggestions.map(suggestion => {
155
130
  const insertText = (0, mergeRightUtils_1.truncateOverlapWithRightContext)(rightFileContext, suggestion.content);
@@ -291,7 +266,7 @@ const CodewhispererServerFactory = (service) => ({ credentialsProvider, lsp, wor
291
266
  classifierThreshold: autoTriggerResult?.classifierThreshold,
292
267
  credentialStartUrl: credentialsProvider.getConnectionMetadata?.()?.sso?.startUrl ?? undefined,
293
268
  supplementalMetadata: supplementalContext,
294
- customizationArn: (0, textUtils_1.undefinedIfEmpty)(codeWhispererService.customizationArn),
269
+ customizationArn: lsp_core_1.textUtils.undefinedIfEmpty(codeWhispererService.customizationArn),
295
270
  });
296
271
  return codeWhispererService
297
272
  .generateSuggestions({
@@ -427,13 +402,13 @@ const CodewhispererServerFactory = (service) => ({ credentialsProvider, lsp, wor
427
402
  try {
428
403
  const qConfig = await lsp.workspace.getConfiguration(qConfigurationServer_1.Q_CONFIGURATION_SECTION);
429
404
  if (qConfig) {
430
- codeWhispererService.customizationArn = (0, textUtils_1.undefinedIfEmpty)(qConfig.customization);
431
- codePercentageTracker.customizationArn = (0, textUtils_1.undefinedIfEmpty)(qConfig.customization);
405
+ codeWhispererService.customizationArn = lsp_core_1.textUtils.undefinedIfEmpty(qConfig.customization);
406
+ codePercentageTracker.customizationArn = lsp_core_1.textUtils.undefinedIfEmpty(qConfig.customization);
432
407
  logging.log(`Inline completion configuration updated to use ${codeWhispererService.customizationArn}`);
433
408
  /*
434
- The flag enableTelemetryEventsToDestination is set to true temporarily. It's value will be determined through destination
435
- configuration post all events migration to STE. It'll be replaced by qConfig['enableTelemetryEventsToDestination'] === true
436
- */
409
+ The flag enableTelemetryEventsToDestination is set to true temporarily. It's value will be determined through destination
410
+ configuration post all events migration to STE. It'll be replaced by qConfig['enableTelemetryEventsToDestination'] === true
411
+ */
437
412
  // const enableTelemetryEventsToDestination = true
438
413
  // telemetryService.updateEnableTelemetryEventsToDestination(enableTelemetryEventsToDestination)
439
414
  const optOutTelemetryPreference = qConfig['optOutTelemetry'] === true ? 'OPTOUT' : 'OPTIN';
@@ -1 +1 @@
1
- {"version":3,"file":"codeWhispererServer.js","sourceRoot":"","sources":["../../src/language-server/codeWhispererServer.ts"],"names":[],"mappings":";;;AAAA,qFAgBuD;AAEvD,4DAAqE;AACrE,iEAM+B;AAC/B,2DAAmF;AACnF,uDAAmE;AACnE,6DAA+E;AAC/E,+DAAkE;AAMlE,mCAA4F;AAC5F,+DAAgF;AAChF,+EAA8E;AAC9E,yGAAsG;AACtG,qDAAwD;AACxD,yDAAqD;AACrD,iEAAsF;AACtF,4CAA+E;AAE/E,MAAM,YAAY,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;AACpC,QAAA,wBAAwB,GAAG,KAAK,CAAA;AAE7C,qGAAqG;AACrG,MAAM,cAAc,GAAG,CAAC,MAIvB,EAOC,EAAE;IACA,MAAM,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC;QACrC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE;QAChC,GAAG,EAAE,MAAM,CAAC,QAAQ;KACvB,CAAC,CAAA;IACF,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC;QACtC,KAAK,EAAE,MAAM,CAAC,QAAQ;QACtB,GAAG,EAAE,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;KAC5E,CAAC,CAAA;IAEF,OAAO;QACH,QAAQ,EAAE,MAAM,CAAC,YAAY,CAAC,GAAG;QACjC,mBAAmB,EAAE;YACjB,YAAY,EAAE,MAAM,CAAC,kBAAkB;SAC1C;QACD,eAAe,EAAE,IAAI;QACrB,gBAAgB,EAAE,KAAK;KAC1B,CAAA;AACL,CAAC,CAAA;AAED,MAAM,8BAA8B,GAAG,CAAC,SAAoB,EAAE,OAA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,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,CAAC,CACnH,CAAA"}
@@ -90,6 +90,10 @@ export declare class CodeWhispererServiceToken extends CodeWhispererServiceBase
90
90
  * @description Get list of available customizations
91
91
  */
92
92
  listAvailableCustomizations(request: CodeWhispererTokenClient.ListAvailableCustomizationsRequest): Promise<PromiseResult<CodeWhispererTokenClient.ListAvailableCustomizationsResponse, AWSError>>;
93
+ /**
94
+ * @description Get list of available profiles
95
+ */
96
+ listAvailableProfiles(request: CodeWhispererTokenClient.ListAvailableProfilesRequest): Promise<PromiseResult<CodeWhispererTokenClient.ListAvailableProfilesResponse, AWSError>>;
93
97
  /**
94
98
  * @description send telemetry event to code whisperer data warehouse
95
99
  */
@@ -179,6 +179,12 @@ class CodeWhispererServiceToken extends CodeWhispererServiceBase {
179
179
  async listAvailableCustomizations(request) {
180
180
  return this.client.listAvailableCustomizations(request).promise();
181
181
  }
182
+ /**
183
+ * @description Get list of available profiles
184
+ */
185
+ async listAvailableProfiles(request) {
186
+ return this.client.listAvailableProfiles(request).promise();
187
+ }
182
188
  /**
183
189
  * @description send telemetry event to code whisperer data warehouse
184
190
  */
@@ -1 +1 @@
1
- {"version":3,"file":"codeWhispererService.js","sourceRoot":"","sources":["../../src/language-server/codeWhispererService.ts"],"names":[],"mappings":";;;AAOA,qCAA8F;AAG9F,+BAAmC;AACnC,iEAGsC;AACtC,iEAGsC;AA6BtC,iIAAiI;AACjI,sGAAsG;AACtG,MAAsB,wBAAwB;IACvB,mBAAmB,CAAA;IACnB,qBAAqB,CAAA;IACjC,gCAAgC,GAAG,KAAK,CAAA;IACxC,gBAAgB,CAAS;IAOhC,YAAY,SAAoB,EAAE,mBAA2B,EAAE,qBAA6B;QACxF,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;IACtD,CAAC;IAED;;OAEG;IACI,kBAAkB,CAAC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ACH,KAAK,CAAC,wBAAwB,CAC1B,OAAiE;QAEjE,OAAO,IAAI,CAAC,MAAM,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;IAClE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,2BAA2B,CAAC,OAAoE;QAClG,OAAO,IAAI,CAAC,MAAM,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;IACrE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,kBAAkB,CAAC,OAA2D;QAChF,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;IAC5D,CAAC;CACJ;AA1JD,8DA0JC"}
1
+ {"version":3,"file":"codeWhispererService.js","sourceRoot":"","sources":["../../src/language-server/codeWhispererService.ts"],"names":[],"mappings":";;;AAOA,qCAA8F;AAG9F,+BAAmC;AACnC,iEAGsC;AACtC,iEAGsC;AA6BtC,iIAAiI;AACjI,sGAAsG;AACtG,MAAsB,wBAAwB;IACvB,mBAAmB,CAAA;IACnB,qBAAqB,CAAA;IACjC,gCAAgC,GAAG,KAAK,CAAA;IACxC,gBAAgB,CAAS;IAOhC,YAAY,SAAoB,EAAE,mBAA2B,EAAE,qBAA6B;QACxF,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;IACtD,CAAC;IAED;;OAEG;IACI,kBAAkB,CAAC,OAA6B;QACnD,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IACtC,CAAC;IAED,cAAc,GAAG,GAAG,EAAE,CAAC,IAAA,SAAM,GAAE,CAAA;CAClC;AAxBD,4DAwBC;AAED,MAAa,uBAAwB,SAAQ,wBAAwB;IACjE,MAAM,CAA0B;IAChC,YACI,mBAAwC,EACxC,SAAoB,EACpB,mBAA2B,EAC3B,qBAA6B,EAC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OAEG;IACH,KAAK,CAAC,qBAAqB,CAAC,OAA8D;QACtF,OAAO,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;IAC/D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,kBAAkB,CAAC,OAA2D;QAChF,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;IAC5D,CAAC;CACJ;AAjKD,8DAiKC"}
@@ -1,5 +1,22 @@
1
- import { CredentialsProvider, Server, Workspace } from '@aws/language-server-runtimes/server-interface';
1
+ import { CredentialsProvider, Logging, Server, Workspace } from '@aws/language-server-runtimes/server-interface';
2
2
  import { CodeWhispererServiceToken } from '../codeWhispererService';
3
3
  import { SDKInitializator } from '@aws/language-server-runtimes/server-interface';
4
+ import { AmazonQDeveloperProfile } from '../amazonQServiceManager/qDeveloperProfiles';
5
+ import { Customizations } from '../../client/token/codewhispererbearertokenclient';
4
6
  export declare const Q_CONFIGURATION_SECTION = "aws.q";
7
+ export declare const Q_CUSTOMIZATIONS_CONFIGURATION_SECTION = "aws.q.customizations";
8
+ export declare const Q_DEVELOPER_PROFILES_CONFIGURATION_SECTION = "aws.q.developerProfiles";
5
9
  export declare const QConfigurationServerToken: (service: (credentials: CredentialsProvider, workspace: Workspace, awsQRegion: string, awsQEndpointUrl: string, sdkInitializator: SDKInitializator) => CodeWhispererServiceToken) => Server;
10
+ export declare class ServerConfigurationProvider {
11
+ private service;
12
+ private credentialsProvider;
13
+ private logging;
14
+ private _qDeveloperProfilesEnabled;
15
+ private listAllAvailableProfilesHandler;
16
+ constructor(service: CodeWhispererServiceToken, credentialsProvider: CredentialsProvider, logging: Logging, serviceFromEndpointAndRegion: (region: string, endpoint: string) => CodeWhispererServiceToken);
17
+ get qDeveloperProfilesEnabled(): boolean;
18
+ set qDeveloperProfilesEnabled(value: boolean);
19
+ listAvailableProfiles(): Promise<AmazonQDeveloperProfile[]>;
20
+ listAvailableCustomizations(): Promise<Customizations>;
21
+ private getResponseError;
22
+ }
@@ -1,32 +1,133 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QConfigurationServerToken = exports.Q_CONFIGURATION_SECTION = void 0;
3
+ exports.ServerConfigurationProvider = exports.QConfigurationServerToken = exports.Q_DEVELOPER_PROFILES_CONFIGURATION_SECTION = exports.Q_CUSTOMIZATIONS_CONFIGURATION_SECTION = exports.Q_CONFIGURATION_SECTION = void 0;
4
+ const server_interface_1 = require("@aws/language-server-runtimes/server-interface");
4
5
  const telemetryUtils_1 = require("../utilities/telemetryUtils");
5
6
  const constants_1 = require("../../constants");
7
+ const qDeveloperProfiles_1 = require("../amazonQServiceManager/qDeveloperProfiles");
6
8
  // The configuration section that the server will register and listen to
7
9
  exports.Q_CONFIGURATION_SECTION = 'aws.q';
10
+ const Q_CUSTOMIZATIONS = 'customizations';
11
+ const Q_DEVELOPER_PROFILES = 'developerProfiles';
12
+ exports.Q_CUSTOMIZATIONS_CONFIGURATION_SECTION = `${exports.Q_CONFIGURATION_SECTION}.${Q_CUSTOMIZATIONS}`;
13
+ exports.Q_DEVELOPER_PROFILES_CONFIGURATION_SECTION = `${exports.Q_CONFIGURATION_SECTION}.${Q_DEVELOPER_PROFILES}`;
8
14
  const QConfigurationServerToken = (service) => ({ credentialsProvider, lsp, logging, runtime, workspace, sdkInitializator }) => {
9
15
  const codeWhispererService = service(credentialsProvider, workspace, runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION, runtime.getConfiguration('AWS_Q_ENDPOINT_URL') ?? constants_1.DEFAULT_AWS_Q_ENDPOINT_URL, sdkInitializator);
16
+ const serverConfigurationProvider = new ServerConfigurationProvider(codeWhispererService, credentialsProvider, logging, (region, endpoint) => {
17
+ const client = service(credentialsProvider, workspace, region, endpoint, sdkInitializator);
18
+ if (codeWhispererService.client.config.customUserAgent)
19
+ client.updateClientConfig({
20
+ customUserAgent: codeWhispererService.client.config.customUserAgent,
21
+ });
22
+ return client;
23
+ });
10
24
  lsp.addInitializer((params) => {
11
25
  codeWhispererService.updateClientConfig({
12
26
  customUserAgent: (0, telemetryUtils_1.getUserAgent)(params, runtime.serverInfo),
13
27
  });
28
+ if (params.initializationOptions?.aws) {
29
+ const isDeveloperProfilesEnabled = (0, qDeveloperProfiles_1.signalsAWSQDeveloperProfilesEnabled)(params.initializationOptions.aws);
30
+ serverConfigurationProvider.qDeveloperProfilesEnabled = isDeveloperProfilesEnabled;
31
+ }
14
32
  return {
15
33
  capabilities: {},
16
34
  awsServerCapabilities: {
17
- configurationProvider: { sections: [exports.Q_CONFIGURATION_SECTION] },
35
+ configurationProvider: {
36
+ sections: [
37
+ exports.Q_CONFIGURATION_SECTION,
38
+ exports.Q_CUSTOMIZATIONS_CONFIGURATION_SECTION,
39
+ exports.Q_DEVELOPER_PROFILES_CONFIGURATION_SECTION,
40
+ ],
41
+ },
18
42
  },
19
43
  };
20
44
  });
21
45
  lsp.extensions.onGetConfigurationFromServer(async (params, token) => {
22
- if (params.section === exports.Q_CONFIGURATION_SECTION) {
23
- const customizations = (await codeWhispererService.listAvailableCustomizations({ maxResults: 100 }))
24
- .customizations;
25
- return { customizations };
46
+ const section = params.section;
47
+ let customizations;
48
+ let developerProfiles;
49
+ try {
50
+ switch (section) {
51
+ case exports.Q_CONFIGURATION_SECTION:
52
+ ;
53
+ [customizations, developerProfiles] = await Promise.all([
54
+ serverConfigurationProvider.listAvailableCustomizations(),
55
+ serverConfigurationProvider.listAvailableProfiles(),
56
+ ]);
57
+ return serverConfigurationProvider.qDeveloperProfilesEnabled
58
+ ? { customizations, developerProfiles }
59
+ : { customizations };
60
+ case exports.Q_CUSTOMIZATIONS_CONFIGURATION_SECTION:
61
+ customizations = await serverConfigurationProvider.listAvailableCustomizations();
62
+ return customizations;
63
+ case exports.Q_DEVELOPER_PROFILES_CONFIGURATION_SECTION:
64
+ developerProfiles = await serverConfigurationProvider.listAvailableProfiles();
65
+ return developerProfiles;
66
+ default:
67
+ break;
68
+ }
69
+ }
70
+ catch (error) {
71
+ if (error instanceof server_interface_1.ResponseError) {
72
+ throw error;
73
+ }
74
+ logging.error(`Failed to fetch resources for section ${section}: ${error}`);
75
+ throw new server_interface_1.ResponseError(server_interface_1.LSPErrorCodes.RequestFailed, `An unexpected error occured while fetching resource(s) for section: ${section}`);
26
76
  }
27
77
  });
28
78
  logging.log('Amazon Q Customization server has been initialised');
29
79
  return () => { };
30
80
  };
31
81
  exports.QConfigurationServerToken = QConfigurationServerToken;
82
+ const ON_GET_CONFIGURATION_FROM_SERVER_ERROR_PREFIX = 'Failed to fetch: ';
83
+ class ServerConfigurationProvider {
84
+ service;
85
+ credentialsProvider;
86
+ logging;
87
+ _qDeveloperProfilesEnabled = false;
88
+ listAllAvailableProfilesHandler;
89
+ constructor(service, credentialsProvider, logging, serviceFromEndpointAndRegion) {
90
+ this.service = service;
91
+ this.credentialsProvider = credentialsProvider;
92
+ this.logging = logging;
93
+ this.listAllAvailableProfilesHandler = (0, qDeveloperProfiles_1.getListAllAvailableProfilesHandler)(serviceFromEndpointAndRegion);
94
+ }
95
+ get qDeveloperProfilesEnabled() {
96
+ return this._qDeveloperProfilesEnabled;
97
+ }
98
+ set qDeveloperProfilesEnabled(value) {
99
+ this.logging.debug(`Setting qDeveloperProfilesEnabled to: ${value}`);
100
+ this._qDeveloperProfilesEnabled = value;
101
+ }
102
+ async listAvailableProfiles() {
103
+ if (!this.qDeveloperProfilesEnabled) {
104
+ this.logging.debug('Q developer profiles disabled - returning empty list');
105
+ return [];
106
+ }
107
+ try {
108
+ const profiles = await this.listAllAvailableProfilesHandler({
109
+ connectionType: this.credentialsProvider.getConnectionType(),
110
+ logging: this.logging,
111
+ });
112
+ return profiles;
113
+ }
114
+ catch (error) {
115
+ throw this.getResponseError(`${ON_GET_CONFIGURATION_FROM_SERVER_ERROR_PREFIX}${Q_DEVELOPER_PROFILES}`, error);
116
+ }
117
+ }
118
+ async listAvailableCustomizations() {
119
+ try {
120
+ const customizations = (await this.service.listAvailableCustomizations({ maxResults: 100 })).customizations;
121
+ return customizations;
122
+ }
123
+ catch (error) {
124
+ throw this.getResponseError(`${ON_GET_CONFIGURATION_FROM_SERVER_ERROR_PREFIX}${Q_CUSTOMIZATIONS}`, error);
125
+ }
126
+ }
127
+ getResponseError(message, error) {
128
+ this.logging.error(`${message}: ${error}`);
129
+ return new server_interface_1.ResponseError(server_interface_1.LSPErrorCodes.RequestFailed, message);
130
+ }
131
+ }
132
+ exports.ServerConfigurationProvider = ServerConfigurationProvider;
32
133
  //# sourceMappingURL=qConfigurationServer.js.map