@aws/lsp-codewhisperer 0.0.47 → 0.0.49

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 (740) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/out/client/streamingClient/codewhispererStreamingClient.d.ts +1 -1
  3. package/out/client/streamingClient/codewhispererStreamingClient.js +2 -2
  4. package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
  5. package/out/client/token/bearer-token-service.json +140 -2
  6. package/out/language-server/agenticChat/agenticChatController.d.ts +1 -1
  7. package/out/language-server/agenticChat/agenticChatController.js +33 -29
  8. package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
  9. package/out/language-server/agenticChat/agenticChatEventParser.d.ts +1 -1
  10. package/out/language-server/agenticChat/constants.d.ts +1 -1
  11. package/out/language-server/agenticChat/constants.js +3 -1
  12. package/out/language-server/agenticChat/constants.js.map +1 -1
  13. package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +2 -2
  14. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +6 -6
  15. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -1
  16. package/out/language-server/agenticChat/errors.js +2 -2
  17. package/out/language-server/agenticChat/errors.js.map +1 -1
  18. package/out/language-server/agenticChat/qAgenticChatServer.js +2 -1
  19. package/out/language-server/agenticChat/qAgenticChatServer.js.map +1 -1
  20. package/out/language-server/agenticChat/tabBarController.js +6 -1
  21. package/out/language-server/agenticChat/tabBarController.js.map +1 -1
  22. package/out/language-server/agenticChat/textFormatting.d.ts +1 -1
  23. package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +59 -13
  24. package/out/language-server/agenticChat/tools/chatDb/chatDb.js +142 -120
  25. package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
  26. package/out/language-server/agenticChat/tools/chatDb/chatHistoryMaintainer.d.ts +99 -0
  27. package/out/language-server/agenticChat/tools/chatDb/chatHistoryMaintainer.js +318 -0
  28. package/out/language-server/agenticChat/tools/chatDb/chatHistoryMaintainer.js.map +1 -0
  29. package/out/language-server/agenticChat/tools/chatDb/util.d.ts +41 -1
  30. package/out/language-server/agenticChat/tools/chatDb/util.js +71 -1
  31. package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -1
  32. package/out/language-server/agenticChat/tools/codeSearch.d.ts +1 -1
  33. package/out/language-server/chat/chatController.js +3 -3
  34. package/out/language-server/chat/chatController.js.map +1 -1
  35. package/out/language-server/chat/chatEventParser.d.ts +1 -1
  36. package/out/language-server/chat/chatSessionService.d.ts +1 -1
  37. package/out/language-server/chat/contexts/documentContext.d.ts +1 -1
  38. package/out/language-server/chat/contexts/triggerContext.d.ts +1 -1
  39. package/out/language-server/chat/contexts/triggerContext.js +5 -5
  40. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  41. package/out/language-server/chat/quickActions.d.ts +1 -7
  42. package/out/language-server/chat/quickActions.js +1 -7
  43. package/out/language-server/chat/quickActions.js.map +1 -1
  44. package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +1 -1
  45. package/out/language-server/chat/telemetry/chatTelemetryController.js +8 -8
  46. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  47. package/out/language-server/chat/tools/relevantTextDocuments.d.ts +1 -1
  48. package/out/language-server/inline-completion/auto-trigger/editPredictionConfig.d.ts +49 -0
  49. package/out/language-server/inline-completion/auto-trigger/editPredictionConfig.js +66 -0
  50. package/out/language-server/inline-completion/auto-trigger/editPredictionConfig.js.map +1 -0
  51. package/out/language-server/inline-completion/auto-trigger/languageDetector.d.ts +24 -0
  52. package/out/language-server/inline-completion/auto-trigger/languageDetector.js +353 -0
  53. package/out/language-server/inline-completion/auto-trigger/languageDetector.js.map +1 -0
  54. package/out/language-server/inline-completion/diffUtils.d.ts +50 -0
  55. package/out/language-server/inline-completion/diffUtils.js +202 -0
  56. package/out/language-server/inline-completion/diffUtils.js.map +1 -0
  57. package/out/language-server/inline-completion/tracker/codeEditTracker.d.ts +178 -0
  58. package/out/language-server/inline-completion/tracker/codeEditTracker.js +478 -0
  59. package/out/language-server/inline-completion/tracker/codeEditTracker.js.map +1 -0
  60. package/out/language-server/inline-completion/tracker/cursorTracker.d.ts +114 -0
  61. package/out/language-server/inline-completion/tracker/cursorTracker.js +188 -0
  62. package/out/language-server/inline-completion/tracker/cursorTracker.js.map +1 -0
  63. package/out/language-server/inline-completion/tracker/rejectedEditTracker.d.ts +57 -0
  64. package/out/language-server/inline-completion/tracker/rejectedEditTracker.js +123 -0
  65. package/out/language-server/inline-completion/tracker/rejectedEditTracker.js.map +1 -0
  66. package/out/language-server/netTransform/transformHandler.js +2 -2
  67. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  68. package/out/shared/models/model.d.ts +26 -1
  69. package/out/shared/streamingClientService.d.ts +1 -1
  70. package/out/shared/streamingClientService.js +2 -2
  71. package/out/shared/streamingClientService.js.map +1 -1
  72. package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +10 -1
  73. package/out/shared/supplementalContextUtil/supplementalContextUtil.js +41 -0
  74. package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
  75. package/out/shared/utils.d.ts +1 -1
  76. package/out/shared/utils.js +5 -5
  77. package/out/shared/utils.js.map +1 -1
  78. package/package.json +4 -4
  79. package/node_modules/@amzn/codewhisperer-streaming/LICENSE +0 -201
  80. package/node_modules/@amzn/codewhisperer-streaming/README.md +0 -941
  81. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreaming.js +0 -19
  82. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +0 -49
  83. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  84. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthSchemeProvider.js +0 -46
  85. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/ExportResultArchiveCommand.js +0 -26
  86. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateAssistantResponseCommand.js +0 -26
  87. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateTaskAssistPlanCommand.js +0 -26
  88. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/SendMessageCommand.js +0 -26
  89. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/index.js +0 -7
  90. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +0 -211
  91. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/extensionConfiguration.js +0 -2
  92. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/index.js +0 -10
  93. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/CodeWhispererStreamingServiceException.js +0 -12
  94. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/index.js +0 -4
  95. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +0 -1090
  96. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +0 -687
  97. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +0 -39
  98. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +0 -53
  99. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.native.js +0 -15
  100. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.shared.js +0 -32
  101. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeExtensions.js +0 -25
  102. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreaming.js +0 -15
  103. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +0 -45
  104. package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthExtensionConfiguration.js +0 -38
  105. package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthSchemeProvider.js +0 -40
  106. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/ExportResultArchiveCommand.js +0 -22
  107. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateAssistantResponseCommand.js +0 -22
  108. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateTaskAssistPlanCommand.js +0 -22
  109. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/SendMessageCommand.js +0 -22
  110. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/index.js +0 -4
  111. package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +0 -207
  112. package/node_modules/@amzn/codewhisperer-streaming/dist-es/extensionConfiguration.js +0 -1
  113. package/node_modules/@amzn/codewhisperer-streaming/dist-es/index.js +0 -5
  114. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/CodeWhispererStreamingServiceException.js +0 -8
  115. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/index.js +0 -1
  116. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +0 -998
  117. package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +0 -676
  118. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +0 -34
  119. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +0 -48
  120. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.native.js +0 -11
  121. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.shared.js +0 -28
  122. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeExtensions.js +0 -21
  123. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreaming.d.ts +0 -37
  124. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +0 -192
  125. package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthExtensionConfiguration.d.ts +0 -29
  126. package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthSchemeProvider.d.ts +0 -67
  127. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +0 -114
  128. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +0 -788
  129. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +0 -801
  130. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +0 -801
  131. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/index.d.ts +0 -4
  132. package/node_modules/@amzn/codewhisperer-streaming/dist-types/endpoints.d.ts +0 -2
  133. package/node_modules/@amzn/codewhisperer-streaming/dist-types/extensionConfiguration.d.ts +0 -9
  134. package/node_modules/@amzn/codewhisperer-streaming/dist-types/index.d.ts +0 -7
  135. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/CodeWhispererStreamingServiceException.d.ts +0 -14
  136. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/index.d.ts +0 -1
  137. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +0 -3223
  138. package/node_modules/@amzn/codewhisperer-streaming/dist-types/protocols/Aws_restJson1.d.ts +0 -38
  139. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +0 -48
  140. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +0 -47
  141. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +0 -44
  142. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.shared.d.ts +0 -25
  143. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeExtensions.d.ts +0 -17
  144. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/LICENSE +0 -201
  145. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/README.md +0 -53
  146. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -217
  147. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
  148. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -88
  149. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
  150. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
  151. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -8
  152. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -3
  153. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
  154. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
  155. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
  156. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
  157. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +0 -8
  158. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +0 -12
  159. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +0 -9
  160. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +0 -8
  161. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +0 -7
  162. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -3
  163. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +0 -18
  164. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +0 -3
  165. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +0 -14
  166. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +0 -12
  167. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +0 -9
  168. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +0 -5
  169. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -3
  170. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +0 -5
  171. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +0 -2
  172. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +0 -5
  173. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +0 -5
  174. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +0 -5
  175. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +0 -4
  176. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +0 -5
  177. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +0 -67
  178. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/LICENSE +0 -201
  179. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/README.md +0 -4
  180. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -294
  181. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/abort.js +0 -1
  182. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/auth.js +0 -1
  183. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js +0 -1
  184. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/checksum.js +0 -1
  185. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/client.js +0 -1
  186. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/command.js +0 -1
  187. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/connection.js +0 -1
  188. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/credentials.js +0 -1
  189. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/crypto.js +0 -1
  190. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/dns.js +0 -5
  191. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/encode.js +0 -1
  192. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/endpoint.js +0 -1
  193. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/eventStream.js +0 -1
  194. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/extensions/index.js +0 -1
  195. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/feature-ids.js +0 -1
  196. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/http.js +0 -1
  197. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +0 -1
  198. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +0 -1
  199. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
  200. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +0 -1
  201. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +0 -1
  202. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/index.js +0 -5
  203. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +0 -33
  204. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/logger.js +0 -1
  205. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/middleware.js +0 -1
  206. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/pagination.js +0 -1
  207. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/profile.js +0 -1
  208. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/request.js +0 -1
  209. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/response.js +0 -1
  210. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/retry.js +0 -1
  211. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/serde.js +0 -1
  212. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/shapes.js +0 -1
  213. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/signature.js +0 -1
  214. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/stream.js +0 -1
  215. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/token.js +0 -1
  216. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/transfer.js +0 -1
  217. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/uri.js +0 -1
  218. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/util.js +0 -1
  219. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/waiter.js +0 -1
  220. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/abort.d.ts +0 -1
  221. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/auth.d.ts +0 -1
  222. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +0 -2
  223. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +0 -1
  224. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/client.d.ts +0 -1
  225. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/command.d.ts +0 -1
  226. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/connection.d.ts +0 -1
  227. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +0 -50
  228. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +0 -1
  229. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/dns.d.ts +0 -85
  230. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/encode.d.ts +0 -1
  231. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +0 -1
  232. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +0 -1
  233. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +0 -8
  234. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +0 -59
  235. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/http.d.ts +0 -33
  236. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +0 -6
  237. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +0 -47
  238. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +0 -1
  239. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +0 -18
  240. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +0 -1
  241. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +0 -5
  242. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +0 -33
  243. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/logger.d.ts +0 -22
  244. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +0 -13
  245. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +0 -1
  246. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/profile.d.ts +0 -1
  247. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/request.d.ts +0 -7
  248. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/response.d.ts +0 -7
  249. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/retry.d.ts +0 -1
  250. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/serde.d.ts +0 -24
  251. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +0 -1
  252. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/signature.d.ts +0 -1
  253. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/stream.d.ts +0 -1
  254. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/token.d.ts +0 -17
  255. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +0 -1
  256. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +0 -1
  257. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +0 -5
  258. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +0 -2
  259. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +0 -1
  260. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +0 -1
  261. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +0 -1
  262. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +0 -6
  263. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +0 -13
  264. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +0 -7
  265. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +0 -19
  266. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +0 -6
  267. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +0 -9
  268. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +0 -24
  269. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +0 -5
  270. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +0 -54
  271. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +0 -17
  272. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +0 -2
  273. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +0 -25
  274. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +0 -1
  275. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +0 -6
  276. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +0 -1
  277. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +0 -5
  278. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +0 -33
  279. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +0 -15
  280. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +0 -47
  281. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +0 -1
  282. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +0 -6
  283. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +0 -4
  284. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +0 -4
  285. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +0 -12
  286. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +0 -16
  287. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +0 -6
  288. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +0 -15
  289. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +0 -4
  290. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +0 -4
  291. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +0 -7
  292. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +0 -1
  293. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +0 -14
  294. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +0 -1
  295. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/uri.d.ts +0 -1
  296. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/util.d.ts +0 -1
  297. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +0 -1
  298. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +0 -56
  299. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/LICENSE +0 -201
  300. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/README.md +0 -4
  301. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
  302. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
  303. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -84
  304. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -9
  305. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
  306. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
  307. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
  308. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
  309. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
  310. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
  311. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
  312. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
  313. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +0 -62
  314. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  315. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +0 -9
  316. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +0 -1
  317. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +0 -1
  318. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -806
  319. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +0 -1
  320. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -1
  321. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -1
  322. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +0 -1
  323. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +0 -1
  324. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +0 -1
  325. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +0 -1
  326. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -1
  327. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +0 -1
  328. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +0 -1
  329. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +0 -1
  330. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -1
  331. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +0 -1
  332. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +0 -1
  333. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
  334. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -9
  335. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
  336. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -209
  337. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -86
  338. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -32
  339. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -167
  340. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -19
  341. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
  342. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
  343. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
  344. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -24
  345. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -11
  346. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  347. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -19
  348. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
  349. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -56
  350. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
  351. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
  352. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
  353. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -45
  354. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -24
  355. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -12
  356. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -62
  357. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -12
  358. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
  359. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
  360. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
  361. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
  362. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  363. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -6
  364. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -12
  365. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -8
  366. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
  367. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
  368. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
  369. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -45
  370. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
  371. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
  372. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -62
  373. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -12
  374. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
  375. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  376. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  377. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  378. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
  379. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
  380. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -12
  381. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
  382. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -11
  383. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -11
  384. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +0 -67
  385. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/LICENSE +0 -201
  386. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/README.md +0 -115
  387. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort-handler.js +0 -1
  388. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort.js +0 -1
  389. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +0 -1
  390. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +0 -1
  391. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -1
  392. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +0 -1
  393. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +0 -1
  394. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/auth.js +0 -1
  395. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/index.js +0 -1
  396. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +0 -1
  397. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/checksum.js +0 -1
  398. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/client.js +0 -1
  399. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/command.js +0 -1
  400. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/config.js +0 -1
  401. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/index.js +0 -1
  402. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/manager.js +0 -1
  403. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/pool.js +0 -1
  404. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/crypto.js +0 -1
  405. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -1
  406. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/encode.js +0 -1
  407. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoint.js +0 -1
  408. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +0 -1
  409. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +0 -1
  410. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +0 -1
  411. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +0 -1
  412. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/index.js +0 -1
  413. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +0 -1
  414. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/eventStream.js +0 -1
  415. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +0 -1
  416. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +0 -1
  417. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
  418. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/index.js +0 -1
  419. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/retry.js +0 -1
  420. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +0 -1
  421. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/feature-ids.js +0 -1
  422. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +0 -1
  423. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http.js +0 -1
  424. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +0 -1
  425. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +0 -1
  426. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/identity.js +0 -1
  427. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/index.js +0 -1
  428. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +0 -1
  429. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/index.js +0 -144
  430. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/logger.js +0 -1
  431. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/middleware.js +0 -1
  432. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/pagination.js +0 -1
  433. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/profile.js +0 -1
  434. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/response.js +0 -1
  435. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/retry.js +0 -1
  436. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/schema.js +0 -1
  437. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +0 -1
  438. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/traits.js +0 -1
  439. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/serde.js +0 -1
  440. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/shapes.js +0 -1
  441. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/signature.js +0 -1
  442. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/stream.js +0 -1
  443. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -1
  444. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -1
  445. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -1
  446. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transfer.js +0 -1
  447. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +0 -1
  448. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -1
  449. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/exact.js +0 -1
  450. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/mutable.js +0 -1
  451. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +0 -1
  452. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +0 -1
  453. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/uri.js +0 -1
  454. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/util.js +0 -1
  455. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/waiter.js +0 -1
  456. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort-handler.js +0 -1
  457. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort.js +0 -1
  458. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +0 -5
  459. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +0 -1
  460. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +0 -1
  461. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +0 -1
  462. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +0 -1
  463. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/auth.js +0 -5
  464. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/index.js +0 -6
  465. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +0 -1
  466. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/checksum.js +0 -1
  467. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/client.js +0 -1
  468. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/command.js +0 -1
  469. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/config.js +0 -1
  470. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/index.js +0 -3
  471. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/manager.js +0 -1
  472. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/pool.js +0 -1
  473. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/crypto.js +0 -1
  474. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -1
  475. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/encode.js +0 -1
  476. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoint.js +0 -5
  477. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +0 -1
  478. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +0 -1
  479. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +0 -1
  480. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +0 -1
  481. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/index.js +0 -5
  482. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/shared.js +0 -1
  483. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/eventStream.js +0 -1
  484. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/checksum.js +0 -38
  485. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +0 -7
  486. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +0 -1
  487. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/index.js +0 -3
  488. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/retry.js +0 -1
  489. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +0 -1
  490. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/feature-ids.js +0 -1
  491. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +0 -1
  492. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http.js +0 -5
  493. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +0 -1
  494. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +0 -1
  495. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/identity.js +0 -1
  496. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/index.js +0 -4
  497. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +0 -1
  498. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/index.js +0 -40
  499. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/logger.js +0 -1
  500. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/middleware.js +0 -1
  501. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/pagination.js +0 -1
  502. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/profile.js +0 -6
  503. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/response.js +0 -1
  504. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/retry.js +0 -1
  505. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/schema.js +0 -1
  506. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/sentinels.js +0 -1
  507. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/traits.js +0 -1
  508. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/serde.js +0 -1
  509. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/shapes.js +0 -1
  510. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/signature.js +0 -1
  511. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/stream.js +0 -1
  512. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +0 -1
  513. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -1
  514. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -1
  515. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transfer.js +0 -6
  516. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +0 -1
  517. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +0 -1
  518. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/exact.js +0 -1
  519. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/mutable.js +0 -1
  520. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/no-undefined.js +0 -1
  521. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/type-transform.js +0 -1
  522. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/uri.js +0 -1
  523. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/util.js +0 -1
  524. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/waiter.js +0 -1
  525. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort-handler.d.ts +0 -7
  526. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort.d.ts +0 -50
  527. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +0 -7
  528. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +0 -49
  529. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -20
  530. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +0 -41
  531. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +0 -14
  532. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/auth.d.ts +0 -57
  533. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/index.d.ts +0 -6
  534. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +0 -40
  535. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/checksum.d.ts +0 -63
  536. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/client.d.ts +0 -57
  537. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/command.d.ts +0 -25
  538. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/config.d.ts +0 -10
  539. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/index.d.ts +0 -3
  540. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/manager.d.ts +0 -34
  541. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/pool.d.ts +0 -32
  542. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/crypto.d.ts +0 -60
  543. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -25
  544. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/encode.d.ts +0 -31
  545. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoint.d.ts +0 -77
  546. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +0 -27
  547. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +0 -10
  548. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +0 -28
  549. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +0 -16
  550. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +0 -5
  551. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +0 -55
  552. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/eventStream.d.ts +0 -137
  553. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +0 -58
  554. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +0 -33
  555. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -9
  556. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/index.d.ts +0 -4
  557. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +0 -18
  558. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +0 -35
  559. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/feature-ids.d.ts +0 -16
  560. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +0 -121
  561. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http.d.ts +0 -112
  562. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +0 -14
  563. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +0 -31
  564. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/identity.d.ts +0 -15
  565. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/index.d.ts +0 -4
  566. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +0 -14
  567. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/index.d.ts +0 -40
  568. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/logger.d.ts +0 -13
  569. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/middleware.d.ts +0 -534
  570. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/pagination.d.ts +0 -33
  571. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/profile.d.ts +0 -30
  572. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/response.d.ts +0 -40
  573. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/retry.d.ts +0 -133
  574. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/schema.d.ts +0 -263
  575. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +0 -65
  576. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/traits.d.ts +0 -46
  577. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/serde.d.ts +0 -114
  578. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/shapes.d.ts +0 -82
  579. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/signature.d.ts +0 -155
  580. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/stream.d.ts +0 -22
  581. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -32
  582. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
  583. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
  584. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transfer.d.ts +0 -41
  585. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +0 -26
  586. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -77
  587. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/exact.d.ts +0 -6
  588. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +0 -6
  589. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +0 -68
  590. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +0 -34
  591. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
  592. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
  593. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
  594. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
  595. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
  596. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
  597. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
  598. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
  599. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
  600. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
  601. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
  602. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
  603. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -25
  604. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
  605. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
  606. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
  607. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
  608. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
  609. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
  610. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
  611. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
  612. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
  613. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
  614. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
  615. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
  616. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
  617. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
  618. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
  619. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
  620. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
  621. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
  622. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
  623. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
  624. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
  625. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
  626. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -121
  627. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -112
  628. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
  629. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
  630. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
  631. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
  632. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
  633. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -40
  634. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
  635. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
  636. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
  637. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
  638. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
  639. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
  640. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -278
  641. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
  642. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
  643. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
  644. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
  645. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
  646. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
  647. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
  648. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
  649. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
  650. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
  651. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
  652. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
  653. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
  654. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
  655. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
  656. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
  657. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
  658. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
  659. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
  660. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/uri.d.ts +0 -17
  661. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/util.d.ts +0 -176
  662. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/waiter.d.ts +0 -35
  663. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/package.json +0 -60
  664. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CHANGELOG.md +0 -274
  665. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CONTRIBUTING.md +0 -18
  666. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/LICENSE.md +0 -9
  667. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/README.md +0 -466
  668. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/bin/uuid +0 -2
  669. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
  670. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
  671. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
  672. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
  673. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
  674. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
  675. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
  676. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
  677. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
  678. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
  679. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
  680. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
  681. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
  682. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
  683. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
  684. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
  685. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/index.js +0 -9
  686. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  687. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/native.js +0 -4
  688. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  689. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  690. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  691. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  692. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  693. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  694. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  695. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  696. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  697. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  698. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  699. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  700. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/version.js +0 -11
  701. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/index.js +0 -9
  702. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/md5.js +0 -13
  703. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/native.js +0 -4
  704. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/nil.js +0 -1
  705. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/parse.js +0 -35
  706. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/regex.js +0 -1
  707. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/rng.js +0 -12
  708. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  709. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  710. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v1.js +0 -95
  711. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v3.js +0 -4
  712. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v35.js +0 -66
  713. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v4.js +0 -29
  714. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v5.js +0 -4
  715. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/validate.js +0 -7
  716. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/version.js +0 -11
  717. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/index.js +0 -79
  718. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5-browser.js +0 -223
  719. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5.js +0 -23
  720. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native-browser.js +0 -11
  721. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native.js +0 -15
  722. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/nil.js +0 -8
  723. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/parse.js +0 -45
  724. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/regex.js +0 -8
  725. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng-browser.js +0 -25
  726. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng.js +0 -24
  727. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1-browser.js +0 -104
  728. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1.js +0 -23
  729. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/stringify.js +0 -44
  730. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/uuid-bin.js +0 -85
  731. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v1.js +0 -107
  732. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v3.js +0 -16
  733. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v35.js +0 -80
  734. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v4.js +0 -43
  735. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v5.js +0 -16
  736. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/validate.js +0 -17
  737. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/version.js +0 -21
  738. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/package.json +0 -135
  739. package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/wrapper.mjs +0 -10
  740. package/node_modules/@amzn/codewhisperer-streaming/package.json +0 -88
