@aws/lsp-codewhisperer 0.0.18 → 0.0.20

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 (537) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/out/client/streamingClient/codewhispererStreamingClient.d.ts +2 -2
  3. package/out/client/streamingClient/codewhispererStreamingClient.js +13 -8
  4. package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
  5. package/out/constants.d.ts +2 -2
  6. package/out/constants.js +3 -3
  7. package/out/constants.js.map +1 -1
  8. package/out/language-server/chat/chatController.js +31 -11
  9. package/out/language-server/chat/chatController.js.map +1 -1
  10. package/out/language-server/chat/chatController.test.js +374 -2
  11. package/out/language-server/chat/chatController.test.js.map +1 -1
  12. package/out/language-server/chat/chatSessionManagementService.d.ts +2 -0
  13. package/out/language-server/chat/chatSessionManagementService.js +23 -1
  14. package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
  15. package/out/language-server/chat/chatSessionManagementService.test.js +6 -2
  16. package/out/language-server/chat/chatSessionManagementService.test.js.map +1 -1
  17. package/out/language-server/chat/chatSessionService.d.ts +1 -1
  18. package/out/language-server/chat/chatSessionService.js +5 -4
  19. package/out/language-server/chat/chatSessionService.js.map +1 -1
  20. package/out/language-server/chat/chatSessionService.test.js +4 -1
  21. package/out/language-server/chat/chatSessionService.test.js.map +1 -1
  22. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +2 -2
  23. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +1 -1
  24. package/out/language-server/codeWhispererSecurityScanServer.d.ts +2 -2
  25. package/out/language-server/codeWhispererSecurityScanServer.js +2 -1
  26. package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
  27. package/out/language-server/codeWhispererServer.d.ts +2 -2
  28. package/out/language-server/codeWhispererServer.js +21 -12
  29. package/out/language-server/codeWhispererServer.js.map +1 -1
  30. package/out/language-server/codeWhispererServer.test.js +39 -12
  31. package/out/language-server/codeWhispererServer.test.js.map +1 -1
  32. package/out/language-server/codeWhispererService.d.ts +4 -4
  33. package/out/language-server/codeWhispererService.js +14 -10
  34. package/out/language-server/codeWhispererService.js.map +1 -1
  35. package/out/language-server/configuration/qConfigurationServer.d.ts +2 -2
  36. package/out/language-server/configuration/qConfigurationServer.js +3 -2
  37. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  38. package/out/language-server/dependencyGraph/dependencyGraph.d.ts +1 -1
  39. package/out/language-server/netTransform/tests/transformHandler.test.js +5 -2
  40. package/out/language-server/netTransform/tests/transformHandler.test.js.map +1 -1
  41. package/out/language-server/netTransform/tests/validation.test.js +5 -3
  42. package/out/language-server/netTransform/tests/validation.test.js.map +1 -1
  43. package/out/language-server/netTransform/transformHandler.js +2 -2
  44. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  45. package/out/language-server/netTransform/validation.d.ts +3 -2
  46. package/out/language-server/netTransform/validation.js +12 -5
  47. package/out/language-server/netTransform/validation.js.map +1 -1
  48. package/out/language-server/netTransformServer.d.ts +2 -2
  49. package/out/language-server/netTransformServer.js +3 -2
  50. package/out/language-server/netTransformServer.js.map +1 -1
  51. package/out/language-server/proxy-server.js +21 -13
  52. package/out/language-server/proxy-server.js.map +1 -1
  53. package/out/language-server/qChatServer.d.ts +1 -1
  54. package/out/language-server/qChatServer.js +6 -3
  55. package/out/language-server/qChatServer.js.map +1 -1
  56. package/out/language-server/telemetry/codePercentage.test.js +1 -0
  57. package/out/language-server/telemetry/codePercentage.test.js.map +1 -1
  58. package/out/language-server/telemetry/userTriggerDecision.test.js +0 -5
  59. package/out/language-server/telemetry/userTriggerDecision.test.js.map +1 -1
  60. package/out/language-server/telemetryService.d.ts +2 -2
  61. package/out/language-server/telemetryService.js +2 -2
  62. package/out/language-server/telemetryService.js.map +1 -1
  63. package/out/language-server/telemetryService.test.js +25 -22
  64. package/out/language-server/telemetryService.test.js.map +1 -1
  65. package/out/language-server/testUtils.d.ts +1 -0
  66. package/out/language-server/testUtils.js +2 -1
  67. package/out/language-server/testUtils.js.map +1 -1
  68. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +1 -1
  69. package/out/language-server/utils.d.ts +2 -2
  70. package/out/language-server/utils.js +9 -4
  71. package/out/language-server/utils.js.map +1 -1
  72. package/package.json +4 -3
  73. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/README.md +0 -4
  74. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -295
  75. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/auth.js +0 -1
  76. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js +0 -1
  77. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/connection.js +0 -1
  78. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/credentials.js +0 -1
  79. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/dns.js +0 -5
  80. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/endpoint.js +0 -1
  81. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/extensions/index.js +0 -1
  82. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/http.js +0 -1
  83. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +0 -1
  84. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +0 -1
  85. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
  86. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +0 -1
  87. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +0 -1
  88. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/index.js +0 -5
  89. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +0 -32
  90. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/middleware.js +0 -1
  91. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/profile.js +0 -1
  92. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/request.js +0 -1
  93. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/token.js +0 -1
  94. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/transfer.js +0 -1
  95. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/abort.d.ts +0 -1
  96. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/auth.d.ts +0 -1
  97. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +0 -2
  98. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +0 -1
  99. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/client.d.ts +0 -1
  100. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/command.d.ts +0 -1
  101. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/connection.d.ts +0 -1
  102. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +0 -49
  103. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +0 -1
  104. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/dns.d.ts +0 -85
  105. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/encode.d.ts +0 -1
  106. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +0 -1
  107. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +0 -1
  108. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +0 -8
  109. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/http.d.ts +0 -33
  110. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +0 -6
  111. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +0 -1
  112. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +0 -1
  113. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +0 -18
  114. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +0 -1
  115. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +0 -5
  116. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +0 -32
  117. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/logger.d.ts +0 -22
  118. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +0 -1
  119. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +0 -1
  120. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/profile.d.ts +0 -1
  121. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/request.d.ts +0 -7
  122. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/response.d.ts +0 -7
  123. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/retry.d.ts +0 -1
  124. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/serde.d.ts +0 -24
  125. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +0 -1
  126. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/signature.d.ts +0 -1
  127. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/stream.d.ts +0 -1
  128. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/token.d.ts +0 -17
  129. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +0 -1
  130. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +0 -1
  131. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +0 -5
  132. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +0 -2
  133. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +0 -1
  134. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +0 -1
  135. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +0 -1
  136. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +0 -6
  137. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +0 -12
  138. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +0 -7
  139. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +0 -19
  140. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +0 -6
  141. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +0 -9
  142. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +0 -24
  143. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +0 -5
  144. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +0 -17
  145. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +0 -2
  146. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +0 -4
  147. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +0 -1
  148. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +0 -6
  149. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +0 -1
  150. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +0 -5
  151. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +0 -32
  152. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +0 -15
  153. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +0 -40
  154. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +0 -1
  155. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +0 -6
  156. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +0 -4
  157. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +0 -4
  158. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +0 -12
  159. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +0 -16
  160. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +0 -6
  161. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +0 -15
  162. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +0 -4
  163. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +0 -4
  164. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +0 -7
  165. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +0 -1
  166. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +0 -14
  167. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +0 -1
  168. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/uri.d.ts +0 -1
  169. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/util.d.ts +0 -1
  170. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +0 -1
  171. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +0 -56
  172. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/LICENSE +0 -201
  173. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/README.md +0 -4
  174. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  175. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  176. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  177. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  178. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  179. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  180. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  181. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  182. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  183. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
  184. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  185. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  186. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
  187. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
  188. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
  189. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
  190. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
  191. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
  192. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
  193. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
  194. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
  195. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
  196. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
  197. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
  198. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/package.json +0 -65
  199. package/node_modules/@smithy/abort-controller/LICENSE +0 -201
  200. package/node_modules/@smithy/types/dist-es/abort.js +0 -1
  201. package/node_modules/@smithy/types/dist-es/checksum.js +0 -1
  202. package/node_modules/@smithy/types/dist-es/client.js +0 -1
  203. package/node_modules/@smithy/types/dist-es/command.js +0 -1
  204. package/node_modules/@smithy/types/dist-es/crypto.js +0 -1
  205. package/node_modules/@smithy/types/dist-es/encode.js +0 -1
  206. package/node_modules/@smithy/types/dist-es/eventStream.js +0 -1
  207. package/node_modules/@smithy/types/dist-es/logger.js +0 -1
  208. package/node_modules/@smithy/types/dist-es/pagination.js +0 -1
  209. package/node_modules/@smithy/types/dist-es/response.js +0 -1
  210. package/node_modules/@smithy/types/dist-es/retry.js +0 -1
  211. package/node_modules/@smithy/types/dist-es/serde.js +0 -1
  212. package/node_modules/@smithy/types/dist-es/shapes.js +0 -1
  213. package/node_modules/@smithy/types/dist-es/signature.js +0 -1
  214. package/node_modules/@smithy/types/dist-es/stream.js +0 -1
  215. package/node_modules/@smithy/types/dist-es/uri.js +0 -1
  216. package/node_modules/@smithy/types/dist-es/util.js +0 -1
  217. package/node_modules/@smithy/types/dist-es/waiter.js +0 -1
  218. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types → @smithy/node-http-handler/node_modules/@smithy/abort-controller}/LICENSE +0 -0
  219. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/README.md +0 -0
  220. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-cjs/AbortController.js +0 -0
  221. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-cjs/AbortSignal.js +0 -0
  222. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-cjs/index.js +0 -0
  223. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-es/AbortController.js +0 -0
  224. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-es/AbortSignal.js +0 -0
  225. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-es/index.js +0 -0
  226. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/AbortController.d.ts +0 -0
  227. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/AbortSignal.d.ts +0 -0
  228. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/index.d.ts +0 -0
  229. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/ts3.4/AbortController.d.ts +0 -0
  230. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/ts3.4/AbortSignal.d.ts +0 -0
  231. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/ts3.4/index.d.ts +0 -0
  232. /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/package.json +0 -0
  233. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/LICENSE +0 -0
  234. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/README.md +0 -0
  235. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/Field.js +0 -0
  236. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/Fields.js +0 -0
  237. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
  238. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/extensions/index.js +0 -0
  239. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/httpHandler.js +0 -0
  240. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/httpRequest.js +0 -0
  241. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/httpResponse.js +0 -0
  242. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/index.js +0 -0
  243. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/isValidHostname.js +0 -0
  244. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/types.js +0 -0
  245. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/Field.js +0 -0
  246. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/Fields.js +0 -0
  247. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  248. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/extensions/index.js +0 -0
  249. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/httpHandler.js +0 -0
  250. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/httpRequest.js +0 -0
  251. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/httpResponse.js +0 -0
  252. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/index.js +0 -0
  253. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/isValidHostname.js +0 -0
  254. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/types.js +0 -0
  255. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/Field.d.ts +0 -0
  256. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/Fields.d.ts +0 -0
  257. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  258. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/extensions/index.d.ts +0 -0
  259. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/httpHandler.d.ts +0 -0
  260. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/httpRequest.d.ts +0 -0
  261. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/httpResponse.d.ts +0 -0
  262. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/index.d.ts +0 -0
  263. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/isValidHostname.d.ts +0 -0
  264. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/Field.d.ts +0 -0
  265. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/Fields.d.ts +0 -0
  266. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
  267. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/extensions/index.d.ts +0 -0
  268. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/httpHandler.d.ts +0 -0
  269. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/httpRequest.d.ts +0 -0
  270. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/httpResponse.d.ts +0 -0
  271. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/index.d.ts +0 -0
  272. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  273. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/types.d.ts +0 -0
  274. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/types.d.ts +0 -0
  275. /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/package.json +0 -0
  276. /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/LICENSE +0 -0
  277. /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/README.md +0 -0
  278. /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-cjs/index.js +0 -0
  279. /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-es/index.js +0 -0
  280. /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-types/index.d.ts +0 -0
  281. /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
  282. /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/package.json +0 -0
  283. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/LICENSE +0 -0
  284. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/README.md +0 -0
  285. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/abort.js +0 -0
  286. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
  287. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
  288. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
  289. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpSigner.js +0 -0
  290. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
  291. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/auth.js +0 -0
  292. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/index.js +0 -0
  293. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
  294. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/checksum.js +0 -0
  295. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/client.js +0 -0
  296. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/command.js +0 -0
  297. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/config.js +0 -0
  298. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/index.js +0 -0
  299. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/manager.js +0 -0
  300. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/pool.js +0 -0
  301. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/crypto.js +0 -0
  302. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
  303. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/encode.js +0 -0
  304. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoint.js +0 -0
  305. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
  306. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
  307. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
  308. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
  309. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/index.js +0 -0
  310. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/shared.js +0 -0
  311. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/eventStream.js +0 -0
  312. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/checksum.js +0 -0
  313. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
  314. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
  315. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/index.js +0 -0
  316. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/retry.js +0 -0
  317. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
  318. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
  319. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/http.js +0 -0
  320. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
  321. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
  322. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/identity.js +0 -0
  323. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/index.js +0 -0
  324. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/tokenIdentity.js +0 -0
  325. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/index.js +0 -0
  326. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/logger.js +0 -0
  327. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/middleware.js +0 -0
  328. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/pagination.js +0 -0
  329. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/profile.js +0 -0
  330. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/response.js +0 -0
  331. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/retry.js +0 -0
  332. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/serde.js +0 -0
  333. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/shapes.js +0 -0
  334. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/signature.js +0 -0
  335. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/stream.js +0 -0
  336. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
  337. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  338. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  339. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transfer.js +0 -0
  340. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/client-method-transforms.js +0 -0
  341. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
  342. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/exact.js +0 -0
  343. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/no-undefined.js +0 -0
  344. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/type-transform.js +0 -0
  345. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/uri.js +0 -0
  346. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/util.js +0 -0
  347. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/waiter.js +0 -0
  348. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/abort.js +0 -0
  349. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
  350. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpAuthScheme.js +0 -0
  351. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
  352. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpSigner.js +0 -0
  353. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/IdentityProviderConfig.js +0 -0
  354. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/auth.js +0 -0
  355. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/index.js +0 -0
  356. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/blob/blob-payload-input-types.js +0 -0
  357. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/checksum.js +0 -0
  358. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/client.js +0 -0
  359. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/command.js +0 -0
  360. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/config.js +0 -0
  361. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/index.js +0 -0
  362. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/manager.js +0 -0
  363. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/pool.js +0 -0
  364. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/crypto.js +0 -0
  365. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
  366. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/encode.js +0 -0
  367. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoint.js +0 -0
  368. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
  369. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
  370. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/RuleSetObject.js +0 -0
  371. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/TreeRuleObject.js +0 -0
  372. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/index.js +0 -0
  373. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/shared.js +0 -0
  374. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/eventStream.js +0 -0
  375. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/checksum.js +0 -0
  376. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
  377. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
  378. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/index.js +0 -0
  379. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions}/retry.js +0 -0
  380. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/externals-check/browser-externals-check.js +0 -0
  381. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/http/httpHandlerInitialization.js +0 -0
  382. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/http.js +0 -0
  383. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/apiKeyIdentity.js +0 -0
  384. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/awsCredentialIdentity.js +0 -0
  385. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/identity.js +0 -0
  386. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/index.js +0 -0
  387. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/tokenIdentity.js +0 -0
  388. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/index.js +0 -0
  389. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/logger.js +0 -0
  390. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/middleware.js +0 -0
  391. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/pagination.js +0 -0
  392. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/profile.js +0 -0
  393. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/response.js +0 -0
  394. /package/node_modules/@smithy/{types/dist-es/extensions → node-http-handler/node_modules/@smithy/types/dist-es}/retry.js +0 -0
  395. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/serde.js +0 -0
  396. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/shapes.js +0 -0
  397. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/signature.js +0 -0
  398. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/stream.js +0 -0
  399. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
  400. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  401. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  402. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transfer.js +0 -0
  403. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/client-method-transforms.js +0 -0
  404. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
  405. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/exact.js +0 -0
  406. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/no-undefined.js +0 -0
  407. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/type-transform.js +0 -0
  408. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/uri.js +0 -0
  409. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/util.js +0 -0
  410. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/waiter.js +0 -0
  411. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/abort.d.ts +0 -0
  412. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
  413. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
  414. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
  415. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpSigner.d.ts +0 -0
  416. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
  417. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/auth.d.ts +0 -0
  418. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/index.d.ts +0 -0
  419. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
  420. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/checksum.d.ts +0 -0
  421. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/client.d.ts +0 -0
  422. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/command.d.ts +0 -0
  423. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/config.d.ts +0 -0
  424. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/index.d.ts +0 -0
  425. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/manager.d.ts +0 -0
  426. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/pool.d.ts +0 -0
  427. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/crypto.d.ts +0 -0
  428. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  429. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/encode.d.ts +0 -0
  430. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoint.d.ts +0 -0
  431. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
  432. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
  433. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
  434. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
  435. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/index.d.ts +0 -0
  436. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/shared.d.ts +0 -0
  437. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/eventStream.d.ts +0 -0
  438. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/checksum.d.ts +0 -0
  439. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
  440. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
  441. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/index.d.ts +0 -0
  442. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/retry.d.ts +0 -0
  443. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
  444. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
  445. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/http.d.ts +0 -0
  446. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
  447. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
  448. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/identity.d.ts +0 -0
  449. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/index.d.ts +0 -0
  450. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/tokenIdentity.d.ts +0 -0
  451. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/index.d.ts +0 -0
  452. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/logger.d.ts +0 -0
  453. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/middleware.d.ts +0 -0
  454. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/pagination.d.ts +0 -0
  455. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/profile.d.ts +0 -0
  456. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/response.d.ts +0 -0
  457. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/retry.d.ts +0 -0
  458. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/serde.d.ts +0 -0
  459. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/shapes.d.ts +0 -0
  460. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/signature.d.ts +0 -0
  461. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/stream.d.ts +0 -0
  462. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  463. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  464. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  465. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transfer.d.ts +0 -0
  466. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/client-method-transforms.d.ts +0 -0
  467. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
  468. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/exact.d.ts +0 -0
  469. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/no-undefined.d.ts +0 -0
  470. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/type-transform.d.ts +0 -0
  471. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/abort.d.ts +0 -0
  472. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
  473. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
  474. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
  475. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
  476. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
  477. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
  478. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/index.d.ts +0 -0
  479. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
  480. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/checksum.d.ts +0 -0
  481. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/client.d.ts +0 -0
  482. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/command.d.ts +0 -0
  483. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/config.d.ts +0 -0
  484. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/index.d.ts +0 -0
  485. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
  486. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
  487. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/crypto.d.ts +0 -0
  488. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  489. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/encode.d.ts +0 -0
  490. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoint.d.ts +0 -0
  491. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
  492. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
  493. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
  494. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
  495. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
  496. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
  497. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/eventStream.d.ts +0 -0
  498. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
  499. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
  500. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
  501. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
  502. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
  503. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
  504. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
  505. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/http.d.ts +0 -0
  506. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
  507. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
  508. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
  509. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/index.d.ts +0 -0
  510. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
  511. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/index.d.ts +0 -0
  512. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/logger.d.ts +0 -0
  513. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/middleware.d.ts +0 -0
  514. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/pagination.d.ts +0 -0
  515. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/profile.d.ts +0 -0
  516. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/response.d.ts +0 -0
  517. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/retry.d.ts +0 -0
  518. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/serde.d.ts +0 -0
  519. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/shapes.d.ts +0 -0
  520. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/signature.d.ts +0 -0
  521. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/stream.d.ts +0 -0
  522. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  523. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  524. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  525. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transfer.d.ts +0 -0
  526. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
  527. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
  528. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
  529. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
  530. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
  531. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/uri.d.ts +0 -0
  532. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/util.d.ts +0 -0
  533. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/waiter.d.ts +0 -0
  534. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/uri.d.ts +0 -0
  535. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/util.d.ts +0 -0
  536. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/waiter.d.ts +0 -0
  537. /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/package.json +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.20](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.19...lsp-codewhisperer/v0.0.20) (2025-01-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * make proxy nodejs only ([#716](https://github.com/aws/language-servers/issues/716)) ([37cf726](https://github.com/aws/language-servers/commit/37cf726e4926640da158ee67d86a1937b2c89c68))
9
+
10
+
11
+ ### Performance Improvements
12
+
13
+ * dispose chat controller in chatController tests ([#717](https://github.com/aws/language-servers/issues/717)) ([b0e6b78](https://github.com/aws/language-servers/commit/b0e6b78bcee5970eac8159d2a46bae152f1d238d))
14
+
15
+ ## [0.0.19](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.18...lsp-codewhisperer/v0.0.19) (2025-01-08)
16
+
17
+
18
+ ### Features
19
+
20
+ * handle virtual spaces when inserting code to cursor position ([#675](https://github.com/aws/language-servers/issues/675)) ([f2949d4](https://github.com/aws/language-servers/commit/f2949d4f54c5a91b78b02e4d5ff99b8f5c8961b5))
21
+ * pass supplemental contexts only for token client ([#697](https://github.com/aws/language-servers/issues/697)) ([7242835](https://github.com/aws/language-servers/commit/72428352db009835b7702977bd50492ab8b79606))
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * adding tests for covering the special characters case for auto trigger ([#680](https://github.com/aws/language-servers/issues/680)) ([873fdae](https://github.com/aws/language-servers/commit/873fdae39ad59f7d681b37cfc0b5c2d7062395b9))
27
+
3
28
  ## [0.0.18] - 2024-11-20
4
29
 
5
30
  ### Changed
@@ -1,5 +1,5 @@
1
1
  import { CodeWhispererStreaming, CodeWhispererStreamingClientConfig } from '@amzn/codewhisperer-streaming';
2
2
  export declare class StreamingClient {
3
- getStreamingClient(credentialsProvider: any, config?: CodeWhispererStreamingClientConfig): Promise<CodeWhispererStreaming>;
3
+ getStreamingClient(credentialsProvider: any, codeWhispererRegion: string, codeWhispererEndpoint: string, config?: CodeWhispererStreamingClientConfig): Promise<CodeWhispererStreaming>;
4
4
  }
5
- export declare function createStreamingClient(credentialsProvider: any, config?: CodeWhispererStreamingClientConfig): Promise<CodeWhispererStreaming>;
5
+ export declare function createStreamingClient(credentialsProvider: any, codeWhispererRegion: string, codeWhispererEndpoint: string, config?: CodeWhispererStreamingClientConfig): Promise<CodeWhispererStreaming>;
@@ -5,20 +5,25 @@ exports.createStreamingClient = createStreamingClient;
5
5
  const codewhisperer_streaming_1 = require("@amzn/codewhisperer-streaming");
6
6
  const util_retry_1 = require("@aws-sdk/util-retry");
7
7
  const fs_1 = require("fs");
8
- const constants_1 = require("../../constants");
9
8
  const node_http_handler_1 = require("@smithy/node-http-handler");
10
9
  const hpagent_1 = require("hpagent");
11
10
  class StreamingClient {
12
- async getStreamingClient(credentialsProvider, config) {
13
- return await createStreamingClient(credentialsProvider, config);
11
+ async getStreamingClient(credentialsProvider, codeWhispererRegion, codeWhispererEndpoint, config) {
12
+ return await createStreamingClient(credentialsProvider, codeWhispererRegion, codeWhispererEndpoint, config);
14
13
  }
15
14
  }
16
15
  exports.StreamingClient = StreamingClient;
17
- async function createStreamingClient(credentialsProvider, config) {
16
+ async function createStreamingClient(credentialsProvider, codeWhispererRegion, codeWhispererEndpoint, config) {
18
17
  const creds = credentialsProvider.getCredentials('bearer');
19
18
  let clientOptions;
20
- const proxyUrl = process.env.HTTPS_PROXY ?? process.env.https_proxy;
21
- const certs = process.env.AWS_CA_BUNDLE ? [(0, fs_1.readFileSync)(process.env.AWS_CA_BUNDLE)] : undefined;
19
+ // short term solution to fix webworker bundling, broken due to this node.js specific logic in here
20
+ const isNodeJS = typeof process !== 'undefined' && process.release && process.release.name === 'node';
21
+ const proxyUrl = isNodeJS ? (process.env.HTTPS_PROXY ?? process.env.https_proxy) : undefined;
22
+ const certs = isNodeJS
23
+ ? process.env.AWS_CA_BUNDLE
24
+ ? [(0, fs_1.readFileSync)(process.env.AWS_CA_BUNDLE)]
25
+ : undefined
26
+ : undefined;
22
27
  if (proxyUrl) {
23
28
  const agent = new hpagent_1.HttpsProxyAgent({
24
29
  proxy: proxyUrl,
@@ -32,8 +37,8 @@ async function createStreamingClient(credentialsProvider, config) {
32
37
  };
33
38
  }
34
39
  const streamingClient = new codewhisperer_streaming_1.CodeWhispererStreaming({
35
- region: constants_1.AWS_Q_REGION,
36
- endpoint: constants_1.AWS_Q_ENDPOINT_URL,
40
+ region: codeWhispererRegion,
41
+ endpoint: codeWhispererEndpoint,
37
42
  token: { token: creds.token },
38
43
  retryStrategy: new util_retry_1.ConfiguredRetryStrategy(0, (attempt) => 500 + attempt ** 10),
39
44
  requestHandler: clientOptions?.requestHandler,
@@ -1 +1 @@
1
- {"version":3,"file":"codewhispererStreamingClient.js","sourceRoot":"","sources":["../../../src/client/streamingClient/codewhispererStreamingClient.ts"],"names":[],"mappings":";;;AAYA,sDAiCC;AA7CD,2EAA0G;AAC1G,oDAA6D;AAC7D,2BAAiC;AACjC,+CAAkE;AAClE,iEAA2D;AAC3D,qCAAyC;AAEzC,MAAa,eAAe;IACjB,KAAK,CAAC,kBAAkB,CAAC,mBAAwB,EAAE,MAA2C;QACjG,OAAO,MAAM,qBAAqB,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;IACnE,CAAC;CACJ;AAJD,0CAIC;AACM,KAAK,UAAU,qBAAqB,CACvC,mBAAwB,EACxB,MAA2C;IAE3C,MAAM,KAAK,GAAG,mBAAmB,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;IAE1D,IAAI,aAAa,CAAA;IACjB,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,CAAA;IACnE,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAA,iBAAY,EAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAE/F,IAAI,QAAQ,EAAE,CAAC;QACX,MAAM,KAAK,GAAG,IAAI,yBAAe,CAAC;YAC9B,KAAK,EAAE,QAAQ;YACf,EAAE,EAAE,KAAK;SACZ,CAAC,CAAA;QAEF,aAAa,GAAG;YACZ,cAAc,EAAE,IAAI,mCAAe,CAAC;gBAChC,SAAS,EAAE,KAAK;gBAChB,UAAU,EAAE,KAAK;aACpB,CAAC;SACL,CAAA;IACL,CAAC;IAED,MAAM,eAAe,GAAG,IAAI,gDAAsB,CAAC;QAC/C,MAAM,EAAE,wBAAY;QACpB,QAAQ,EAAE,8BAAkB;QAC5B,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE;QAC7B,aAAa,EAAE,IAAI,oCAAuB,CAAC,CAAC,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,IAAI,EAAE,CAAC;QACvF,cAAc,EAAE,aAAa,EAAE,cAAc;QAC7C,GAAG,MAAM;KACZ,CAAC,CAAA;IACF,OAAO,eAAe,CAAA;AAC1B,CAAC"}
1
+ {"version":3,"file":"codewhispererStreamingClient.js","sourceRoot":"","sources":["../../../src/client/streamingClient/codewhispererStreamingClient.ts"],"names":[],"mappings":";;;AAgBA,sDAyCC;AAzDD,2EAA0G;AAC1G,oDAA6D;AAC7D,2BAAiC;AACjC,iEAA2D;AAC3D,qCAAyC;AAEzC,MAAa,eAAe;IACjB,KAAK,CAAC,kBAAkB,CAC3B,mBAAwB,EACxB,mBAA2B,EAC3B,qBAA6B,EAC7B,MAA2C;QAE3C,OAAO,MAAM,qBAAqB,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,CAAC,CAAA;IAC/G,CAAC;CACJ;AATD,0CASC;AACM,KAAK,UAAU,qBAAqB,CACvC,mBAAwB,EACxB,mBAA2B,EAC3B,qBAA6B,EAC7B,MAA2C;IAE3C,MAAM,KAAK,GAAG,mBAAmB,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;IAE1D,IAAI,aAAa,CAAA;IACjB,mGAAmG;IACnG,MAAM,QAAQ,GAAY,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM,CAAA;IAC9G,MAAM,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAC5F,MAAM,KAAK,GAAG,QAAQ;QAClB,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa;YACvB,CAAC,CAAC,CAAC,IAAA,iBAAY,EAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;YAC3C,CAAC,CAAC,SAAS;QACf,CAAC,CAAC,SAAS,CAAA;IAEf,IAAI,QAAQ,EAAE,CAAC;QACX,MAAM,KAAK,GAAG,IAAI,yBAAe,CAAC;YAC9B,KAAK,EAAE,QAAQ;YACf,EAAE,EAAE,KAAK;SACZ,CAAC,CAAA;QAEF,aAAa,GAAG;YACZ,cAAc,EAAE,IAAI,mCAAe,CAAC;gBAChC,SAAS,EAAE,KAAK;gBAChB,UAAU,EAAE,KAAK;aACpB,CAAC;SACL,CAAA;IACL,CAAC;IAED,MAAM,eAAe,GAAG,IAAI,gDAAsB,CAAC;QAC/C,MAAM,EAAE,mBAAmB;QAC3B,QAAQ,EAAE,qBAAqB;QAC/B,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE;QAC7B,aAAa,EAAE,IAAI,oCAAuB,CAAC,CAAC,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,IAAI,EAAE,CAAC;QACvF,cAAc,EAAE,aAAa,EAAE,cAAc;QAC7C,GAAG,MAAM;KACZ,CAAC,CAAA;IACF,OAAO,eAAe,CAAA;AAC1B,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const AWS_Q_ENDPOINT_URL: string;
2
- export declare const AWS_Q_REGION: string;
1
+ export declare const DEFAULT_AWS_Q_ENDPOINT_URL = "https://codewhisperer.us-east-1.amazonaws.com/";
2
+ export declare const DEFAULT_AWS_Q_REGION = "us-east-1";
package/out/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AWS_Q_REGION = exports.AWS_Q_ENDPOINT_URL = void 0;
4
- exports.AWS_Q_ENDPOINT_URL = process?.env.AWS_Q_ENDPOINT_URL ?? 'https://codewhisperer.us-east-1.amazonaws.com/';
5
- exports.AWS_Q_REGION = process?.env.AWS_Q_REGION ?? 'us-east-1';
3
+ exports.DEFAULT_AWS_Q_REGION = exports.DEFAULT_AWS_Q_ENDPOINT_URL = void 0;
4
+ exports.DEFAULT_AWS_Q_ENDPOINT_URL = 'https://codewhisperer.us-east-1.amazonaws.com/';
5
+ exports.DEFAULT_AWS_Q_REGION = 'us-east-1';
6
6
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG,OAAO,EAAE,GAAG,CAAC,kBAAkB,IAAI,gDAAgD,CAAA;AACxG,QAAA,YAAY,GAAG,OAAO,EAAE,GAAG,CAAC,YAAY,IAAI,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"}
@@ -127,25 +127,45 @@ class ChatController {
127
127
  this.#log(`Q Chat server failed to insert code. Missing required parameters for insert code: ${missingParams.join(', ')}`);
128
128
  return;
129
129
  }
130
- const cursorPosition = params.cursorPosition;
130
+ let cursorPosition = params.cursorPosition;
131
131
  const indentRange = {
132
132
  start: { line: cursorPosition.line, character: 0 },
133
133
  end: cursorPosition,
134
134
  };
135
135
  const documentContent = await this.#features.workspace.getTextDocument(params.textDocument.uri);
136
- let indent = documentContent?.getText(indentRange);
137
- if (indent && indent.trim().length !== 0) {
138
- indent = ' '.repeat(indent.length - indent.trimStart().length);
136
+ // linePrefix is the raw text that is between the start of the line and the current cursor position
137
+ let linePrefix = documentContent?.getText(indentRange);
138
+ // calculatedIndent is the indent we calculate inside this function and apply to the text to be inserted
139
+ let calculatedIndent = '';
140
+ let hasVirtualSpace = false;
141
+ if (linePrefix) {
142
+ // If linePrefix object is not empty, there are two possibilities:
143
+ // Case 1: If linePrefix contains only whitespace: Use the entire linePrefix as is for the indent
144
+ // Case 2: If linePrefix contains non-whitespace characters: Extract leading whitespace from linePrefix (if any), ignore rest of text
145
+ calculatedIndent =
146
+ linePrefix.trim().length == 0
147
+ ? linePrefix
148
+ : ' '.repeat(linePrefix.length - linePrefix.trimStart().length);
139
149
  }
140
- let textWithIndent = '';
141
- params.code.split('\n').forEach((line, index) => {
150
+ else if (documentContent && cursorPosition.character > 0) {
151
+ // When the cursor is not at the start of the line (position > 0) but there's no actual text at the indentation range
152
+ // It means there are virtual spaces that is being rendered by the IDE
153
+ // In this case, the indentation is determined by the cursorPosition
154
+ this.#log('Indent is nullish and the cursor position is greater than zero while inserting code');
155
+ calculatedIndent = ' '.repeat(cursorPosition.character);
156
+ hasVirtualSpace = true;
157
+ cursorPosition.character = 0;
158
+ }
159
+ const textWithIndent = params.code
160
+ .split('\n')
161
+ .map((line, index) => {
142
162
  if (index === 0) {
143
- textWithIndent += line;
144
- }
145
- else {
146
- textWithIndent += '\n' + indent + line;
163
+ return hasVirtualSpace && line ? calculatedIndent + line : line;
147
164
  }
148
- });
165
+ // Only indent non-empty lines
166
+ return line ? calculatedIndent + line : '';
167
+ })
168
+ .join('\n');
149
169
  const workspaceEdit = {
150
170
  edit: {
151
171
  documentChanges: [
@@ -1 +1 @@
1
- {"version":3,"file":"chatController.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatController.ts"],"names":[],"mappings":";;;AACA,qEAQ+C;AAC/C,qFAYuD;AACvD,+BAAiC;AACjC,8CAK2B;AAE3B,uDAA2E;AAC3E,mCAA+F;AAE/F,iFAA6E;AAC7E,iDAA4C;AAC5C,oCAA2E;AAC3E,gDAA4C;AAC5C,8DAA+E;AAC/E,2CAA0C;AAC1C,gFAA+E;AAC/E,sDAAyD;AAKzD,MAAa,cAA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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"}
@@ -14,6 +14,7 @@ const documentContext_1 = require("./contexts/documentContext");
14
14
  const utils = require("./utils");
15
15
  const constants_1 = require("./constants");
16
16
  const telemetryService_1 = require("../telemetryService");
17
+ const constants_2 = require("../../constants");
17
18
  describe('ChatController', () => {
18
19
  const mockTabId = 'tab-1';
19
20
  const mockConversationId = 'mock-conversation-id';
@@ -57,6 +58,8 @@ describe('ChatController', () => {
57
58
  console.log(message);
58
59
  },
59
60
  };
61
+ const awsQRegion = constants_2.DEFAULT_AWS_Q_REGION;
62
+ const awsQEndpointUrl = constants_2.DEFAULT_AWS_Q_ENDPOINT_URL;
60
63
  let sendMessageStub;
61
64
  let disposeStub;
62
65
  let activeTabSpy;
@@ -84,7 +87,10 @@ describe('ChatController', () => {
84
87
  removeConversationSpy = ts_sinon_1.default.spy(chatTelemetryController_1.ChatTelemetryController.prototype, 'removeConversation');
85
88
  emitConversationMetricStub = ts_sinon_1.default.stub(chatTelemetryController_1.ChatTelemetryController.prototype, 'emitConversationMetric');
86
89
  disposeStub = ts_sinon_1.default.stub(chatSessionService_1.ChatSessionService.prototype, 'dispose');
87
- chatSessionManagementService = chatSessionManagementService_1.ChatSessionManagementService.getInstance().withCredentialsProvider(testFeatures.credentialsProvider);
90
+ chatSessionManagementService = chatSessionManagementService_1.ChatSessionManagementService.getInstance()
91
+ .withCredentialsProvider(testFeatures.credentialsProvider)
92
+ .withCodeWhispererRegion(awsQRegion)
93
+ .withCodeWhispererEndpoint(awsQEndpointUrl);
88
94
  const mockCredentialsProvider = {
89
95
  hasCredentials: ts_sinon_1.default.stub().returns(true),
90
96
  getCredentials: ts_sinon_1.default.stub().returns({ token: 'token' }),
@@ -94,11 +100,12 @@ describe('ChatController', () => {
94
100
  },
95
101
  }),
96
102
  };
103
+ const mockWorkspace = {};
97
104
  telemetry = {
98
105
  emitMetric: ts_sinon_1.default.stub(),
99
106
  onClientTelemetry: ts_sinon_1.default.stub(),
100
107
  };
101
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging);
108
+ telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, awsQRegion, awsQEndpointUrl);
102
109
  invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
103
110
  chatController = new chatController_1.ChatController(chatSessionManagementService, testFeatures, telemetryService);
104
111
  });
@@ -325,5 +332,370 @@ describe('ChatController', () => {
325
332
  });
326
333
  });
327
334
  });
335
+ describe('onCodeInsertToCursorPosition', () => {
336
+ beforeEach(() => {
337
+ chatController.onTabAdd({ tabId: mockTabId });
338
+ testFeatures.lsp.workspace.applyWorkspaceEdit.resolves({ applied: true });
339
+ testFeatures.workspace.getTextDocument = ts_sinon_1.default.stub();
340
+ });
341
+ afterEach(() => {
342
+ chatController.dispose();
343
+ });
344
+ it('handles regular insertion correctly', async () => {
345
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, ' ');
346
+ testFeatures.workspace.getTextDocument.resolves(document);
347
+ const cursorPosition = server_interface_1.Position.create(0, 0);
348
+ const params = {
349
+ textDocument: { uri: 'test.ts' },
350
+ cursorPosition,
351
+ code: 'const x = 1\n const y = 2',
352
+ tabId: mockTabId,
353
+ messageId: 'XXX',
354
+ };
355
+ await chatController.onCodeInsertToCursorPosition(params);
356
+ assert.deepStrictEqual(testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0], {
357
+ edit: {
358
+ documentChanges: [
359
+ {
360
+ textDocument: { uri: 'test.ts', version: 0 },
361
+ edits: [
362
+ {
363
+ range: {
364
+ start: cursorPosition,
365
+ end: cursorPosition,
366
+ },
367
+ newText: params.code,
368
+ },
369
+ ],
370
+ },
371
+ ],
372
+ },
373
+ });
374
+ });
375
+ it('handles tab-based indentation correctly', async () => {
376
+ const documentContent = 'function test() {\n\tif (true) {\n\t\t// cursor here\n\t}';
377
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, documentContent);
378
+ testFeatures.workspace.getTextDocument.resolves(document);
379
+ const cursorPosition = server_interface_1.Position.create(2, 2);
380
+ const params = {
381
+ textDocument: { uri: 'test.ts' },
382
+ cursorPosition,
383
+ code: 'console.log("test");\nconsole.log("test2")',
384
+ tabId: mockTabId,
385
+ messageId: 'XXX',
386
+ };
387
+ await chatController.onCodeInsertToCursorPosition(params);
388
+ const documentChanges = testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0].edit.documentChanges;
389
+ assert(documentChanges);
390
+ const insertedText = documentChanges[0].edits[0].newText;
391
+ // Should maintain tab-based indentation
392
+ assert.deepStrictEqual(insertedText, 'console.log("test");\n\t\tconsole.log("test2")');
393
+ });
394
+ it('handles insertion at mixed indentation levels correctly', async () => {
395
+ const documentContent = `function test() {
396
+ if (true) {
397
+ // cursor here
398
+ console.log("test");
399
+ }
400
+ }`;
401
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, documentContent);
402
+ testFeatures.workspace.getTextDocument.resolves(document);
403
+ const cursorPosition = server_interface_1.Position.create(2, 12);
404
+ const params = {
405
+ textDocument: { uri: 'test.ts' },
406
+ cursorPosition,
407
+ code: 'const x = 1;\nconst y = 2;',
408
+ tabId: mockTabId,
409
+ messageId: 'XXX',
410
+ };
411
+ await chatController.onCodeInsertToCursorPosition(params);
412
+ // Verify that the inserted code maintains the indentation level of the insertion point
413
+ const documentChanges = testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0].edit.documentChanges;
414
+ assert(documentChanges);
415
+ const insertedText = documentChanges[0].edits[0].newText;
416
+ assert.deepStrictEqual(insertedText, `const x = 1;\n${' '.repeat(12)}const y = 2;`);
417
+ });
418
+ it('handles code starting with multiple blank lines correctly', async () => {
419
+ // Create a document with some existing indentation
420
+ const documentContent = `${' '.repeat(4)}const existingCode = true;`;
421
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, documentContent);
422
+ testFeatures.workspace.getTextDocument.resolves(document);
423
+ // Position cursor at an indented position
424
+ const cursorPosition = server_interface_1.Position.create(0, 4);
425
+ const params = {
426
+ textDocument: { uri: 'test.ts' },
427
+ cursorPosition,
428
+ // Code starts with 3 blank lines, followed by actual code
429
+ code: '\n\n\nfunction test() {\n console.log("test");\n}',
430
+ tabId: mockTabId,
431
+ messageId: 'XXX',
432
+ };
433
+ await chatController.onCodeInsertToCursorPosition(params);
434
+ const documentChanges = testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0].edit.documentChanges;
435
+ assert(documentChanges);
436
+ const insertedText = documentChanges[0].edits[0].newText;
437
+ // The blank lines should have no indentation
438
+ // Only the actual code lines should be indented
439
+ // First three lines should be empty with no indentation
440
+ // Following lines should have the indentation
441
+ assert.deepStrictEqual(insertedText, `\n\n\n${' '.repeat(4)}function test() {\n${' '.repeat(8)}console.log("test");\n${' '.repeat(4)}}`);
442
+ });
443
+ it('handles insertion of code with multiple leading blank lines into empty document at position 0', async () => {
444
+ const documentContent = '';
445
+ const document = server_interface_1.TextDocument.create('test.py', 'python', 1, documentContent);
446
+ testFeatures.workspace.getTextDocument.resolves(document);
447
+ const cursorPosition = server_interface_1.Position.create(0, 0);
448
+ const params = {
449
+ textDocument: { uri: 'test.ts' },
450
+ cursorPosition,
451
+ // Code with 5 blank lines at the beginning
452
+ code: '\n\n\n\n\ndef multiply(x, y):\n result = x * y\n return result\n\nprint(multiply(4, 5))',
453
+ tabId: mockTabId,
454
+ messageId: 'XXX',
455
+ };
456
+ await chatController.onCodeInsertToCursorPosition(params);
457
+ const documentChanges = testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0].edit.documentChanges;
458
+ assert(documentChanges);
459
+ const insertedText = documentChanges[0].edits[0].newText;
460
+ // Since document is empty and cursor is at 0,0:
461
+ // - Leading blank lines should be preserved exactly as is
462
+ // - No additional indentation should be added to any lines
463
+ assert.deepStrictEqual(insertedText, params.code);
464
+ });
465
+ it('handles undefined document content correctly', async () => {
466
+ testFeatures.workspace.getTextDocument.resolves(undefined);
467
+ const cursorPosition = server_interface_1.Position.create(0, 0);
468
+ const params = {
469
+ textDocument: { uri: 'test.ts' },
470
+ cursorPosition,
471
+ code: 'const x = 1;\nconst y = 2;',
472
+ tabId: mockTabId,
473
+ messageId: 'XXX',
474
+ };
475
+ await chatController.onCodeInsertToCursorPosition(params);
476
+ // When document content is undefined, the code should:
477
+ // 1. Still attempt to insert the code
478
+ // 2. Not add any indentation
479
+ const documentChanges = testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0].edit.documentChanges;
480
+ assert(documentChanges);
481
+ const edit = documentChanges[0].edits[0];
482
+ assert.deepStrictEqual(edit.newText, params.code);
483
+ assert.deepStrictEqual(edit.range.start, cursorPosition);
484
+ assert.deepStrictEqual(edit.range.end, cursorPosition);
485
+ });
486
+ it('handles indentation correctly when inserting after an indent', async () => {
487
+ // Text document contains 8 space characters
488
+ const documentContent = ' '.repeat(8);
489
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, documentContent);
490
+ testFeatures.workspace.getTextDocument.resolves(document);
491
+ // Cursor is positioned at the end of the first line, after the 8 spaces
492
+ const cursorPosition = server_interface_1.Position.create(0, documentContent.length);
493
+ const params = {
494
+ textDocument: { uri: 'test.ts' },
495
+ cursorPosition,
496
+ code: 'const x = 1\nconst y = 2',
497
+ tabId: mockTabId,
498
+ messageId: 'XXX',
499
+ };
500
+ await chatController.onCodeInsertToCursorPosition(params);
501
+ assert.deepStrictEqual(testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0], {
502
+ edit: {
503
+ documentChanges: [
504
+ {
505
+ textDocument: { uri: 'test.ts', version: 0 },
506
+ edits: [
507
+ {
508
+ range: {
509
+ start: cursorPosition,
510
+ end: cursorPosition,
511
+ },
512
+ // We expect new text to be added to the end of the existing line and also apply indentation on the next line
513
+ newText: `const x = 1\n${' '.repeat(8)}const y = 2`,
514
+ },
515
+ ],
516
+ },
517
+ ],
518
+ },
519
+ });
520
+ });
521
+ it('handles indentation correctly when inserting at the end of a single line that does not have any indentation', async () => {
522
+ const documentContent = 'console.log("Hello world")';
523
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, documentContent);
524
+ testFeatures.workspace.getTextDocument.resolves(document);
525
+ const forLoop = `for (let i = 2; i <= n; i++) {
526
+ const next = prev + current;
527
+ prev = current;
528
+ current = next;
529
+ }`;
530
+ const cursorPosition = server_interface_1.Position.create(0, documentContent.length);
531
+ const params = {
532
+ textDocument: { uri: 'test.ts' },
533
+ cursorPosition,
534
+ code: forLoop,
535
+ tabId: mockTabId,
536
+ messageId: 'XXX',
537
+ };
538
+ await chatController.onCodeInsertToCursorPosition(params);
539
+ const documentChanges = testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0].edit.documentChanges;
540
+ assert(documentChanges);
541
+ const insertedText = documentChanges[0].edits[0].newText;
542
+ // For loop should be inserted as is in this case
543
+ assert.deepStrictEqual(insertedText, forLoop);
544
+ });
545
+ it('handles indentation correctly when inserting inside an indented block', async () => {
546
+ const fibonacci = `function fibonacci(n) {
547
+ if (n <= 1) return n;
548
+
549
+ let prev = 0,
550
+ let current = 1;
551
+
552
+ for (let i = 2; i <= n; i++) {
553
+ // Insertion will happen on the line below
554
+
555
+ const next = prev + current;
556
+ prev = current;
557
+ current = next;
558
+ }
559
+
560
+ return current;
561
+ }
562
+ `;
563
+ // This test will insert an extra for loop inside the existing for loop in the fibonacci function above
564
+ const forLoop = `for (let i = 2; i <= n; i++) {
565
+ const next = prev + current;
566
+ prev = current;
567
+ current = next;
568
+ }
569
+ `;
570
+ // Given the for loop is inside a function and we will be inserting a new for loop inside, the for loop to be inserted will have 8 prefix spaces
571
+ const twiceIndentedForLoop = `for (let i = 2; i <= n; i++) {
572
+ ${' '.repeat(8)} const next = prev + current;
573
+ ${' '.repeat(8)} prev = current;
574
+ ${' '.repeat(8)} current = next;
575
+ ${' '.repeat(8)}}
576
+ `;
577
+ let document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, fibonacci);
578
+ testFeatures.workspace.getTextDocument.resolves(document);
579
+ const cursorPosition = server_interface_1.Position.create(8, 8);
580
+ const params = {
581
+ textDocument: { uri: 'test.ts' },
582
+ cursorPosition,
583
+ code: forLoop,
584
+ tabId: mockTabId,
585
+ messageId: 'XXX',
586
+ };
587
+ await chatController.onCodeInsertToCursorPosition(params);
588
+ const documentChanges = testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0].edit.documentChanges;
589
+ assert(documentChanges);
590
+ const insertedText = documentChanges[0].edits[0].newText;
591
+ assert.deepStrictEqual(insertedText, twiceIndentedForLoop);
592
+ });
593
+ it('handles virtual spaces when cursor is in empty line with virtual indent', async () => {
594
+ // Create an empty document
595
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, '');
596
+ testFeatures.workspace.getTextDocument.resolves(document);
597
+ // Position cursor at character 8 in an empty line (virtual space)
598
+ const cursorPosition = server_interface_1.Position.create(0, 8);
599
+ const params = {
600
+ textDocument: { uri: 'test.ts' },
601
+ cursorPosition,
602
+ code: 'const x = 1\nconst y = 2',
603
+ tabId: mockTabId,
604
+ messageId: 'XXX',
605
+ };
606
+ await chatController.onCodeInsertToCursorPosition(params);
607
+ // The code should be indented with 8 spaces for both lines
608
+ // and cursor should be moved to position 0
609
+ assert.deepStrictEqual(testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0], {
610
+ edit: {
611
+ documentChanges: [
612
+ {
613
+ textDocument: { uri: 'test.ts', version: 0 },
614
+ edits: [
615
+ {
616
+ range: {
617
+ start: server_interface_1.Position.create(0, 0), // Note: cursor moved to start
618
+ end: server_interface_1.Position.create(0, 0),
619
+ },
620
+ newText: `${' '.repeat(8)}const x = 1\n${' '.repeat(8)}const y = 2`,
621
+ },
622
+ ],
623
+ },
624
+ ],
625
+ },
626
+ });
627
+ });
628
+ it('handles virtual spaces with multiline code containing empty lines', async () => {
629
+ // Create an empty document
630
+ let document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, '');
631
+ testFeatures.workspace.getTextDocument.resolves(document);
632
+ // Position cursor at character 4 in an empty line (virtual space)
633
+ const cursorPosition = server_interface_1.Position.create(0, 4);
634
+ const params = {
635
+ textDocument: { uri: 'test.ts' },
636
+ cursorPosition,
637
+ code: 'if (condition) {\n\n console.log("test");\n}',
638
+ tabId: mockTabId,
639
+ messageId: 'XXX',
640
+ };
641
+ await chatController.onCodeInsertToCursorPosition(params);
642
+ // The code should be indented with 4 spaces, empty lines should remain empty
643
+ assert.deepStrictEqual(testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0], {
644
+ edit: {
645
+ documentChanges: [
646
+ {
647
+ textDocument: { uri: 'test.ts', version: 0 },
648
+ edits: [
649
+ {
650
+ range: {
651
+ start: server_interface_1.Position.create(0, 0), // Note: cursor moved to start
652
+ end: server_interface_1.Position.create(0, 0),
653
+ },
654
+ newText: `${' '.repeat(4)}if (condition) {\n\n${' '.repeat(8)}console.log("test");\n }`,
655
+ },
656
+ ],
657
+ },
658
+ ],
659
+ },
660
+ });
661
+ });
662
+ it('handles virtual spaces correctly when code starts with empty line', async () => {
663
+ const document = server_interface_1.TextDocument.create('test.ts', 'typescript', 1, '');
664
+ testFeatures.workspace.getTextDocument.resolves(document);
665
+ // Position cursor at character 6 in an empty line (virtual space)
666
+ const cursorPosition = server_interface_1.Position.create(0, 6);
667
+ const params = {
668
+ textDocument: { uri: 'test.ts' },
669
+ cursorPosition,
670
+ // Code starts with an empty line, followed by actual code
671
+ code: '\nfunction test() {\n console.log("test");\n}',
672
+ tabId: mockTabId,
673
+ messageId: 'XXX',
674
+ };
675
+ await chatController.onCodeInsertToCursorPosition(params);
676
+ // The first empty line should have no indentation
677
+ // Subsequent lines should be indented with 6 spaces
678
+ assert.deepStrictEqual(testFeatures.lsp.workspace.applyWorkspaceEdit.firstCall.args[0], {
679
+ edit: {
680
+ documentChanges: [
681
+ {
682
+ textDocument: { uri: 'test.ts', version: 0 },
683
+ edits: [
684
+ {
685
+ range: {
686
+ start: server_interface_1.Position.create(0, 0), // Note: cursor moved to start
687
+ end: server_interface_1.Position.create(0, 0),
688
+ },
689
+ // First line is empty (no indentation)
690
+ // Following lines get the virtual space indentation
691
+ newText: `\n${' '.repeat(6)}function test() {\n${' '.repeat(10)}console.log("test");\n${' '.repeat(6)}}`,
692
+ },
693
+ ],
694
+ },
695
+ ],
696
+ },
697
+ });
698
+ });
699
+ });
328
700
  });
329
701
  //# sourceMappingURL=chatController.test.js.map