@aws/lsp-codewhisperer 0.0.39 → 0.0.41

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 (432) hide show
  1. package/CHANGELOG.md +75 -0
  2. package/node_modules/@amzn/codewhisperer-streaming/README.md +56 -0
  3. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +2 -0
  4. package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +2 -0
  5. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +3 -0
  6. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +3 -0
  7. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +3 -0
  8. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +10 -0
  9. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +2 -2
  10. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -2
  11. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
  12. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
  13. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
  14. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
  15. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
  16. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
  17. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
  18. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
  19. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -1
  20. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
  21. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
  22. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
  23. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
  24. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
  25. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
  26. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
  27. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
  28. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
  29. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
  30. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +5 -5
  31. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/LICENSE +201 -0
  32. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/README.md +115 -0
  33. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort-handler.js +1 -0
  34. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort.js +1 -0
  35. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -0
  36. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -0
  37. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -0
  38. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -0
  39. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -0
  40. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -0
  41. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -0
  42. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -0
  43. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/checksum.js +1 -0
  44. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/client.js +1 -0
  45. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/command.js +1 -0
  46. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -0
  47. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -0
  48. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -0
  49. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -0
  50. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/crypto.js +1 -0
  51. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -0
  52. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/encode.js +1 -0
  53. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -0
  54. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -0
  55. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -0
  56. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -0
  57. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -0
  58. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -0
  59. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -0
  60. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -0
  61. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -0
  62. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -0
  63. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -0
  64. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -0
  65. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -0
  66. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -0
  67. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
  68. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -0
  69. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http.js +1 -0
  70. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -0
  71. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -0
  72. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -0
  73. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -0
  74. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -0
  75. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/index.js +144 -0
  76. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/logger.js +1 -0
  77. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/middleware.js +1 -0
  78. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/pagination.js +1 -0
  79. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/profile.js +1 -0
  80. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/response.js +1 -0
  81. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/retry.js +1 -0
  82. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
  83. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
  84. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
  85. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/serde.js +1 -0
  86. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/shapes.js +1 -0
  87. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/signature.js +1 -0
  88. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/stream.js +1 -0
  89. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -0
  90. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  91. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  92. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transfer.js +1 -0
  93. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -0
  94. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -0
  95. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -0
  96. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
  97. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -0
  98. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -0
  99. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/uri.js +1 -0
  100. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/util.js +1 -0
  101. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
  102. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
  103. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort.js +1 -0
  104. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
  105. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
  106. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
  107. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
  108. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
  109. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
  110. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
  111. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
  112. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/checksum.js +1 -0
  113. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/client.js +1 -0
  114. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/command.js +1 -0
  115. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
  116. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/index.js +3 -0
  117. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
  118. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
  119. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/crypto.js +1 -0
  120. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
  121. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/encode.js +1 -0
  122. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
  123. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
  124. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
  125. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
  126. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
  127. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -0
  128. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
  129. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
  130. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/checksum.js +38 -0
  131. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +7 -0
  132. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
  133. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
  134. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
  135. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
  136. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
  137. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
  138. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http.js +5 -0
  139. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
  140. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
  141. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
  142. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/index.js +4 -0
  143. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
  144. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/index.js +40 -0
  145. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/logger.js +1 -0
  146. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/middleware.js +1 -0
  147. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/pagination.js +1 -0
  148. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/profile.js +6 -0
  149. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/response.js +1 -0
  150. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/retry.js +1 -0
  151. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
  152. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
  153. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
  154. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/serde.js +1 -0
  155. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/shapes.js +1 -0
  156. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/signature.js +1 -0
  157. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/stream.js +1 -0
  158. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
  159. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  160. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  161. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transfer.js +6 -0
  162. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
  163. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
  164. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
  165. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
  166. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
  167. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
  168. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/uri.js +1 -0
  169. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/util.js +1 -0
  170. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/waiter.js +1 -0
  171. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
  172. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort.d.ts +50 -0
  173. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
  174. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
  175. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
  176. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
  177. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
  178. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/auth.d.ts +57 -0
  179. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
  180. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +40 -0
  181. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/checksum.d.ts +63 -0
  182. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/client.d.ts +57 -0
  183. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/command.d.ts +25 -0
  184. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/config.d.ts +10 -0
  185. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
  186. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/manager.d.ts +34 -0
  187. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/pool.d.ts +32 -0
  188. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/crypto.d.ts +60 -0
  189. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
  190. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/encode.d.ts +31 -0
  191. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
  192. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +27 -0
  193. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +10 -0
  194. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +28 -0
  195. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +16 -0
  196. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
  197. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +55 -0
  198. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/eventStream.d.ts +137 -0
  199. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +58 -0
  200. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
  201. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
  202. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
  203. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
  204. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
  205. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
  206. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +121 -0
  207. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http.d.ts +112 -0
  208. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
  209. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +31 -0
  210. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
  211. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
  212. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
  213. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/index.d.ts +40 -0
  214. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
  215. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/middleware.d.ts +534 -0
  216. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/pagination.d.ts +33 -0
  217. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
  218. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
  219. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/retry.d.ts +133 -0
  220. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/schema.d.ts +263 -0
  221. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
  222. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
  223. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/serde.d.ts +114 -0
  224. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/shapes.d.ts +82 -0
  225. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/signature.d.ts +155 -0
  226. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
  227. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +32 -0
  228. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +60 -0
  229. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +51 -0
  230. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transfer.d.ts +41 -0
  231. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
  232. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +77 -0
  233. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
  234. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
  235. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +68 -0
  236. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
  237. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
  238. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +50 -0
  239. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
  240. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
  241. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
  242. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
  243. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
  244. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +57 -0
  245. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
  246. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
  247. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +63 -0
  248. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
  249. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +25 -0
  250. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +10 -0
  251. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
  252. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
  253. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
  254. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +60 -0
  255. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
  256. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
  257. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
  258. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
  259. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
  260. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
  261. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
  262. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
  263. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
  264. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
  265. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
  266. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
  267. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
  268. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
  269. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
  270. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
  271. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
  272. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +121 -0
  273. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +112 -0
  274. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
  275. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
  276. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
  277. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
  278. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
  279. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +40 -0
  280. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
  281. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +534 -0
  282. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
  283. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
  284. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
  285. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +133 -0
  286. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +278 -0
  287. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
  288. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
  289. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
  290. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +82 -0
  291. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +155 -0
  292. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
  293. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +32 -0
  294. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +60 -0
  295. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +51 -0
  296. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +41 -0
  297. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
  298. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +81 -0
  299. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
  300. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
  301. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
  302. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
  303. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
  304. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
  305. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
  306. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
  307. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
  308. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
  309. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/package.json +60 -0
  310. package/node_modules/@amzn/codewhisperer-streaming/package.json +1 -1
  311. package/out/client/sigv4/service.json +8 -0
  312. package/out/client/token/bearer-token-service.json +20 -0
  313. package/out/language-server/agenticChat/agenticChatController.d.ts +9 -3
  314. package/out/language-server/agenticChat/agenticChatController.js +379 -85
  315. package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
  316. package/out/language-server/agenticChat/agenticChatResultStream.d.ts +9 -0
  317. package/out/language-server/agenticChat/agenticChatResultStream.js +41 -1
  318. package/out/language-server/agenticChat/agenticChatResultStream.js.map +1 -1
  319. package/out/language-server/agenticChat/constants.d.ts +0 -1
  320. package/out/language-server/agenticChat/constants.js +1 -2
  321. package/out/language-server/agenticChat/constants.js.map +1 -1
  322. package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +2 -3
  323. package/out/language-server/agenticChat/context/addtionalContextProvider.js +3 -5
  324. package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -1
  325. package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +1 -0
  326. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +15 -2
  327. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -1
  328. package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +1 -1
  329. package/out/language-server/agenticChat/context/contextCommandsProvider.js +8 -24
  330. package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -1
  331. package/out/language-server/agenticChat/errors.d.ts +2 -1
  332. package/out/language-server/agenticChat/errors.js +11 -1
  333. package/out/language-server/agenticChat/errors.js.map +1 -1
  334. package/out/language-server/agenticChat/tabBarController.d.ts +10 -1
  335. package/out/language-server/agenticChat/tabBarController.js +54 -27
  336. package/out/language-server/agenticChat/tabBarController.js.map +1 -1
  337. package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +8 -9
  338. package/out/language-server/agenticChat/tools/chatDb/chatDb.js +58 -124
  339. package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
  340. package/out/language-server/agenticChat/tools/codeSearch.js +1 -1
  341. package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -1
  342. package/out/language-server/agenticChat/tools/executeBash.d.ts +10 -2
  343. package/out/language-server/agenticChat/tools/executeBash.js +80 -21
  344. package/out/language-server/agenticChat/tools/executeBash.js.map +1 -1
  345. package/out/language-server/agenticChat/tools/fsRead.js +1 -1
  346. package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
  347. package/out/language-server/agenticChat/tools/fsWrite.js +1 -1
  348. package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
  349. package/out/language-server/agenticChat/tools/{fileSearch.d.ts → fuzzySearch.d.ts} +17 -11
  350. package/out/language-server/agenticChat/tools/{fileSearch.js → fuzzySearch.js} +53 -55
  351. package/out/language-server/agenticChat/tools/fuzzySearch.js.map +1 -0
  352. package/out/language-server/agenticChat/tools/grepSearch.d.ts +74 -0
  353. package/out/language-server/agenticChat/tools/grepSearch.js +254 -0
  354. package/out/language-server/agenticChat/tools/grepSearch.js.map +1 -0
  355. package/out/language-server/agenticChat/tools/listDirectory.js +1 -1
  356. package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -1
  357. package/out/language-server/agenticChat/tools/toolServer.js +14 -5
  358. package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
  359. package/out/language-server/agenticChat/tools/toolShared.d.ts +1 -1
  360. package/out/language-server/agenticChat/tools/toolShared.js +2 -2
  361. package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
  362. package/out/language-server/chat/chatController.d.ts +1 -1
  363. package/out/language-server/chat/chatController.js.map +1 -1
  364. package/out/language-server/chat/chatSessionService.d.ts +13 -0
  365. package/out/language-server/chat/chatSessionService.js +28 -4
  366. package/out/language-server/chat/chatSessionService.js.map +1 -1
  367. package/out/language-server/chat/contexts/triggerContext.js +1 -0
  368. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  369. package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -4
  370. package/out/language-server/chat/telemetry/chatTelemetryController.js +29 -5
  371. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  372. package/out/language-server/inline-completion/codePercentage.js +1 -0
  373. package/out/language-server/inline-completion/codePercentage.js.map +1 -1
  374. package/out/language-server/inline-completion/codeWhispererServer.d.ts +1 -0
  375. package/out/language-server/inline-completion/codeWhispererServer.js +55 -19
  376. package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
  377. package/out/language-server/inline-completion/session/sessionManager.d.ts +5 -1
  378. package/out/language-server/inline-completion/session/sessionManager.js +4 -0
  379. package/out/language-server/inline-completion/session/sessionManager.js.map +1 -1
  380. package/out/language-server/localProjectContext/localProjectContextServer.js +8 -8
  381. package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -1
  382. package/out/language-server/workspaceContext/artifactManager.d.ts +1 -1
  383. package/out/language-server/workspaceContext/artifactManager.js +55 -22
  384. package/out/language-server/workspaceContext/artifactManager.js.map +1 -1
  385. package/out/language-server/workspaceContext/client.d.ts +1 -2
  386. package/out/language-server/workspaceContext/client.js +8 -16
  387. package/out/language-server/workspaceContext/client.js.map +1 -1
  388. package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.d.ts +2 -0
  389. package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js +11 -1
  390. package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js.map +1 -1
  391. package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.d.ts +17 -0
  392. package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js +75 -0
  393. package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js.map +1 -0
  394. package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js +9 -9
  395. package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js.map +1 -1
  396. package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js +9 -9
  397. package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js.map +1 -1
  398. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.d.ts +7 -5
  399. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js +21 -15
  400. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js.map +1 -1
  401. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.d.ts +1 -1
  402. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js +4 -4
  403. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js.map +1 -1
  404. package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js +38 -29
  405. package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js.map +1 -1
  406. package/out/language-server/workspaceContext/javaManager.js +1 -1
  407. package/out/language-server/workspaceContext/javaManager.js.map +1 -1
  408. package/out/language-server/workspaceContext/util.d.ts +1 -0
  409. package/out/language-server/workspaceContext/util.js +12 -6
  410. package/out/language-server/workspaceContext/util.js.map +1 -1
  411. package/out/language-server/workspaceContext/workspaceContextServer.js +266 -236
  412. package/out/language-server/workspaceContext/workspaceContextServer.js.map +1 -1
  413. package/out/language-server/workspaceContext/workspaceFolderManager.d.ts +21 -50
  414. package/out/language-server/workspaceContext/workspaceFolderManager.js +254 -496
  415. package/out/language-server/workspaceContext/workspaceFolderManager.js.map +1 -1
  416. package/out/shared/languageDetection.d.ts +1 -1
  417. package/out/shared/languageDetection.js +4 -0
  418. package/out/shared/languageDetection.js.map +1 -1
  419. package/out/shared/localProjectContextController.d.ts +5 -3
  420. package/out/shared/localProjectContextController.js +47 -21
  421. package/out/shared/localProjectContextController.js.map +1 -1
  422. package/out/shared/telemetry/telemetryService.d.ts +10 -1
  423. package/out/shared/telemetry/telemetryService.js +36 -7
  424. package/out/shared/telemetry/telemetryService.js.map +1 -1
  425. package/out/shared/telemetry/types.d.ts +39 -0
  426. package/out/shared/telemetry/types.js +1 -0
  427. package/out/shared/telemetry/types.js.map +1 -1
  428. package/package.json +8 -6
  429. package/out/language-server/agenticChat/tools/fileSearch.js.map +0 -1
  430. package/out/shared/initializeUtils.d.ts +0 -3
  431. package/out/shared/initializeUtils.js +0 -32
  432. package/out/shared/initializeUtils.js.map +0 -1
