@aws/lsp-codewhisperer 0.0.39 → 0.0.40

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 (421) hide show
  1. package/CHANGELOG.md +49 -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 +335 -75
  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/errors.d.ts +2 -1
  329. package/out/language-server/agenticChat/errors.js +11 -1
  330. package/out/language-server/agenticChat/errors.js.map +1 -1
  331. package/out/language-server/agenticChat/tabBarController.d.ts +10 -1
  332. package/out/language-server/agenticChat/tabBarController.js +54 -27
  333. package/out/language-server/agenticChat/tabBarController.js.map +1 -1
  334. package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +8 -9
  335. package/out/language-server/agenticChat/tools/chatDb/chatDb.js +58 -124
  336. package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
  337. package/out/language-server/agenticChat/tools/codeSearch.js +1 -1
  338. package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -1
  339. package/out/language-server/agenticChat/tools/executeBash.d.ts +2 -2
  340. package/out/language-server/agenticChat/tools/executeBash.js +4 -4
  341. package/out/language-server/agenticChat/tools/executeBash.js.map +1 -1
  342. package/out/language-server/agenticChat/tools/fileSearch.js +1 -1
  343. package/out/language-server/agenticChat/tools/fileSearch.js.map +1 -1
  344. package/out/language-server/agenticChat/tools/fsRead.js +1 -1
  345. package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
  346. package/out/language-server/agenticChat/tools/fsWrite.js +1 -1
  347. package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
  348. package/out/language-server/agenticChat/tools/grepSearch.d.ts +74 -0
  349. package/out/language-server/agenticChat/tools/grepSearch.js +254 -0
  350. package/out/language-server/agenticChat/tools/grepSearch.js.map +1 -0
  351. package/out/language-server/agenticChat/tools/listDirectory.js +1 -1
  352. package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -1
  353. package/out/language-server/agenticChat/tools/toolServer.js +2 -1
  354. package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
  355. package/out/language-server/agenticChat/tools/toolShared.d.ts +1 -1
  356. package/out/language-server/agenticChat/tools/toolShared.js +2 -2
  357. package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
  358. package/out/language-server/chat/chatController.d.ts +1 -1
  359. package/out/language-server/chat/chatController.js.map +1 -1
  360. package/out/language-server/chat/chatSessionService.d.ts +13 -0
  361. package/out/language-server/chat/chatSessionService.js +28 -4
  362. package/out/language-server/chat/chatSessionService.js.map +1 -1
  363. package/out/language-server/chat/contexts/triggerContext.js +1 -0
  364. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  365. package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -4
  366. package/out/language-server/chat/telemetry/chatTelemetryController.js +29 -5
  367. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  368. package/out/language-server/inline-completion/codePercentage.js +1 -0
  369. package/out/language-server/inline-completion/codePercentage.js.map +1 -1
  370. package/out/language-server/inline-completion/codeWhispererServer.d.ts +1 -0
  371. package/out/language-server/inline-completion/codeWhispererServer.js +40 -5
  372. package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
  373. package/out/language-server/inline-completion/session/sessionManager.d.ts +2 -0
  374. package/out/language-server/inline-completion/session/sessionManager.js +2 -0
  375. package/out/language-server/inline-completion/session/sessionManager.js.map +1 -1
  376. package/out/language-server/localProjectContext/localProjectContextServer.js +3 -4
  377. package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -1
  378. package/out/language-server/workspaceContext/artifactManager.d.ts +1 -1
  379. package/out/language-server/workspaceContext/artifactManager.js +55 -22
  380. package/out/language-server/workspaceContext/artifactManager.js.map +1 -1
  381. package/out/language-server/workspaceContext/client.d.ts +1 -2
  382. package/out/language-server/workspaceContext/client.js +8 -16
  383. package/out/language-server/workspaceContext/client.js.map +1 -1
  384. package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.d.ts +2 -0
  385. package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js +11 -1
  386. package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js.map +1 -1
  387. package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.d.ts +17 -0
  388. package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js +75 -0
  389. package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js.map +1 -0
  390. package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js +9 -9
  391. package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js.map +1 -1
  392. package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js +9 -9
  393. package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js.map +1 -1
  394. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.d.ts +7 -5
  395. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js +21 -15
  396. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js.map +1 -1
  397. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.d.ts +1 -1
  398. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js +4 -4
  399. package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js.map +1 -1
  400. package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js +38 -29
  401. package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js.map +1 -1
  402. package/out/language-server/workspaceContext/javaManager.js +1 -1
  403. package/out/language-server/workspaceContext/javaManager.js.map +1 -1
  404. package/out/language-server/workspaceContext/util.d.ts +1 -0
  405. package/out/language-server/workspaceContext/util.js +12 -6
  406. package/out/language-server/workspaceContext/util.js.map +1 -1
  407. package/out/language-server/workspaceContext/workspaceContextServer.js +63 -82
  408. package/out/language-server/workspaceContext/workspaceContextServer.js.map +1 -1
  409. package/out/language-server/workspaceContext/workspaceFolderManager.d.ts +22 -50
  410. package/out/language-server/workspaceContext/workspaceFolderManager.js +259 -496
  411. package/out/language-server/workspaceContext/workspaceFolderManager.js.map +1 -1
  412. package/out/shared/telemetry/telemetryService.d.ts +10 -1
  413. package/out/shared/telemetry/telemetryService.js +36 -7
  414. package/out/shared/telemetry/telemetryService.js.map +1 -1
  415. package/out/shared/telemetry/types.d.ts +39 -0
  416. package/out/shared/telemetry/types.js +1 -0
  417. package/out/shared/telemetry/types.js.map +1 -1
  418. package/package.json +6 -5
  419. package/out/shared/initializeUtils.d.ts +0 -3
  420. package/out/shared/initializeUtils.js +0 -32
  421. package/out/shared/initializeUtils.js.map +0 -1