@@ -1 +1 @@
1
- {"version":3,"file":"streamingClientService.js","sourceRoot":"","sources":["../../src/shared/streamingClientService.ts"],"names":[],"mappings":";;;AAAA,2EAQsC;AACtC,mGAIkD;AAElD,mCAAuE;AACvE,oDAA6D;AAC7D,qCAA8D;AAC9D,wEAA0E;AAC1E,2DAAuE;AASvE,MAAsB,0BAA0B;IACzB,MAAM,CAAA;IACN,QAAQ,CAAA;IAE3B,gBAAgB,GAAyB,IAAI,GAAG,EAAE,CAAA;IAIlD,YAAY,MAAc,EAAE,QAAgB;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC5B,CAAC;IAOM,qBAAqB;QACxB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE;YAC5C,eAAe,CAAC,KAAK,EAAE,CAAA;QAC3B,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAA;IACjC,CAAC;CACJ;AAxBD,gEAwBC;AAED,MAAa,2BAA4B,SAAQ,0BAA0B;IACvE,MAAM,CAAwB;IACvB,UAAU,CAAS;IAC1B,YACI,mBAAwC,EACxC,gBAAkC,EA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E,QAAQ;YAClB,kBAAkB,EAAE,IAAI,iCAAuB,CAAC;gBAC5C,GAAG,EAAE,CAAC,mBAAmB,CAAC,cAAc,CAAC,KAAK,CAAgB;aACjE,CAAC;YACF,aAAa,EAAE,IAAI,oCAAuB,CAAC,CAAC,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,IAAI,EAAE,CAAC;SAC1F,CAAC,CAAA;IACN,CAAC;IAEM,KAAK,CAAC,WAAW,CACpB,OAAmD,EACnD,eAAiC;QAEjC,MAAM,UAAU,GAAoB,eAAe,IAAI,IAAI,eAAe,EAAE,CAAA;QAE5E,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;QAErC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE;YACpD,WAAW,EAAE,UAAU,CAAC,MAAM;SACjC,CAAC,CAAA;QAEF,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO,QAAQ,CAAA;IACnB,CAAC;CACJ;AAzCD,8DAyCC"}
@@ -1,4 +1,4 @@
1
- import { CodeWhispererSupplementalContext } from '../models/model';
1
+ import { CodeWhispererSupplementalContext, CodeWhispererSupplementalContextItem } from '../models/model';
2
2
  import { CancellationToken, Logging, Position, TextDocument, Workspace } from '@aws/language-server-runtimes/server-interface';
