@aws/lsp-codewhisperer 0.0.32 → 0.0.34

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 (750) hide show
  1. package/CHANGELOG.md +233 -0
  2. package/README.md +18 -1
  3. package/node_modules/@amzn/amazon-q-developer-streaming-client/LICENSE +201 -0
  4. package/node_modules/@amzn/amazon-q-developer-streaming-client/README.md +864 -0
  5. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreaming.js +15 -0
  6. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreamingClient.js +49 -0
  7. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  8. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthSchemeProvider.js +50 -0
  9. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/GenerateCodeFromCommandsCommand.js +26 -0
  10. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/SendMessageCommand.js +26 -0
  11. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/index.js +5 -0
  12. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoints.js +211 -0
  13. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/extensionConfiguration.js +2 -0
  14. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/index.js +10 -0
  15. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/QDeveloperStreamingServiceException.js +12 -0
  16. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/index.js +4 -0
  17. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/models_0.js +1051 -0
  18. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/protocols/Aws_json1_0.js +597 -0
  19. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.browser.js +40 -0
  20. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.js +48 -0
  21. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.native.js +15 -0
  22. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.shared.js +32 -0
  23. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeExtensions.js +25 -0
  24. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreaming.js +11 -0
  25. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreamingClient.js +45 -0
  26. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  27. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthSchemeProvider.js +44 -0
  28. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/GenerateCodeFromCommandsCommand.js +22 -0
  29. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/SendMessageCommand.js +22 -0
  30. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/index.js +2 -0
  31. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoints.js +207 -0
  32. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/index.js +5 -0
  33. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/QDeveloperStreamingServiceException.js +8 -0
  34. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/index.js +1 -0
  35. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/models_0.js +963 -0
  36. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/protocols/Aws_json1_0.js +590 -0
  37. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.browser.js +35 -0
  38. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.js +43 -0
  39. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.native.js +11 -0
  40. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.shared.js +28 -0
  41. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeExtensions.js +21 -0
  42. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreaming.d.ts +23 -0
  43. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreamingClient.d.ts +196 -0
  44. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  45. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  46. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/GenerateCodeFromCommandsCommand.d.ts +102 -0
  47. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/SendMessageCommand.d.ts +796 -0
  48. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/index.d.ts +2 -0
  49. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoints.d.ts +2 -0
  50. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/extensionConfiguration.d.ts +9 -0
  51. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/index.d.ts +7 -0
  52. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/QDeveloperStreamingServiceException.d.ts +14 -0
  53. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/index.d.ts +1 -0
  54. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/models_0.d.ts +2985 -0
  55. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/protocols/Aws_json1_0.d.ts +20 -0
  56. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.browser.d.ts +47 -0
  57. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.d.ts +47 -0
  58. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.native.d.ts +46 -0
  59. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.shared.d.ts +19 -0
  60. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeExtensions.d.ts +17 -0
  61. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/README.md +4 -0
  62. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-cjs/index.js +294 -0
  63. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/auth.js +1 -0
  64. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/checksum.js +1 -0
  65. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/client.js +1 -0
  66. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/command.js +1 -0
  67. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
  68. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/credentials.js +1 -0
  69. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/crypto.js +1 -0
  70. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/dns.js +5 -0
  71. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/encode.js +1 -0
  72. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -0
  73. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/eventStream.js +1 -0
  74. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
  75. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  76. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/http.js +1 -0
  77. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +1 -0
  78. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +1 -0
  79. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +1 -0
  80. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +1 -0
  81. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +1 -0
  82. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/index.js +5 -0
  83. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/index.js +33 -0
  84. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/logger.js +1 -0
  85. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/middleware.js +1 -0
  86. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/pagination.js +1 -0
  87. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/profile.js +1 -0
  88. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/request.js +1 -0
  89. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/response.js +1 -0
  90. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/retry.js +1 -0
  91. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/serde.js +1 -0
  92. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/shapes.js +1 -0
  93. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/signature.js +1 -0
  94. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/stream.js +1 -0
  95. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/token.js +1 -0
  96. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -0
  97. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/uri.js +1 -0
  98. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/util.js +1 -0
  99. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/waiter.js +1 -0
  100. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -0
  101. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -0
  102. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -0
  103. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -0
  104. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -0
  105. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -0
  106. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
  107. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +50 -0
  108. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -0
  109. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/dns.d.ts +85 -0
  110. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -0
  111. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -0
  112. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -0
  113. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
  114. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  115. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/http.d.ts +33 -0
  116. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +6 -0
  117. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -0
  118. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -0
  119. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +18 -0
  120. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
  121. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -0
  122. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/index.d.ts +33 -0
  123. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/logger.d.ts +22 -0
  124. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +13 -0
  125. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -0
  126. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -0
  127. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/request.d.ts +7 -0
  128. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/response.d.ts +7 -0
  129. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -0
  130. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/serde.d.ts +24 -0
  131. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -0
  132. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -0
  133. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -0
  134. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/token.d.ts +17 -0
  135. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -0
  136. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -0
  137. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -0
  138. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -0
  139. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -0
  140. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -0
  141. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -0
  142. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
  143. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +13 -0
  144. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -0
  145. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +19 -0
  146. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -0
  147. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -0
  148. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -0
  149. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
  150. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  151. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +17 -0
  152. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +2 -0
  153. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +25 -0
  154. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -0
  155. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +6 -0
  156. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
  157. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +5 -0
  158. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +33 -0
  159. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +15 -0
  160. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +47 -0
  161. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -0
  162. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -0
  163. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +4 -0
  164. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +4 -0
  165. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -0
  166. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +16 -0
  167. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -0
  168. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -0
  169. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -0
  170. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +4 -0
  171. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -0
  172. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -0
  173. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -0
  174. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -0
  175. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -0
  176. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -0
  177. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -0
  178. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/package.json +56 -0
  179. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/LICENSE +201 -0
  180. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/README.md +4 -0
  181. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
  182. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
  183. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  184. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  185. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  186. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  187. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  188. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  189. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  190. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  191. package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller}/package.json +21 -31
  192. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  193. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/README.md +9 -0
  194. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/index.js +806 -0
  195. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -0
  196. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  197. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
  198. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  199. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +209 -0
  200. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +86 -0
  201. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
  202. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +167 -0
  203. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +19 -0
  204. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +88 -0
  205. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  206. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  207. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +24 -0
  208. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +11 -0
  209. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
  210. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +19 -0
  211. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  212. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +56 -0
  213. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  214. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  215. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  216. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
  217. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +25 -0
  218. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +13 -0
  219. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +62 -0
  220. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +15 -0
  221. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
  222. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +9 -0
  223. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +13 -0
  224. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +9 -0
  225. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +8 -0
  226. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +6 -0
  227. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +15 -0
  228. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  229. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  230. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  231. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  232. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +46 -0
  233. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +25 -0
  234. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +13 -0
  235. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +62 -0
  236. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
  237. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
  238. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
  239. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +7 -0
  240. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
  241. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +6 -0
  242. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +6 -0
  243. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
  244. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  245. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  246. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +13 -0
  247. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/package.json +67 -0
  248. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CHANGELOG.md +274 -0
  249. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CONTRIBUTING.md +18 -0
  250. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/LICENSE.md +9 -0
  251. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/README.md +466 -0
  252. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/bin/uuid +2 -0
  253. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  254. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  255. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  256. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  257. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  258. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  259. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  260. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  261. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  262. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  263. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  264. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  265. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  266. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  267. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  268. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  269. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/index.js +9 -0
  270. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  271. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/native.js +4 -0
  272. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  273. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  274. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  275. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/rng.js +18 -0
  276. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  277. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
  278. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  279. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  280. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v35.js +66 -0
  281. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v4.js +29 -0
  282. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  283. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  284. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/version.js +11 -0
  285. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/index.js +9 -0
  286. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/md5.js +13 -0
  287. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/native.js +4 -0
  288. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/nil.js +1 -0
  289. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/parse.js +35 -0
  290. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/regex.js +1 -0
  291. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/rng.js +12 -0
  292. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  293. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/stringify.js +33 -0
  294. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v1.js +95 -0
  295. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v3.js +4 -0
  296. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v35.js +66 -0
  297. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v4.js +29 -0
  298. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v5.js +4 -0
  299. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/validate.js +7 -0
  300. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/version.js +11 -0
  301. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/index.js +79 -0
  302. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5-browser.js +223 -0
  303. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5.js +23 -0
  304. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native-browser.js +11 -0
  305. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native.js +15 -0
  306. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/nil.js +8 -0
  307. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/parse.js +45 -0
  308. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/regex.js +8 -0
  309. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng-browser.js +25 -0
  310. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng.js +24 -0
  311. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1-browser.js +104 -0
  312. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1.js +23 -0
  313. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/stringify.js +44 -0
  314. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/uuid-bin.js +85 -0
  315. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v1.js +107 -0
  316. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v3.js +16 -0
  317. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v35.js +80 -0
  318. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v4.js +43 -0
  319. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v5.js +16 -0
  320. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/validate.js +17 -0
  321. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/version.js +21 -0
  322. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/package.json +135 -0
  323. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/wrapper.mjs +10 -0
  324. package/node_modules/@amzn/amazon-q-developer-streaming-client/package.json +88 -0
  325. package/node_modules/@amzn/codewhisperer-streaming/README.md +121 -1
  326. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +1 -0
  327. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +2 -0
  328. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +266 -42
  329. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +205 -3
  330. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +1 -1
  331. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +8 -6
  332. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +1 -0
  333. package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +2 -0
  334. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +241 -33
  335. package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +207 -5
  336. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +2 -2
  337. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +9 -7
  338. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +18 -0
  339. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +1 -0
  340. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +168 -8
  341. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +169 -8
  342. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +168 -8
  343. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +874 -221
  344. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +6 -1
  345. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +3 -1
  346. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +3 -1
  347. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +25 -17
  348. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +12 -3
  349. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +3 -3
  350. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +6 -8
  351. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +6 -2
  352. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -0
  353. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -1
  354. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +4 -3
  355. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +8 -3
  356. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +6 -2
  357. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +5 -1
  358. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +11 -12
  359. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -1
  360. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  361. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  362. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
  363. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  364. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -1
  365. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  366. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  367. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
  368. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  369. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +21 -0
  370. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  371. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  372. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +4 -4
  373. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
  374. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +6 -6
  375. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/index.js +41 -39
  376. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
  377. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +3 -1
  378. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
  379. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
  380. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
  381. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
  382. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
  383. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  384. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
  385. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  386. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
  387. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
  388. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
  389. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
  390. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
  391. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
  392. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
  393. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +1 -1
  394. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +1 -1
  395. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +10 -10
  396. package/node_modules/@amzn/codewhisperer-streaming/package.json +42 -42
  397. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -0
  398. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -0
  399. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -0
  400. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
  401. package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-cjs/index.js +8 -30
  402. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -0
  403. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -0
  404. package/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +1 -0
  405. package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpRequest.js +8 -13
  406. package/node_modules/@smithy/protocol-http/dist-es/types.js +1 -0
  407. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +23 -0
  408. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +23 -0
  409. package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/package.json +6 -6
  410. package/out/client/sigv4/codewhisperer.d.ts +2 -2
  411. package/out/client/sigv4/codewhisperer.js +4 -3
  412. package/out/client/sigv4/codewhisperer.js.map +1 -1
  413. package/out/client/streamingClient/codewhispererStreamingClient.d.ts +3 -3
  414. package/out/client/streamingClient/codewhispererStreamingClient.js +4 -3
  415. package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
  416. package/out/client/token/codewhisperer.d.ts +2 -2
  417. package/out/client/token/codewhisperer.js +4 -3
  418. package/out/client/token/codewhisperer.js.map +1 -1
  419. package/out/index.d.ts +1 -0
  420. package/out/index.js +4 -1
  421. package/out/index.js.map +1 -1
  422. package/out/language-server/agenticChat/agenticChatController.d.ts +35 -4
  423. package/out/language-server/agenticChat/agenticChatController.js +1341 -91
  424. package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
  425. package/out/language-server/agenticChat/agenticChatEventParser.d.ts +52 -0
  426. package/out/language-server/agenticChat/agenticChatEventParser.js +189 -0
  427. package/out/language-server/agenticChat/agenticChatEventParser.js.map +1 -0
  428. package/out/language-server/agenticChat/agenticChatResultStream.d.ts +83 -0
  429. package/out/language-server/agenticChat/agenticChatResultStream.js +176 -0
  430. package/out/language-server/agenticChat/agenticChatResultStream.js.map +1 -0
  431. package/out/language-server/agenticChat/constants.d.ts +4 -0
  432. package/out/language-server/agenticChat/constants.js +8 -0
  433. package/out/language-server/agenticChat/constants.js.map +1 -0
  434. package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +14 -0
  435. package/out/language-server/agenticChat/context/addtionalContextProvider.js +191 -0
  436. package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -0
  437. package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +54 -0
  438. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +246 -0
  439. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -0
  440. package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +20 -0
  441. package/out/language-server/agenticChat/context/contextCommandsProvider.js +206 -0
  442. package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -0
  443. package/out/language-server/agenticChat/context/contextUtils.d.ts +27 -0
  444. package/out/language-server/agenticChat/context/contextUtils.js +44 -0
  445. package/out/language-server/agenticChat/context/contextUtils.js.map +1 -0
  446. package/out/language-server/agenticChat/errors.d.ts +10 -0
  447. package/out/language-server/agenticChat/errors.js +42 -0
  448. package/out/language-server/agenticChat/errors.js.map +1 -0
  449. package/out/language-server/agenticChat/qAgenticChatServer.js +42 -15
  450. package/out/language-server/agenticChat/qAgenticChatServer.js.map +1 -1
  451. package/out/language-server/agenticChat/tabBarController.d.ts +55 -0
  452. package/out/language-server/agenticChat/tabBarController.js +216 -0
  453. package/out/language-server/agenticChat/tabBarController.js.map +1 -0
  454. package/out/language-server/agenticChat/textFormatting.d.ts +4 -0
  455. package/out/language-server/agenticChat/textFormatting.js +28 -0
  456. package/out/language-server/agenticChat/textFormatting.js.map +1 -0
  457. package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +89 -0
  458. package/out/language-server/agenticChat/tools/chatDb/chatDb.js +561 -0
  459. package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -0
  460. package/out/language-server/agenticChat/tools/chatDb/util.d.ts +74 -0
  461. package/out/language-server/agenticChat/tools/chatDb/util.js +255 -0
  462. package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -0
  463. package/out/language-server/agenticChat/tools/codeSearch.d.ts +43 -0
  464. package/out/language-server/agenticChat/tools/codeSearch.js +168 -0
  465. package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -0
  466. package/out/language-server/agenticChat/tools/executeBash.d.ts +70 -0
  467. package/out/language-server/agenticChat/tools/executeBash.js +476 -0
  468. package/out/language-server/agenticChat/tools/executeBash.js.map +1 -0
  469. package/out/language-server/agenticChat/tools/fileSearch.d.ts +45 -0
  470. package/out/language-server/agenticChat/tools/fileSearch.js +115 -0
  471. package/out/language-server/agenticChat/tools/fileSearch.js.map +1 -0
  472. package/out/language-server/agenticChat/tools/fsRead.d.ts +13 -9
  473. package/out/language-server/agenticChat/tools/fsRead.js +68 -22
  474. package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
  475. package/out/language-server/agenticChat/tools/fsWrite.d.ts +21 -12
  476. package/out/language-server/agenticChat/tools/fsWrite.js +127 -44
  477. package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
  478. package/out/language-server/agenticChat/tools/listDirectory.d.ts +36 -0
  479. package/out/language-server/agenticChat/tools/listDirectory.js +110 -0
  480. package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -0
  481. package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.d.ts +100 -0
  482. package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js +140 -0
  483. package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js.map +1 -0
  484. package/out/language-server/agenticChat/tools/lspGetDocuments.d.ts +24 -0
  485. package/out/language-server/agenticChat/tools/lspGetDocuments.js +45 -0
  486. package/out/language-server/agenticChat/tools/lspGetDocuments.js.map +1 -0
  487. package/out/language-server/agenticChat/tools/lspReadDocumentContents.d.ts +37 -0
  488. package/out/language-server/agenticChat/tools/lspReadDocumentContents.js +116 -0
  489. package/out/language-server/agenticChat/tools/lspReadDocumentContents.js.map +1 -0
  490. package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +21 -0
  491. package/out/language-server/agenticChat/tools/mcp/mcpManager.js +106 -0
  492. package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -0
  493. package/out/language-server/agenticChat/tools/mcp/mcpTool.d.ts +21 -0
  494. package/out/language-server/agenticChat/tools/mcp/mcpTool.js +54 -0
  495. package/out/language-server/agenticChat/tools/mcp/mcpTool.js.map +1 -0
  496. package/out/language-server/agenticChat/tools/mcp/mcpTypes.d.ts +28 -0
  497. package/out/language-server/agenticChat/tools/mcp/mcpTypes.js +7 -0
  498. package/out/language-server/agenticChat/tools/mcp/mcpTypes.js.map +1 -0
  499. package/out/language-server/agenticChat/tools/mcp/mcpUtils.d.ts +7 -0
  500. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js +78 -0
  501. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js.map +1 -0
  502. package/out/language-server/agenticChat/tools/toolServer.d.ts +3 -0
  503. package/out/language-server/agenticChat/tools/toolServer.js +62 -6
  504. package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
  505. package/out/language-server/agenticChat/tools/toolShared.d.ts +48 -5
  506. package/out/language-server/agenticChat/tools/toolShared.js +109 -2
  507. package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
  508. package/out/language-server/chat/chatController.d.ts +7 -4
  509. package/out/language-server/chat/chatController.js +13 -18
  510. package/out/language-server/chat/chatController.js.map +1 -1
  511. package/out/language-server/chat/chatEventParser.d.ts +3 -1
  512. package/out/language-server/chat/chatEventParser.js.map +1 -1
  513. package/out/language-server/chat/chatSessionManagementService.d.ts +2 -2
  514. package/out/language-server/chat/chatSessionManagementService.js +4 -4
  515. package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
  516. package/out/language-server/chat/chatSessionService.d.ts +36 -3
  517. package/out/language-server/chat/chatSessionService.js +88 -5
  518. package/out/language-server/chat/chatSessionService.js.map +1 -1
  519. package/out/language-server/chat/constants.d.ts +3 -0
  520. package/out/language-server/chat/constants.js +17 -1
  521. package/out/language-server/chat/constants.js.map +1 -1
  522. package/out/language-server/chat/contexts/documentContext.d.ts +2 -1
  523. package/out/language-server/chat/contexts/documentContext.js +2 -0
  524. package/out/language-server/chat/contexts/documentContext.js.map +1 -1
  525. package/out/language-server/chat/contexts/triggerContext.d.ts +7 -3
  526. package/out/language-server/chat/contexts/triggerContext.js +39 -2
  527. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  528. package/out/language-server/chat/qChatServer.d.ts +4 -1
  529. package/out/language-server/chat/qChatServer.js +17 -17
  530. package/out/language-server/chat/qChatServer.js.map +1 -1
  531. package/out/language-server/chat/quickActions.d.ts +2 -0
  532. package/out/language-server/chat/quickActions.js +2 -0
  533. package/out/language-server/chat/quickActions.js.map +1 -1
  534. package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -3
  535. package/out/language-server/chat/telemetry/chatTelemetryController.js +50 -4
  536. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  537. package/out/language-server/chat/tools/relevantTextDocuments.d.ts +3 -0
  538. package/out/language-server/chat/tools/relevantTextDocuments.js +42 -0
  539. package/out/language-server/chat/tools/relevantTextDocuments.js.map +1 -0
  540. package/out/language-server/chat/utils.js +18 -3
  541. package/out/language-server/chat/utils.js.map +1 -1
  542. package/out/language-server/configuration/qConfigurationServer.d.ts +2 -3
  543. package/out/language-server/configuration/qConfigurationServer.js +27 -20
  544. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  545. package/out/language-server/inline-completion/auto-trigger/coefficients.json +4 -1
  546. package/out/language-server/inline-completion/codeWhispererServer.d.ts +2 -3
  547. package/out/language-server/inline-completion/codeWhispererServer.js +29 -30
  548. package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
  549. package/out/language-server/localProjectContext/localProjectContextServer.d.ts +2 -0
  550. package/out/language-server/localProjectContext/localProjectContextServer.js +132 -0
  551. package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -0
  552. package/out/language-server/netTransform/artifactManager.js +12 -4
  553. package/out/language-server/netTransform/artifactManager.js.map +1 -1
  554. package/out/language-server/netTransform/metrics.d.ts +2 -0
  555. package/out/language-server/netTransform/metrics.js +26 -1
  556. package/out/language-server/netTransform/metrics.js.map +1 -1
  557. package/out/language-server/netTransform/models.d.ts +22 -0
  558. package/out/language-server/netTransform/models.js +12 -1
  559. package/out/language-server/netTransform/models.js.map +1 -1
  560. package/out/language-server/netTransform/netTransformServer.d.ts +2 -4
  561. package/out/language-server/netTransform/netTransformServer.js +21 -16
  562. package/out/language-server/netTransform/netTransformServer.js.map +1 -1
  563. package/out/language-server/netTransform/tests/mockData.js +1 -0
  564. package/out/language-server/netTransform/tests/mockData.js.map +1 -1
  565. package/out/language-server/netTransform/transformHandler.d.ts +13 -5
  566. package/out/language-server/netTransform/transformHandler.js +45 -12
  567. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  568. package/out/language-server/netTransform/validation.d.ts +11 -0
  569. package/out/language-server/netTransform/validation.js +33 -0
  570. package/out/language-server/netTransform/validation.js.map +1 -1
  571. package/out/language-server/securityScan/codeWhispererSecurityScanServer.js +10 -11
  572. package/out/language-server/securityScan/codeWhispererSecurityScanServer.js.map +1 -1
  573. package/out/language-server/securityScan/types.d.ts +2 -1
  574. package/out/shared/amazonQServer.d.ts +5 -0
  575. package/out/shared/amazonQServer.js +53 -0
  576. package/out/shared/amazonQServer.js.map +1 -0
  577. package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.d.ts +19 -0
  578. package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js +61 -0
  579. package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js.map +1 -0
  580. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.d.ts +14 -28
  581. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +78 -99
  582. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
  583. package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.d.ts +72 -5
  584. package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js +116 -0
  585. package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js.map +1 -1
  586. package/out/shared/amazonQServiceManager/configurationUtils.d.ts +13 -1
  587. package/out/shared/amazonQServiceManager/configurationUtils.js +41 -22
  588. package/out/shared/amazonQServiceManager/configurationUtils.js.map +1 -1
  589. package/out/shared/amazonQServiceManager/errors.d.ts +9 -0
  590. package/out/shared/amazonQServiceManager/errors.js +22 -1
  591. package/out/shared/amazonQServiceManager/errors.js.map +1 -1
  592. package/out/shared/amazonQServiceManager/qDeveloperProfiles.d.ts +2 -1
  593. package/out/shared/amazonQServiceManager/qDeveloperProfiles.js +26 -3
  594. package/out/shared/amazonQServiceManager/qDeveloperProfiles.js.map +1 -1
  595. package/out/shared/amazonQServiceManager/testUtils.d.ts +48 -0
  596. package/out/shared/amazonQServiceManager/testUtils.js +112 -0
  597. package/out/shared/amazonQServiceManager/testUtils.js.map +1 -0
  598. package/out/shared/codeWhispererService.d.ts +3 -3
  599. package/out/shared/codeWhispererService.js +4 -4
  600. package/out/shared/codeWhispererService.js.map +1 -1
  601. package/out/shared/constants.d.ts +10 -0
  602. package/out/shared/constants.js +12 -1
  603. package/out/shared/constants.js.map +1 -1
  604. package/out/shared/initializeUtils.d.ts +3 -0
  605. package/out/shared/initializeUtils.js +32 -0
  606. package/out/shared/initializeUtils.js.map +1 -0
  607. package/out/shared/localProjectContextController.d.ts +56 -0
  608. package/out/shared/localProjectContextController.js +371 -0
  609. package/out/shared/localProjectContextController.js.map +1 -0
  610. package/out/shared/models/constants.d.ts +5 -0
  611. package/out/shared/models/constants.js +6 -1
  612. package/out/shared/models/constants.js.map +1 -1
  613. package/out/shared/models/model.d.ts +2 -1
  614. package/out/shared/proxy-server.d.ts +4 -2
  615. package/out/shared/proxy-server.js +11 -10
  616. package/out/shared/proxy-server.js.map +1 -1
  617. package/out/shared/streamingClientService.d.ts +23 -7
  618. package/out/shared/streamingClientService.js +56 -9
  619. package/out/shared/streamingClientService.js.map +1 -1
  620. package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +4 -1
  621. package/out/shared/supplementalContextUtil/crossFileContextUtil.js +73 -17
  622. package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  623. package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +8 -0
  624. package/out/shared/supplementalContextUtil/supplementalContextUtil.js +63 -2
  625. package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
  626. package/out/shared/telemetry/telemetryService.d.ts +16 -2
  627. package/out/shared/telemetry/telemetryService.js +26 -3
  628. package/out/shared/telemetry/telemetryService.js.map +1 -1
  629. package/out/shared/telemetry/types.d.ts +37 -2
  630. package/out/shared/telemetry/types.js +2 -0
  631. package/out/shared/telemetry/types.js.map +1 -1
  632. package/out/shared/telemetryUtils.d.ts +1 -0
  633. package/out/shared/telemetryUtils.js +5 -3
  634. package/out/shared/telemetryUtils.js.map +1 -1
  635. package/out/shared/testUtils.d.ts +2 -1
  636. package/out/shared/testUtils.js +10 -1
  637. package/out/shared/testUtils.js.map +1 -1
  638. package/out/shared/utils.d.ts +30 -0
  639. package/out/shared/utils.js +184 -0
  640. package/out/shared/utils.js.map +1 -1
  641. package/package.json +21 -7
  642. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -53
  643. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -53
  644. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  645. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  646. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  647. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  648. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  649. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  650. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  651. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  652. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  653. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  654. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  655. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  656. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  657. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  658. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  659. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  660. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  661. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  662. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  663. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  664. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  665. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  666. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  667. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  668. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  669. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -5
  670. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -4
  671. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -44
  672. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  673. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  674. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -26
  675. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -10
  676. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  677. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  678. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -15
  679. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  680. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  681. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  682. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  683. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  684. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -5
  685. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -4
  686. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -44
  687. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  688. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  689. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -26
  690. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -10
  691. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  692. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  693. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -15
  694. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  695. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -13
  696. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -13
  697. package/out/shared/amazonQServiceManager/factories.d.ts +0 -15
  698. package/out/shared/amazonQServiceManager/factories.js +0 -47
  699. package/out/shared/amazonQServiceManager/factories.js.map +0 -1
  700. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/httpHandler.js → amazon-q-developer-streaming-client/dist-es/extensionConfiguration.js} +0 -0
  701. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types}/LICENSE +0 -0
  702. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/abort.js} +0 -0
  703. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js} +0 -0
  704. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js} +0 -0
  705. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js} +0 -0
  706. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/constants.js} +0 -0
  707. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js} +0 -0
  708. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js} +0 -0
  709. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js} +0 -0
  710. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js} +0 -0
  711. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js} +0 -0
  712. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js} +0 -0
  713. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js} +0 -0
  714. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js} +0 -0
  715. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js} +0 -0
  716. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js} +0 -0
  717. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js} +0 -0
  718. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector}/index.js +0 -0
  719. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
  720. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
  721. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/LICENSE +0 -0
  722. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/README.md +0 -0
  723. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js → @smithy/protocol-http/dist-cjs/Field.js} +0 -0
  724. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js → @smithy/protocol-http/dist-cjs/Fields.js} +0 -0
  725. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js → @smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
  726. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Field.js +0 -0
  727. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Fields.js +0 -0
  728. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  729. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/index.js +0 -0
  730. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpResponse.js +0 -0
  731. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/index.js +0 -0
  732. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/isValidHostname.js +0 -0
  733. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Field.d.ts +0 -0
  734. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Fields.d.ts +0 -0
  735. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  736. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/index.d.ts +0 -0
  737. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpHandler.d.ts +0 -0
  738. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpResponse.d.ts +0 -0
  739. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/index.d.ts +0 -0
  740. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/isValidHostname.d.ts +0 -0
  741. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
  742. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
  743. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
  744. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
  745. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
  746. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
  747. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
  748. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  749. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
  750. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/types.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"streamingClientService.js","sourceRoot":"","sources":["../../src/shared/streamingClientService.ts"],"names":[],"mappings":";;;AAAA,2EAIsC;AAEtC,mCAAoD;AACpD,oDAA6D;AAE7D,MAAa,sBAAsB;IAC/B,MAAM,CAAwB;IACtB,gBAAgB,GAAG,IAAI,GAAG,EAAmB,CAAA;IAC9C,UAAU,CAAS;IAE1B,YACI,mBAAwC,EACxC,gBAAkC,EAClC,MAAc,EACd,QAAgB,EAChB,eAAuB;QAEvB,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE;YAC7B,MAAM,KAAK,GAAG,IAAA,kCAA0B,EAAC,mBAAmB,CAAC,CAAA;YAC7D,yEAAyE;YACzE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,IAAI,EAAE,EAAE,CAAA;QAC5C,CAAC,CAAA;QAED,IAAI,CAAC,MAAM,GAAG,gBAAgB,CAAC,gDAAsB,EAAE;YACnD,MAAM;YACN,QAAQ;YACR,KAAK,EAAE,aAAa;YACpB,aAAa,EAAE,IAAI,oCAAuB,CAAC,CAAC,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,IAAI,EAAE,CAAC;YACvF,eAAe,EAAE,eAAe;SACnC,CAAC,CAAA;IACN,CAAC;IAEM,KAAK,CAAC,WAAW,CACpB,OAAgC,EAChC,eAAiC;QAEjC,MAAM,UAAU,GAAoB,eAAe,IAAI,IAAI,eAAe,EAAE,CAAA;QAE5E,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;QAErC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAC1C,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,EAC3C;YACI,WAAW,EAAE,UAAU,CAAC,MAAM;SACjC,CACJ,CAAA;QAED,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO,QAAQ,CAAA;IACnB,CAAC;IAEM,qBAAqB;QACxB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE;YAC5C,eAAe,CAAC,KAAK,EAAE,CAAA;QAC3B,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAA;IACjC,CAAC;CACJ;AArDD,wDAqDC"}
