@aws/lsp-codewhisperer 0.0.16 → 0.0.18

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 (825) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/node_modules/@amzn/codewhisperer-streaming/README.md +235 -60
  3. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreaming.js +2 -0
  4. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +15 -9
  5. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  7. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/ExportResultArchiveCommand.js +16 -32
  8. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateAssistantResponseCommand.js +16 -32
  9. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateTaskAssistPlanCommand.js +16 -32
  10. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/SendMessageCommand.js +26 -0
  11. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/index.js +1 -0
  12. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +139 -95
  13. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +541 -135
  14. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +227 -221
  15. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +5 -4
  16. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +15 -10
  17. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.native.js +1 -1
  18. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.shared.js +23 -13
  19. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeExtensions.js +3 -0
  20. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreaming.js +7 -5
  21. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +26 -20
  22. package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  23. package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  24. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/ExportResultArchiveCommand.js +20 -36
  25. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateAssistantResponseCommand.js +20 -36
  26. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateTaskAssistPlanCommand.js +20 -36
  27. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/SendMessageCommand.js +22 -0
  28. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/index.js +4 -3
  29. package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +140 -96
  30. package/node_modules/@amzn/codewhisperer-streaming/dist-es/index.js +5 -5
  31. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/CodeWhispererStreamingServiceException.js +1 -1
  32. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/index.js +1 -1
  33. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +509 -135
  34. package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +218 -214
  35. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +16 -15
  36. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +29 -24
  37. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.native.js +3 -3
  38. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.shared.js +28 -18
  39. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeExtensions.js +6 -3
  40. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreaming.d.ts +12 -5
  41. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +25 -20
  42. package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  43. package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
  44. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +31 -27
  45. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +263 -30
  46. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +263 -30
  47. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +636 -0
  48. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/index.d.ts +4 -3
  49. package/node_modules/@amzn/codewhisperer-streaming/dist-types/endpoints.d.ts +1 -1
  50. package/node_modules/@amzn/codewhisperer-streaming/dist-types/extensionConfiguration.d.ts +5 -4
  51. package/node_modules/@amzn/codewhisperer-streaming/dist-types/index.d.ts +7 -5
  52. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/CodeWhispererStreamingServiceException.d.ts +3 -2
  53. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/index.d.ts +1 -1
  54. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +1313 -229
  55. package/node_modules/@amzn/codewhisperer-streaming/dist-types/protocols/Aws_restJson1.d.ts +14 -5
  56. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +14 -10
  57. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +1 -36
  58. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +13 -9
  59. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.shared.d.ts +9 -1
  60. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeExtensions.d.ts +1 -1
  61. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +295 -0
  62. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +49 -0
  63. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
  64. package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/logger.d.ts +2 -2
  65. package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/credentials.d.ts +8 -0
  66. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
  67. package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/package.json +7 -15
  68. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/LICENSE +201 -0
  69. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/README.md +4 -0
  70. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -0
  71. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -0
  72. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  73. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -0
  74. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -0
  75. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -0
  76. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  77. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  78. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  79. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  80. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  81. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  82. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
  83. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
  84. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  85. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  86. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  87. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  88. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
  89. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  90. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  91. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  92. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  93. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  94. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/package.json +65 -0
  95. package/node_modules/@amzn/codewhisperer-streaming/package.json +47 -47
  96. package/node_modules/@smithy/abort-controller/LICENSE +201 -0
  97. package/node_modules/@smithy/abort-controller/README.md +4 -0
  98. package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -0
  99. package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
  100. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +82 -0
  101. package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
  102. package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  103. package/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  104. package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +13 -0
  105. package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +18 -0
  106. package/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  107. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +13 -0
  108. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +18 -0
  109. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  110. package/node_modules/@smithy/abort-controller/package.json +62 -0
  111. package/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  112. package/node_modules/@smithy/node-http-handler/README.md +4 -0
  113. package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +1 -0
  114. package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +1 -0
  115. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +687 -0
  116. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +1 -0
  117. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +1 -0
  118. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +1 -0
  119. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +1 -0
  120. package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +1 -0
  121. package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +1 -0
  122. package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +1 -0
  123. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +1 -0
  124. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +1 -0
  125. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +1 -0
  126. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +1 -0
  127. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -0
  128. package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +1 -0
  129. package/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  130. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
  131. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  132. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +184 -0
  133. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +86 -0
  134. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
  135. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +159 -0
  136. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +19 -0
  137. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +81 -0
  138. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +21 -0
  139. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +8 -0
  140. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +6 -0
  141. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +11 -0
  142. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +14 -0
  143. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +19 -0
  144. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +52 -0
  145. package/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  146. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  147. package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  148. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +37 -0
  149. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +22 -0
  150. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +13 -0
  151. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +57 -0
  152. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +14 -0
  153. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
  154. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  155. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
  156. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  157. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +7 -0
  158. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +2 -0
  159. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +14 -0
  160. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  161. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  162. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  163. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +36 -0
  164. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +22 -0
  165. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +13 -0
  166. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +57 -0
  167. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
  168. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
  169. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
  170. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
  171. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
  172. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +6 -0
  173. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +2 -0
  174. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
  175. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  176. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +13 -0
  177. package/node_modules/@smithy/node-http-handler/package.json +67 -0
  178. package/node_modules/@smithy/protocol-http/LICENSE +201 -0
  179. package/node_modules/@smithy/protocol-http/README.md +4 -0
  180. package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -0
  181. package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -0
  182. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -0
  183. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -0
  184. package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -0
  185. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -0
  186. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
  187. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +237 -0
  188. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -0
  189. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -0
  190. package/node_modules/@smithy/protocol-http/dist-es/Field.js +23 -0
  191. package/node_modules/@smithy/protocol-http/dist-es/Fields.js +19 -0
  192. package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
  193. package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
  194. package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +48 -0
  195. package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +14 -0
  196. package/node_modules/@smithy/protocol-http/dist-es/index.js +8 -0
  197. package/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +4 -0
  198. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +49 -0
  199. package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +44 -0
  200. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
  201. package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
  202. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +37 -0
  203. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +23 -0
  204. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +16 -0
  205. package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +8 -0
  206. package/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +1 -0
  207. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +49 -0
  208. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +44 -0
  209. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
  210. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
  211. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +37 -0
  212. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +23 -0
  213. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +16 -0
  214. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +8 -0
  215. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +1 -0
  216. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +21 -0
  217. package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +21 -0
  218. package/node_modules/@smithy/protocol-http/package.json +61 -0
  219. package/node_modules/@smithy/querystring-builder/LICENSE +201 -0
  220. package/node_modules/@smithy/querystring-builder/README.md +10 -0
  221. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +52 -0
  222. package/node_modules/@smithy/querystring-builder/dist-es/index.js +21 -0
  223. package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +5 -0
  224. package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +5 -0
  225. package/node_modules/@smithy/querystring-builder/package.json +61 -0
  226. package/node_modules/@smithy/types/LICENSE +201 -0
  227. package/node_modules/@smithy/types/README.md +80 -0
  228. package/node_modules/@smithy/types/dist-cjs/abort.js +1 -0
  229. package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -0
  230. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -0
  231. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -0
  232. package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -0
  233. package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -0
  234. package/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -0
  235. package/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -0
  236. package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -0
  237. package/node_modules/@smithy/types/dist-cjs/checksum.js +1 -0
  238. package/node_modules/@smithy/types/dist-cjs/client.js +1 -0
  239. package/node_modules/@smithy/types/dist-cjs/command.js +1 -0
  240. package/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -0
  241. package/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -0
  242. package/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -0
  243. package/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -0
  244. package/node_modules/@smithy/types/dist-cjs/crypto.js +1 -0
  245. package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -0
  246. package/node_modules/@smithy/types/dist-cjs/encode.js +1 -0
  247. package/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -0
  248. package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -0
  249. package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -0
  250. package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -0
  251. package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -0
  252. package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -0
  253. package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -0
  254. package/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -0
  255. package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -0
  256. package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -0
  257. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -0
  258. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -0
  259. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -0
  260. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -0
  261. package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -0
  262. package/node_modules/@smithy/types/dist-cjs/http.js +1 -0
  263. package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -0
  264. package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -0
  265. package/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -0
  266. package/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -0
  267. package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -0
  268. package/node_modules/@smithy/types/dist-cjs/index.js +149 -0
  269. package/node_modules/@smithy/types/dist-cjs/logger.js +1 -0
  270. package/node_modules/@smithy/types/dist-cjs/middleware.js +1 -0
  271. package/node_modules/@smithy/types/dist-cjs/pagination.js +1 -0
  272. package/node_modules/@smithy/types/dist-cjs/profile.js +1 -0
  273. package/node_modules/@smithy/types/dist-cjs/response.js +1 -0
  274. package/node_modules/@smithy/types/dist-cjs/retry.js +1 -0
  275. package/node_modules/@smithy/types/dist-cjs/serde.js +1 -0
  276. package/node_modules/@smithy/types/dist-cjs/shapes.js +1 -0
  277. package/node_modules/@smithy/types/dist-cjs/signature.js +1 -0
  278. package/node_modules/@smithy/types/dist-cjs/stream.js +1 -0
  279. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -0
  280. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  281. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  282. package/node_modules/@smithy/types/dist-cjs/transfer.js +1 -0
  283. package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -0
  284. package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -0
  285. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -0
  286. package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -0
  287. package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -0
  288. package/node_modules/@smithy/types/dist-cjs/uri.js +1 -0
  289. package/node_modules/@smithy/types/dist-cjs/util.js +1 -0
  290. package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
  291. package/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
  292. package/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
  293. package/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
  294. package/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
  295. package/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
  296. package/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
  297. package/node_modules/@smithy/types/dist-es/checksum.js +1 -0
  298. package/node_modules/@smithy/types/dist-es/client.js +1 -0
  299. package/node_modules/@smithy/types/dist-es/command.js +1 -0
  300. package/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
  301. package/node_modules/@smithy/types/dist-es/connection/index.js +3 -0
  302. package/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
  303. package/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
  304. package/node_modules/@smithy/types/dist-es/crypto.js +1 -0
  305. package/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
  306. package/node_modules/@smithy/types/dist-es/encode.js +1 -0
  307. package/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
  308. package/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
  309. package/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
  310. package/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
  311. package/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
  312. package/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -0
  313. package/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
  314. package/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
  315. package/node_modules/@smithy/types/dist-es/extensions/checksum.js +39 -0
  316. package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +11 -0
  317. package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
  318. package/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
  319. package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
  320. package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
  321. package/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
  322. package/node_modules/@smithy/types/dist-es/http.js +5 -0
  323. package/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
  324. package/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
  325. package/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
  326. package/node_modules/@smithy/types/dist-es/identity/index.js +4 -0
  327. package/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
  328. package/node_modules/@smithy/types/dist-es/index.js +36 -0
  329. package/node_modules/@smithy/types/dist-es/logger.js +1 -0
  330. package/node_modules/@smithy/types/dist-es/middleware.js +1 -0
  331. package/node_modules/@smithy/types/dist-es/pagination.js +1 -0
  332. package/node_modules/@smithy/types/dist-es/profile.js +6 -0
  333. package/node_modules/@smithy/types/dist-es/response.js +1 -0
  334. package/node_modules/@smithy/types/dist-es/retry.js +1 -0
  335. package/node_modules/@smithy/types/dist-es/serde.js +1 -0
  336. package/node_modules/@smithy/types/dist-es/shapes.js +1 -0
  337. package/node_modules/@smithy/types/dist-es/signature.js +1 -0
  338. package/node_modules/@smithy/types/dist-es/stream.js +1 -0
  339. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
  340. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  341. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  342. package/node_modules/@smithy/types/dist-es/transfer.js +6 -0
  343. package/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
  344. package/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
  345. package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
  346. package/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
  347. package/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
  348. package/node_modules/@smithy/types/dist-es/uri.js +1 -0
  349. package/node_modules/@smithy/types/dist-es/util.js +1 -0
  350. package/node_modules/@smithy/types/dist-es/waiter.js +1 -0
  351. package/node_modules/@smithy/types/dist-types/abort.d.ts +49 -0
  352. package/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
  353. package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
  354. package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
  355. package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
  356. package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
  357. package/node_modules/@smithy/types/dist-types/auth/auth.d.ts +57 -0
  358. package/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
  359. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +41 -0
  360. package/node_modules/@smithy/types/dist-types/checksum.d.ts +63 -0
  361. package/node_modules/@smithy/types/dist-types/client.d.ts +44 -0
  362. package/node_modules/@smithy/types/dist-types/command.d.ts +10 -0
  363. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +7 -0
  364. package/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
  365. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +28 -0
  366. package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +24 -0
  367. package/node_modules/@smithy/types/dist-types/crypto.d.ts +60 -0
  368. package/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
  369. package/node_modules/@smithy/types/dist-types/encode.d.ts +19 -0
  370. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
  371. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +15 -0
  372. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +7 -0
  373. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +19 -0
  374. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +10 -0
  375. package/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
  376. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +25 -0
  377. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +108 -0
  378. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +55 -0
  379. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
  380. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
  381. package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
  382. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
  383. package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
  384. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +79 -0
  385. package/node_modules/@smithy/types/dist-types/http.d.ts +105 -0
  386. package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
  387. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +27 -0
  388. package/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
  389. package/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
  390. package/node_modules/{@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts → @smithy/types/dist-types/identity/tokenIdentity.d.ts} +3 -3
  391. package/node_modules/@smithy/types/dist-types/index.d.ts +36 -0
  392. package/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
  393. package/node_modules/@smithy/types/dist-types/middleware.d.ts +510 -0
  394. package/node_modules/@smithy/types/dist-types/pagination.d.ts +26 -0
  395. package/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
  396. package/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
  397. package/node_modules/@smithy/types/dist-types/retry.d.ts +133 -0
  398. package/node_modules/@smithy/types/dist-types/serde.d.ts +111 -0
  399. package/node_modules/@smithy/types/dist-types/shapes.d.ts +81 -0
  400. package/node_modules/@smithy/types/dist-types/signature.d.ts +150 -0
  401. package/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
  402. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  403. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +62 -0
  404. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +53 -0
  405. package/node_modules/@smithy/types/dist-types/transfer.d.ts +33 -0
  406. package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
  407. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +73 -0
  408. package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
  409. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +62 -0
  410. package/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
  411. package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +49 -0
  412. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
  413. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
  414. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
  415. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
  416. package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
  417. package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +57 -0
  418. package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
  419. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
  420. package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +63 -0
  421. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +44 -0
  422. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +10 -0
  423. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +7 -0
  424. package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
  425. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +28 -0
  426. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +24 -0
  427. package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +60 -0
  428. package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
  429. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +19 -0
  430. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
  431. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +15 -0
  432. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +7 -0
  433. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +19 -0
  434. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +10 -0
  435. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
  436. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +25 -0
  437. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +108 -0
  438. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +55 -0
  439. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
  440. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
  441. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
  442. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
  443. package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
  444. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +78 -0
  445. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +105 -0
  446. package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
  447. package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +27 -0
  448. package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
  449. package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
  450. package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
  451. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +36 -0
  452. package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
  453. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +510 -0
  454. package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +26 -0
  455. package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
  456. package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
  457. package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +133 -0
  458. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +111 -0
  459. package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +81 -0
  460. package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +150 -0
  461. package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
  462. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  463. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +61 -0
  464. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +52 -0
  465. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +33 -0
  466. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
  467. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +84 -0
  468. package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
  469. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +82 -0
  470. package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
  471. package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
  472. package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
  473. package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
  474. package/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
  475. package/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
  476. package/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
  477. package/node_modules/@smithy/types/package.json +61 -0
  478. package/node_modules/@smithy/util-uri-escape/LICENSE +201 -0
  479. package/node_modules/@smithy/util-uri-escape/README.md +10 -0
  480. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -0
  481. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -0
  482. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -0
  483. package/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js +2 -0
  484. package/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js +2 -0
  485. package/node_modules/@smithy/util-uri-escape/dist-es/index.js +2 -0
  486. package/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts +4 -0
  487. package/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts +4 -0
  488. package/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +8 -0
  489. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +4 -0
  490. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +4 -0
  491. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +8 -0
  492. package/node_modules/@smithy/util-uri-escape/package.json +59 -0
  493. package/out/client/streamingClient/codewhispererStreamingClient.js +7 -8
  494. package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
  495. package/out/client/token/bearer-token-service.json +2472 -470
  496. package/out/constants.d.ts +2 -0
  497. package/out/constants.js +6 -0
  498. package/out/constants.js.map +1 -0
  499. package/out/language-server/auto-trigger/coefficients.json +11 -1
  500. package/out/language-server/chat/chatController.d.ts +4 -3
  501. package/out/language-server/chat/chatController.js +90 -31
  502. package/out/language-server/chat/chatController.js.map +1 -1
  503. package/out/language-server/chat/chatController.test.js +51 -28
  504. package/out/language-server/chat/chatController.test.js.map +1 -1
  505. package/out/language-server/chat/chatEventParser.d.ts +7 -2
  506. package/out/language-server/chat/chatEventParser.js +13 -5
  507. package/out/language-server/chat/chatEventParser.js.map +1 -1
  508. package/out/language-server/chat/chatEventParser.test.js +88 -42
  509. package/out/language-server/chat/chatEventParser.test.js.map +1 -1
  510. package/out/language-server/chat/chatSessionService.d.ts +4 -4
  511. package/out/language-server/chat/chatSessionService.js +13 -13
  512. package/out/language-server/chat/chatSessionService.js.map +1 -1
  513. package/out/language-server/chat/chatSessionService.test.js +19 -25
  514. package/out/language-server/chat/chatSessionService.test.js.map +1 -1
  515. package/out/language-server/chat/contexts/documentContext.d.ts +1 -4
  516. package/out/language-server/chat/contexts/documentContext.js +1 -17
  517. package/out/language-server/chat/contexts/documentContext.js.map +1 -1
  518. package/out/language-server/chat/contexts/documentContext.test.js +0 -7
  519. package/out/language-server/chat/contexts/documentContext.test.js.map +1 -1
  520. package/out/language-server/chat/contexts/triggerContext.d.ts +3 -4
  521. package/out/language-server/chat/contexts/triggerContext.js +0 -4
  522. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  523. package/out/language-server/chat/contexts/triggerContexts.test.js +0 -1
  524. package/out/language-server/chat/contexts/triggerContexts.test.js.map +1 -1
  525. package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +7 -2
  526. package/out/language-server/chat/telemetry/chatTelemetryController.js +68 -44
  527. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  528. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +112 -1
  529. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +1 -1
  530. package/out/language-server/chat/telemetry/clientTelemetry.d.ts +0 -1
  531. package/out/language-server/chat/telemetry/clientTelemetry.js.map +1 -1
  532. package/out/language-server/codeWhispererSecurityScanServer.js +2 -1
  533. package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
  534. package/out/language-server/codeWhispererServer.js +67 -46
  535. package/out/language-server/codeWhispererServer.js.map +1 -1
  536. package/out/language-server/codeWhispererServer.test.js +73 -2
  537. package/out/language-server/codeWhispererServer.test.js.map +1 -1
  538. package/out/language-server/codeWhispererService.d.ts +14 -11
  539. package/out/language-server/codeWhispererService.js +25 -12
  540. package/out/language-server/codeWhispererService.js.map +1 -1
  541. package/out/language-server/configuration/qConfigurationServer.js +2 -2
  542. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  543. package/out/language-server/constants.d.ts +1 -0
  544. package/out/language-server/constants.js +2 -1
  545. package/out/language-server/constants.js.map +1 -1
  546. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +2 -3
  547. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +1 -1
  548. package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
  549. package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
  550. package/out/language-server/languageDetection.d.ts +9 -1
  551. package/out/language-server/languageDetection.js +71 -5
  552. package/out/language-server/languageDetection.js.map +1 -1
  553. package/out/language-server/netTransform/artifactManager.js +12 -10
  554. package/out/language-server/netTransform/artifactManager.js.map +1 -1
  555. package/out/language-server/netTransform/converter.d.ts +1 -2
  556. package/out/language-server/netTransform/converter.js +3 -48
  557. package/out/language-server/netTransform/converter.js.map +1 -1
  558. package/out/language-server/netTransform/models.d.ts +4 -0
  559. package/out/language-server/netTransform/models.js.map +1 -1
  560. package/out/language-server/netTransform/resources/SupportedProjects.js +3 -1
  561. package/out/language-server/netTransform/resources/SupportedProjects.js.map +1 -1
  562. package/out/language-server/netTransform/tests/converter.test.js +2 -159
  563. package/out/language-server/netTransform/tests/converter.test.js.map +1 -1
  564. package/out/language-server/netTransform/tests/validation.test.js +2 -0
  565. package/out/language-server/netTransform/tests/validation.test.js.map +1 -1
  566. package/out/language-server/netTransform/transformHandler.js +25 -35
  567. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  568. package/out/language-server/netTransformServer.js +2 -21
  569. package/out/language-server/netTransformServer.js.map +1 -1
  570. package/out/language-server/proxy-server.js +9 -83
  571. package/out/language-server/proxy-server.js.map +1 -1
  572. package/out/language-server/qChatServer.js +13 -4
  573. package/out/language-server/qChatServer.js.map +1 -1
  574. package/out/language-server/session/sessionManager.d.ts +7 -2
  575. package/out/language-server/session/sessionManager.js +2 -0
  576. package/out/language-server/session/sessionManager.js.map +1 -1
  577. package/out/language-server/session/sessionManager.test.js +4 -0
  578. package/out/language-server/session/sessionManager.test.js.map +1 -1
  579. package/out/language-server/telemetry/codeDiffTracker.d.ts +2 -1
  580. package/out/language-server/telemetry/codeDiffTracker.js +6 -1
  581. package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
  582. package/out/language-server/telemetry/codePercentage.d.ts +6 -4
  583. package/out/language-server/telemetry/codePercentage.js +49 -12
  584. package/out/language-server/telemetry/codePercentage.js.map +1 -1
  585. package/out/language-server/telemetry/codePercentage.test.js +169 -41
  586. package/out/language-server/telemetry/codePercentage.test.js.map +1 -1
  587. package/out/language-server/telemetry/types.d.ts +2 -1
  588. package/out/language-server/telemetry/types.js.map +1 -1
  589. package/out/language-server/telemetry/userTriggerDecision.test.js +560 -156
  590. package/out/language-server/telemetry/userTriggerDecision.test.js.map +1 -1
  591. package/out/language-server/telemetry.test.js +11 -9
  592. package/out/language-server/telemetry.test.js.map +1 -1
  593. package/out/language-server/telemetryService.d.ts +79 -0
  594. package/out/language-server/telemetryService.js +321 -0
  595. package/out/language-server/telemetryService.js.map +1 -0
  596. package/out/language-server/telemetryService.test.d.ts +1 -0
  597. package/out/language-server/telemetryService.test.js +761 -0
  598. package/out/language-server/telemetryService.test.js.map +1 -0
  599. package/out/language-server/utilities/telemetryUtils.d.ts +4 -0
  600. package/out/language-server/utilities/telemetryUtils.js +89 -0
  601. package/out/language-server/utilities/telemetryUtils.js.map +1 -0
  602. package/out/language-server/utilities/telemetryUtils.test.d.ts +1 -0
  603. package/out/language-server/utilities/telemetryUtils.test.js +207 -0
  604. package/out/language-server/utilities/telemetryUtils.test.js.map +1 -0
  605. package/out/language-server/utils.d.ts +7 -4
  606. package/out/language-server/utils.js +57 -34
  607. package/out/language-server/utils.js.map +1 -1
  608. package/out/language-server/utils.test.js +104 -73
  609. package/out/language-server/utils.test.js.map +1 -1
  610. package/package.json +4 -12
  611. package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.d.ts +0 -5
  612. package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.js +0 -28
  613. package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.js.map +0 -1
  614. package/node_modules/@aws/lsp-fqn/out/browser/index.d.ts +0 -2
  615. package/node_modules/@aws/lsp-fqn/out/browser/index.js +0 -19
  616. package/node_modules/@aws/lsp-fqn/out/browser/index.js.map +0 -1
  617. package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.d.ts +0 -7
  618. package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.js +0 -39
  619. package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.js.map +0 -1
  620. package/node_modules/@aws/lsp-fqn/out/common/defaults.d.ts +0 -4
  621. package/node_modules/@aws/lsp-fqn/out/common/defaults.js +0 -8
  622. package/node_modules/@aws/lsp-fqn/out/common/defaults.js.map +0 -1
  623. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.d.ts +0 -3
  624. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.js +0 -28
  625. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.js.map +0 -1
  626. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.test.js +0 -57
  627. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.test.js.map +0 -1
  628. package/node_modules/@aws/lsp-fqn/out/common/types.d.ts +0 -58
  629. package/node_modules/@aws/lsp-fqn/out/common/types.js +0 -3
  630. package/node_modules/@aws/lsp-fqn/out/common/types.js.map +0 -1
  631. package/node_modules/@aws/lsp-fqn/out/index.d.ts +0 -7
  632. package/node_modules/@aws/lsp-fqn/out/index.js +0 -18
  633. package/node_modules/@aws/lsp-fqn/out/index.js.map +0 -1
  634. package/node_modules/@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.js +0 -19
  635. package/node_modules/@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.js.map +0 -1
  636. package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.d.ts +0 -5
  637. package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.js +0 -12
  638. package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.js.map +0 -1
  639. package/node_modules/@aws/lsp-fqn/out/node/index.d.ts +0 -2
  640. package/node_modules/@aws/lsp-fqn/out/node/index.js +0 -19
  641. package/node_modules/@aws/lsp-fqn/out/node/index.js.map +0 -1
  642. package/node_modules/@aws/lsp-fqn/package.json +0 -42
  643. package/node_modules/@aws/lsp-fqn/src/browser/fqnWorkerPool.ts +0 -26
  644. package/node_modules/@aws/lsp-fqn/src/browser/index.ts +0 -2
  645. package/node_modules/@aws/lsp-fqn/src/common/commonFqnWorkerPool.ts +0 -44
  646. package/node_modules/@aws/lsp-fqn/src/common/defaults.ts +0 -4
  647. package/node_modules/@aws/lsp-fqn/src/common/fqnExtractor.test.ts +0 -66
  648. package/node_modules/@aws/lsp-fqn/src/common/fqnExtractor.ts +0 -35
  649. package/node_modules/@aws/lsp-fqn/src/common/types.ts +0 -77
  650. package/node_modules/@aws/lsp-fqn/src/index.ts +0 -8
  651. package/node_modules/@aws/lsp-fqn/src/node/aws-lsp-fqn-worker.ts +0 -19
  652. package/node_modules/@aws/lsp-fqn/src/node/fqnWorkerPool.ts +0 -9
  653. package/node_modules/@aws/lsp-fqn/src/node/index.ts +0 -2
  654. package/node_modules/@aws/lsp-fqn/tsconfig.json +0 -8
  655. package/node_modules/@aws/lsp-fqn/tsconfig.tsbuildinfo +0 -1
  656. package/node_modules/@aws-sdk/types/dist-cjs/abort.js +0 -2
  657. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +0 -5
  658. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +0 -2
  659. package/node_modules/@aws-sdk/types/dist-cjs/blob/runtime-blob-types.browser.js +0 -2
  660. package/node_modules/@aws-sdk/types/dist-cjs/blob/runtime-blob-types.node.js +0 -2
  661. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +0 -2
  662. package/node_modules/@aws-sdk/types/dist-cjs/client.js +0 -2
  663. package/node_modules/@aws-sdk/types/dist-cjs/command.js +0 -2
  664. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +0 -2
  665. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +0 -2
  666. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +0 -2
  667. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +0 -8
  668. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +0 -2
  669. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +0 -5
  670. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +0 -2
  671. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +0 -2
  672. package/node_modules/@aws-sdk/types/dist-cjs/http.js +0 -2
  673. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +0 -2
  674. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +0 -2
  675. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -2
  676. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +0 -2
  677. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +0 -2
  678. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +0 -8
  679. package/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -35
  680. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +0 -2
  681. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +0 -2
  682. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +0 -2
  683. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +0 -2
  684. package/node_modules/@aws-sdk/types/dist-cjs/request.js +0 -2
  685. package/node_modules/@aws-sdk/types/dist-cjs/response.js +0 -2
  686. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +0 -2
  687. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +0 -2
  688. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +0 -2
  689. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +0 -2
  690. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +0 -2
  691. package/node_modules/@aws-sdk/types/dist-cjs/token.js +0 -2
  692. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +0 -5
  693. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +0 -2
  694. package/node_modules/@aws-sdk/types/dist-cjs/util.js +0 -2
  695. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +0 -2
  696. package/node_modules/@aws-sdk/types/dist-types/blob/runtime-blob-types.browser.d.ts +0 -6
  697. package/node_modules/@aws-sdk/types/dist-types/blob/runtime-blob-types.node.d.ts +0 -9
  698. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +0 -17
  699. package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/runtime-blob-types.browser.d.ts +0 -1
  700. package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/runtime-blob-types.node.d.ts +0 -2
  701. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +0 -5
  702. package/out/language-server/chat/contexts/documentFqnExtractor.d.ts +0 -22
  703. package/out/language-server/chat/contexts/documentFqnExtractor.js +0 -95
  704. package/out/language-server/chat/contexts/documentFqnExtractor.js.map +0 -1
  705. package/out/language-server/chat/contexts/documentFqnExtractor.test.js +0 -94
  706. package/out/language-server/chat/contexts/documentFqnExtractor.test.js.map +0 -1
  707. package/out/language-server/chat/contexts/mockData.d.ts +0 -37
  708. package/out/language-server/chat/contexts/mockData.js +0 -98
  709. package/out/language-server/chat/contexts/mockData.js.map +0 -1
  710. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/LICENSE +0 -0
  711. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/README.md +0 -0
  712. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/abort.js +0 -0
  713. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/auth.js +0 -0
  714. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/blob/blob-types.js +0 -0
  715. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/checksum.js +0 -0
  716. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/client.js +0 -0
  717. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/command.js +0 -0
  718. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/connection.js +0 -0
  719. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/credentials.js +0 -0
  720. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/crypto.js +0 -0
  721. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/dns.js +0 -0
  722. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/encode.js +0 -0
  723. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/endpoint.js +0 -0
  724. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/eventStream.js +0 -0
  725. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/extensions/index.js +0 -0
  726. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/http.js +0 -0
  727. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/AnonymousIdentity.js +0 -0
  728. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/AwsCredentialIdentity.js +0 -0
  729. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/Identity.js +0 -0
  730. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/LoginIdentity.js +0 -0
  731. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/TokenIdentity.js +0 -0
  732. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/index.js +0 -0
  733. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/index.js +0 -0
  734. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/logger.js +0 -0
  735. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/middleware.js +0 -0
  736. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/pagination.js +0 -0
  737. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/profile.js +0 -0
  738. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/request.js +0 -0
  739. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/response.js +0 -0
  740. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/retry.js +0 -0
  741. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/serde.js +0 -0
  742. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/shapes.js +0 -0
  743. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/signature.js +0 -0
  744. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/stream.js +0 -0
  745. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/token.js +0 -0
  746. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/transfer.js +0 -0
  747. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/uri.js +0 -0
  748. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/util.js +0 -0
  749. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/waiter.js +0 -0
  750. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/abort.d.ts +0 -0
  751. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/auth.d.ts +0 -0
  752. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/blob/blob-types.d.ts +0 -0
  753. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/checksum.d.ts +0 -0
  754. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/client.d.ts +0 -0
  755. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/command.d.ts +0 -0
  756. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/connection.d.ts +0 -0
  757. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/crypto.d.ts +0 -0
  758. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/dns.d.ts +0 -0
  759. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/encode.d.ts +0 -0
  760. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/endpoint.d.ts +0 -0
  761. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/eventStream.d.ts +0 -0
  762. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/extensions/index.d.ts +0 -0
  763. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/http.d.ts +0 -0
  764. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/AnonymousIdentity.d.ts +0 -0
  765. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/AwsCredentialIdentity.d.ts +0 -0
  766. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/Identity.d.ts +0 -0
  767. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/LoginIdentity.d.ts +0 -0
  768. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/index.d.ts +0 -0
  769. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/index.d.ts +0 -0
  770. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/middleware.d.ts +0 -0
  771. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/pagination.d.ts +0 -0
  772. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/profile.d.ts +0 -0
  773. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/request.d.ts +0 -0
  774. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/response.d.ts +0 -0
  775. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/retry.d.ts +0 -0
  776. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/serde.d.ts +0 -0
  777. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/shapes.d.ts +0 -0
  778. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/signature.d.ts +0 -0
  779. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/stream.d.ts +0 -0
  780. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/token.d.ts +0 -0
  781. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/transfer.d.ts +0 -0
  782. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/abort.d.ts +0 -0
  783. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/auth.d.ts +0 -0
  784. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/blob/blob-types.d.ts +0 -0
  785. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/checksum.d.ts +0 -0
  786. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/client.d.ts +0 -0
  787. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/command.d.ts +0 -0
  788. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/connection.d.ts +0 -0
  789. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/crypto.d.ts +0 -0
  790. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/dns.d.ts +0 -0
  791. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/encode.d.ts +0 -0
  792. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/endpoint.d.ts +0 -0
  793. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/eventStream.d.ts +0 -0
  794. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/extensions/index.d.ts +0 -0
  795. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/http.d.ts +0 -0
  796. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +0 -0
  797. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +0 -0
  798. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/Identity.d.ts +0 -0
  799. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +0 -0
  800. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/index.d.ts +0 -0
  801. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/index.d.ts +0 -0
  802. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/logger.d.ts +0 -0
  803. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/middleware.d.ts +0 -0
  804. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/pagination.d.ts +0 -0
  805. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/profile.d.ts +0 -0
  806. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/request.d.ts +0 -0
  807. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/response.d.ts +0 -0
  808. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/retry.d.ts +0 -0
  809. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/serde.d.ts +0 -0
  810. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/shapes.d.ts +0 -0
  811. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/signature.d.ts +0 -0
  812. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/stream.d.ts +0 -0
  813. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/token.d.ts +0 -0
  814. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/transfer.d.ts +0 -0
  815. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/uri.d.ts +0 -0
  816. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/util.d.ts +0 -0
  817. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/waiter.d.ts +0 -0
  818. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/uri.d.ts +0 -0
  819. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/util.d.ts +0 -0
  820. /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/waiter.d.ts +0 -0
  821. /package/node_modules/{@aws-sdk/types/dist-es/blob/runtime-blob-types.browser.js → @smithy/protocol-http/dist-es/httpHandler.js} +0 -0
  822. /package/node_modules/{@aws-sdk/types/dist-es/blob/runtime-blob-types.node.js → @smithy/protocol-http/dist-es/types.js} +0 -0
  823. /package/node_modules/{@aws/lsp-fqn/out/common/fqnExtractor.test.d.ts → @smithy/types/dist-es/abort.js} +0 -0
  824. /package/node_modules/{@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.d.ts → @smithy/types/dist-es/auth/HttpAuthScheme.js} +0 -0
  825. /package/{out/language-server/chat/contexts/documentFqnExtractor.test.d.ts → node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"triggerContexts.test.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/triggerContexts.test.ts"],"names":[],"mappings":";;AAAA,mEAAoE;AACpE,qDAAsD;AACtD,iCAAiC;AACjC,2FAAiE;AACjE,uDAA6E;AAC7E,+BAA+B;AAE/B,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,IAAI,YAA0B,CAAA;IAE9B,MAAM,QAAQ,GAAG,gBAAgB,CAAA;IACjC,M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AAM,cAAc,CAAC,sBAAsB,CAAC;YAChE,WAAW,EAAE;gBACT;oBACI,QAAQ,EAAE;wBACN,IAAI,EAAE,CAAC;wBACP,SAAS,EAAE,CAAC;qBACf;iBACJ;aACJ;YACD,YAAY,EAAE;gBACV,GAAG,EAAE,QAAQ;aAChB;SACJ,CAAC,CAAA;QAEF,MAAM,CAAC,eAAe,CAAC,eAAe,EAAE,SAAS,CAAC,CAAA;IACtD,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;QAC/D,MAAM,cAAc,GAAG,IAAI,oCAAmB,CAAC,YAAY,CAAC,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,CAAA;QAE5F,MAAM,eAAe,GAAG,MAAM,cAAc,CAAC,sBAAsB,CAAC;YAChE,WAAW,EAAE,EAAE;YACf,YAAY,EAAE;gBACV,GAAG,EAAE,QAAQ;aAChB;SACJ,CAAC,CAAA;QAEF,MAAM,CAAC,eAAe,CAAC,eAAe,EAAE,SAAS,CAAC,CAAA;IACtD,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sEAAsE,EAAE,KAAK,IAAI,EAAE;QAClF,MAAM,cAAc,GAAG,IAAI,oCAAmB,CAAC,YAAY,CAAC,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,CAAA;QAE5F,YAAY,CAAC,YAAY,CAAC,cAAc,CAAC,CAAA;QACzC,MAAM,eAAe,GAAG,MAAM,cAAc,CAAC,sBAAsB,CAAC;YAChE,WAAW,EAAE,EAAE;YACf,YAAY,EAAE;gBACV,GAAG,EAAE,QAAQ;aAChB;SACJ,CAAC,CAAA;QAEF,MAAM,CAAC,eAAe,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAA;IAChE,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"triggerContexts.test.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/triggerContexts.test.ts"],"names":[],"mappings":";;AAA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AAe,EAAE,mBAAmB,CAAC,CAAA;IAChE,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