@@ -0,0 +1,155 @@
1
+ import { Message } from "./eventStream";
2
+ import { HttpRequest } from "./http";
3
+ /**
4
+ * @public
5
+ *
6
+ * A `Date` object, a unix (epoch) timestamp in seconds, or a string that can be
7
+ * understood by the JavaScript `Date` constructor.
8
+ */
9
+ export type DateInput = number | string | Date;
10
+ /**
11
+ * @public
12
+ */
13
+ export interface SigningArguments {
14
+ /**
15
+ * The date and time to be used as signature metadata. This value should be
16
+ * a Date object, a unix (epoch) timestamp, or a string that can be
17
+ * understood by the JavaScript `Date` constructor.If not supplied, the
18
+ * value returned by `new Date()` will be used.
19
+ */
20
+ signingDate?: DateInput;
21
+ /**
22
+ * The service signing name. It will override the service name of the signer
23
+ * in current invocation
24
+ */
25
+ signingService?: string;
26
+ /**
27
+ * The region name to sign the request. It will override the signing region of the
28
+ * signer in current invocation
29
+ */
30
+ signingRegion?: string;
31
+ }
32
+ /**
33
+ * @public
34
+ */
35
+ export interface RequestSigningArguments extends SigningArguments {
36
+ /**
37
+ * A set of strings whose members represents headers that cannot be signed.
38
+ * All headers in the provided request will have their names converted to
39
+ * lower case and then checked for existence in the unsignableHeaders set.
40
+ */
41
+ unsignableHeaders?: Set<string>;
42
+ /**
43
+ * A set of strings whose members represents headers that should be signed.
44
+ * Any values passed here will override those provided via unsignableHeaders,
45
+ * allowing them to be signed.
46
+ *
47
+ * All headers in the provided request will have their names converted to
48
+ * lower case before signing.
49
+ */
50
+ signableHeaders?: Set<string>;
51
+ }
52
+ /**
53
+ * @public
54
+ */
55
+ export interface RequestPresigningArguments extends RequestSigningArguments {
56
+ /**
57
+ * The number of seconds before the presigned URL expires
58
+ */
59
+ expiresIn?: number;
60
+ /**
61
+ * A set of strings whose representing headers that should not be hoisted
62
+ * to presigned request's query string. If not supplied, the presigner
63
+ * moves all the AWS-specific headers (starting with `x-amz-`) to the request
64
+ * query string. If supplied, these headers remain in the presigned request's
65
+ * header.
66
+ * All headers in the provided request will have their names converted to
67
+ * lower case and then checked for existence in the unhoistableHeaders set.
68
+ */
69
+ unhoistableHeaders?: Set<string>;
70
+ /**
71
+ * This overrides any headers with the same name(s) set by unhoistableHeaders.
72
+ * These headers will be hoisted into the query string and signed.
73
+ */
74
+ hoistableHeaders?: Set<string>;
75
+ }
76
+ /**
77
+ * @public
78
+ */
79
+ export interface EventSigningArguments extends SigningArguments {
80
+ priorSignature: string;
81
+ }
82
+ /**
83
+ * @public
84
+ */
85
+ export interface RequestPresigner {
86
+ /**
87
+ * Signs a request for future use.
88
+ *
89
+ * The request will be valid until either the provided `expiration` time has
90
+ * passed or the underlying credentials have expired.
91
+ *
92
+ * @param requestToSign - The request that should be signed.
93
+ * @param options - Additional signing options.
94
+ */
95
+ presign(requestToSign: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
96
+ }
97
+ /**
98
+ * @public
99
+ *
100
+ * An object that signs request objects with AWS credentials using one of the
101
+ * AWS authentication protocols.
102
+ */
103
+ export interface RequestSigner {
104
+ /**
105
+ * Sign the provided request for immediate dispatch.
106
+ */
107
+ sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise<HttpRequest>;
108
+ }
109
+ /**
110
+ * @public
111
+ */
112
+ export interface StringSigner {
113
+ /**
114
+ * Sign the provided `stringToSign` for use outside of the context of
115
+ * request signing. Typical uses include signed policy generation.
116
+ */
117
+ sign(stringToSign: string, options?: SigningArguments): Promise<string>;
118
+ }
119
+ /**
120
+ * @public
121
+ */
122
+ export interface FormattedEvent {
123
+ headers: Uint8Array;
124
+ payload: Uint8Array;
125
+ }
126
+ /**
127
+ * @public
128
+ */
129
+ export interface EventSigner {
130
+ /**
131
+ * Sign the individual event of the event stream.
132
+ */
133
+ sign(event: FormattedEvent, options: EventSigningArguments): Promise<string>;
134
+ }
135
+ /**
136
+ * @public
137
+ */
138
+ export interface SignableMessage {
139
+ message: Message;
140
+ priorSignature: string;
141
+ }
142
+ /**
143
+ * @public
144
+ */
145
+ export interface SignedMessage {
146
+ message: Message;
147
+ signature: string;
148
+ }
149
+ /**
150
+ * @public
151
+ */
152
+ export interface MessageSigner {
153
+ signMessage(message: SignableMessage, args: SigningArguments): Promise<SignedMessage>;
154
+ sign(event: SignableMessage, options: SigningArguments): Promise<SignedMessage>;
155
+ }
@@ -0,0 +1,22 @@
1
+ import { ChecksumConstructor } from "./checksum";
2
+ import { HashConstructor, StreamHasher } from "./crypto";
3
+ import { BodyLengthCalculator, Encoder } from "./util";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface GetAwsChunkedEncodingStreamOptions {
8
+ base64Encoder?: Encoder;
9
+ bodyLengthChecker: BodyLengthCalculator;
10
+ checksumAlgorithmFn?: ChecksumConstructor | HashConstructor;
11
+ checksumLocationName?: string;
12
+ streamHasher?: StreamHasher;
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * A function that returns Readable Stream which follows aws-chunked encoding stream.
18
+ * It optionally adds checksum if options are provided.
19
+ */
20
+ export interface GetAwsChunkedEncodingStream<StreamType = any> {
21
+ (readableStream: StreamType, options: GetAwsChunkedEncodingStreamOptions): StreamType;
22
+ }
@@ -0,0 +1,32 @@
1
+ import type { Readable } from "stream";
2
+ import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
3
+ /**
4
+ * @public
5
+ *
6
+ * This is the union representing the modeled blob type with streaming trait
7
+ * in a generic format that does not relate to HTTP input or output payloads.
8
+ *
9
+ * Note: the non-streaming blob type is represented by Uint8Array, but because
10
+ * the streaming blob type is always in the request/response paylod, it has
11
+ * historically been handled with different types.
12
+ *
13
+ * @see https://smithy.io/2.0/spec/simple-types.html#blob
14
+ *
15
+ * For compatibility with its historical representation, it must contain at least
16
+ * Readble (Node.js), Blob (browser), and ReadableStream (browser).
17
+ *
18
+ * @see StreamingPayloadInputTypes for FAQ about mixing types from multiple environments.
19
+ */
20
+ export type StreamingBlobTypes = NodeJsRuntimeStreamingBlobTypes | BrowserRuntimeStreamingBlobTypes;
21
+ /**
22
+ * @public
23
+ *
24
+ * Node.js streaming blob type.
25
+ */
26
+ export type NodeJsRuntimeStreamingBlobTypes = Readable;
27
+ /**
28
+ * @public
29
+ *
30
+ * Browser streaming blob types.
31
+ */
32
+ export type BrowserRuntimeStreamingBlobTypes = ReadableStreamOptionalType | BlobOptionalType;
@@ -0,0 +1,60 @@
1
+ import type { Readable } from "stream";
2
+ import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
3
+ /**
4
+ * @public
5
+ *
6
+ * This union represents a superset of the compatible types you
7
+ * can use for streaming payload inputs.
8
+ *
9
+ * FAQ:
10
+ * Why does the type union mix mutually exclusive runtime types, namely
11
+ * Node.js and browser types?
12
+ *
13
+ * There are several reasons:
14
+ * 1. For backwards compatibility.
15
+ * 2. As a convenient compromise solution so that users in either environment may use the types
16
+ * without customization.
17
+ * 3. The SDK does not have static type information about the exact implementation
18
+ * of the HTTP RequestHandler being used in your client(s) (e.g. fetch, XHR, node:http, or node:http2),
19
+ * given that it is chosen at runtime. There are multiple possible request handlers
20
+ * in both the Node.js and browser runtime environments.
21
+ *
22
+ * Rather than restricting the type to a known common format (Uint8Array, for example)
23
+ * which doesn't include a universal streaming format in the currently supported Node.js versions,
24
+ * the type declaration is widened to multiple possible formats.
25
+ * It is up to the user to ultimately select a compatible format with the
26
+ * runtime and HTTP handler implementation they are using.
27
+ *
28
+ * Usage:
29
+ * The typical solution we expect users to have is to manually narrow the
30
+ * type when needed, picking the appropriate one out of the union according to the
31
+ * runtime environment and specific request handler.
32
+ * There is also the type utility "NodeJsClient", "BrowserClient" and more
33
+ * exported from this package. These can be applied at the client level
34
+ * to pre-narrow these streaming payload blobs. For usage see the readme.md
35
+ * in the root of the \@smithy/types NPM package.
36
+ */
37
+ export type StreamingBlobPayloadInputTypes = NodeJsRuntimeStreamingBlobPayloadInputTypes | BrowserRuntimeStreamingBlobPayloadInputTypes;
38
+ /**
39
+ * @public
40
+ *
41
+ * Streaming payload input types in the Node.js environment.
42
+ * These are derived from the types compatible with the request body used by node:http.
43
+ *
44
+ * Note: not all types are signable by the standard SignatureV4 signer when
45
+ * used as the request body. For example, in Node.js a Readable stream
46
+ * is not signable by the default signer.
47
+ * They are included in the union because it may be intended in some cases,
48
+ * but the expected types are primarily string, Uint8Array, and Buffer.
49
+ *
50
+ * Additional details may be found in the internal
51
+ * function "getPayloadHash" in the SignatureV4 module.
52
+ */
53
+ export type NodeJsRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | Buffer | Readable;
54
+ /**
55
+ * @public
56
+ *
57
+ * Streaming payload input types in the browser environment.
58
+ * These are derived from the types compatible with fetch's Request.body.
59
+ */
60
+ export type BrowserRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | ReadableStreamOptionalType | BlobOptionalType;
@@ -0,0 +1,51 @@
1
+ import type { IncomingMessage } from "http";
2
+ import type { Readable } from "stream";
3
+ import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
4
+ import type { SdkStream } from "../serde";
5
+ /**
6
+ * @public
7
+ *
8
+ * This union represents a superset of the types you may receive
9
+ * in streaming payload outputs.
10
+ *
11
+ * @see StreamingPayloadInputTypes for FAQ about mixing types from multiple environments.
12
+ *
13
+ * To highlight the upstream docs about the SdkStream mixin:
14
+ *
15
+ * The interface contains mix-in (via Object.assign) methods to transform the runtime-specific
16
+ * stream implementation to specified format. Each stream can ONLY be transformed
17
+ * once.
18
+ *
19
+ * The available methods are described on the SdkStream type via SdkStreamMixin.
20
+ */
21
+ export type StreamingBlobPayloadOutputTypes = NodeJsRuntimeStreamingBlobPayloadOutputTypes | BrowserRuntimeStreamingBlobPayloadOutputTypes;
22
+ /**
23
+ * @public
24
+ *
25
+ * Streaming payload output types in the Node.js environment.
26
+ *
27
+ * This is by default the IncomingMessage type from node:http responses when
28
+ * using the default node-http-handler in Node.js environments.
29
+ *
30
+ * It can be other Readable types like node:http2's ClientHttp2Stream
31
+ * such as when using the node-http2-handler.
32
+ *
33
+ * The SdkStreamMixin adds methods on this type to help transform (collect) it to
34
+ * other formats.
35
+ */
36
+ export type NodeJsRuntimeStreamingBlobPayloadOutputTypes = SdkStream<IncomingMessage | Readable>;
37
+ /**
38
+ * @public
39
+ *
40
+ * Streaming payload output types in the browser environment.
41
+ *
42
+ * This is by default fetch's Response.body type (ReadableStream) when using
43
+ * the default fetch-http-handler in browser-like environments.
44
+ *
45
+ * It may be a Blob, such as when using the XMLHttpRequest handler
46
+ * and receiving an arraybuffer response body.
47
+ *
48
+ * The SdkStreamMixin adds methods on this type to help transform (collect) it to
49
+ * other formats.
50
+ */
51
+ export type BrowserRuntimeStreamingBlobPayloadOutputTypes = SdkStream<ReadableStreamOptionalType | BlobOptionalType>;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @public
3
+ */
4
+ export type RequestHandlerOutput<ResponseType> = {
5
+ response: ResponseType;
6
+ };
7
+ /**
8
+ * @public
9
+ */
10
+ export interface RequestHandler<RequestType, ResponseType, HandlerOptions = {}> {
11
+ /**
12
+ * metadata contains information of a handler. For example
13
+ * 'h2' refers this handler is for handling HTTP/2 requests,
14
+ * whereas 'h1' refers handling HTTP1 requests
15
+ */
16
+ metadata?: RequestHandlerMetadata;
17
+ destroy?: () => void;
18
+ handle: (request: RequestType, handlerOptions?: HandlerOptions) => Promise<RequestHandlerOutput<ResponseType>>;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface RequestHandlerMetadata {
24
+ handlerProtocol: RequestHandlerProtocol | string;
25
+ }
26
+ /**
27
+ * @public
28
+ * Values from ALPN Protocol IDs.
29
+ * @see https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
30
+ */
31
+ export declare enum RequestHandlerProtocol {
32
+ HTTP_0_9 = "http/0.9",
33
+ HTTP_1_0 = "http/1.0",
34
+ TDS_8_0 = "tds/8.0"
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface RequestContext {
40
+ destination: URL;
41
+ }
@@ -0,0 +1,26 @@
1
+ import type { CommandIO } from "../command";
2
+ import type { MetadataBearer } from "../response";
3
+ import type { StreamingBlobPayloadOutputTypes } from "../streaming-payload/streaming-blob-payload-output-types";
4
+ import type { Transform } from "./type-transform";
5
+ /**
6
+ * @internal
7
+ *
8
+ * Narrowed version of InvokeFunction used in Client::send.
9
+ */
10
+ export interface NarrowedInvokeFunction<NarrowType, HttpHandlerOptions, InputTypes extends object, OutputTypes extends MetadataBearer> {
11
+ <InputType extends InputTypes, OutputType extends OutputTypes>(command: CommandIO<InputType, OutputType>, options?: HttpHandlerOptions): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>>;
12
+ <InputType extends InputTypes, OutputType extends OutputTypes>(command: CommandIO<InputType, OutputType>, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
13
+ <InputType extends InputTypes, OutputType extends OutputTypes>(command: CommandIO<InputType, OutputType>, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
14
+ <InputType extends InputTypes, OutputType extends OutputTypes>(command: CommandIO<InputType, OutputType>, options?: HttpHandlerOptions, cb?: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>> | void;
15
+ }
16
+ /**
17
+ * @internal
18
+ *
19
+ * Narrowed version of InvokeMethod used in aggregated Client methods.
20
+ */
21
+ export interface NarrowedInvokeMethod<NarrowType, HttpHandlerOptions, InputType extends object, OutputType extends MetadataBearer> {
22
+ (input: InputType, options?: HttpHandlerOptions): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>>;
23
+ (input: InputType, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
24
+ (input: InputType, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
25
+ (input: InputType, options?: HttpHandlerOptions, cb?: (err: unknown, data?: OutputType) => void): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>> | void;
26
+ }
@@ -0,0 +1,77 @@
1
+ import type { IncomingMessage } from "http";
2
+ import type { ClientHttp2Stream } from "http2";
3
+ import type { InvokeMethod } from "../client";
4
+ import type { GetOutputType } from "../command";
5
+ import type { HttpHandlerOptions } from "../http";
6
+ import type { SdkStream } from "../serde";
7
+ import type { BrowserRuntimeStreamingBlobPayloadInputTypes, NodeJsRuntimeStreamingBlobPayloadInputTypes, StreamingBlobPayloadInputTypes } from "../streaming-payload/streaming-blob-payload-input-types";
8
+ import type { StreamingBlobPayloadOutputTypes } from "../streaming-payload/streaming-blob-payload-output-types";
9
+ import type { NarrowedInvokeMethod } from "./client-method-transforms";
10
+ import type { Transform } from "./type-transform";
11
+ /**
12
+ * @public
13
+ *
14
+ * Creates a type with a given client type that narrows payload blob output
15
+ * types to SdkStream<IncomingMessage>.
16
+ *
17
+ * This can be used for clients with the NodeHttpHandler requestHandler,
18
+ * the default in Node.js when not using HTTP2.
19
+ *
20
+ * Usage example:
21
+ * ```typescript
22
+ * const client = new YourClient({}) as NodeJsClient<YourClient>;
23
+ * ```
24
+ */
25
+ export type NodeJsClient<ClientType extends object> = NarrowPayloadBlobTypes<NodeJsRuntimeStreamingBlobPayloadInputTypes, SdkStream<IncomingMessage>, ClientType>;
26
+ /**
27
+ * @public
28
+ * Variant of NodeJsClient for node:http2.
29
+ */
30
+ export type NodeJsHttp2Client<ClientType extends object> = NarrowPayloadBlobTypes<NodeJsRuntimeStreamingBlobPayloadInputTypes, SdkStream<ClientHttp2Stream>, ClientType>;
31
+ /**
32
+ * @public
33
+ *
34
+ * Creates a type with a given client type that narrows payload blob output
35
+ * types to SdkStream<ReadableStream>.
36
+ *
37
+ * This can be used for clients with the FetchHttpHandler requestHandler,
38
+ * which is the default in browser environments.
39
+ *
40
+ * Usage example:
41
+ * ```typescript
42
+ * const client = new YourClient({}) as BrowserClient<YourClient>;
43
+ * ```
44
+ */
45
+ export type BrowserClient<ClientType extends object> = NarrowPayloadBlobTypes<BrowserRuntimeStreamingBlobPayloadInputTypes, SdkStream<ReadableStream>, ClientType>;
46
+ /**
47
+ * @public
48
+ *
49
+ * Variant of BrowserClient for XMLHttpRequest.
50
+ */
51
+ export type BrowserXhrClient<ClientType extends object> = NarrowPayloadBlobTypes<BrowserRuntimeStreamingBlobPayloadInputTypes, SdkStream<ReadableStream | Blob>, ClientType>;
52
+ /**
53
+ * @public
54
+ *
55
+ * @deprecated use NarrowPayloadBlobTypes<I, O, ClientType>.
56
+ *
57
+ * Narrow a given Client's blob payload outputs to the given type T.
58
+ */
59
+ export type NarrowPayloadBlobOutputType<T, ClientType extends object> = {
60
+ [key in keyof ClientType]: [ClientType[key]] extends [
61
+ InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>
62
+ ] ? NarrowedInvokeMethod<T, HttpHandlerOptions, FunctionInputTypes, FunctionOutputTypes> : ClientType[key];
63
+ } & {
64
+ send<Command>(command: Command, options?: any): Promise<Transform<GetOutputType<Command>, StreamingBlobPayloadOutputTypes | undefined, T>>;
65
+ };
66
+ /**
67
+ * @public
68
+ *
69
+ * Narrow a Client's blob payload input and output types to I and O.
70
+ */
71
+ export type NarrowPayloadBlobTypes<I, O, ClientType extends object> = {
72
+ [key in keyof ClientType]: [ClientType[key]] extends [
73
+ InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>
74
+ ] ? NarrowedInvokeMethod<O, HttpHandlerOptions, Transform<FunctionInputTypes, StreamingBlobPayloadInputTypes | undefined, I>, FunctionOutputTypes> : ClientType[key];
75
+ } & {
76
+ send<Command>(command: Command, options?: any): Promise<Transform<GetOutputType<Command>, StreamingBlobPayloadOutputTypes | undefined, O>>;
77
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @internal
3
+ *
4
+ * Checks that A and B extend each other.
5
+ */
6
+ export type Exact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : false) : false;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export type Mutable<Type> = {
5
+ -readonly [Property in keyof Type]: Type[Property];
6
+ };
@@ -0,0 +1,68 @@
1
+ import type { InvokeMethod, InvokeMethodOptionalArgs } from "../client";
2
+ import type { GetOutputType } from "../command";
3
+ import type { DocumentType } from "../shapes";
4
+ /**
5
+ * @public
6
+ *
7
+ * This type is intended as a type helper for generated clients.
8
+ * When initializing client, cast it to this type by passing
9
+ * the client constructor type as the type parameter.
10
+ *
11
+ * It will then recursively remove "undefined" as a union type from all
12
+ * input and output shapes' members. Note, this does not affect
13
+ * any member that is optional (?) such as outputs with no required members.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const client = new Client({}) as AssertiveClient<Client>;
18
+ * ```
19
+ */
20
+ export type AssertiveClient<Client extends object> = NarrowClientIOTypes<Client>;
21
+ /**
22
+ * @public
23
+ *
24
+ * This is similar to AssertiveClient but additionally changes all
25
+ * output types to (recursive) Required<T> so as to bypass all output nullability guards.
26
+ */
27
+ export type UncheckedClient<Client extends object> = UncheckedClientOutputTypes<Client>;
28
+ /**
29
+ * @internal
30
+ *
31
+ * Excludes undefined recursively.
32
+ */
33
+ export type NoUndefined<T> = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? {
34
+ [key in keyof T]: NoUndefined<T[key]>;
35
+ } : Exclude<T, undefined>;
36
+ /**
37
+ * @internal
38
+ *
39
+ * Excludes undefined and optional recursively.
40
+ */
41
+ export type RecursiveRequired<T> = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? {
42
+ [key in keyof T]-?: RecursiveRequired<T[key]>;
43
+ } : Exclude<T, undefined>;
44
+ /**
45
+ * @internal
46
+ *
47
+ * Removes undefined from unions.
48
+ */
49
+ type NarrowClientIOTypes<ClientType extends object> = {
50
+ [key in keyof ClientType]: [ClientType[key]] extends [
51
+ InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
52
+ ] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : ClientType[key];
53
+ } & {
54
+ send<Command>(command: Command, options?: any): Promise<NoUndefined<GetOutputType<Command>>>;
55
+ };
56
+ /**
57
+ * @internal
58
+ *
59
+ * Removes undefined from unions and adds yolo output types.
60
+ */
61
+ type UncheckedClientOutputTypes<ClientType extends object> = {
62
+ [key in keyof ClientType]: [ClientType[key]] extends [
63
+ InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
64
+ ] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : ClientType[key];
65
+ } & {
66
+ send<Command>(command: Command, options?: any): Promise<RecursiveRequired<NoUndefined<GetOutputType<Command>>>>;
67
+ };
68
+ export {};
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @public
3
+ *
4
+ * Transforms any members of the object T having type FromType
5
+ * to ToType. This applies only to exact type matches.
6
+ *
7
+ * This is for the case where FromType is a union and only those fields
8
+ * matching the same union should be transformed.
9
+ */
10
+ export type Transform<T, FromType, ToType> = ConditionalRecursiveTransformExact<T, FromType, ToType>;
11
+ /**
12
+ * @internal
13
+ *
14
+ * Returns ToType if T matches exactly with FromType.
15
+ */
16
+ type TransformExact<T, FromType, ToType> = [T] extends [FromType] ? ([FromType] extends [T] ? ToType : T) : T;
17
+ /**
18
+ * @internal
19
+ *
20
+ * Applies TransformExact to members of an object recursively.
21
+ */
22
+ type RecursiveTransformExact<T, FromType, ToType> = T extends Function ? T : T extends object ? {
23
+ [key in keyof T]: [T[key]] extends [FromType] ? [FromType] extends [T[key]] ? ToType : ConditionalRecursiveTransformExact<T[key], FromType, ToType> : ConditionalRecursiveTransformExact<T[key], FromType, ToType>;
24
+ } : TransformExact<T, FromType, ToType>;
25
+ /**
26
+ * @internal
27
+ *
28
+ * Same as RecursiveTransformExact but does not assign to an object
29
+ * unless there is a matching transformed member.
30
+ */
31
+ type ConditionalRecursiveTransformExact<T, FromType, ToType> = [T] extends [
32
+ RecursiveTransformExact<T, FromType, ToType>
33
+ ] ? [RecursiveTransformExact<T, FromType, ToType>] extends [T] ? T : RecursiveTransformExact<T, FromType, ToType> : RecursiveTransformExact<T, FromType, ToType>;
34
+ export {};
@@ -0,0 +1,7 @@
1
+ import { AbortSignal as DeprecatedAbortSignal } from "./abort";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface AbortHandler {
6
+ (this: AbortSignal | DeprecatedAbortSignal, ev: any): any;
7
+ }
@@ -0,0 +1,50 @@
1
+ import { AbortHandler } from "./abort-handler";
2
+ /**
3
+ * @public
4
+ */
5
+ export { AbortHandler };
6
+ /**
7
+ * @public
8
+ * @deprecated use platform (global) type for AbortSignal.
9
+ *
10
+ * Holders of an AbortSignal object may query if the associated operation has
11
+ * been aborted and register an onabort handler.
12
+ *
13
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
14
+ */
15
+ export interface AbortSignal {
16
+ /**
17
+ * Whether the action represented by this signal has been cancelled.
18
+ */
19
+ readonly aborted: boolean;
20
+ /**
21
+ * A function to be invoked when the action represented by this signal has
22
+ * been cancelled.
23
+ */
24
+ onabort: AbortHandler | Function | null;
25
+ }
26
+ /**
27
+ * @public
28
+ * @deprecated use platform (global) type for AbortController.
29
+ *
30
+ * The AWS SDK uses a Controller/Signal model to allow for cooperative
31
+ * cancellation of asynchronous operations. When initiating such an operation,
32
+ * the caller can create an AbortController and then provide linked signal to
33
+ * subtasks. This allows a single source to communicate to multiple consumers
34
+ * that an action has been aborted without dictating how that cancellation
35
+ * should be handled.
36
+ *
37
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortController
38
+ */
39
+ export interface AbortController {
40
+ /**
41
+ * An object that reports whether the action associated with this
42
+ * `AbortController` has been cancelled.
43
+ */
44
+ readonly signal: AbortSignal;
45
+ /**
46
+ * Declares the operation associated with this AbortController to have been
47
+ * cancelled.
48
+ */
49
+ abort(): void;
50
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare enum HttpApiKeyAuthLocation {
5
+ HEADER = "header",
6
+ QUERY = "query"
7
+ }