1
+ {"version":3,"file":"streamingClientService.js","sourceRoot":"","sources":["../../src/shared/streamingClientService.ts"],"names":[],"mappings":";;;AAAA,2EAMsC;AACtC,mGAIkD;AAElD,mCAAoD;AACpD,oDAA6D;AAC7D,qCAA8D;AAS9D,MAAsB,0BAA0B;IACzB,MAAM,CAAA;IACN,QAAQ,CAAA;IAE3B,gBAAgB,GAAyB,IAAI,GAAG,EAAE,CAAA;IAIlD,YAAY,MAAc,EAAE,QAAgB;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC5B,CAAC;IAOM,qBAAqB;QACxB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE;YAC5C,eAAe,CAAC,KAAK,EAAE,CAAA;QAC3B,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAA;IACjC,CAAC;CACJ;AAxBD,gEAwBC;AAED,MAAa,2BAA4B,SAAQ,0BAA0B;IACvE,MAAM,CAAwB;IACvB,UAAU,CAAS;IAC1B,YACI,mBAAwC,EACxC,gBAAkC,EAClC,OAAgB,EAChB,MAAc,EACd,QAAgB,EAChB,eAAuB;QAEvB,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;QACvB,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE;YAC7B,MAAM,KAAK,GA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 -1,4 +1,4 @@
1
- import { CodeWhispererSupplementalContext } from '../models/model';
1
+ import { CodeWhispererSupplementalContext, CodeWhispererSupplementalContextItem } from '../models/model';
2
2
  import { CancellationToken, Position, TextDocument, Workspace } from '@aws/language-server-runtimes/server-interface';
3
3
  type CrossFileSupportedLanguage = 'java' | 'python' | 'javascript' | 'typescript' | 'javascriptreact' | 'typescriptreact';
4
4
  export declare const supportedLanguageToDialects: Readonly<Record<CrossFileSupportedLanguage, Set<string>>>;
@@ -9,6 +9,9 @@ interface Chunk {
9
9
  score?: number;
10
10
  }
11
11
  export declare function fetchSupplementalContextForSrc(document: TextDocument, position: Position, workspace: Workspace, cancellationToken: CancellationToken): Promise<Pick<CodeWhispererSupplementalContext, 'supplementalContextItems' | 'strategy'> | undefined>;
12
+ export declare function codemapContext(document: TextDocument, position: Position, workspace: Workspace, cancellationToken: CancellationToken): Promise<Pick<CodeWhispererSupplementalContext, 'supplementalContextItems' | 'strategy'> | undefined>;
13
+ export declare function fetchProjectContext(document: TextDocument, position: Position, target: 'default' | 'codemap' | 'bm25'): Promise<CodeWhispererSupplementalContextItem[]>;
14
+ export declare function fetchOpenTabsContext(document: TextDocument, position: Position, workspace: Workspace, cancellationToken: CancellationToken): Promise<CodeWhispererSupplementalContextItem[]>;
12
15
  export declare function splitFileToChunks(document: TextDocument, chunkSize: number): Chunk[];
13
16
  /**
14
17
  * This function will return relevant cross files sorted by file distance for the given editor file
@@ -5,6 +5,9 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.supportedLanguageToDialects = void 0;
7
7
  exports.fetchSupplementalContextForSrc = fetchSupplementalContextForSrc;
8
+ exports.codemapContext = codemapContext;
9
+ exports.fetchProjectContext = fetchProjectContext;
10
+ exports.fetchOpenTabsContext = fetchOpenTabsContext;
8
11
  exports.splitFileToChunks = splitFileToChunks;
9
12
  exports.getCrossFileCandidates = getCrossFileCandidates;
10
13
  const path = require("path");
@@ -15,6 +18,9 @@ const codeParsingUtil_1 = require("./codeParsingUtil");
15
18
  const lsp_core_1 = require("@aws/lsp-core");
16
19
  const server_interface_1 = require("@aws/language-server-runtimes/server-interface");
17
20
  const supplementalContextUtil_1 = require("./supplementalContextUtil");
21
+ const localProjectContextController_1 = require("../../shared/localProjectContextController");
22
+ const vscode_uri_1 = require("vscode-uri");
23
+ const timeoutUtils_1 = require("@aws/lsp-core/out/util/timeoutUtils");
18
24
  // TODO: ugly, can we make it prettier? like we have to manually type 'java', 'javascriptreact' which is error prone
19
25
  // TODO: Move to another config file or constants file
20
26
  // Supported language to its corresponding file ext
@@ -30,15 +36,66 @@ function isCrossFileSupported(languageId) {
30
36
  return Object.keys(exports.supportedLanguageToDialects).includes(languageId);
31
37
  }
32
38
  async function fetchSupplementalContextForSrc(document, position, workspace, cancellationToken) {
33
- const shouldProceed = shouldFetchCrossFileContext(document.languageId);
34
- if (!shouldProceed) {
35
- return shouldProceed === undefined
36
- ? undefined
37
- : {
38
- supplementalContextItems: [],
39
- strategy: 'Empty',
40
- };
39
+ const supplementalContextConfig = getSupplementalContextConfig(document.languageId);
40
+ if (supplementalContextConfig === undefined) {
41
+ return supplementalContextConfig;
41
42
  }
43
+ //TODO: add logic for other strategies once available
44
+ if (supplementalContextConfig === 'codemap') {
45
+ return await codemapContext(document, position, workspace, cancellationToken);
46
+ }
47
+ }
48
+ async function codemapContext(document, position, workspace, cancellationToken) {
49
+ let strategy = 'Empty';
50
+ const openTabsContextPromise = (0, timeoutUtils_1.waitUntil)(async function () {
51
+ return await fetchOpenTabsContext(document, position, workspace, cancellationToken);
52
+ }, { timeout: constants_1.supplementalContextTimeoutInMs, interval: 5, truthy: false });
53
+ const projectContextPromise = (0, timeoutUtils_1.waitUntil)(async function () {
54
+ return await fetchProjectContext(document, position, 'codemap');
55
+ }, { timeout: constants_1.supplementalContextTimeoutInMs, interval: 5, truthy: false });
56
+ const supContext = [];
57
+ const [openTabsContext, projectContext] = await Promise.all([openTabsContextPromise, projectContextPromise]);
58
+ function addToResult(items) {
59
+ for (const item of items) {
60
+ const curLen = supContext.reduce((acc, i) => acc + i.content.length, 0);
61
+ if (curLen + item.content.length < constants_1.supplementalContextMaxTotalLength) {
62
+ supContext.push(item);
63
+ }
64
+ }
65
+ }
66
+ if (projectContext && projectContext.length > 0) {
67
+ addToResult(projectContext);
68
+ strategy = 'codemap';
69
+ }
70
+ if (openTabsContext && openTabsContext.length > 0) {
71
+ addToResult(openTabsContext);
72
+ if (strategy === 'Empty') {
73
+ strategy = 'OpenTabs_BM25';
74
+ }
75
+ }
76
+ return {
77
+ supplementalContextItems: supContext ?? [],
78
+ strategy,
79
+ };
80
+ }
81
+ async function fetchProjectContext(document, position, target) {
82
+ const inputChunk = getInputChunk(document, position, constants_1.crossFileContextConfig.numberOfLinesEachChunk);
83
+ const fsPath = vscode_uri_1.URI.parse(document.uri).fsPath;
84
+ let controller;
85
+ const inlineProjectContextRequest = {
86
+ query: inputChunk.content,
87
+ filePath: fsPath,
88
+ target,
89
+ };
90
+ try {
91
+ controller = await localProjectContextController_1.LocalProjectContextController.getInstance();
92
+ }
93
+ catch (e) {
94
+ return [];
95
+ }
96
+ return controller.queryInlineProjectContext(inlineProjectContextRequest);
97
+ }
98
+ async function fetchOpenTabsContext(document, position, workspace, cancellationToken) {
42
99
  const codeChunksCalculated = constants_1.crossFileContextConfig.numberOfChunkToFetch;
43
100
  // Step 1: Get relevant cross files to refer
44
101
  const relevantCrossFileCandidates = await getCrossFileCandidates(document, workspace);
@@ -65,8 +122,13 @@ async function fetchSupplementalContextForSrc(document, position, workspace, can
65
122
  throwIfCancelled(cancellationToken);
66
123
  // Step 4: Transform best chunks to supplemental contexts
67
124
  const supplementalContexts = [];
125
+ let totalLength = 0;
68
126
  for (const chunk of bestChunks) {
69
127
  throwIfCancelled(cancellationToken);
128
+ totalLength += chunk.nextContent.length;
129
+ if (totalLength > constants_1.crossFileContextConfig.maximumTotalLength) {
130
+ break;
131
+ }
70
132
  supplementalContexts.push({
71
133
  filePath: chunk.fileName,
72
134
  content: chunk.nextContent,
@@ -74,10 +136,7 @@ async function fetchSupplementalContextForSrc(document, position, workspace, can
74
136
  });
75
137
  }
76
138
  // DO NOT send code chunk with empty content
77
- return {
78
- supplementalContextItems: supplementalContexts.filter(item => item.content.trim().length !== 0),
79
- strategy: 'OpenTabs_BM25',
80
- };
139
+ return supplementalContexts.filter(item => item.content.trim().length !== 0);
81
140
  }
82
141
  function findBestKChunkMatches(chunkInput, chunkReferences, k) {
83
142
  const chunkContentList = chunkReferences.map(chunk => chunk.content);
@@ -117,11 +176,8 @@ function getInputChunk(document, cursorPosition, chunkSize) {
117
176
  * @returns specifically returning undefined if the langueage is not supported,
118
177
  * otherwise true/false depending on if the language is fully supported or not belonging to the user group
119
178
  */
120
- function shouldFetchCrossFileContext(languageId, _userGroup) {
121
- if (!isCrossFileSupported(languageId)) {
122
- return undefined;
123
- }
124
- return true;
179
+ function getSupplementalContextConfig(languageId, _userGroup) {
180
+ return isCrossFileSupported(languageId) ? 'codemap' : undefined;
125
181
  }
126
182
  /**
127
183
  * This linking is required from science experimentations to pass the next contnet chunk
@@ -1 +1 @@
1
- {"version":3,"file":"crossFileContextUtil.js","sourceRoot":"","sources":["../../../src/shared/supplementalContextUtil/crossFileContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,2KAA2K;AAC3K,oFAAoF;;;AAiDpF,wEAgEC;AAkFD,8CAYC;AAiBD,wDA4CC;AA1QD,6BAA4B;AAC5B,+BAA8B;AAC9B,yCAAoD;AACpD,mDAA4D;AAC5D,uDAA8C;AAC9C,4CAA+C;AAE/C,qFAMuD;AACvD,uEAA6D;AAU7D,oHAAoH;AACpH,sDAAsD;AACtD,mDAAmD;AACtC,QAAA,2BAA2B,GAA8D;IAClG,IAAI,EAAE,IAAI,GAAG,CAAS,CAAC,OAAO,CAAC,CAAC;IAChC,MAAM,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,CAAC,CAAC;IAChC,UAAU,EAAE,IAAI,GAAG,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B,EAAE,EAAE;QAClC,OAAO,cAAc,CAAC,IAAI,CAAA;IAC9B,CAAC,CAAC,CAAA;AACV,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAwB;IAC9C,IAAI,KAAK,CAAC,uBAAuB,EAAE,CAAC;QAChC,MAAM,IAAI,2CAAiB,EAAE,CAAA;IACjC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"crossFileContextUtil.js","sourceRoot":"","sources":["../../../src/shared/supplementalContextUtil/crossFileContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,2KAA2K;AAC3K,oFAAoF;;;AA6DpF,wEAeC;AAED,wCAkDC;AAED,kDAoBC;AAED,oDAwDC;AAiFD,8CAYC;AAiBD,wDA4CC;AAxWD,6BAA4B;AAC5B,+BAA8B;AAC9B,yCAAoD;AACpD,mDAI4B;AAC5B,uDAA8C;AAC9C,4CAA+C;AAM/C,qFAMuD;AACvD,uEAA6D;AAC7D,8FAA0F;AAE1F,2CAAgC;AAChC,sEAA+D;AAU/D,oHAAoH;AACpH,sDAAsD;AACtD,mDAAmD;AACtC,QAAA,2BAA2B,GAA8D;IAClG,IAAI,EAAE,IAAI,GAAG,CAAS,CAAC,OAAO,CAAC,CAAC;IAChC,MAAM,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,CAAC,CAAC;IAChC,UAAU,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC5C,eAAe,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACjD,UAAU,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC5C,eAAe,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CACpD,CAAA;AAED,SAAS,oBAAoB,CAAC,UAAkB;IAC5C,OAAO,MAAM,CAAC,IAAI,CAAC,mCAA2B,CAAC,CAAC,QAAQ,CAAC,UAAU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OAAO,GAAG,EAAE,CAAC;YACX,OAAO,KAAK,CAAA;QAChB,CAAC;QACD,OAAO,CAAC,CAAC,CACL,UAAU,KAAK,aAAa,CAAC,GAAG;YAChC,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC;gBACzD,CAAC,QAAQ,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAChE,gBAAgB,EAAE,QAAQ,IAAI,IAAI;YAClC,CAAC,IAAA,4BAAU,EAAC,gBAAgB,CAAC,QAAQ,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CACnE,CAAA;IACL,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,SAAuB,EAAgB,EAAE;QAC3C,OAAO;YACH,IAAI,EAAE,SAAS;YACf,mEAAmE;YACnE,YAAY,EAAE,0BAAe,CAAC,eAAe,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,CAAC;SAC3E,CAAA;IACL,CAAC,CAAC;SACD,IAAI,CAAC,CAAC,KAAmB,EAAE,KAAmB,EAAE,EAAE;QAC/C,OAAO,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAA;IAClD,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,cAA4B,EAAE,EAAE;QAClC,OAAO,cAAc,CAAC,IAAI,CAAA;IAC9B,CAAC,CAAC,CAAA;AACV,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAwB;IAC9C,IAAI,KAAK,CAAC,uBAAuB,EAAE,CAAC;QAChC,MAAM,IAAI,2CAAiB,EAAE,CAAA;IACjC,CAAC;AACL,CAAC"}
@@ -3,3 +3,11 @@ import { CancellationToken, Logging, Position, TextDocument, Workspace } from '@
3
3
  export declare class CancellationError extends Error {
4
4
  }
5
5
  export declare function fetchSupplementalContext(document: TextDocument, position: Position, workspace: Workspace, logging: Logging, cancellationToken: CancellationToken): Promise<CodeWhispererSupplementalContext | undefined>;
6
+ /**
7
+ * Requirement
8
+ * - Maximum 5 supplemental context.
9
+ * - Each chunk can't exceed 10240 characters
10
+ * - Sum of all chunks can't exceed 20480 characters
11
+ */
12
+ export declare function truncateSupplementalContext(context: CodeWhispererSupplementalContext): CodeWhispererSupplementalContext;
13
+ export declare function truncateLineByLine(input: string, l: number): string;
@@ -4,8 +4,12 @@
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.CancellationError = void 0;
6
6
  exports.fetchSupplementalContext = fetchSupplementalContext;
7
+ exports.truncateSupplementalContext = truncateSupplementalContext;
8
+ exports.truncateLineByLine = truncateLineByLine;
7
9
  const crossFileContextUtil_1 = require("./crossFileContextUtil");
8
10
  const codeParsingUtil_1 = require("./codeParsingUtil");
11
+ const constants_1 = require("../models/constants");
12
+ const os = require("os");
9
13
  class CancellationError extends Error {
10
14
  }
11
15
  exports.CancellationError = CancellationError;
@@ -24,14 +28,15 @@ async function fetchSupplementalContext(document, position, workspace, logging,
24
28
  supplementalContextValue = await (0, crossFileContextUtil_1.fetchSupplementalContextForSrc)(document, position, workspace, cancellationToken);
25
29
  }
26
30
  if (supplementalContextValue) {
27
- return {
31
+ const resBeforeTruncation = {
28
32
  isUtg: isUtg,
29
33
  isProcessTimeout: false,
30
- supplementalContextItems: supplementalContextValue.supplementalContextItems,
34
+ supplementalContextItems: supplementalContextValue.supplementalContextItems.filter(item => item.content.trim().length !== 0),
31
35
  contentsLength: supplementalContextValue.supplementalContextItems.reduce((acc, curr) => acc + curr.content.length, 0),
32
36
  latency: performance.now() - timesBeforeFetching,
33
37
  strategy: supplementalContextValue.strategy,
34
38
  };
39
+ return truncateSupplementalContext(resBeforeTruncation);
35
40
  }
36
41
  else {
37
42
  return undefined;
@@ -54,4 +59,60 @@ async function fetchSupplementalContext(document, position, workspace, logging,
54
59
  }
55
60
  }
56
61
  }
62
+ /**
63
+ * Requirement
64
+ * - Maximum 5 supplemental context.
65
+ * - Each chunk can't exceed 10240 characters
66
+ * - Sum of all chunks can't exceed 20480 characters
67
+ */
68
+ function truncateSupplementalContext(context) {
69
+ let c = context.supplementalContextItems.map(item => {
70
+ if (item.content.length > constants_1.crossFileContextConfig.maxLengthEachChunk) {
71
+ return {
72
+ ...item,
73
+ content: truncateLineByLine(item.content, constants_1.crossFileContextConfig.maxLengthEachChunk),
74
+ };
75
+ }
76
+ else {
77
+ return item;
78
+ }
79
+ });
80
+ if (c.length > constants_1.crossFileContextConfig.maxContextCount) {
81
+ c = c.slice(0, constants_1.crossFileContextConfig.maxContextCount);
82
+ }
83
+ let curTotalLength = c.reduce((acc, cur) => {
84
+ return acc + cur.content.length;
85
+ }, 0);
86
+ while (curTotalLength >= 20480 && c.length - 1 >= 0) {
87
+ const last = c[c.length - 1];
88
+ c = c.slice(0, -1);
89
+ curTotalLength -= last.content.length;
90
+ }
91
+ return {
92
+ ...context,
93
+ supplementalContextItems: c,
94
+ contentsLength: curTotalLength,
95
+ };
96
+ }
97
+ function truncateLineByLine(input, l) {
98
+ const maxLength = l > 0 ? l : -1 * l;
99
+ if (input.length === 0) {
100
+ return '';
101
+ }
102
+ const shouldAddNewLineBack = input.endsWith(os.EOL);
103
+ let lines = input.trim().split(os.EOL);
104
+ let curLen = input.length;
105
+ while (curLen > maxLength && lines.length - 1 >= 0) {
106
+ const last = lines[lines.length - 1];
107
+ lines = lines.slice(0, -1);
108
+ curLen -= last.length + 1;
109
+ }
110
+ const r = lines.join(os.EOL);
111
+ if (shouldAddNewLineBack) {
112
+ return r + os.EOL;
113
+ }
114
+ else {
115
+ return r;
116
+ }
117
+ }
57
118
  //# sourceMappingURL=supplementalContextUtil.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"supplementalContextUtil.js","sourceRoot":"","sources":["../../../src/shared/supplementalContextUtil/supplementalContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,8KAA8K;;;AAe9K,4DA4DC;AAzED,i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EAAE,IAAI;gBACtB,wBAAwB,EAAE,EAAE;gBAC5B,cAAc,EAAE,CAAC;gBACjB,OAAO,EAAE,WAAW,CAAC,GAAG,EAAE,GAAG,mBAAmB;gBAChD,QAAQ,EAAE,OAAO;aACpB,CAAA;QACL,CAAC;aAAM,CAAC;YACJ,OAAO,CAAC,GAAG,CAAC,sDAAsD,QAAQ,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC,CAAA;YACzF,OAAO,SAAS,CAAA;QACpB,CAAC;IACL,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"supplementalContextUtil.js","sourceRoot":"","sources":["../../../src/shared/supplementalContextUtil/supplementalContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,8KAA8K;;;AAiB9K,4DAgEC;AAQD,kEAgCC;AAED,gDAqBC;AA9ID,iEAAuE;AACvE,uDAA8C;AAS9C,mDAA4D;AAC5D,yBAAwB;AAExB,MAAa,iBAAkB,SAAQ,KAAK;CAAG;AAA/C,8CAA+C;AAExC,KAAK,UAAU,wBAAwB,CAC1C,QAAsB,EACtB,QAAkB,EAClB,SAAoB,EACpB,OAAgB,EAChB,iBAAoC;IAEpC,MAAM,mBAAmB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAA;IAE7C,MAAM,KAAK,GAAG,IAAA,4BAAU,EAAC,QAAQ,CAAC,GAAG,EAAE;QACnC,UAAU,EAAE,QAAQ,CAAC,UAAU;QAC/B,WAAW,EAAE,QAAQ,CAAC,OAAO,EAAE;KAClC,CAAC,CAAA;IAEF,IAAI,CAAC;QACD,IAAI,wBAEW,CAAA;QAEf,IAAI,KAAK,EAAE,CAAC;YACR,OAAM;QACV,CAAC;aAAM,CAAC;YACJ,wBAAwB,GAAG,MAAM,IAAA,qDAA8B,EAC3D,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,iBAAiB,CACpB,CAAA;QACL,CAAC;QAED,IAAI,wBAAwB,EAAE,CAAC;YAC3B,MAAM,mBAAmB,GAAG;gBACxB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CAAA;IACb,CAAC;IAED,MAAM,oBAAoB,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACnD,IAAI,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACtC,IAAI,MAAM,GAAG,KAAK,CAAC,MAAM,CAAA;IACzB,OAAO,MAAM,GAAG,SAAS,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACjD,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QACpC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;QAC1B,MAAM,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;IAC7B,CAAC;IAED,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,IAAI,oBAAoB,EAAE,CAAC;QACvB,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAA;IACrB,CAAC;SAAM,CAAC;QACJ,OAAO,CAAC,CAAA;IACZ,CAAC;AACL,CAAC"}
@@ -3,7 +3,7 @@ import { CodeWhispererSession } from '../../language-server/inline-completion/se
3
3
  import { UserContext, OptOutPreference, UserIntent } from '../../client/token/codewhispererbearertokenclient';
4
4
  import { ChatConversationType, InteractWithMessageEvent } from './types';
5
5
  import { CodewhispererLanguage } from '../languageDetection';
6
- import { BaseAmazonQServiceManager } from '../amazonQServiceManager/BaseAmazonQServiceManager';
6
+ import { AmazonQBaseServiceManager } from '../amazonQServiceManager/BaseAmazonQServiceManager';
7
7
  export declare class TelemetryService {
8
8
  private serviceManager;
9
9
  private userContext;
@@ -12,10 +12,12 @@ export declare class TelemetryService {
12
12
  private telemetry;
13
13
  private credentialsProvider;
14
14
  private logging;
15
+ private profileArn;
15
16
  private readonly cwInteractionTypeMap;
16
- constructor(serviceManager: BaseAmazonQServiceManager, credentialsProvider: CredentialsProvider, telemetry: Telemetry, logging: Logging);
17
+ constructor(serviceManager: AmazonQBaseServiceManager, credentialsProvider: CredentialsProvider, telemetry: Telemetry, logging: Logging);
17
18
  updateUserContext(userContext: UserContext | undefined): void;
18
19
  updateOptOutPreference(optOutPreference: OptOutPreference): void;
20
+ updateProfileArn(profileArn: string): void;
19
21
  updateEnableTelemetryEventsToDestination(enableTelemetryEventsToDestination: boolean): void;
20
22
  private getCredentialsType;
21
23
  private getService;
@@ -77,5 +79,17 @@ export declare class TelemetryService {
77
79
  chatFollowUpCount?: number;
78
80
  chatConversationType: ChatConversationType;
79
81
  chatActiveEditorImportCount?: number;
82
+ cwsprChatHasContextList: boolean;
83
+ cwsprChatFolderContextCount: number;
84
+ cwsprChatFileContextCount: number;
85
+ cwsprChatFileContextLength: number;
86
+ cwsprChatRuleContextCount: number;
87
+ cwsprChatRuleContextLength: number;
88
+ cwsprChatPromptContextCount: number;
89
+ cwsprChatPromptContextLength: number;
90
+ cwsprChatCodeContextCount: number;
91
+ cwsprChatCodeContextLength: number;
92
+ cwsprChatFocusFileContextLength: number;
93
+ languageServerVersion?: string;
80
94
  }>): Promise<void> | undefined;
81
95
  }
@@ -14,6 +14,7 @@ class TelemetryService {
14
14
  telemetry;
15
15
  credentialsProvider;
16
16
  logging;
17
+ profileArn;
17
18
  cwInteractionTypeMap = {
18
19
  [types_1.ChatInteractionType.InsertAtCursor]: 'INSERT_AT_CURSOR',
19
20
  [types_1.ChatInteractionType.CopySnippet]: 'COPY_SNIPPET',
@@ -38,6 +39,9 @@ class TelemetryService {
38
39
  updateOptOutPreference(optOutPreference) {
39
40
  this.optOutPreference = optOutPreference;
40
41
  }
42
+ updateProfileArn(profileArn) {
43
+ this.profileArn = profileArn;
44
+ }
41
45
  updateEnableTelemetryEventsToDestination(enableTelemetryEventsToDestination) {
42
46
  this.enableTelemetryEventsToDestination = enableTelemetryEventsToDestination;
43
47
  }
@@ -95,6 +99,9 @@ class TelemetryService {
95
99
  if (this.optOutPreference !== undefined) {
96
100
  request.optOutPreference = this.optOutPreference;
97
101
  }
102
+ if (this.profileArn !== undefined) {
103
+ request.profileArn = this.profileArn;
104
+ }
98
105
  await this.getService().sendTelemetryEvent(request);
99
106
  }
100
107
  catch (error) {
@@ -186,6 +193,7 @@ class TelemetryService {
186
193
  ...metric,
187
194
  [chatTelemetryController_1.CONVERSATION_ID_METRIC_KEY]: options.conversationId,
188
195
  credentialStartUrl: this.credentialsProvider.getConnectionMetadata()?.sso?.startUrl,
196
+ result: 'Succeeded',
189
197
  },
190
198
  });
191
199
  }
@@ -216,6 +224,7 @@ class TelemetryService {
216
224
  cwsprChatModificationPercentage: params.modificationPercentage,
217
225
  codewhispererCustomizationArn: params.customizationArn,
218
226
  credentialStartUrl: this.credentialsProvider.getConnectionMetadata()?.sso?.startUrl,
227
+ result: 'Succeeded',
219
228
  },
220
229
  });
221
230
  }