@@ -12,8 +12,6 @@ const path = require("path");
12
12
  const codewhisperer_streaming_1 = require("@amzn/codewhisperer-streaming");
13
13
  const path_1 = require("@aws/lsp-core/out/util/path");
14
14
  exports.EMPTY_CONVERSATION_LIST_ID = 'empty';
15
- // Maximum number of characters to keep in history
16
- const MaxConversationHistoryCharacters = 600_000;
17
15
  // Maximum number of messages to keep in history
18
16
  const MaxConversationHistoryMessages = 250;
19
17
  /**
@@ -83,8 +81,9 @@ class ChatDatabase {
83
81
  * Generates an identifier for the open workspace folder(s).
84
82
  */
85
83
  getWorkspaceIdentifier() {
86
- let clientParams = this.#features.lsp.getClientInitializeParams();
87
- let workspaceFolderPaths = clientParams?.workspaceFolders?.map(({ uri }) => new URL(uri).pathname);
84
+ let workspaceFolderPaths = this.#features.workspace
85
+ .getAllWorkspaceFolders()
86
+ ?.map(({ uri }) => new URL(uri).pathname);
88
87
  // Case 1: Multi-root workspace (unsaved)
89
88
  if (workspaceFolderPaths && workspaceFolderPaths.length > 1) {
90
89
  // Create hash from all folder paths combined
@@ -330,13 +329,13 @@ class ChatDatabase {
330
329
  /**
331
330
  * Fixes the history to maintain the following invariants:
332
331
  * 1. The history contains at most MaxConversationHistoryMessages messages. Oldest messages are dropped.
333
- * 2. The history character length is <= MaxConversationHistoryCharacters - newUserMessageCharacterCount. Oldest messages are dropped.
334
- * 3. The first message is from the user. Oldest messages are dropped if needed.
335
- * 4. The last message is from the assistant. The last message is dropped if it is from the user.
336
- * 5. If the last message is from the assistant and it contains tool uses, and a next user
337
- * message is set without tool results, then the user message will have cancelled tool results.
332
+ * 2. The first message is from the user. Oldest messages are dropped if needed.
333
+ * 3. The last message is from the assistant. The last message is dropped if it is from the user.
334
+ * 4. The history contains alternating sequene of userMessage followed by assistantMessages
335
+ * 5. The toolUse and toolResult relationship is valid
336
+ * 6. The history character length is <= MaxConversationHistoryCharacters - newUserMessageCharacterCount. Oldest messages are dropped.
338
337
  */
339
- fixHistory(tabId, newUserMessage, conversationId) {
338
+ fixAndValidateHistory(tabId, newUserMessage, conversationId, remainingCharacterBudget) {
340
339
  if (!this.#initialized) {
341
340
  return true;
342
341
  }
@@ -356,12 +355,12 @@ class ChatDatabase {
356
355
  allMessages = this.trimHistoryToMaxLength(allMessages);
357
356
  // Drop empty assistant partial if it’s the last message
358
357
  this.handleEmptyAssistantMessage(allMessages);
359
- // Make sure max characters ≤ MaxConversationHistoryCharacters - newUserMessageCharacterCount
360
- allMessages = this.trimMessagesToMaxLength(allMessages, newUserMessage);
361
358
  // Ensure messages in history a valid for server side checks
362
- this.ensureValidMessageSequence(allMessages);
363
- // If the last message is from the assistant and it contains tool uses, and a next user message is set without tool results, then the user message will have cancelled tool results.
364
- const isValid = this.validateToolUses(allMessages, newUserMessage);
359
+ this.ensureValidMessageSequence(allMessages, newUserMessage);
360
+ // Ensure lastMessage in history toolUse and newMessage toolResult relationship is valid
361
+ const isValid = this.validateNewMessageToolResults(allMessages, newUserMessage);
362
+ // Make sure max characters ≤ remaining Character Budget
363
+ allMessages = this.trimMessagesToMaxLength(allMessages, remainingCharacterBudget);
365
364
  const clientType = this.#features.lsp.getClientInitializeParams()?.clientInfo?.name || 'unknown';
366
365
  tabData.conversations = [
367
366
  {
@@ -404,7 +403,7 @@ class ChatDatabase {
404
403
  return !!ctx && (!ctx.toolResults || ctx.toolResults.length === 0) && message.body !== '';
405
404
  }
406
405
  handleEmptyAssistantMessage(messages) {
407
- if (messages.length === 0) {
406
+ if (messages.length < 2) {
408
407
  return;
409
408
  }
410
409
  const lastMsg = messages[messages.length - 1];
@@ -415,12 +414,11 @@ class ChatDatabase {
415
414
  messages.splice(-2);
416
415
  }
417
416
  }
418
- trimMessagesToMaxLength(messages, newUserMessage) {
417
+ trimMessagesToMaxLength(messages, remainingCharacterBudget) {
419
418
  let totalCharacters = this.calculateHistoryCharacterCount(messages);
420
419
  this.#features.logging.debug(`Current history characters: ${totalCharacters}`);
421
- const currentUserInputCharacterCount = this.calculateCurrentMessageCharacterCount((0, util_1.chatMessageToMessage)(newUserMessage));
422
- this.#features.logging.debug(`Current user message characters: ${currentUserInputCharacterCount}`);
423
- const maxHistoryCharacterSize = Math.max(0, MaxConversationHistoryCharacters - currentUserInputCharacterCount);
420
+ this.#features.logging.debug(`Current remaining character budget: ${remainingCharacterBudget}`);
421
+ const maxHistoryCharacterSize = Math.max(0, remainingCharacterBudget);
424
422
  while (totalCharacters > maxHistoryCharacterSize && messages.length > 2) {
425
423
  // Find the next valid user message to start from
426
424
  const indexToTrim = this.findIndexToTrim(messages);
@@ -483,64 +481,10 @@ class ChatDatabase {
483
481
  }
484
482
  return count;
485
483
  }
486
- calculateCurrentMessageCharacterCount(message) {
487
- let count = 0;
488
- // Count characters of message text
489
- count += message.body.length;
490
- // Count characters in tool uses
491
- if (message.toolUses) {
492
- try {
493
- for (const toolUse of message.toolUses) {
494
- count += JSON.stringify(toolUse).length;
495
- }
496
- }
497
- catch (e) {
498
- this.#features.logging.error(`Error counting toolUses: ${String(e)}`);
499
- }
500
- }
501
- // Count characters in tool results
502
- if (message.userInputMessageContext?.toolResults) {
503
- try {
504
- for (const toolResul of message.userInputMessageContext.toolResults) {
505
- count += JSON.stringify(toolResul).length;
506
- }
507
- }
508
- catch (e) {
509
- this.#features.logging.error(`Error counting toolResults: ${String(e)}`);
510
- }
511
- }
512
- // Count characters in tool spec for the current user message
513
- if (message.userInputMessageContext?.tools) {
514
- try {
515
- for (const toolSpec of message.userInputMessageContext.tools) {
516
- count += JSON.stringify(toolSpec).length;
517
- }
518
- }
519
- catch (e) {
520
- this.#features.logging.error(`Error counting tool spec length: ${String(e)}`);
521
- }
522
- }
523
- if (message.userInputMessageContext?.additionalContext) {
524
- try {
525
- for (const addtionalContext of message.userInputMessageContext.additionalContext) {
526
- count += JSON.stringify(addtionalContext).length;
527
- }
528
- }
529
- catch (e) {
530
- this.#features.logging.error(`Error counting addtionalContext length: ${String(e)}`);
531
- }
532
- }
533
- if (message.userInputMessageContext?.editorState) {
534
- try {
535
- count += JSON.stringify(message.userInputMessageContext?.editorState).length;
536
- }
537
- catch (e) {
538
- this.#features.logging.error(`Error counting editorState length: ${String(e)}`);
539
- }
484
+ ensureValidMessageSequence(messages, newUserMessage) {
485
+ if (messages.length === 0) {
486
+ return;
540
487
  }
541
- return count;
542
- }
543
- ensureValidMessageSequence(messages) {
544
488
  // Make sure the first stored message is from the user (type === 'prompt'), else drop
545
489
  while (messages.length > 0 && messages[0].type === 'answer') {
546
490
  messages.shift();
@@ -551,64 +495,54 @@ class ChatDatabase {
551
495
  messages.pop();
552
496
  this.#features.logging.debug('Dropped trailing user message');
553
497
  }
554
- }
555
- validateToolUses(messages, newUserMessage) {
556
498
  if (messages.length === 0) {
557
- if (newUserMessage.userInputMessage?.userInputMessageContext?.toolResults) {
558
- this.#features.logging.debug('No history message found, but new user message has tool results.');
559
- newUserMessage.userInputMessage.userInputMessageContext.toolResults = undefined;
560
- // tool results are empty, so content must not be empty
561
- newUserMessage.userInputMessage.content = 'Conversation history was too large, so it was cleared.';
562
- }
563
- return true;
499
+ return;
564
500
  }
565
- const lastMsg = messages[messages.length - 1];
566
- const toolResults = newUserMessage.userInputMessage?.userInputMessageContext?.toolResults;
567
- if (toolResults && toolResults.length > 0) {
501
+ // Make sure there are alternating user and assistant messages
502
+ const currentMessageType = (0, util_1.chatMessageToMessage)(newUserMessage).type;
503
+ const lastMessageType = messages[messages.length - 1].type;
504
+ if (currentMessageType === lastMessageType) {
505
+ this.#features.logging.warn(`Invalid alternation: last message is ${lastMessageType}, dropping it before inserting new ${currentMessageType}`);
506
+ messages.splice(messages.length - 1, 1);
507
+ }
508
+ }
509
+ validateNewMessageToolResults(messages, newUserMessage) {
510
+ if (newUserMessage?.userInputMessage?.userInputMessageContext) {
511
+ const newUserMessageContext = newUserMessage.userInputMessage.userInputMessageContext;
512
+ const toolResults = newUserMessageContext.toolResults || [];
513
+ if (messages.length === 0) {
514
+ if (toolResults && toolResults.length > 0) {
515
+ this.#features.logging.warn('New message has tool results but last message has no tool uses');
516
+ return false;
517
+ }
518
+ return true;
519
+ }
520
+ const lastMsg = messages[messages.length - 1];
521
+ const lastMsgToolUses = lastMsg?.toolUses || [];
568
522
  // If last message has no tool uses but new message has tool results, this is invalid
569
- if (!lastMsg.toolUses || lastMsg.toolUses.length === 0) {
523
+ if (toolResults && toolResults.length > 0 && lastMsgToolUses.length === 0) {
570
524
  this.#features.logging.warn('New message has tool results but last message has no tool uses');
571
525
  return false;
572
526
  }
573
- const toolUseIds = new Set(lastMsg.toolUses.map(toolUse => toolUse.toolUseId));
527
+ const toolUseIds = new Set(lastMsgToolUses.map(toolUse => toolUse.toolUseId));
574
528
  const validToolResults = toolResults.filter(toolResult => toolUseIds.has(toolResult.toolUseId));
575
- const invalidToolResults = toolResults.filter(toolResult => !toolUseIds.has(toolResult.toolUseId));
576
- if (invalidToolResults.length > 0) {
577
- this.#features.logging.warn(`Found ${invalidToolResults.length} tool results without matching tool uses, marking them as cancelled`);
578
- // Mark invalid tool results as cancelled
579
- for (const invalidResult of invalidToolResults) {
580
- invalidResult.status = codewhisperer_streaming_1.ToolResultStatus.ERROR;
581
- invalidResult.content = [
582
- {
583
- text: 'Tool use was cancelled by the user',
584
- },
585
- ];
586
- }
587
- // Update the tool results in the message
588
- if (newUserMessage.userInputMessage?.userInputMessageContext) {
589
- newUserMessage.userInputMessage.userInputMessageContext.toolResults = [
590
- ...validToolResults,
591
- ...invalidToolResults,
592
- ];
593
- }
594
- }
595
- }
596
- if (lastMsg.toolUses && lastMsg.toolUses.length > 0) {
597
- if (!toolResults || toolResults.length === 0) {
598
- this.#features.logging.debug(`No tools results in last user message following a tool use message from assisstant, marking as canceled`);
599
- if (newUserMessage.userInputMessage?.userInputMessageContext) {
600
- newUserMessage.userInputMessage.userInputMessageContext.toolResults = lastMsg.toolUses.map(toolUse => ({
529
+ if (validToolResults.length < toolUseIds.size) {
530
+ // Add cancelled tool results for missing IDs
531
+ const missingToolUses = lastMsgToolUses.filter(toolUses => !validToolResults.some(toolResults => toolResults.toolUseId === toolUses.toolUseId));
532
+ for (const toolUse of missingToolUses) {
533
+ this.#features.logging.warn(`newUserMessage missing ToolResult for ${toolUse.toolUseId}. Inserting cancelled.`);
534
+ validToolResults.push({
601
535
  toolUseId: toolUse.toolUseId,
602
- content: [
603
- {
604
- type: 'Text',
605
- text: 'Tool use was cancelled by the user',
606
- },
607
- ],
608
536
  status: codewhisperer_streaming_1.ToolResultStatus.ERROR,
609
- }));
537
+ content: [{ text: 'Tool use was cancelled by the user' }],
538
+ });
610
539
  }
611
540
  }
541
+ newUserMessageContext.toolResults = validToolResults;
542
+ if (newUserMessageContext.toolResults.length === 0 &&
543
+ (!newUserMessage.userInputMessage.content || newUserMessage.userInputMessage.content?.trim() == '')) {
544
+ return false;
545
+ }
612
546
  }
613
547
  return true;
614
548
  }
@@ -1 +1 @@
1
- {"version":3,"file":"chatDb.js","sourceRoot":"","sources":["../../../../../src/language-server/agenticChat/tools/chatDb/chatDb.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,+BAA8B;AAC9B,iCAWe;AACf,iCAAgC;AAChC,6BAA4B;AAG5B,2EAA6E;AAE7E,sDAA4D;AAE/C,QAAA,0BAA0B,GAAG,OAAO,CAAA;AACjD,kDAAkD;AAClD,MAAM,gCAAgC,GAAG,OAAO,CAAA;AAChD,gDAAgD;AAChD,MAAM,8BAA8B,GAAG,GAAG,CAAA;AAE1C;;;;;;;;;GASG;AAEH,MAAa,YAAY;IACrB,MAAM,CAAC,SAAS,GAA6B,SAAS,CAAA;IACtD,GAAG,CAAM;IACT;;OAEG;IACH,iBAAiB,GAAwB,IAAI,GAAG,EAAE,CAAA;IAClD,YAAY,CAAQ;IACpB,SAAS,CAAU;IACnB,YAAY,GAAY,KAAK,CAAA;IAC7B,WAAW,CAAS;IACpB,WAAW,CAAS;IAEpB,YAAY,QAAkB;QAC1B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAA;QACzB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,IAAI,CACzB,QAAQ,CAAC,OAAO,CAAC,QAAQ,KAAK,SAAS;YACnC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,oBAAoB,CAAC,cAAc,CAAC;YAC5D,CA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,UAAU,CAAC,SAAS,CAAC,CAAC,CAAA;YAE/F,IAAI,gBAAgB,CAAC,MAAM,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;gBAC5C,6CAA6C;gBAC7C,MAAM,eAAe,GAAG,eAAe,CAAC,MAAM,CAC1C,QAAQ,CAAC,EAAE,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,SAAS,KAAK,QAAQ,CAAC,SAAS,CAAC,CAClG,CAAA;gBAED,KAAK,MAAM,OAAO,IAAI,eAAe,EAAE,CAAC;oBACpC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CACvB,yCAAyC,OAAO,CAAC,SAAS,wBAAwB,CACrF,CAAA;oBACD,gBAAgB,CAAC,IAAI,CAAC;wBAClB,SAAS,EAAE,OAAO,CAAC,SAAS;wBAC5B,MAAM,EAAE,0CAAgB,CAAC,KAAK;wBAC9B,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC;qBAC5D,CAAC,CAAA;gBACN,CAAC;YACL,CAAC;YACD,qBAAqB,CAAC,WAAW,GAAG,gBAAgB,CAAA;YAEpD,IACI,qBAAqB,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC;gBAC9C,CAAC,CAAC,cAAc,CAAC,gBAAgB,CAAC,OAAO,IAAI,cAAc,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACrG,CAAC;gBACC,OAAO,KAAK,CAAA;YAChB,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAA;IACf,CAAC;;AA1mBL,oCA2mBC"}
@@ -57,7 +57,7 @@ class CodeSearch {
57
57
  else {
58
58
  // Handle optional path parameter
59
59
  // Use current workspace folder as default if path is not provided
60
- const workspaceFolders = (0, workspaceUtils_1.getWorkspaceFolderPaths)(this.lsp);
60
+ const workspaceFolders = (0, workspaceUtils_1.getWorkspaceFolderPaths)(this.workspace);
61
61
  if (workspaceFolders && workspaceFolders.length !== 0) {
62
62
  this.logging.debug(`Using default workspace folder: ${workspaceFolders[0]}`);
63
63
  searchPath = workspaceFolders[0];
@@ -1 +1 @@
1
- {"version":3,"file":"codeSearch.js","sourceRoot":"","sources":["../../../../src/language-server/agenticChat/tools/codeSearch.ts"],"names":[],"mappings":";;;AAAA,6CAAoG;AAEpG,0EAA+E;AAC/E,iGAA6F;AAI7F,6BAA6B;AAQ7B,MAAa,UAAU;IACF,OAAO,CAAqB;IAC5B,SAAS,CAAuB;IAChC,GAAG,CAAiB;IACrC,YAAY,QAAyD;QACjE,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAA;QAC/B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,SAAS,CAAA;QACnC,IAAI,CAAC,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAA;IAC3B,CAAC;IAEM,KAAK,CAAC,QAAQ,CAAC,MAAwB;QAC1C,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAA;QACzD,CAAC;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAA;QAE5C,IAAI,UAAU,EAAE,CAAC;YACb,MAAM,IAAA,yBAAY,EAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,CAAA;QAC5D,CAAC;IACL,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAC,MAAwB,EAAE,OAAuB,EAAE,kBAA2B;QACxG,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAA;QAClC,MAAM,WAAW,GAAG,KAAK,EAAE,CAA8B,EAAE,EAAE;YACzD,MAAM,CAAC,CAAC,KAAK,EAAE,CAAA;YACf,CAAC,CAAC,WAAW,EAAE,CAAA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Z,OAAO,EAAE,OAAO;iBACnB;aACJ,CAAA;QACL,CAAC;aAAM,CAAC;YACJ,OAAO;gBACH,MAAM,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,OAAO;iBACnB;aACJ,CAAA;QACL,CAAC;IACL,CAAC;IAEM,OAAO;QACV,OAAO;YACH,IAAI,EAAE,YAAY;YAClB,WAAW,EACP,kcAAkc;YACtc,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,KAAK,EAAE;wBACH,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,yCAAyC;qBACzD;oBACD,WAAW,EAAE;wBACT,IAAI,EAAE,QAAQ;wBACd,WAAW,EACP,gGAAgG;qBACvG;iBACJ;gBACD,QAAQ,EAAE,CAAC,OAAO,CAAC;aACtB;SACK,CAAA;IACd,CAAC;CACJ;AAlLD,gCAkLC"}
1
+ {"version":3,"file":"codeSearch.js","sourceRoot":"","sources":["../../../../src/language-server/agenticChat/tools/codeSearch.ts"],"names":[],"mappings":";;;AAAA,6CAAoG;AAEpG,0EAA+E;AAC/E,iGAA6F;AAI7F,6BAA6B;AAQ7B,MAAa,UAAU;IACF,OAAO,CAAqB;IAC5B,SAAS,CAAuB;IAChC,GAAG,CAAiB;IACrC,YAAY,QAAyD;QACjE,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAA;QAC/B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,SAAS,CAAA;QACnC,IAAI,CAAC,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAA;IAC3B,CAAC;IAEM,KAAK,CAAC,QAAQ,CAAC,MAAwB;QAC1C,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAA;QACzD,CAAC;QACD,MAAM,UAAU,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AK,SAAS,EAAE,CAAC;gBACvE,iBAAiB,CAAC,IAAI,CAAC;oBACnB,GAAG,gBAAgB;oBACnB,mBAAmB,EAAE;wBACjB,YAAY,EAAE,KAAK,CAAC,mBAAmB;qBAC1C;iBACJ,CAAC,CAAA;YACN,CAAC;iBAAM,CAAC;gBACJ,iBAAiB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;YAC5C,CAAC;QACL,CAAC;QAED,OAAO,iBAAiB,CAAA;IAC5B,CAAC;IAEO,YAAY,CAAC,OAAuB;QACxC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;YAC9B,OAAO;gBACH,MAAM,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,OAAO;iBACnB;aACJ,CAAA;QACL,CAAC;aAAM,CAAC;YACJ,OAAO;gBACH,MAAM,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,OAAO;iBACnB;aACJ,CAAA;QACL,CAAC;IACL,CAAC;IAEM,OAAO;QACV,OAAO;YACH,IAAI,EAAE,YAAY;YAClB,WAAW,EACP,kcAAkc;YACtc,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,KAAK,EAAE;wBACH,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,yCAAyC;qBACzD;oBACD,WAAW,EAAE;wBACT,IAAI,EAAE,QAAQ;wBACd,WAAW,EACP,gGAAgG;qBACvG;iBACJ;gBACD,QAAQ,EAAE,CAAC,OAAO,CAAC;aACtB;SACK,CAAA;IACd,CAAC;CACJ;AAlLD,gCAkLC"}
@@ -34,16 +34,24 @@ export interface ExecuteBashOutput {
34
34
  export declare class ExecuteBash {
35
35
  private childProcess?;
36
36
  private readonly logging;
37
- private readonly lsp;
38
- constructor(features: Pick<Features, 'logging' | 'lsp'> & Partial<Features>);
37
+ private readonly workspace;
38
+ constructor(features: Pick<Features, 'logging' | 'workspace'> & Partial<Features>);
39
39
  validate(input: ExecuteBashParams): Promise<void>;
40
40
  private static handleTimestampedChunk;
41
41
  requiresAcceptance(params: ExecuteBashParams, approvedPaths?: Set<string>): Promise<CommandValidation>;
42
42
  private looksLikePath;
43
43
  invoke(params: ExecuteBashParams, cancellationToken?: CancellationToken, updates?: WritableStream): Promise<InvokeOutput>;
44
+ /**
45
+ * Re‑creates the raw bytes from the received string (Buffer.from(text, 'binary')).
46
+ * Detects UTF‑16 LE by checking whether every odd byte in the first 32 bytes is 0x00.
47
+ * Decodes with buf.toString('utf16le') when the pattern matches, otherwise falls back to UTF‑8.
48
+ */
49
+ private static decodeWinUtf;
44
50
  private static handleChunk;
45
51
  private static truncateSafelyWithSuffix;
46
52
  private static whichCommand;
53
+ private static resolveWindowsCommand;
54
+ private static resolveUnixCommand;
47
55
  queueDescription(command: string, updates: WritableStream): Promise<void>;
48
56
  getSpec(): {
49
57
  readonly name: "executeBash";
@@ -112,10 +112,10 @@ const IS_WINDOWS_PLATFORM = process.platform === 'win32';
112
112
  class ExecuteBash {
113
113
  childProcess;
114
114
  logging;
115
- lsp;
115
+ workspace;
116
116
  constructor(features) {
117
117
  this.logging = features.logging;
118
- this.lsp = features.lsp;
118
+ this.workspace = features.workspace;
119
119
  }
120
120
  async validate(input) {
121
121
  const command = input.command;
@@ -193,7 +193,7 @@ class ExecuteBash {
193
193
  if (approvedPaths && (0, toolShared_1.isPathApproved)(fullPath, approvedPaths)) {
194
194
  continue;
195
195
  }
196
- const isInWorkspace = lsp_core_1.workspaceUtils.isInWorkspace((0, workspaceUtils_1.getWorkspaceFolderPaths)(this.lsp), fullPath);
196
+ const isInWorkspace = lsp_core_1.workspaceUtils.isInWorkspace((0, workspaceUtils_1.getWorkspaceFolderPaths)(this.workspace), fullPath);
197
197
  if (!isInWorkspace) {
198
198
  return {
199
199
  requiresAcceptance: true,
@@ -239,7 +239,7 @@ class ExecuteBash {
239
239
  if (params.cwd) {
240
240
  // Check if the cwd is already approved
241
241
  if (!(approvedPaths && (0, toolShared_1.isPathApproved)(params.cwd, approvedPaths))) {
242
- const workspaceFolders = (0, workspaceUtils_1.getWorkspaceFolderPaths)(this.lsp);
242
+ const workspaceFolders = (0, workspaceUtils_1.getWorkspaceFolderPaths)(this.workspace);
243
243
  // If there are no workspace folders, we can't validate the path
244
244
  if (!workspaceFolders || workspaceFolders.length === 0) {
245
245
  return {
@@ -357,7 +357,7 @@ class ExecuteBash {
357
357
  outputQueue.push({
358
358
  timestamp,
359
359
  isStdout: true,
360
- content: chunk,
360
+ content: IS_WINDOWS_PLATFORM ? ExecuteBash.decodeWinUtf(chunk) : chunk,
361
361
  isFirst,
362
362
  });
363
363
  processQueue();
@@ -372,13 +372,16 @@ class ExecuteBash {
372
372
  outputQueue.push({
373
373
  timestamp,
374
374
  isStdout: false,
375
- content: chunk,
375
+ content: IS_WINDOWS_PLATFORM ? ExecuteBash.decodeWinUtf(chunk) : chunk,
376
376
  isFirst,
377
377
  });
378
378
  processQueue();
379
379
  },
380
380
  };
381
- this.childProcess = new processUtils_1.ChildProcess(this.logging, shellName, [shellFlag, params.command], childProcessOptions);
381
+ const shellArgs = IS_WINDOWS_PLATFORM
382
+ ? ['/u', shellFlag, ...(0, shlex_1.split)(params.command)] // Windows: split for proper arg handling
383
+ : [shellFlag, params.command];
384
+ this.childProcess = new processUtils_1.ChildProcess(this.logging, shellName, shellArgs, childProcessOptions);
382
385
  // Set up cancellation listener
383
386
  if (cancellationToken) {
384
387
  cancellationToken.onCancellationRequested(() => {
@@ -439,6 +442,22 @@ class ExecuteBash {
439
442
  }
440
443
  });
441
444
  }
445
+ /**
446
+ * Re‑creates the raw bytes from the received string (Buffer.from(text, 'binary')).
447
+ * Detects UTF‑16 LE by checking whether every odd byte in the first 32 bytes is 0x00.
448
+ * Decodes with buf.toString('utf16le') when the pattern matches, otherwise falls back to UTF‑8.
449
+ */
450
+ static decodeWinUtf(raw) {
451
+ const buffer = Buffer.from(raw, 'binary');
452
+ let utf16 = true;
453
+ for (let i = 1, n = Math.min(buffer.length, 32); i < n; i += 2) {
454
+ if (buffer[i] !== 0x00) {
455
+ utf16 = false;
456
+ break;
457
+ }
458
+ }
459
+ return utf16 ? buffer.toString('utf16le') : buffer.toString('utf8');
460
+ }
442
461
  static handleChunk(chunk, buffer, writer) {
443
462
  try {
444
463
  void writer?.write(chunk);
@@ -462,22 +481,62 @@ class ExecuteBash {
462
481
  return [str, false];
463
482
  }
464
483
  static async whichCommand(logger, cmd) {
465
- const { command, args } = IS_WINDOWS_PLATFORM
466
- ? { command: 'where', args: [cmd] }
467
- : { command: 'sh', args: ['-c', `command -v ${cmd}`] };
468
- const cp = new lsp_core_1.processUtils.ChildProcess(logger, command, args, {
469
- collect: true,
470
- waitForStreams: true,
471
- });
472
- const result = await cp.run();
473
- if (result.exitCode !== 0) {
474
- throw new Error(`Command '${cmd}' not found on PATH.`);
484
+ if (IS_WINDOWS_PLATFORM) {
485
+ await this.resolveWindowsCommand(logger, cmd);
486
+ }
487
+ else {
488
+ await this.resolveUnixCommand(logger, cmd);
489
+ }
490
+ }
491
+ static async resolveWindowsCommand(logger, cmd) {
492
+ // 1. Check for external command or alias
493
+ try {
494
+ const whereProc = new lsp_core_1.processUtils.ChildProcess(logger, 'where', [cmd], {
495
+ collect: true,
496
+ waitForStreams: true,
497
+ });
498
+ const result = await whereProc.run();
499
+ const output = result.stdout.trim();
500
+ if (result.exitCode === 0 && output) {
501
+ return;
502
+ }
503
+ }
504
+ catch (err) {
505
+ logger.debug(`'where ${cmd}' failed: ${err.message}`);
506
+ }
507
+ // 2. Check for built-in command
508
+ try {
509
+ const helpProc = new lsp_core_1.processUtils.ChildProcess(logger, 'cmd.exe', ['/c', 'help', cmd], {
510
+ collect: true,
511
+ waitForStreams: true,
512
+ });
513
+ const result = await helpProc.run();
514
+ const output = result.stdout.trim();
515
+ if (output && !output.includes('This command is not supported by the help utility')) {
516
+ return;
517
+ }
518
+ }
519
+ catch (err) {
520
+ logger.debug(`'help ${cmd}' failed: ${err.message}`);
521
+ }
522
+ throw new Error(`Command '${cmd}' not found as executable or Windows built-in command`);
523
+ }
524
+ static async resolveUnixCommand(logger, cmd) {
525
+ try {
526
+ const proc = new lsp_core_1.processUtils.ChildProcess(logger, 'sh', ['-c', `command -v ${cmd}`], {
527
+ collect: true,
528
+ waitForStreams: true,
529
+ });
530
+ const result = await proc.run();
531
+ const output = result.stdout.trim();
532
+ if (result.exitCode === 0 && output) {
533
+ return;
534
+ }
475
535
  }
476
- const output = result.stdout.trim();
477
- if (!output) {
478
- throw new Error(`Command '${cmd}' found but '${command} ${args.join(' ')}' returned empty output.`);
536
+ catch (err) {
537
+ logger.debug(`'command -v ${cmd}' failed: ${err.message}`);
479
538
  }
480
- return output;
539
+ throw new Error(`Command '${cmd}' not found as executable or shell built-in`);
481
540
  }
482
541
  async queueDescription(command, updates) {
483
542
  const writer = updates.getWriter();