3
3
  import { AmazonQBaseServiceManager } from '../amazonQServiceManager/BaseAmazonQServiceManager';
4
4
  export declare class CancellationError extends Error {
@@ -11,4 +11,13 @@ export declare function fetchSupplementalContext(document: TextDocument, positio
11
11
  * - Sum of all chunks can't exceed 20480 characters
12
12
  */
13
13
  export declare function truncateSupplementalContext(context: CodeWhispererSupplementalContext): CodeWhispererSupplementalContext;
14
+ /**
15
+ * Trims the supplementalContexts array to ensure it doesn't exceed the max number
16
+ * of contexts or total character length limit
17
+ *
18
+ * @param supplementalContextItems - Array of CodeWhispererSupplementalContextItem objects (already sorted with newest first)
19
+ * @param maxContexts - Maximum number of supplemental contexts allowed
20
+ * @returns Trimmed array of CodeWhispererSupplementalContextItem objects
21
+ */
22
+ export declare function trimSupplementalContexts(supplementalContextItems: CodeWhispererSupplementalContextItem[], maxContexts: number): CodeWhispererSupplementalContextItem[];
14
23
  export declare function truncateLineByLine(input: string, l: number): string;
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.CancellationError = void 0;
6
6
  exports.fetchSupplementalContext = fetchSupplementalContext;
7
7
  exports.truncateSupplementalContext = truncateSupplementalContext;
8
+ exports.trimSupplementalContexts = trimSupplementalContexts;
8
9
  exports.truncateLineByLine = truncateLineByLine;
9
10
  const crossFileContextUtil_1 = require("./crossFileContextUtil");
10
11
  const constants_1 = require("../models/constants");
@@ -118,6 +119,46 @@ function truncateSupplementalContext(context) {
118
119
  contentsLength: curTotalLength,
119
120
  };
120
121
  }
122
+ // Constants for supplemental context limits
123
+ const supplementalContextMaxTotalLength = 8192;
124
+ const charactersLimit = 10000;
125
+ // TODO: what's the difference between this implementation vs. [truncateSupplementalContext] above?
126
+ /**
127
+ * Trims the supplementalContexts array to ensure it doesn't exceed the max number
128
+ * of contexts or total character length limit
129
+ *
130
+ * @param supplementalContextItems - Array of CodeWhispererSupplementalContextItem objects (already sorted with newest first)
131
+ * @param maxContexts - Maximum number of supplemental contexts allowed
132
+ * @returns Trimmed array of CodeWhispererSupplementalContextItem objects
133
+ */
134
+ function trimSupplementalContexts(supplementalContextItems, maxContexts) {
135
+ if (supplementalContextItems.length === 0) {
136
+ return supplementalContextItems;
137
+ }
138
+ // First filter out any individual context that exceeds the character limit
139
+ let result = supplementalContextItems.filter(context => {
140
+ return context.content.length <= charactersLimit;
141
+ });
142
+ // Then limit by max number of contexts
143
+ if (result.length > maxContexts) {
144
+ result = result.slice(0, maxContexts);
145
+ }
146
+ // Lastly enforce total character limit
147
+ let totalLength = 0;
148
+ let i = 0;
149
+ while (i < result.length) {
150
+ totalLength += result[i].content.length;
151
+ if (totalLength > supplementalContextMaxTotalLength) {
152
+ break;
153
+ }
154
+ i++;
155
+ }
156
+ if (i === result.length) {
157
+ return result;
158
+ }
159
+ const trimmedContexts = result.slice(0, i);
160
+ return trimmedContexts;
161
+ }
121
162
  function truncateLineByLine(input, l) {
122
163
  const maxLength = l > 0 ? l : -1 * l;
123
164
  if (input.length === 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"supplementalContextUtil.js","sourceRoot":"","sources":["../../../src/shared/supplementalContextUtil/supplementalContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,8KAA8K;;;AAwB9K,4DAwFC;AAQD,kEAgCC;AAED,gDAqBC;AA7KD,iEAAuE;AASvE,mDAA4F;AAC5F,yBAAwB;AAExB,uEAA8D;AAC9D,+DAAyD;AACzD,yBAAwB;AACxB,sEAA+D;AAE/D,MAAa,iBAAkB,SAAQ,KAAK;CAAG;AAA/C,8CAA+C;AAE/C,MAAM,sBAAsB,GAAG,IAAI,4CAAkB,EAAE,CAAA;AACvD,MAAM,oBAAoB,GAAG,IAAI,uCAAiB,EAAE,CAAA;AAE7C,KAAK,UAAU,wBAAwB,CAC1C,QAAsB,EACtB,QAAkB,EAClB,SAAoB,EACpB,OAAgB,EAChB,iBAAoC,EACpC,qBAAiD;IAEjD,MAAM,mBAAmB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAA;IAE7C,MAAM,KAAK,GAAG,sBAAsB,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAA;IAEnE,IAAI,CAAC;QACD,IAAI,wBAEW,CAAA;QAEf,IAAI,KAAK,EAAE,CAAC;YACR,wBAAwB,GAAG,MAAM,IAAA,wBAAS,EACtC,KAAK;gBACD,MAAM,SAAS,GAAG,MAAM,oBAAoB,CAAC,cAAc,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAA;gBAChF,IAAI,SAAS,EAAE,CAAC;oBACZ,MAAM,UAAU,GAAG,EAAE,CAAC,Y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,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,IAAI,oBAAoB,EAAE,CAAC;QACvB,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAA;IACrB,CAAC;SAAM,CAAC;QACJ,OAAO,CAAC,CAAA;IACZ,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"supplementalContextUtil.js","sourceRoot":"","sources":["../../../src/shared/supplementalContextUtil/supplementalContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,8KAA8K;;;AAwB9K,4DAwFC;AAQD,kEAgCC;AAeD,4DAoCC;AAED,gDAqBC;AAhOD,iEAAuE;AASvE,mDAA4F;AAC5F,yBAAwB;AAExB,uEAA8D;AAC9D,+DAAyD;AACzD,yBAAwB;AACxB,sEAA+D;AAE/D,MAAa,iBAAkB,SAAQ,KAAK;CAAG;AAA/C,8CAA+C;AAE/C,MAAM,sBAAsB,GAAG,IAAI,4CAAkB,EAAE,CAAA;AACvD,MAAM,oBAAoB,GAAG,IAAI,uCAAiB,EAAE,CAAA;AAE7C,KAAK,UAAU,wBAAwB,CAC1C,QAAsB,EACtB,QAAkB,EAClB,SAAoB,EACpB,OAAgB,EAChB,iBAAoC,EACpC,qBAAiD;IAEjD,MAAM,mBAAmB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAA;IAE7C,MAAM,KAAK,GAAG,sBAAsB,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAA;IAEnE,IAAI,CAAC;QACD,IAAI,wBAEW,CAAA;QAEf,IAAI,KAAK,EAAE,CAAC;YACR,wBAAwB,GAAG,MAAM,IAAA,wBAAS,EACtC,KAAK;gBACD,MAAM,SAAS,GAAG,MAAM,oBAAoB,CAAC,cAAc,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAA;gBAChF,IAAI,SAAS,EAAE,CAAC;oBACZ,MAAM,UAAU,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,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AAA;IACrB,CAAC;SAAM,CAAC;QACJ,OAAO,CAAC,CAAA;IACZ,CAAC;AACL,CAAC"}
@@ -2,7 +2,7 @@ import { CredentialsProvider, Position } from '@aws/language-server-runtimes/ser
2
2
  import { AWSError } from 'aws-sdk';
3
3
  import { Suggestion } from './codeWhispererService';
4
4
  import { CodewhispererCompletionType } from './telemetry/types';
5
- import { ThrottlingException } from '@amzn/codewhisperer-streaming';
5
+ import { ThrottlingException } from '@aws/codewhisperer-streaming-client';
6
6
  export type SsoConnectionType = 'builderId' | 'identityCenter' | 'none';
7
7
  export declare function isAwsError(error: unknown): error is AWSError;
8
8
  export declare function isAwsThrottlingError(e: unknown): e is ThrottlingException;
@@ -27,7 +27,7 @@ exports.getHttpStatusCode = getHttpStatusCode;
27
27
  exports.hasConnectionExpired = hasConnectionExpired;
28
28
  const fastest_levenshtein_1 = require("fastest-levenshtein");
29
29
  const constants_1 = require("./constants");
30
- const codewhisperer_streaming_1 = require("@amzn/codewhisperer-streaming");
30
+ const codewhisperer_streaming_client_1 = require("@aws/codewhisperer-streaming-client");
31
31
  const utils_1 = require("../language-server/chat/utils");
32
32
  function isAwsError(error) {
33
33
  if (error === undefined) {
@@ -45,7 +45,7 @@ function isAwsThrottlingError(e) {
45
45
  // if (statusCode === 429 || e.message.includes('Too many requests')) {
46
46
  // return true
47
47
  // }
48
- if (e instanceof codewhisperer_streaming_1.ThrottlingException || (isAwsError(e) && e.code === 'ThrottlingException')) {
48
+ if (e instanceof codewhisperer_streaming_client_1.ThrottlingException || (isAwsError(e) && e.code === 'ThrottlingException')) {
49
49
  return true;
50
50
  }
51
51
  return false;
@@ -69,7 +69,7 @@ function isUsageLimitError(e) {
69
69
  if (!isAwsThrottlingError(e)) {
70
70
  return false;
71
71
  }
72
- if (e.reason == codewhisperer_streaming_1.ThrottlingExceptionReason.MONTHLY_REQUEST_COUNT) {
72
+ if (e.reason == codewhisperer_streaming_client_1.ThrottlingExceptionReason.MONTHLY_REQUEST_COUNT) {
73
73
  return true;
74
74
  }
75
75
  return false;
@@ -84,7 +84,7 @@ function isQuotaExceededError(e) {
84
84
  }
85
85
  // https://github.com/aws/aws-toolkit-vscode/blob/db673c9b74b36591bb5642b3da7d4bc7ae2afaf4/packages/core/src/amazonqFeatureDev/client/featureDev.ts#L199
86
86
  // "Backend service will throw ServiceQuota if code generation iteration limit is reached".
87
- if (e instanceof codewhisperer_streaming_1.ServiceQuotaExceededException || (isAwsError(e) && e.code == 'ServiceQuotaExceededException')) {
87
+ if (e instanceof codewhisperer_streaming_client_1.ServiceQuotaExceededException || (isAwsError(e) && e.code == 'ServiceQuotaExceededException')) {
88
88
  return true;
89
89
  }
90
90
  // https://github.com/aws/aws-toolkit-vscode/blob/db673c9b74b36591bb5642b3da7d4bc7ae2afaf4/packages/core/src/amazonqFeatureDev/client/featureDev.ts#L199
@@ -299,7 +299,7 @@ function getRequestID(error) {
299
299
  if (typeof error.requestId === 'string') {
300
300
  return error.requestId;
301
301
  }
302
- if (error instanceof codewhisperer_streaming_1.CodeWhispererStreamingServiceException) {
302
+ if (error instanceof codewhisperer_streaming_client_1.CodeWhispererStreamingServiceException) {
303
303
  return error.$metadata.requestId;
304
304
  }
305
305
  return undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/shared/utils.ts"],"names":[],"mappings":";;;AAqBA,gCAOC;AAED,oDAgBC;AAQD,8CAsBC;AAED,oDA8BC;AAOD,gCAGC;AASD,kCAkDC;AAKD,4BAMC;AASD,gCAqEC;AASD,wDAMC;AAUD,4BAEC;AAED,8BAEC;AAED,wBAEC;AAED,8CAIC;AAED,8BAMC;AAGD,0CAOC;AAED,oCAYC;AAED,gEAYC;AAsBD,oDAIC;AASD,kEAEC;AAED,kFAoBC;AAED,0BAMC;AAED,wCAEC;AAID,8CAcC;AAcD,oDAMC;AAvcD,6DAA8C;AAG9C,2CAAwH;AACxH,2EAKsC;AAEtC,yDAAmE;AAGnE,SAAgB,UAAU,CAAC,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AAA;AACpE,CAAC;AAED,SAAgB,oBAAoB,CAAC,KAAU;IAC3C,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QACzB,MAAM,cAAc,GAAG,IAAA,2BAAmB,EAAC,KAAK,CAAC,CAAA;QACjD,OAAO,cAAc,IAAI,SAAS,CAAA;IACtC,CAAC;IACD,OAAO,KAAK,CAAA;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/lsp-codewhisperer",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "CodeWhisperer Language Server",
5
5
  "main": "out/index.js",
6
6
  "repository": {
@@ -32,11 +32,11 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@amzn/amazon-q-developer-streaming-client": "file:../../core/q-developer-streaming-client/amzn-amazon-q-developer-streaming-client-1.0.0.tgz",
35
- "@amzn/codewhisperer-streaming": "file:../../core/codewhisperer-streaming/amzn-codewhisperer-streaming-1.0.7.tgz",
36
35
  "@aws-sdk/util-arn-parser": "^3.723.0",
37
36
  "@aws-sdk/util-retry": "^3.374.0",
38
37
  "@aws/chat-client-ui-types": "^0.1.40",
39
- "@aws/language-server-runtimes": "^0.2.95",
38
+ "@aws/language-server-runtimes": "^0.2.96",
39
+ "@aws/codewhisperer-streaming-client": "^1.0.1",
40
40
  "@aws/lsp-core": "^0.0.9",
41
41
  "@modelcontextprotocol/sdk": "^1.9.0",
42
42
  "@smithy/node-http-handler": "^2.5.0",
@@ -60,6 +60,7 @@
60
60
  "lokijs": "^1.5.12",
61
61
  "picomatch": "^4.0.2",
62
62
  "shlex": "2.1.2",
63
+ "typescript-collections": "^1.3.3",
63
64
  "uuid": "^11.0.5",
64
65
  "vscode-uri": "^3.1.0",
65
66
  "ws": "^8.18.0",
@@ -97,7 +98,6 @@
97
98
  "endOfLine": "lf"
98
99
  },
99
100
  "bundleDependencies": [
100
- "@amzn/codewhisperer-streaming",
101
101
  "@amzn/amazon-q-developer-streaming-client"
102
102
  ]
103
103
  }
@@ -1,201 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "{}"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2018-2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.