@@ -271,6 +280,7 @@ class TelemetryService {
271
280
  if (!params.conversationId || !params.messageId) {
272
281
  return;
273
282
  }
283
+ const timeBetweenChunks = params.timeBetweenChunks?.slice(0, 100);
274
284
  if (this.enableTelemetryEventsToDestination) {
275
285
  this.telemetry.emitMetric({
276
286
  name: types_1.ChatTelemetryEventName.AddMessage,
@@ -287,15 +297,28 @@ class TelemetryService {
287
297
  cwsprChatSourceLinkCount: additionalParams.chatSourceLinkCount,
288
298
  cwsprChatReferencesCount: additionalParams.chatReferencesCount,
289
299
  cwsprChatFollowUpCount: additionalParams.chatFollowUpCount,
290
- cwsprTimeToFirstChunk: params.timeToFirstChunkMilliseconds,
300
+ cwsprChatTimeToFirstChunk: params.timeToFirstChunkMilliseconds,
291
301
  cwsprChatFullResponseLatency: params.fullResponselatency,
292
- cwsprChatTimeBetweenChunks: params.timeBetweenChunks,
302
+ cwsprChatTimeBetweenChunks: timeBetweenChunks,
293
303
  cwsprChatRequestLength: params.requestLength,
294
304
  cwsprChatResponseLength: params.responseLength,
295
305
  cwsprChatConversationType: additionalParams.chatConversationType,
296
306
  cwsprChatActiveEditorTotalCharacters: params.activeEditorTotalCharacters,
297
307
  cwsprChatActiveEditorImportCount: additionalParams.chatActiveEditorImportCount,
298
308
  codewhispererCustomizationArn: params.customizationArn,
309
+ cwsprChatHasContextList: additionalParams.cwsprChatHasContextList,
310
+ cwsprChatFolderContextCount: additionalParams.cwsprChatFolderContextCount,
311
+ cwsprChatFileContextCount: additionalParams.cwsprChatFileContextCount,
312
+ cwsprChatRuleContextCount: additionalParams.cwsprChatRuleContextCount,
313
+ cwsprChatPromptContextCount: additionalParams.cwsprChatPromptContextCount,
314
+ cwsprChatFileContextLength: additionalParams.cwsprChatFileContextLength,
315
+ cwsprChatRuleContextLength: additionalParams.cwsprChatRuleContextLength,
316
+ cwsprChatPromptContextLength: additionalParams.cwsprChatPromptContextLength,
317
+ cwsprChatFocusFileContextLength: additionalParams.cwsprChatFocusFileContextLength,
318
+ cwsprChatCodeContextCount: additionalParams.cwsprChatCodeContextCount,
319
+ cwsprChatCodeContextLength: additionalParams.cwsprChatCodeContextLength,
320
+ result: 'Succeeded',
321
+ languageServerVersion: additionalParams.languageServerVersion,
299
322
  },
300
323
  });
301
324
  }
@@ -306,7 +329,7 @@ class TelemetryService {
306
329
  hasCodeSnippet: params.hasCodeSnippet,
307
330
  activeEditorTotalCharacters: params.activeEditorTotalCharacters,
308
331
  timeToFirstChunkMilliseconds: params.timeToFirstChunkMilliseconds,
309
- timeBetweenChunks: params.timeBetweenChunks,
332
+ timeBetweenChunks: timeBetweenChunks,
310
333
  fullResponselatency: params.fullResponselatency,
311
334
  requestLength: params.requestLength,
312
335
  responseLength: params.responseLength,
@@ -1 +1 @@
1
- {"version":3,"file":"telemetryService.js","sourceRoot":"","sources":["../../../src/shared/telemetry/telemetryService.ts"],"names":[],"mappings":";;;AAqBA,oCAA8E;AAC9E,mCAMgB;AAChB,4DAAgF;AAChF,0GAAyG;AAGz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CAAC,gBAAgB;iBACzD;aACJ,CAAC,CAAA;QACN,CAAC;QAED,MAAM,KAAK,GAAwB;YAC/B,cAAc,EAAE,MAAM,CAAC,cAAc;YACrC,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,cAAc,EAAE,MAAM,CAAC,cAAc;YACrC,2BAA2B,EAAE,MAAM,CAAC,2BAA2B;YAC/D,4BAA4B,EAAE,MAAM,CAAC,4BAA4B;YACjE,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;YAC3C,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;YAC/C,aAAa,EAAE,MAAM,CAAC,aAAa;YACnC,cAAc,EAAE,MAAM,CAAC,cAAc;YACrC,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;YAC7C,sBAAsB,EAAE,KAAK;SAChC,CAAA;QACD,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;YAC1B,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAA;QACpD,CAAC;QACD,IAAI,MAAM,CAAC,mBAAmB,EAAE,CAAC;YAC7B,KAAK,CAAC,mBAAmB,GAAG;gBACxB,YAAY,EAAE,IAAA,sCAAkB,EAAC,MAAM,CAAC,mBAAmB,CAAC;aAC/D,CAAA;QACL,CAAC;QACD,OAAO,IAAI,CAAC,wBAAwB,CAAC;YACjC,mBAAmB,EAAE,KAAK;SAC7B,CAAC,CAAA;IACN,CAAC;CACJ;AAnaD,4CAmaC"}
1
+ {"version":3,"file":"telemetryService.js","sourceRoot":"","sources":["../../../src/shared/telemetry/telemetryService.ts"],"names":[],"mappings":";;;AAqBA,oCAA8E;AAC9E,mCAMgB;AAChB,4DAAgF;AAChF,0GAAyG;AAGzG,MAAa,gBAAgB;IACzB,2FAA2F;IACnF,cAAc,CAA2B;IACzC,WAAW,CAAyB;IACpC,gBAAgB,CAAmB;IACnC,kCAAkC,CAAS;IAC3C,SAAS,CAAW;IACpB,m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rC,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;YAC7C,sBAAsB,EAAE,KAAK;SAChC,CAAA;QACD,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;YAC1B,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAA;QACpD,CAAC;QACD,IAAI,MAAM,CAAC,mBAAmB,EAAE,CAAC;YAC7B,KAAK,CAAC,mBAAmB,GAAG;gBACxB,YAAY,EAAE,IAAA,sCAAkB,EAAC,MAAM,CAAC,mBAAmB,CAAC;aAC/D,CAAA;QACL,CAAC;QACD,OAAO,IAAI,CAAC,wBAAwB,CAAC;YACjC,mBAAmB,EAAE,KAAK;SAC7B,CAAC,CAAA;IACN,CAAC;CACJ;AAvcD,4CAucC"}
@@ -132,6 +132,9 @@ export interface TransformationJobArtifactsDownloadedEvent {
132
132
  transformationJobId: string;
133
133
  error: string;
134
134
  }
135
+ export interface PollingCancelledEvent {
136
+ CancelPollingEnabled: Boolean;
137
+ }
135
138
  export interface TransformationFailureEvent {
136
139
  [key: string]: any;
137
140
  category: string;
@@ -147,7 +150,9 @@ export declare enum ChatTelemetryEventName {
147
150
  AddMessage = "amazonq_addMessage",
148
151
  RunCommand = "amazonq_runCommand",
149
152
  MessageResponseError = "amazonq_messageResponseError",
150
- ModifyCode = "amazonq_modifyCode"
153
+ ModifyCode = "amazonq_modifyCode",
154
+ ToolUseSuggested = "amazonq_toolUseSuggested",
155
+ InteractWithAgenticChat = "amazonq_interactWithAgenticChat"
151
156
  }
152
157
  export interface ChatTelemetryEventMap {
153
158
  [ChatTelemetryEventName.EnterFocusChat]: EnterFocusChatEvent;
@@ -160,7 +165,23 @@ export interface ChatTelemetryEventMap {
160
165
  [ChatTelemetryEventName.RunCommand]: RunCommandEvent;
161
166
  [ChatTelemetryEventName.MessageResponseError]: MessageResponseErrorEvent;
162
167
  [ChatTelemetryEventName.ModifyCode]: ModifyCodeEvent;
168
+ [ChatTelemetryEventName.ToolUseSuggested]: ToolUseSuggestedEvent;
169
+ [ChatTelemetryEventName.InteractWithAgenticChat]: InteractWithAgenticChatEvent;
163
170
  }
171
+ export type ToolUseSuggestedEvent = {
172
+ credentialStartUrl?: string;
173
+ cwsprChatConversationId: string;
174
+ cwsprChatConversationType: ChatConversationType;
175
+ cwsprToolName: string;
176
+ cwsprToolUseId: string;
177
+ languageServerVersion?: string;
178
+ };
179
+ export type InteractWithAgenticChatEvent = {
180
+ credentialStartUrl?: string;
181
+ cwsprChatConversationId: string;
182
+ cwsprChatConversationType: ChatConversationType;
183
+ cwsprAgenticChatInteractionType: AgenticChatInteractionType;
184
+ };
164
185
  export type ModifyCodeEvent = {
165
186
  cwsprChatConversationId: string;
166
187
  cwsprChatMessageId: string;
@@ -190,6 +211,18 @@ export type AddMessageEvent = {
190
211
  cwsprChatResponseLength?: number;
191
212
  cwsprChatConversationType: ChatConversationType;
192
213
  codewhispererCustomizationArn?: string;
214
+ languageServerVersion?: string;
215
+ cwsprChatHasContextList?: boolean;
216
+ cwsprChatFolderContextCount?: number;
217
+ cwsprChatFileContextCount?: number;
218
+ cwsprChatFileContextLength?: number;
219
+ cwsprChatRuleContextCount?: number;
220
+ cwsprChatRuleContextLength?: number;
221
+ cwsprChatPromptContextCount?: number;
222
+ cwsprChatPromptContextLength?: number;
223
+ cwsprChatFocusFileContextLength?: number;
224
+ cwsprChatCodeContextCount?: number;
225
+ cwsprChatCodeContextLength?: number;
193
226
  };
194
227
  export type EnterFocusChatEvent = {
195
228
  credentialStartUrl?: string;
@@ -216,7 +249,8 @@ export declare enum ChatInteractionType {
216
249
  Downvote = "downvote",
217
250
  ClickBodyLink = "clickBodyLink"
218
251
  }
219
- export type ChatConversationType = 'Chat' | 'Assign' | 'Transform';
252
+ export type ChatConversationType = 'Chat' | 'Assign' | 'Transform' | 'AgenticChat' | 'AgenticChatWithToolUse';
253
+ export type AgenticChatInteractionType = 'RejectDiff' | 'GeneratedDiff' | 'RunCommand' | 'GeneratedCommand' | 'StopChat';
220
254
  export type InteractWithMessageEvent = {
221
255
  credentialStartUrl?: string;
222
256
  cwsprChatConversationId: string;
@@ -250,6 +284,7 @@ export type MessageResponseErrorEvent = {
250
284
  cwsprChatRepsonseCode: number;
251
285
  cwsprChatRequestLength?: number;
252
286
  cwsprChatConversationType: ChatConversationType;
287
+ languageServerVersion?: string;
253
288
  };
254
289
  export type RunCommandEvent = {
255
290
  credentialStartUrl?: string;
@@ -13,6 +13,8 @@ var ChatTelemetryEventName;
13
13
  ChatTelemetryEventName["RunCommand"] = "amazonq_runCommand";
14
14
  ChatTelemetryEventName["MessageResponseError"] = "amazonq_messageResponseError";
15
15
  ChatTelemetryEventName["ModifyCode"] = "amazonq_modifyCode";
16
+ ChatTelemetryEventName["ToolUseSuggested"] = "amazonq_toolUseSuggested";
17
+ ChatTelemetryEventName["InteractWithAgenticChat"] = "amazonq_interactWithAgenticChat";
16
18
  })(ChatTelemetryEventName || (exports.ChatTelemetryEventName = ChatTelemetryEventName = {}));
17
19
  var ChatInteractionType;
18
20
  (function (ChatInteractionType) {
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/shared/telemetry/types.ts"],"names":[],"mappings":";;;AA4JA,IAAY,sBAWX;AAXD,WAAY,sBAAsB;IAC9B,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;IACvC,mFAAyD,CAAA;IACzD,iFAAuD,CAAA;IACvD,yEAA+C,CAAA;IAC/C,6EAAmD,CAAA;IACnD,2DAAiC,CAAA;IACjC,2DAAiC,CAAA;IACjC,+EAAqD,CAAA;IACrD,2DAAiC,CAAA;AACrC,CAAC,EAXW,sBAAsB,sCAAtB,sBAAsB,QAWjC;AAiED,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAC3B,wDAAiC,CAAA;IACjC,kDAA2B,CAAA;IAC3B,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,sDAA+B,CAAA;IAC/B,wDAAiC,CAAA;IACjC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,sDAA+B,CAAA;AACnC,CAAC,EAVW,mBAAmB,mCAAnB,mBAAmB,QAU9B"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/shared/telemetry/types.ts"],"names":[],"mappings":";;;AAgKA,IAAY,sBAaX;AAbD,WAAY,sBAAsB;IAC9B,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;IACvC,mFAAyD,CAAA;IACzD,iFAAuD,CAAA;IACvD,yEAA+C,CAAA;IAC/C,6EAAmD,CAAA;IACnD,2DAAiC,CAAA;IACjC,2DAAiC,CAAA;IACjC,+EAAqD,CAAA;IACrD,2DAAiC,CAAA;IACjC,uEAA6C,CAAA;IAC7C,qFAA2D,CAAA;AAC/D,CAAC,EAbW,sBAAsB,sCAAtB,sBAAsB,QAajC;AAiGD,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAC3B,wDAAiC,CAAA;IACjC,kDAA2B,CAAA;IAC3B,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,sDAA+B,CAAA;IAC/B,wDAAiC,CAAA;IACjC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,sDAA+B,CAAA;AACnC,CAAC,EAVW,mBAAmB,mCAAnB,mBAAmB,QAU9B"}
@@ -1,4 +1,5 @@
1
1
  import { InitializeParams, Platform, ServerInfo } from '@aws/language-server-runtimes/server-interface';
2
2
  import { UserContext } from '../client/token/codewhispererbearertokenclient';
3
3
  export declare const getUserAgent: (initializeParams: InitializeParams, serverInfo?: ServerInfo) => string;
4
+ export declare const getIdeCategory: (initializeParams: InitializeParams) => string;
4
5
  export declare const makeUserContextObject: (initializeParams: InitializeParams, platform: Platform, product: string) => UserContext | undefined;