@@ -2,9 +2,11 @@ import { MetricEvent } from '@aws/language-server-runtimes/server-interface/tele
2
2
  import { TriggerType } from '@aws/chat-client-ui-types';
3
3
  import { ChatTelemetryEventMap, ChatTelemetryEventName, CombinedConversationEvent, InteractWithMessageEvent } from '../../telemetry/types';
4
4
  import { Features, KeysMatching } from '../../types';
5
+ import { InsertToCursorPositionParams } from './clientTelemetry';
5
6
  import { UserIntent } from '@amzn/codewhisperer-streaming';
6
7
  import { TriggerContext } from '../contexts/triggerContext';
7
- import { AcceptedSuggestionEntry } from '../../telemetry/codeDiffTracker';
8
+ import { AcceptedSuggestionEntry, CodeDiffTracker } from '../../telemetry/codeDiffTracker';
9
+ import { TelemetryService } from '../../telemetryService';
8
10
  export declare const CONVERSATION_ID_METRIC_KEY = "cwsprChatConversationId";
9
11
  export interface ChatMetricEvent<TName extends ChatTelemetryEventName, TData extends ChatTelemetryEventMap[TName] = ChatTelemetryEventMap[TName]> extends MetricEvent {
10
12
  name: TName;
@@ -27,11 +29,12 @@ interface ConversationTriggerInfo {
27
29
  lastMessageTrigger?: MessageTrigger;
28
30
  }
29
31
  interface AcceptedSuggestionChatEntry extends AcceptedSuggestionEntry {
32
+ conversationId: string;
30
33
  messageId: string;
31
34
  }
32
35
  export declare class ChatTelemetryController {
33
36
  #private;
34
- constructor(features: Features);
37
+ constructor(features: Features, telemetryService: TelemetryService);
35
38
  get activeTabId(): string | undefined;
36
39
  set activeTabId(activeTabId: string | undefined);
37
40
  getCurrentTrigger(tabId: string): TriggerType;
@@ -41,6 +44,7 @@ export declare class ChatTelemetryController {
41
44
  setConversationId(tabId: string, conversationId: string): void;
42
45
  updateTriggerInfo(tabId: string, info: Partial<ConversationTriggerInfo>): void;
43
46
  getLastMessageTrigger(tabId: string): MessageTrigger | undefined;
47
+ get codeDiffTracker(): CodeDiffTracker<AcceptedSuggestionChatEntry>;
44
48
  emitModifyCodeMetric(entry: AcceptedSuggestionChatEntry, percentage: number): void;
45
49
  emitChatMetric<TName extends ChatTelemetryEventName>(metric: ChatMetricEvent<TName, ChatTelemetryEventMap[TName]>): void;
46
50
  emitConversationMetric<TName extends ConversationMetricName, TEvent extends ChatMetricEvent<TName, ChatTelemetryEventMap[TName]>>(metric: Omit<TEvent, 'data'> & {
@@ -50,6 +54,7 @@ export declare class ChatTelemetryController {
50
54
  emitStartConversationMetric(tabId: string, metric: Partial<CombinedConversationEvent>): void;
51
55
  emitInteractWithMessageMetric(tabId: string, metric: Omit<InteractWithMessageEvent, 'cwsprChatConversationId'>): void;
52
56
  emitMessageResponseError(tabId: string, metric: Partial<CombinedConversationEvent>): void;
57
+ enqueueCodeDiffEntry(params: Omit<InsertToCursorPositionParams, 'name'>): void;
53
58
  dispose(): void;
54
59
  }
55
60
  export declare function convertToTelemetryUserIntent(userIntent?: UserIntent): "" | "explainCodeSelection" | "suggestAlternateImplementation" | "applyCommonBestPractices" | "improveCode" | "citeSources" | "explainLineByLine" | "showExamples";
@@ -6,6 +6,7 @@ const types_1 = require("../../telemetry/types");
6
6
  const clientTelemetry_1 = require("./clientTelemetry");
7
7
  const codewhisperer_streaming_1 = require("@amzn/codewhisperer-streaming");
8
8
  const codeDiffTracker_1 = require("../../telemetry/codeDiffTracker");
9
+ const utils_1 = require("../../utils");
9
10
  exports.CONVERSATION_ID_METRIC_KEY = 'cwsprChatConversationId';
10
11
  class ChatTelemetryController {
11
12
  #activeTabId;
@@ -15,7 +16,8 @@ class ChatTelemetryController {
15
16
  #credentialsProvider;
16
17
  #telemetry;
17
18
  #codeDiffTracker;
18
- constructor(features) {
19
+ #telemetryService;
20
+ constructor(features, telemetryService) {
19
21
  this.#tabTelemetryInfoByTabId = {};
20
22
  this.#currentTriggerByTabId = {};
21
23
  this.#customizationInfoByTabAndMessageId = {};
@@ -23,6 +25,7 @@ class ChatTelemetryController {
23
25
  this.#credentialsProvider = features.credentialsProvider;
24
26
  this.#telemetry.onClientTelemetry(params => this.#handleClientTelemetry(params));
25
27
  this.#codeDiffTracker = new codeDiffTracker_1.CodeDiffTracker(features.workspace, features.logging, (entry, percentage) => this.emitModifyCodeMetric(entry, percentage));
28
+ this.#telemetryService = telemetryService;
26
29
  }
27
30
  get activeTabId() {
28
31
  return this.#activeTabId;
@@ -52,15 +55,16 @@ class ChatTelemetryController {
52
55
  getLastMessageTrigger(tabId) {
53
56
  return this.#tabTelemetryInfoByTabId[tabId]?.lastMessageTrigger;
54
57
  }
58
+ // Used for accessing codeDiffTracker in unit tests
59
+ get codeDiffTracker() {
60
+ return this.#codeDiffTracker;
61
+ }
55
62
  emitModifyCodeMetric(entry, percentage) {
56
- const data = {
57
- cwsprChatMessageId: entry.messageId,
58
- cwsprChatModificationPercentage: percentage,
59
- codewhispererCustomizationArn: entry.customizationArn,
60
- };
61
- this.emitConversationMetric({
62
- name: types_1.ChatTelemetryEventName.ModifyCode,
63
- data,
63
+ this.#telemetryService.emitChatUserModificationEvent({
64
+ conversationId: entry.conversationId,
65
+ messageId: entry.messageId,
66
+ modificationPercentage: percentage,
67
+ customizationArn: entry.customizationArn,
64
68
  });
65
69
  }
66
70
  emitChatMetric(metric) {
@@ -86,31 +90,30 @@ class ChatTelemetryController {
86
90
  }
87
91
  }
88
92
  emitAddMessageMetric(tabId, metric) {
89
- this.emitConversationMetric({
90
- name: types_1.ChatTelemetryEventName.AddMessage,
91
- data: {
92
- cwsprChatHasCodeSnippet: metric.cwsprChatHasCodeSnippet,
93
- cwsprChatTriggerInteraction: metric.cwsprChatTriggerInteraction,
94
- cwsprChatMessageId: metric.cwsprChatMessageId,
95
- cwsprChatUserIntent: metric.cwsprChatUserIntent,
96
- cwsprChatProgrammingLanguage: metric.cwsprChatProgrammingLanguage,
97
- cwsprChatResponseCodeSnippetCount: metric.cwsprChatResponseCodeSnippetCount,
98
- cwsprChatResponseCode: metric.cwsprChatResponseCode,
99
- cwsprChatSourceLinkCount: metric.cwsprChatSourceLinkCount,
100
- cwsprChatReferencesCount: metric.cwsprChatReferencesCount,
101
- cwsprChatFollowUpCount: metric.cwsprChatFollowUpCount,
102
- cwsprTimeToFirstChunk: metric.cwsprTimeToFirstChunk,
103
- cwsprChatFullResponseLatency: metric.cwsprChatFullResponseLatency,
104
- cwsprChatTimeBetweenChunks: metric.cwsprChatTimeBetweenChunks,
105
- cwsprChatRequestLength: metric.cwsprChatRequestLength,
106
- cwsprChatResponseLength: metric.cwsprChatResponseLength,
107
- cwsprChatConversationType: metric.cwsprChatConversationType,
108
- cwsprChatActiveEditorTotalCharacters: metric.cwsprChatActiveEditorTotalCharacters,
109
- cwsprChatActiveEditorImportCount: metric.cwsprChatActiveEditorImportCount,
110
- codewhispererCustomizationArn: metric.codewhispererCustomizationArn,
111
- // not possible: cwsprChatResponseType: metric.cwsprChatResponseType,
112
- },
113
- }, tabId);
93
+ const conversationId = this.getConversationId(tabId);
94
+ this.#telemetryService.emitChatAddMessage({
95
+ conversationId: conversationId,
96
+ messageId: metric.cwsprChatMessageId,
97
+ customizationArn: metric.codewhispererCustomizationArn,
98
+ userIntent: metric.cwsprChatUserIntent,
99
+ hasCodeSnippet: metric.cwsprChatHasCodeSnippet,
100
+ programmingLanguage: metric.cwsprChatProgrammingLanguage,
101
+ activeEditorTotalCharacters: metric.cwsprChatActiveEditorTotalCharacters,
102
+ timeToFirstChunkMilliseconds: metric.cwsprTimeToFirstChunk,
103
+ timeBetweenChunks: metric.cwsprChatTimeBetweenChunks,
104
+ fullResponselatency: metric.cwsprChatFullResponseLatency,
105
+ requestLength: metric.cwsprChatRequestLength,
106
+ responseLength: metric.cwsprChatResponseLength,
107
+ numberOfCodeBlocks: metric.cwsprChatResponseCodeSnippetCount,
108
+ }, {
109
+ chatTriggerInteraction: metric.cwsprChatTriggerInteraction,
110
+ chatResponseCode: metric.cwsprChatResponseCode,
111
+ chatSourceLinkCount: metric.cwsprChatSourceLinkCount,
112
+ chatReferencesCount: metric.cwsprChatReferencesCount,
113
+ chatFollowUpCount: metric.cwsprChatFollowUpCount,
114
+ chatConversationType: metric.cwsprChatConversationType,
115
+ chatActiveEditorImportCount: metric.cwsprChatActiveEditorImportCount,
116
+ });
114
117
  // Store the customization value associated with the message
115
118
  if (metric.cwsprChatMessageId && metric.codewhispererCustomizationArn) {
116
119
  this.#customizationInfoByTabAndMessageId[tabId] = {
@@ -132,10 +135,9 @@ class ChatTelemetryController {
132
135
  }, tabId);
133
136
  }
134
137
  emitInteractWithMessageMetric(tabId, metric) {
135
- this.emitConversationMetric({
136
- name: types_1.ChatTelemetryEventName.InteractWithMessage,
137
- data: metric,
138
- }, tabId);
138
+ this.#telemetryService.emitChatInteractWithMessage(metric, {
139
+ conversationId: this.getConversationId(tabId),
140
+ });
139
141
  }
140
142
  emitMessageResponseError(tabId, metric) {
141
143
  this.emitConversationMetric({
@@ -153,6 +155,26 @@ class ChatTelemetryController {
153
155
  },
154
156
  }, tabId);
155
157
  }
158
+ enqueueCodeDiffEntry(params) {
159
+ if (!params.code || !params.cursorPosition || !params.textDocument?.uri) {
160
+ return;
161
+ }
162
+ // Calculate the new cursor position
163
+ const endPosition = (0, utils_1.getEndPositionForAcceptedSuggestion)(params.code, params.cursorPosition);
164
+ this.#codeDiffTracker.enqueue({
165
+ conversationId: this.getConversationId(params.tabId) || '',
166
+ messageId: params.messageId,
167
+ fileUrl: params.textDocument.uri,
168
+ time: Date.now(),
169
+ originalString: params.code,
170
+ customizationArn: this.getCustomizationId(params.tabId, params.messageId),
171
+ startPosition: params.cursorPosition,
172
+ endPosition,
173
+ });
174
+ }
175
+ // Current clients don't send the inserToCursorPosition event to server as a chat request but the information comes as a telemetry notification
176
+ // Therefore currently modifyCode telemetry is calculated in the chatTelemetryController
177
+ // Once clients start sending the inserToCursorPosition chat event and stops sending the telemetry event, we can remove this private function and its invocation
156
178
  #enqueueCodeDiffEntry(params) {
157
179
  const documentUri = params.textDocument?.uri;
158
180
  const cursorRangeOrPosition = params.cursorState?.[0];
@@ -160,6 +182,7 @@ class ChatTelemetryController {
160
182
  const startPosition = 'position' in cursorRangeOrPosition ? cursorRangeOrPosition.position : cursorRangeOrPosition.range.start;
161
183
  const endPosition = 'position' in cursorRangeOrPosition ? cursorRangeOrPosition.position : cursorRangeOrPosition.range.end;
162
184
  this.#codeDiffTracker.enqueue({
185
+ conversationId: this.getConversationId(params.tabId) || '',
163
186
  messageId: params.messageId,
164
187
  fileUrl: documentUri,
165
188
  time: Date.now(),
@@ -205,9 +228,8 @@ class ChatTelemetryController {
205
228
  : types_1.ChatInteractionType.Downvote,
206
229
  codewhispererCustomizationArn: this.getCustomizationId(params.tabId, params.messageId),
207
230
  };
208
- this.emitConversationMetric({
209
- name: types_1.ChatTelemetryEventName.InteractWithMessage,
210
- data: voteData,
231
+ this.#telemetryService.emitChatInteractWithMessage(voteData, {
232
+ conversationId: this.getConversationId(params.tabId),
211
233
  });
212
234
  break;
213
235
  case clientTelemetry_1.ChatUIEventName.InsertToCursorPosition:
@@ -226,9 +248,11 @@ class ChatTelemetryController {
226
248
  cwsprChatTotalCodeBlocks: params.totalCodeBlocks,
227
249
  codewhispererCustomizationArn: this.getCustomizationId(params.tabId, params.messageId),
228
250
  };
229
- this.emitConversationMetric({
230
- name: types_1.ChatTelemetryEventName.InteractWithMessage,
231
- data: interactData,
251
+ this.#telemetryService.emitChatInteractWithMessage(interactData, {
252
+ conversationId: this.getConversationId(params.tabId),
253
+ acceptedLineCount: params.name === clientTelemetry_1.ChatUIEventName.InsertToCursorPosition
254
+ ? params.code?.split('\n').length
255
+ : undefined,
232
256
  });
233
257
  break;
234
258
  case clientTelemetry_1.ChatUIEventName.LinkClick:
@@ -1 +1 @@
1
- {"version":3,"file":"chatTelemetryController.js","sourceRoot":"","sources":["../../../../src/language-server/chat/telemetry/chatTelemetryController.ts"],"names":[],"mappings":";;;AAyWA,oEAmBC;AA1XD,iDAO8B;AAE9B,uDAK0B;AAC1B,2EAA0D;AAE1D,qEAA0F;AAE7E,QAAA,0B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3,"file":"chatTelemetryController.js","sourceRoot":"","sources":["../../../../src/language-server/chat/telemetry/chatTelemetryController.ts"],"names":[],"mappings":";;;AAmYA,oEAmBC;AApZD,iDAO8B;AAE9B,uDAK0B;AAC1B,2EAA0D;AAE1D,qEAA0F;AAE1F,uCAAiE;AAGpD,QAAA,0BAA0B,GAAG,yBAAyB,CAAA;AAiCnE,MAAa,uBAAuB;IAChC,YAAY,CAAS;IACrB,wBAAwB,CAA8C;IACtE,sBAAsB,GAAqC,EAAE,CAAA;IAC7D,mCAAmC,CAAsD;IACzF,oBAAoB,CAAiC;IACrD,UAAU,CAAuB;IACjC,gBAAgB,CAA8C;IAC9D,iBAAiB,CAAkB;IAEnC,YAAY,QAAkB,EAAE,gBAAkC;QAC9D,IAAI,CAAC,wBAAwB,GAAG,EAAE,CAAA;QAClC,IAAI,CAAC,sBAAsB,GAAG,EAAE,CAAA;QAChC,IAAI,CAAC,mCAAmC,GAAG,EAAE,CAAA;QAC7C,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,SAAS,CAAA;QACpC,IAAI,CAAC,oBAAoB,GAAG,QAAQ,CAAC,mBAAmB,CAAA;QACxD,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC,CAAA;QAChF,IAAI,CAAC,gBAAgB,GAAG,IAAI,iCAAe,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,CACpG,IAAI,CAAC,oBAAoB,CAAC,KAAK,EAAE,UAAU,CAAC,CAC/C,CAAA;QACD,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAA;IAC7C,CAAC;IAED,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,YAAY,CAAA;IAC5B,CAAC;IAED,IAAW,WAAW,CAAC,WAA+B;QAClD,IAAI,CAAC,YAAY,GAAG,WAAW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AAY;YACxB,OAAO,aAAa,CAAA;QACxB,KAAK,oCAAU,CAAC,oBAAoB;YAChC,OAAO,mBAAmB,CAAA;QAC9B,KAAK,oCAAU,CAAC,aAAa;YACzB,OAAO,cAAc,CAAA;QACzB;YACI,OAAO,EAAE,CAAA;IACjB,CAAC;AACL,CAAC"}
@@ -11,9 +11,10 @@ describe('TelemetryController', () => {
11
11
  const mockConversationId = 'mockConversationId';
12
12
  let testFeatures;
13
13
  let telemetryController;
14
+ let telemetryService;
14
15
  beforeEach(() => {
15
16
  testFeatures = new testing_1.TestFeatures();
16
- telemetryController = new chatTelemetryController_1.ChatTelemetryController(testFeatures);
17
+ telemetryController = new chatTelemetryController_1.ChatTelemetryController(testFeatures, telemetryService);
17
18
  });
18
19
  it('able to set and get activeTabId', () => {
19
20
  assert.strictEqual(telemetryController.activeTabId, undefined);
@@ -80,5 +81,115 @@ describe('TelemetryController', () => {
80
81
  },
81
82
  });
82
83
  });
84
+ describe('enqueueCodeDiffEntry', () => {
85
+ const mockTextDocumentUri = 'file:///path/to/file.ts';
86
+ const mockCode = 'const x = 42;';
87
+ const mockCursorPosition = { line: 0, character: 0 };
88
+ const mockMessageId = 'mockMessageId';
89
+ const mockTabId = 'mockTabId';
90
+ const mockConversationId = 'mockConversationId';
91
+ const mockCustomizationArn = 'mockCustomizationArn';
92
+ beforeEach(() => {
93
+ ts_sinon_1.default.stub(telemetryController, 'getCustomizationId').returns(mockCustomizationArn);
94
+ telemetryController.setConversationId(mockTabId, mockConversationId);
95
+ });
96
+ afterEach(() => {
97
+ telemetryController.dispose();
98
+ ts_sinon_1.default.restore();
99
+ });
100
+ it('should enqueue a code diff entry with single line insertion', () => {
101
+ const insertToCursorPositionParams = {
102
+ code: mockCode,
103
+ cursorPosition: mockCursorPosition,
104
+ textDocument: { uri: mockTextDocumentUri },
105
+ messageId: mockMessageId,
106
+ tabId: mockTabId,
107
+ };
108
+ telemetryController.enqueueCodeDiffEntry(insertToCursorPositionParams);
109
+ const enqueuedEntry = telemetryController.codeDiffTracker.eventQueue[0];
110
+ assert.deepStrictEqual(enqueuedEntry, {
111
+ conversationId: mockConversationId,
112
+ messageId: mockMessageId,
113
+ fileUrl: mockTextDocumentUri,
114
+ time: enqueuedEntry.time,
115
+ originalString: mockCode,
116
+ customizationArn: mockCustomizationArn,
117
+ startPosition: mockCursorPosition,
118
+ endPosition: { line: 0, character: mockCode.length },
119
+ });
120
+ });
121
+ it('should enqueue a code diff entry with multi-line insertion', () => {
122
+ const multiLineCode = 'const x = 42;\nconsole.log(x);';
123
+ const insertToCursorPositionParams = {
124
+ code: multiLineCode,
125
+ cursorPosition: mockCursorPosition,
126
+ textDocument: { uri: mockTextDocumentUri },
127
+ messageId: mockMessageId,
128
+ tabId: mockTabId,
129
+ };
130
+ telemetryController.enqueueCodeDiffEntry(insertToCursorPositionParams);
131
+ const enqueuedEntry = telemetryController.codeDiffTracker.eventQueue[0];
132
+ assert.deepStrictEqual(enqueuedEntry, {
133
+ conversationId: mockConversationId,
134
+ messageId: mockMessageId,
135
+ fileUrl: mockTextDocumentUri,
136
+ time: enqueuedEntry.time,
137
+ originalString: multiLineCode,
138
+ customizationArn: mockCustomizationArn,
139
+ startPosition: mockCursorPosition,
140
+ endPosition: { line: 1, character: 'console.log(x);'.length },
141
+ });
142
+ });
143
+ it('should handle empty lines in multi-line code insertion', () => {
144
+ const multiLineCodeWithEmptyLines = 'if (true) {\n\n console.log("Hello");\n}';
145
+ const mockCursorPosition = { line: 15, character: 5 };
146
+ const insertToCursorPositionParams = {
147
+ code: multiLineCodeWithEmptyLines,
148
+ cursorPosition: mockCursorPosition,
149
+ textDocument: { uri: mockTextDocumentUri },
150
+ messageId: mockMessageId,
151
+ tabId: mockTabId,
152
+ };
153
+ telemetryController.enqueueCodeDiffEntry(insertToCursorPositionParams);
154
+ const enqueuedEntry = telemetryController.codeDiffTracker.eventQueue[0];
155
+ assert.deepStrictEqual(enqueuedEntry, {
156
+ conversationId: mockConversationId,
157
+ messageId: mockMessageId,
158
+ fileUrl: mockTextDocumentUri,
159
+ time: enqueuedEntry.time,
160
+ originalString: multiLineCodeWithEmptyLines,
161
+ customizationArn: mockCustomizationArn,
162
+ startPosition: mockCursorPosition,
163
+ endPosition: { line: 18, character: 1 },
164
+ });
165
+ });
166
+ it('should not enqueue a code diff entry if code is falsy', () => {
167
+ const insertToCursorPositionParams = {
168
+ code: '',
169
+ cursorPosition: mockCursorPosition,
170
+ textDocument: { uri: mockTextDocumentUri },
171
+ messageId: mockMessageId,
172
+ tabId: mockTabId,
173
+ };
174
+ telemetryController.enqueueCodeDiffEntry(insertToCursorPositionParams);
175
+ assert.deepStrictEqual(telemetryController.codeDiffTracker.eventQueue, []);
176
+ });
177
+ it('should not enqueue a code diff entry if cursorPosition is falsy', () => {
178
+ const insertToCursorPositionParams = {
179
+ code: mockCode,
180
+ cursorPosition: undefined,
181
+ textDocument: { uri: mockTextDocumentUri },
182
+ messageId: mockMessageId,
183
+ tabId: mockTabId,
184
+ };
185
+ telemetryController.enqueueCodeDiffEntry(insertToCursorPositionParams);
186
+ assert.deepStrictEqual(telemetryController.codeDiffTracker.eventQueue, []);
187
+ });
188
+ it('should not enqueue when required parameters are missing', () => {
189
+ const params = {};
190
+ telemetryController.enqueueCodeDiffEntry(params);
191
+ assert.deepStrictEqual(telemetryController.codeDiffTracker.eventQueue, []);
192
+ });
193
+ });
83
194
  });
84
195
  //# sourceMappingURL=chatTelemetryController.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chatTelemetryController.test.js","sourceRoot":"","sources":["../../../../src/language-server/chat/telemetry/chatTelemetryController.test.ts"],"names":[],"mappings":";;AAAA,mEAAoE;AACpE,uCAA4B;AAC5B,iDAA8D;AAC9D,uEAA+F;AAC/F,iCAAiC;AACjC,uDAAmD;AAEnD,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,MAAM,SAAS,GAAG,WAAW,CAAA;IAC7B,MAAM,kBAAkB,GAAG,oBAAoB,CAAA;IA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AI,EAAE,8BAAsB,CAAC,sBAAsB;YACnD,IAAI,EAAE,EAAE,kBAAkB,EAAE,SAAS,EAAE;SAC1C,CAAC,CAAA;QAEF,kBAAK,CAAC,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;IAC7D,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;QACvE,mBAAmB,CAAC,iBAAiB,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAA;QACpE,mBAAmB,CAAC,WAAW,GAAG,SAAS,CAAA;QAE3C,mBAAmB,CAAC,sBAAsB,CAAC;YACvC,IAAI,EAAE,8BAAsB,CAAC,sBAAsB;YACnD,IAAI,EAAE,EAAE;SACX,CAAC,CAAA;QAEF,kBAAK,CAAC,MAAM,CAAC,qBAAqB,CAAC,YAAY,CAAC,SAAS,CAAC,UAAU,EAAE;YAClE,IAAI,EAAE,8BAAsB,CAAC,sBAAsB;YACnD,IAAI,EAAE;gBACF,CAAC,oDAA0B,CAAC,EAAE,kBAAkB;gBAChD,kBAAkB,EAAE,SAAS;aAChC;SACJ,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"chatTelemetryController.test.js","sourceRoot":"","sources":["../../../../src/language-server/chat/telemetry/chatTelemetryController.test.ts"],"names":[],"mappings":";;AAAA,mEAAoE;AACpE,uCAA4B;AAC5B,iDAA8D;AAC9D,uEAA+F;AAC/F,iCAAiC;AACjC,uDAAmD;AAGnD,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,MAAM,SAAS,GAAG,WAAW,CAAA;IAC7B,MAAM,kBAAkB,GAAG,oBAAoB,CAAA;IAE/C,IAAI,YAA0B,CAAA;IAC9B,IAAI,mBAA4C,CAAA;IAChD,IAAI,gBAAkC,CAAA;IAEtC,UAAU,CAAC,GAAG,EAAE;QACZ,YAAY,GAAG,IAAI,sBAAY,EA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Teleme
54
54
  export type SourceLinkClickParams = ServerInterface.SourceLinkClickParams & BaseClientTelemetryParams<ChatUIEventName.SourceLinkClick>;
55
55
  export type InsertToCursorPositionParams = ServerInterface.InsertToCursorPositionParams & BaseClientTelemetryParams<ChatUIEventName.InsertToCursorPosition> & {
56
56
  cursorState?: ServerInterface.CursorState[];
57
- textDocument?: ServerInterface.TextDocumentIdentifier;
58
57
  };
59
58
  export type ClientTelemetryEvent = BaseClientTelemetryParams<ChatUIEventName.EnterFocusChat> | BaseClientTelemetryParams<ChatUIEventName.ExitFocusChat> | TabAddParams | AddMessageParams | SendToPromptParams | VoteTelemetryParams | CopyCodeToClipboardParams | InfoLinkClickParams | LinkClickParams | SourceLinkClickParams | InsertToCursorPositionParams;
60
59
  export declare function isClientTelemetryEvent(event: unknown): event is ClientTelemetryEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"clientTelemetry.js","sourceRoot":"","sources":["../../../../src/language-server/chat/telemetry/clientTelemetry.ts"],"names":[],"mappings":";;;AA+FA,wDAEC;AA/FD,uCAAsC;AAEtC,IAAY,eAYX;AAZD,WAAY,eAAe;IACvB,gDAA6B,CAAA;IAC7B,8CAA2B,CAAA;IAC3B,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAC7B,oCAAiB,CAAA;IACjB,sDAAmC,CAAA;IACnC,oEAAiD,CAAA;IACjD,gCAAa,CAAA;IACb,0CAAuB,CAAA;IACvB,kDAA+B,CAAA;IAC/B,sDAAmC,CAAA;AACvC,CAAC,EAZW,eAAe,+BAAf,eAAe,QAY1B;AAED,uEAAuE;AACvE,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,kCAAa,CAAA;IACb,sCAAiB,CAAA;AACrB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAuED,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAS,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAA;AAE1E,SAAgB,sBAAsB,CAAC,KAAc;IACjD,OAAO,IAAA,gBAAQ,EAAC,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,kBAAkB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAClG,CAAC"}
1
+ {"version":3,"file":"clientTelemetry.js","sourceRoot":"","sources":["../../../../src/language-server/chat/telemetry/clientTelemetry.ts"],"names":[],"mappings":";;;AA8FA,wDAEC;AA9FD,uCAAsC;AAEtC,IAAY,eAYX;AAZD,WAAY,eAAe;IACvB,gDAA6B,CAAA;IAC7B,8CAA2B,CAAA;IAC3B,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAC7B,oCAAiB,CAAA;IACjB,sDAAmC,CAAA;IACnC,oEAAiD,CAAA;IACjD,gCAAa,CAAA;IACb,0CAAuB,CAAA;IACvB,kDAA+B,CAAA;IAC/B,sDAAmC,CAAA;AACvC,CAAC,EAZW,eAAe,+BAAf,eAAe,QAY1B;AAED,uEAAuE;AACvE,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,kCAAa,CAAA;IACb,sCAAiB,CAAA;AACrB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAsED,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAS,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAA;AAE1E,SAAgB,sBAAsB,CAAC,KAAc;IACjD,OAAO,IAAA,gBAAQ,EAAC,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,kBAAkB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAClG,CAAC"}
@@ -8,6 +8,7 @@ const languageDetection_1 = require("./languageDetection");
8
8
  const securityScanDiagnosticsProvider_1 = require("./securityScan/securityScanDiagnosticsProvider");
9
9
  const securityScanHandler_1 = require("./securityScan/securityScanHandler");
10
10
  const utils_1 = require("./utils");
11
+ const telemetryUtils_1 = require("./utilities/telemetryUtils");
11
12
  const RunSecurityScanCommand = 'aws/codewhisperer/runSecurityScan';
12
13
  const CancelSecurityScanCommand = 'aws/codewhisperer/cancelSecurityScan';
13
14
  const SecurityScanServerToken = (service) => ({ credentialsProvider, workspace, logging, lsp, telemetry, runtime }) => {
@@ -175,7 +176,7 @@ const SecurityScanServerToken = (service) => ({ credentialsProvider, workspace,
175
176
  };
176
177
  const onInitializeHandler = (params) => {
177
178
  codewhispererclient.updateClientConfig({
178
- customUserAgent: (0, utils_1.getUserAgent)(params, runtime.serverInfo),
179
+ customUserAgent: (0, telemetryUtils_1.getUserAgent)(params, runtime.serverInfo),
179
180
  });
180
181
  return {
181
182
  capabilities: {
@@ -1 +1 @@
1
- {"version":3,"file":"codeWhispererSecurityScanServer.js","sourceRoot":"","sources":["../../src/language-server/codeWhispererSecurityScanServer.ts"],"names":[],"mappings":";;;AAOA,2CAAwC;AACxC,6BAAmC;AAGnC,qFAAiF;AACjF,2DAA4F;AAC5F,oGAA4F;AAC5F,4EAAoG;AAGpG,mCAAkE;AAElE,MAAM,sBAAsB,GAAG,mCAAmC,CAAA;AAClE,MAAM,yBAAyB,GAAG,sCAAsC,CAAA;AAEjE,MAAM,uBAAuB,GAChC,CAAC,OAAgF,EAAU,EAAE,CAC7F,CAAC,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA;IACxD,MAAM,mBAAmB,GAAG,IAAI,yCAA+B,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;IAC7E,MAAM,WAAW,GAAG,IAAI,yCAAmB,CAAC,mBAAmB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;IAEpF,MAAM,eAAe,GAAG,KAAK,EAAE,MAAiC,EAAE,KAAwB,EAAE,EAAE;QAC1F,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAA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C,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;QAC7E,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;IAEF,GAAG,CAAC,SAAS,CAAC,2BAA2B,CAAC,KAAK,EAAC,KAAK,EAAC,EAAE;QACpD,wFAAwF;QACxF,MAAM,mBAAmB,CAAC,gBAAgB,EAAE,CAAA;IAChD,CAAC,CAAC,CAAA;IAEF,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAA;IAEvD,OAAO,GAAG,EAAE;QACR,mBAAmB;QACnB,WAAW,CAAC,WAAW,CAAC,OAAO,EAAE,CAAA;IACrC,CAAC,CAAA;AACL,CAAC,CAAA;AArOQ,QAAA,uBAAuB,2BAqO/B"}
1
+ {"version":3,"file":"codeWhispererSecurityScanServer.js","sourceRoot":"","sources":["../../src/language-server/codeWhispererSecurityScanServer.ts"],"names":[],"mappings":";;;AAOA,2CAAwC;AACxC,6BAAmC;AAGnC,qFAAiF;AACjF,2DAA4F;AAC5F,oGAA4F;AAC5F,4EAAoG;AAGpG,mCAAoD;AACpD,+DAAyD;AAEzD,MAAM,sBAAsB,GAAG,mCAAmC,CAAA;AAClE,MAAM,yBAAyB,GAAG,sCAAsC,CAAA;AAEjE,MAAM,uBAAuB,GAChC,CAAC,OAAgF,EAAU,EAAE,CAC7F,CAAC,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA;IACxD,MAAM,mBAAmB,GAAG,IAAI,yCAA+B,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;IAC7E,MAAM,WAAW,GAAG,IAAI,yCAAmB,CAAC,mBAAmB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;IAEpF,MAAM,eAAe,GAAG,KAAK,EAAE,MAAiC,EAAE,KAAwB,EAAE,EAAE;QAC1F,OAAO,C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