@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
@@ -0,0 +1,27 @@
1
+ import { EndpointObjectProperty } from "../endpoint";
2
+ import { ConditionObject, Expression } from "./shared";
3
+ /**
4
+ * @public
5
+ */
6
+ export type EndpointObjectProperties = Record<string, EndpointObjectProperty>;
7
+ /**
8
+ * @public
9
+ */
10
+ export type EndpointObjectHeaders = Record<string, Expression[]>;
11
+ /**
12
+ * @public
13
+ */
14
+ export type EndpointObject = {
15
+ url: Expression;
16
+ properties?: EndpointObjectProperties;
17
+ headers?: EndpointObjectHeaders;
18
+ };
19
+ /**
20
+ * @public
21
+ */
22
+ export type EndpointRuleObject = {
23
+ type: "endpoint";
24
+ conditions?: ConditionObject[];
25
+ endpoint: EndpointObject;
26
+ documentation?: string;
27
+ };
@@ -0,0 +1,10 @@
1
+ import { ConditionObject, Expression } from "./shared";
2
+ /**
3
+ * @public
4
+ */
5
+ export type ErrorRuleObject = {
6
+ type: "error";
7
+ conditions?: ConditionObject[];
8
+ error: Expression;
9
+ documentation?: string;
10
+ };
@@ -0,0 +1,28 @@
1
+ import { RuleSetRules } from "./TreeRuleObject";
2
+ /**
3
+ * @public
4
+ */
5
+ export type DeprecatedObject = {
6
+ message?: string;
7
+ since?: string;
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ParameterObject = {
13
+ type: "String" | "string" | "Boolean" | "boolean";
14
+ default?: string | boolean;
15
+ required?: boolean;
16
+ documentation?: string;
17
+ builtIn?: string;
18
+ deprecated?: DeprecatedObject;
19
+ };
20
+ /**
21
+ * @public
22
+ */
23
+ export type RuleSetObject = {
24
+ version: string;
25
+ serviceId?: string;
26
+ parameters: Record<string, ParameterObject>;
27
+ rules: RuleSetRules;
28
+ };
@@ -0,0 +1,16 @@
1
+ import { EndpointRuleObject } from "./EndpointRuleObject";
2
+ import { ErrorRuleObject } from "./ErrorRuleObject";
3
+ import { ConditionObject } from "./shared";
4
+ /**
5
+ * @public
6
+ */
7
+ export type RuleSetRules = Array<EndpointRuleObject | ErrorRuleObject | TreeRuleObject>;
8
+ /**
9
+ * @public
10
+ */
11
+ export type TreeRuleObject = {
12
+ type: "tree";
13
+ conditions?: ConditionObject[];
14
+ rules: RuleSetRules;
15
+ documentation?: string;
16
+ };
@@ -0,0 +1,5 @@
1
+ export * from "./EndpointRuleObject";
2
+ export * from "./ErrorRuleObject";
3
+ export * from "./RuleSetObject";
4
+ export * from "./shared";
5
+ export * from "./TreeRuleObject";
@@ -0,0 +1,55 @@
1
+ import { Logger } from "../logger";
2
+ /**
3
+ * @public
4
+ */
5
+ export type ReferenceObject = {
6
+ ref: string;
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type FunctionObject = {
12
+ fn: string;
13
+ argv: FunctionArgv;
14
+ };
15
+ /**
16
+ * @public
17
+ */
18
+ export type FunctionArgv = Array<Expression | boolean | number>;
19
+ /**
20
+ * @public
21
+ */
22
+ export type FunctionReturn = string | boolean | number | {
23
+ [key: string]: FunctionReturn;
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type ConditionObject = FunctionObject & {
29
+ assign?: string;
30
+ };
31
+ /**
32
+ * @public
33
+ */
34
+ export type Expression = string | ReferenceObject | FunctionObject;
35
+ /**
36
+ * @public
37
+ */
38
+ export type EndpointParams = Record<string, string | boolean>;
39
+ /**
40
+ * @public
41
+ */
42
+ export type EndpointResolverOptions = {
43
+ endpointParams: EndpointParams;
44
+ logger?: Logger;
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type ReferenceRecord = Record<string, FunctionReturn>;
50
+ /**
51
+ * @public
52
+ */
53
+ export type EvaluateOptions = EndpointResolverOptions & {
54
+ referenceRecord: ReferenceRecord;
55
+ };
@@ -0,0 +1,137 @@
1
+ import { HttpRequest } from "./http";
2
+ import { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, HandlerExecutionContext } from "./middleware";
3
+ import { MetadataBearer } from "./response";
4
+ /**
5
+ * @public
6
+ *
7
+ * An event stream message. The headers and body properties will always be
8
+ * defined, with empty headers represented as an object with no keys and an
9
+ * empty body represented as a zero-length Uint8Array.
10
+ */
11
+ export interface Message {
12
+ headers: MessageHeaders;
13
+ body: Uint8Array;
14
+ }
15
+ /**
16
+ * @public
17
+ */
18
+ export type MessageHeaders = Record<string, MessageHeaderValue>;
19
+ /**
20
+ * @public
21
+ */
22
+ export type HeaderValue<K extends string, V> = {
23
+ type: K;
24
+ value: V;
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type BooleanHeaderValue = HeaderValue<"boolean", boolean>;
30
+ /**
31
+ * @public
32
+ */
33
+ export type ByteHeaderValue = HeaderValue<"byte", number>;
34
+ /**
35
+ * @public
36
+ */
37
+ export type ShortHeaderValue = HeaderValue<"short", number>;
38
+ /**
39
+ * @public
40
+ */
41
+ export type IntegerHeaderValue = HeaderValue<"integer", number>;
42
+ /**
43
+ * @public
44
+ */
45
+ export type LongHeaderValue = HeaderValue<"long", Int64>;
46
+ /**
47
+ * @public
48
+ */
49
+ export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>;
50
+ /**
51
+ * @public
52
+ */
53
+ export type StringHeaderValue = HeaderValue<"string", string>;
54
+ /**
55
+ * @public
56
+ */
57
+ export type TimestampHeaderValue = HeaderValue<"timestamp", Date>;
58
+ /**
59
+ * @public
60
+ */
61
+ export type UuidHeaderValue = HeaderValue<"uuid", string>;
62
+ /**
63
+ * @public
64
+ */
65
+ export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue;
66
+ /**
67
+ * @public
68
+ */
69
+ export interface Int64 {
70
+ readonly bytes: Uint8Array;
71
+ valueOf: () => number;
72
+ toString: () => string;
73
+ }
74
+ /**
75
+ * @public
76
+ *
77
+ * Util functions for serializing or deserializing event stream
78
+ */
79
+ export interface EventStreamSerdeContext {
80
+ eventStreamMarshaller: EventStreamMarshaller;
81
+ }
82
+ /**
83
+ * @public
84
+ *
85
+ * A function which deserializes binary event stream message into modeled shape.
86
+ */
87
+ export interface EventStreamMarshallerDeserFn<StreamType> {
88
+ <T>(body: StreamType, deserializer: (input: Record<string, Message>) => Promise<T>): AsyncIterable<T>;
89
+ }
90
+ /**
91
+ * @public
92
+ *
93
+ * A function that serializes modeled shape into binary stream message.
94
+ */
95
+ export interface EventStreamMarshallerSerFn<StreamType> {
96
+ <T>(input: AsyncIterable<T>, serializer: (event: T) => Message): StreamType;
97
+ }
98
+ /**
99
+ * @public
100
+ *
101
+ * An interface which provides functions for serializing and deserializing binary event stream
102
+ * to/from corresponsing modeled shape.
103
+ */
104
+ export interface EventStreamMarshaller<StreamType = any> {
105
+ deserialize: EventStreamMarshallerDeserFn<StreamType>;
106
+ serialize: EventStreamMarshallerSerFn<StreamType>;
107
+ }
108
+ /**
109
+ * @public
110
+ */
111
+ export interface EventStreamRequestSigner {
112
+ sign(request: HttpRequest): Promise<HttpRequest>;
113
+ }
114
+ /**
115
+ * @public
116
+ */
117
+ export interface EventStreamPayloadHandler {
118
+ handle: <Input extends object, Output extends MetadataBearer>(next: FinalizeHandler<Input, Output>, args: FinalizeHandlerArguments<Input>, context?: HandlerExecutionContext) => Promise<FinalizeHandlerOutput<Output>>;
119
+ }
120
+ /**
121
+ * @public
122
+ */
123
+ export interface EventStreamPayloadHandlerProvider {
124
+ (options: any): EventStreamPayloadHandler;
125
+ }
126
+ /**
127
+ * @public
128
+ */
129
+ export interface EventStreamSerdeProvider {
130
+ (options: any): EventStreamMarshaller;
131
+ }
132
+ /**
133
+ * @public
134
+ */
135
+ export interface EventStreamSignerProvider {
136
+ (options: any): EventStreamRequestSigner;
137
+ }
@@ -0,0 +1,58 @@
1
+ import { ChecksumConstructor } from "../checksum";
2
+ import { HashConstructor } from "../crypto";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare enum AlgorithmId {
7
+ MD5 = "md5",
8
+ CRC32 = "crc32",
9
+ CRC32C = "crc32c",
10
+ SHA1 = "sha1",
11
+ SHA256 = "sha256"
12
+ }
13
+ /**
14
+ * @internal
15
+ */
16
+ export interface ChecksumAlgorithm {
17
+ algorithmId(): AlgorithmId;
18
+ checksumConstructor(): ChecksumConstructor | HashConstructor;
19
+ }
20
+ /**
21
+ * @deprecated unused.
22
+ * @internal
23
+ */
24
+ type ChecksumConfigurationLegacy = {
25
+ [other in string | number]: any;
26
+ };
27
+ /**
28
+ * @internal
29
+ */
30
+ export interface ChecksumConfiguration extends ChecksumConfigurationLegacy {
31
+ addChecksumAlgorithm(algo: ChecksumAlgorithm): void;
32
+ checksumAlgorithms(): ChecksumAlgorithm[];
33
+ }
34
+ /**
35
+ * @deprecated will be removed for implicit type.
36
+ * @internal
37
+ */
38
+ type GetChecksumConfigurationType = (runtimeConfig: Partial<{
39
+ sha256: ChecksumConstructor | HashConstructor;
40
+ md5: ChecksumConstructor | HashConstructor;
41
+ }>) => ChecksumConfiguration;
42
+ /**
43
+ * @internal
44
+ * @deprecated will be moved to smithy-client.
45
+ */
46
+ export declare const getChecksumConfiguration: GetChecksumConfigurationType;
47
+ /**
48
+ * @internal
49
+ * @deprecated will be removed for implicit type.
50
+ */
51
+ type ResolveChecksumRuntimeConfigType = (clientConfig: ChecksumConfiguration) => any;
52
+ /**
53
+ * @internal
54
+ *
55
+ * @deprecated will be moved to smithy-client.
56
+ */
57
+ export declare const resolveChecksumRuntimeConfig: ResolveChecksumRuntimeConfigType;
58
+ export {};
@@ -0,0 +1,33 @@
1
+ import { ChecksumConfiguration } from "./checksum";
2
+ /**
3
+ * @deprecated will be replaced by DefaultExtensionConfiguration.
4
+ * @internal
5
+ *
6
+ * Default client configuration consisting various configurations for modifying a service client
7
+ */
8
+ export interface DefaultClientConfiguration extends ChecksumConfiguration {
9
+ }
10
+ /**
11
+ * @deprecated will be removed for implicit type.
12
+ */
13
+ type GetDefaultConfigurationType = (runtimeConfig: any) => DefaultClientConfiguration;
14
+ /**
15
+ * @deprecated moving to @smithy/smithy-client.
16
+ * @internal
17
+ *
18
+ * Helper function to resolve default client configuration from runtime config
19
+ *
20
+ */
21
+ export declare const getDefaultClientConfiguration: GetDefaultConfigurationType;
22
+ /**
23
+ * @deprecated will be removed for implicit type.
24
+ */
25
+ type ResolveDefaultRuntimeConfigType = (clientConfig: DefaultClientConfiguration) => any;
26
+ /**
27
+ * @deprecated moving to @smithy/smithy-client.
28
+ * @internal
29
+ *
30
+ * Helper function to resolve runtime config from default client configuration
31
+ */
32
+ export declare const resolveDefaultRuntimeConfig: ResolveDefaultRuntimeConfigType;
33
+ export {};
@@ -0,0 +1,9 @@
1
+ import { ChecksumConfiguration } from "./checksum";
2
+ import { RetryStrategyConfiguration } from "./retry";
3
+ /**
4
+ * @internal
5
+ *
6
+ * Default extension configuration consisting various configurations for modifying a service client
7
+ */
8
+ export interface DefaultExtensionConfiguration extends ChecksumConfiguration, RetryStrategyConfiguration {
9
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./defaultClientConfiguration";
2
+ export * from "./defaultExtensionConfiguration";
3
+ export { AlgorithmId, ChecksumAlgorithm, ChecksumConfiguration } from "./checksum";
4
+ export { RetryStrategyConfiguration } from "./retry";
@@ -0,0 +1,18 @@
1
+ import { RetryStrategyV2 } from "../retry";
2
+ import { Provider, RetryStrategy } from "../util";
3
+ /**
4
+ * A configuration interface with methods called by runtime extension
5
+ * @internal
6
+ */
7
+ export interface RetryStrategyConfiguration {
8
+ /**
9
+ * Set retry strategy used for all http requests
10
+ * @param retryStrategy
11
+ */
12
+ setRetryStrategy(retryStrategy: Provider<RetryStrategyV2 | RetryStrategy>): void;
13
+ /**
14
+ * Get retry strategy used for all http requests
15
+ * @param retryStrategy
16
+ */
17
+ retryStrategy(): Provider<RetryStrategyV2 | RetryStrategy>;
18
+ }
@@ -0,0 +1,35 @@
1
+ import { Exact } from "../transform/exact";
2
+ /**
3
+ * @public
4
+ *
5
+ * A checked type that resolves to Blob if it is defined as more than a stub, otherwise
6
+ * resolves to 'never' so as not to widen the type of unions containing Blob
7
+ * excessively.
8
+ */
9
+ export type BlobOptionalType = BlobDefined extends true ? Blob : Unavailable;
10
+ /**
11
+ * @public
12
+ *
13
+ * A checked type that resolves to ReadableStream if it is defined as more than a stub, otherwise
14
+ * resolves to 'never' so as not to widen the type of unions containing ReadableStream
15
+ * excessively.
16
+ */
17
+ export type ReadableStreamOptionalType = ReadableStreamDefined extends true ? ReadableStream : Unavailable;
18
+ /**
19
+ * @public
20
+ *
21
+ * Indicates a type is unavailable if it resolves to this.
22
+ */
23
+ export type Unavailable = never;
24
+ /**
25
+ * @internal
26
+ *
27
+ * Whether the global types define more than a stub for ReadableStream.
28
+ */
29
+ export type ReadableStreamDefined = Exact<ReadableStream, {}> extends true ? false : true;
30
+ /**
31
+ * @internal
32
+ *
33
+ * Whether the global types define more than a stub for Blob.
34
+ */
35
+ export type BlobDefined = Exact<Blob, {}> extends true ? false : true;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export type SmithyFeatures = Partial<{
5
+ RESOURCE_MODEL: "A";
6
+ WAITER: "B";
7
+ PAGINATOR: "C";
8
+ RETRY_MODE_LEGACY: "D";
9
+ RETRY_MODE_STANDARD: "E";
10
+ RETRY_MODE_ADAPTIVE: "F";
11
+ GZIP_REQUEST_COMPRESSION: "L";
12
+ PROTOCOL_RPC_V2_CBOR: "M";
13
+ ENDPOINT_OVERRIDE: "N";
14
+ SIGV4A_SIGNING: "S";
15
+ CREDENTIALS_CODE: "e";
16
+ }>;
@@ -0,0 +1,121 @@
1
+ import { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
2
+ import { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
3
+ import { HttpRequest as IHttpRequest } from "../http";
4
+ import { Logger } from "../logger";
5
+ /**
6
+ *
7
+ * This type represents an alternate client constructor option for the entry
8
+ * "requestHandler". Instead of providing an instance of a requestHandler, the user
9
+ * may provide the requestHandler's constructor options for either the
10
+ * NodeHttpHandler or FetchHttpHandler.
11
+ *
12
+ * For other RequestHandlers like HTTP2 or WebSocket,
13
+ * constructor parameter passthrough is not currently available.
14
+ *
15
+ * @public
16
+ */
17
+ export type RequestHandlerParams = NodeHttpHandlerOptions | FetchHttpHandlerOptions;
18
+ /**
19
+ * Represents the http options that can be passed to a node http client.
20
+ * @public
21
+ */
22
+ export interface NodeHttpHandlerOptions {
23
+ /**
24
+ * The maximum time in milliseconds that the connection phase of a request
25
+ * may take before the connection attempt is abandoned.
26
+ *
27
+ * Defaults to 0, which disables the timeout.
28
+ */
29
+ connectionTimeout?: number;
30
+ /**
31
+ * The number of milliseconds a request can take before automatically being terminated.
32
+ * Defaults to 0, which disables the timeout.
33
+ */
34
+ requestTimeout?: number;
35
+ /**
36
+ * Delay before the NodeHttpHandler checks for socket exhaustion,
37
+ * and emits a warning if the active sockets and enqueued request count is greater than
38
+ * 2x the maxSockets count.
39
+ *
40
+ * Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set.
41
+ */
42
+ socketAcquisitionWarningTimeout?: number;
43
+ /**
44
+ * This field is deprecated, and requestTimeout should be used instead.
45
+ * The maximum time in milliseconds that a socket may remain idle before it
46
+ * is closed.
47
+ *
48
+ * @deprecated Use {@link requestTimeout}
49
+ */
50
+ socketTimeout?: number;
51
+ /**
52
+ * You can pass http.Agent or its constructor options.
53
+ */
54
+ httpAgent?: hAgent | hAgentOptions;
55
+ /**
56
+ * You can pass https.Agent or its constructor options.
57
+ */
58
+ httpsAgent?: hsAgent | hsAgentOptions;
59
+ /**
60
+ * Optional logger.
61
+ */
62
+ logger?: Logger;
63
+ }
64
+ /**
65
+ * Represents the http options that can be passed to a browser http client.
66
+ * @public
67
+ */
68
+ export interface FetchHttpHandlerOptions {
69
+ /**
70
+ * The number of milliseconds a request can take before being automatically
71
+ * terminated.
72
+ */
73
+ requestTimeout?: number;
74
+ /**
75
+ * Whether to allow the request to outlive the page. Default value is false.
76
+ *
77
+ * There may be limitations to the payload size, number of concurrent requests,
78
+ * request duration etc. when using keepalive in browsers.
79
+ *
80
+ * These may change over time, so look for up to date information about
81
+ * these limitations before enabling keepalive.
82
+ */
83
+ keepAlive?: boolean;
84
+ /**
85
+ * A string indicating whether credentials will be sent with the request always, never, or
86
+ * only when sent to a same-origin URL.
87
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials
88
+ */
89
+ credentials?: "include" | "omit" | "same-origin" | undefined | string;
90
+ /**
91
+ * Cache settings for fetch.
92
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/cache
93
+ */
94
+ cache?: "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
95
+ /**
96
+ * An optional function that produces additional RequestInit
97
+ * parameters for each httpRequest.
98
+ *
99
+ * This is applied last via merging with Object.assign() and overwrites other values
100
+ * set from other sources.
101
+ *
102
+ * @example
103
+ * ```js
104
+ * new Client({
105
+ * requestHandler: {
106
+ * requestInit(httpRequest) {
107
+ * return { cache: "no-store" };
108
+ * }
109
+ * }
110
+ * });
111
+ * ```
112
+ */
113
+ requestInit?: (httpRequest: IHttpRequest) => RequestInit;
114
+ }
115
+ declare global {
116
+ /**
117
+ * interface merging stub.
118
+ */
119
+ interface RequestInit {
120
+ }
121
+ }