@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,133 @@
1
+ import { SdkError } from "./shapes";
2
+ /**
3
+ * @public
4
+ */
5
+ export type RetryErrorType =
6
+ /**
7
+ * This is a connection level error such as a socket timeout, socket connect
8
+ * error, tls negotiation timeout etc...
9
+ * Typically these should never be applied for non-idempotent request types
10
+ * since in this scenario, it's impossible to know whether the operation had
11
+ * a side effect on the server.
12
+ */
13
+ "TRANSIENT"
14
+ /**
15
+ * This is an error where the server explicitly told the client to back off,
16
+ * such as a 429 or 503 Http error.
17
+ */
18
+ | "THROTTLING"
19
+ /**
20
+ * This is a server error that isn't explicitly throttling but is considered
21
+ * by the client to be something that should be retried.
22
+ */
23
+ | "SERVER_ERROR"
24
+ /**
25
+ * Doesn't count against any budgets. This could be something like a 401
26
+ * challenge in Http.
27
+ */
28
+ | "CLIENT_ERROR";
29
+ /**
30
+ * @public
31
+ */
32
+ export interface RetryErrorInfo {
33
+ /**
34
+ * The error thrown during the initial request, if available.
35
+ */
36
+ error?: SdkError;
37
+ errorType: RetryErrorType;
38
+ /**
39
+ * Protocol hint. This could come from Http's 'retry-after' header or
40
+ * something from MQTT or any other protocol that has the ability to convey
41
+ * retry info from a peer.
42
+ *
43
+ * The Date after which a retry should be attempted.
44
+ */
45
+ retryAfterHint?: Date;
46
+ }
47
+ /**
48
+ * @public
49
+ */
50
+ export interface RetryBackoffStrategy {
51
+ /**
52
+ * @returns the number of milliseconds to wait before retrying an action.
53
+ */
54
+ computeNextBackoffDelay(retryAttempt: number): number;
55
+ }
56
+ /**
57
+ * @public
58
+ */
59
+ export interface StandardRetryBackoffStrategy extends RetryBackoffStrategy {
60
+ /**
61
+ * Sets the delayBase used to compute backoff delays.
62
+ * @param delayBase -
63
+ */
64
+ setDelayBase(delayBase: number): void;
65
+ }
66
+ /**
67
+ * @public
68
+ */
69
+ export interface RetryStrategyOptions {
70
+ backoffStrategy: RetryBackoffStrategy;
71
+ maxRetriesBase: number;
72
+ }
73
+ /**
74
+ * @public
75
+ */
76
+ export interface RetryToken {
77
+ /**
78
+ * @returns the current count of retry.
79
+ */
80
+ getRetryCount(): number;
81
+ /**
82
+ * @returns the number of milliseconds to wait before retrying an action.
83
+ */
84
+ getRetryDelay(): number;
85
+ }
86
+ /**
87
+ * @public
88
+ */
89
+ export interface StandardRetryToken extends RetryToken {
90
+ /**
91
+ * @returns the cost of the last retry attempt.
92
+ */
93
+ getRetryCost(): number | undefined;
94
+ }
95
+ /**
96
+ * @public
97
+ */
98
+ export interface RetryStrategyV2 {
99
+ /**
100
+ * Called before any retries (for the first call to the operation). It either
101
+ * returns a retry token or an error upon the failure to acquire a token prior.
102
+ *
103
+ * tokenScope is arbitrary and out of scope for this component. However,
104
+ * adding it here offers us a lot of future flexibility for outage detection.
105
+ * For example, it could be "us-east-1" on a shared retry strategy, or
106
+ * "us-west-2-c:dynamodb".
107
+ */
108
+ acquireInitialRetryToken(retryTokenScope: string): Promise<RetryToken>;
109
+ /**
110
+ * After a failed operation call, this function is invoked to refresh the
111
+ * retryToken returned by acquireInitialRetryToken(). This function can
112
+ * either choose to allow another retry and send a new or updated token,
113
+ * or reject the retry attempt and report the error either in an exception
114
+ * or returning an error.
115
+ */
116
+ refreshRetryTokenForRetry(tokenToRenew: RetryToken, errorInfo: RetryErrorInfo): Promise<RetryToken>;
117
+ /**
118
+ * Upon successful completion of the operation, this function is called
119
+ * to record that the operation was successful.
120
+ */
121
+ recordSuccess(token: RetryToken): void;
122
+ }
123
+ /**
124
+ * @public
125
+ */
126
+ export type ExponentialBackoffJitterType = "DEFAULT" | "NONE" | "FULL" | "DECORRELATED";
127
+ /**
128
+ * @public
129
+ */
130
+ export interface ExponentialBackoffStrategyOptions {
131
+ jitterType: ExponentialBackoffJitterType;
132
+ backoffScaleValue?: number;
133
+ }
@@ -0,0 +1,263 @@
1
+ import type { EndpointV2 } from "../endpoint";
2
+ import type { HandlerExecutionContext } from "../middleware";
3
+ import type { MetadataBearer } from "../response";
4
+ import type { EndpointBearer, SerdeFunctions } from "../serde";
5
+ import type { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "./sentinels";
6
+ import type { TraitBitVector } from "./traits";
7
+ /**
8
+ * A schema is an object or value that describes how to serialize/deserialize data.
9
+ * @public
10
+ */
11
+ export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | NormalizedSchema;
12
+ /**
13
+ * Traits attached to schema objects.
14
+ *
15
+ * When this is a number, it refers to a pre-allocated
16
+ * trait combination that is equivalent to one of the
17
+ * object type's variations.
18
+ *
19
+ * @public
20
+ */
21
+ export type SchemaTraits = TraitBitVector | SchemaTraitsObject;
22
+ /**
23
+ * A schema that has traits.
24
+ *
25
+ * @public
26
+ */
27
+ export interface TraitsSchema {
28
+ name: string;
29
+ traits: SchemaTraits;
30
+ }
31
+ /**
32
+ * Simple schemas are those corresponding to simple Smithy types.
33
+ * @see https://smithy.io/2.0/spec/simple-types.html
34
+ * @public
35
+ */
36
+ export type SimpleSchema = BlobSchemas | StringSchema | BooleanSchema | NumericSchema | BigIntegerSchema | BigDecimalSchema | DocumentSchema | TimestampSchemas | number;
37
+ /**
38
+ * Sentinel value for Timestamp schema.
39
+ * "Default" means unspecified and to use the protocol serializer's default format.
40
+ *
41
+ * @public
42
+ */
43
+ export type TimestampSchemas = TimestampDefaultSchema | TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema;
44
+ /**
45
+ * Sentinel values for Blob schema.
46
+ * @public
47
+ */
48
+ export type BlobSchemas = BlobSchema | StreamingBlobSchema;
49
+ /**
50
+ * Signal value for the Smithy void value. Typically used for
51
+ * operation input and outputs.
52
+ *
53
+ * @internal
54
+ */
55
+ export type UnitSchema = "unit";
56
+ /**
57
+ * See https://smithy.io/2.0/trait-index.html for individual definitions.
58
+ *
59
+ * @public
60
+ */
61
+ export type SchemaTraitsObject = {
62
+ idempotent?: 1;
63
+ idempotencyToken?: 1;
64
+ sensitive?: 1;
65
+ sparse?: 1;
66
+ /**
67
+ * timestampFormat is expressed by the schema sentinel values of 4, 5, 6, and 7,
68
+ * and not contained in trait objects.
69
+ * @deprecated use schema value.
70
+ */
71
+ timestampFormat?: never;
72
+ httpLabel?: 1;
73
+ httpHeader?: string;
74
+ httpQuery?: string;
75
+ httpPrefixHeaders?: string;
76
+ httpQueryParams?: 1;
77
+ httpPayload?: 1;
78
+ /**
79
+ * [method, path, statusCode]
80
+ */
81
+ http?: [string, string, number];
82
+ httpResponseCode?: 1;
83
+ /**
84
+ * [hostPrefix]
85
+ */
86
+ endpoint?: [string];
87
+ xmlAttribute?: 1;
88
+ xmlName?: string;
89
+ /**
90
+ * [prefix, uri]
91
+ */
92
+ xmlNamespace?: [string, string];
93
+ xmlFlattened?: 1;
94
+ jsonName?: string;
95
+ mediaType?: string;
96
+ error?: "client" | "server";
97
+ [traitName: string]: unknown;
98
+ };
99
+ /**
100
+ * Schema for the structure aggregate type.
101
+ * @public
102
+ */
103
+ export interface StructureSchema extends TraitsSchema {
104
+ name: string;
105
+ traits: SchemaTraits;
106
+ members: Record<string, [SchemaRef, SchemaTraits]>;
107
+ }
108
+ /**
109
+ * Schema for the list aggregate type.
110
+ * @public
111
+ */
112
+ export interface ListSchema extends TraitsSchema {
113
+ name: string;
114
+ traits: SchemaTraits;
115
+ valueSchema: SchemaRef;
116
+ }
117
+ /**
118
+ * Schema for the map aggregate type.
119
+ * @public
120
+ */
121
+ export interface MapSchema extends TraitsSchema {
122
+ name: string;
123
+ traits: SchemaTraits;
124
+ keySchema: SchemaRef;
125
+ valueSchema: SchemaRef;
126
+ }
127
+ /**
128
+ * @public
129
+ */
130
+ export type MemberSchema = [SchemaRef, SchemaTraits];
131
+ /**
132
+ * Schema for an operation.
133
+ *
134
+ * @public
135
+ */
136
+ export interface OperationSchema extends TraitsSchema {
137
+ name: string;
138
+ traits: SchemaTraits;
139
+ input: SchemaRef;
140
+ output: SchemaRef;
141
+ }
142
+ /**
143
+ * Normalization wrapper for various schema data objects.
144
+ * @internal
145
+ */
146
+ export interface NormalizedSchema extends TraitsSchema {
147
+ name: string;
148
+ traits: SchemaTraits;
149
+ getSchema(): Schema;
150
+ getName(): string | undefined;
151
+ isMemberSchema(): boolean;
152
+ isListSchema(): boolean;
153
+ isMapSchema(): boolean;
154
+ isStructSchema(): boolean;
155
+ isBlobSchema(): boolean;
156
+ isTimestampSchema(): boolean;
157
+ isStringSchema(): boolean;
158
+ isBooleanSchema(): boolean;
159
+ isNumericSchema(): boolean;
160
+ isBigIntegerSchema(): boolean;
161
+ isBigDecimalSchema(): boolean;
162
+ isStreaming(): boolean;
163
+ getMergedTraits(): SchemaTraitsObject;
164
+ getMemberTraits(): SchemaTraitsObject;
165
+ getOwnTraits(): SchemaTraitsObject;
166
+ /**
167
+ * For list/set/map.
168
+ */
169
+ getValueSchema(): NormalizedSchema;
170
+ /**
171
+ * For struct/union.
172
+ */
173
+ getMemberSchema(member: string): NormalizedSchema | undefined;
174
+ getMemberSchemas(): Record<string, NormalizedSchema>;
175
+ }
176
+ /**
177
+ * A schema "reference" is either a schema or a function that
178
+ * provides a schema. This is useful for lazy loading, and to allow
179
+ * code generation to define schema out of dependency order.
180
+ * @public
181
+ */
182
+ export type SchemaRef = Schema | (() => Schema);
183
+ /**
184
+ * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
185
+ *
186
+ * @public
187
+ */
188
+ export interface Codec<S, D> extends ConfigurableSerdeContext {
189
+ createSerializer(): ShapeSerializer<S>;
190
+ createDeserializer(): ShapeDeserializer<D>;
191
+ }
192
+ /**
193
+ * Configuration for codecs. Different protocols may share codecs, but require different behaviors from them.
194
+ *
195
+ * @public
196
+ */
197
+ export type CodecSettings = {
198
+ timestampFormat: {
199
+ /**
200
+ * Whether to use member timestamp format traits.
201
+ */
202
+ useTrait: boolean;
203
+ /**
204
+ * Default timestamp format.
205
+ */
206
+ default: TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema;
207
+ };
208
+ /**
209
+ * Whether to use HTTP binding traits.
210
+ */
211
+ httpBindings?: boolean;
212
+ };
213
+ /**
214
+ * Turns a serialization into a data object.
215
+ * @public
216
+ */
217
+ export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
218
+ /**
219
+ * Optionally async.
220
+ */
221
+ read(schema: Schema, data: SerializationType): any | Promise<any>;
222
+ }
223
+ /**
224
+ * Turns a data object into a serialization.
225
+ * @public
226
+ */
227
+ export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
228
+ write(schema: Schema, value: unknown): void;
229
+ flush(): SerializationType;
230
+ }
231
+ /**
232
+ * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
233
+ * @public
234
+ */
235
+ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
236
+ /**
237
+ * @returns the Smithy qualified shape id.
238
+ */
239
+ getShapeId(): string;
240
+ getRequestType(): {
241
+ new (...args: any[]): Request;
242
+ };
243
+ getResponseType(): {
244
+ new (...args: any[]): Response;
245
+ };
246
+ /**
247
+ * @returns the payload codec if the requests/responses have a symmetric format.
248
+ * It otherwise may return null.
249
+ */
250
+ getPayloadCodec(): Codec<any, any>;
251
+ serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
252
+ updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
253
+ deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
254
+ }
255
+ /**
256
+ * Allows a protocol, codec, or serde utility to accept the serdeContext
257
+ * from a client configuration or request/response handlerExecutionContext.
258
+ *
259
+ * @public
260
+ */
261
+ export interface ConfigurableSerdeContext {
262
+ setSerdeContext(serdeContext: SerdeFunctions): void;
263
+ }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * The blob Smithy type, in JS as Uint8Array and other representations
3
+ * such as Buffer, string, or Readable(Stream) depending on circumstances.
4
+ * @public
5
+ */
6
+ export type BlobSchema = 21;
7
+ /**
8
+ * @public
9
+ */
10
+ export type StreamingBlobSchema = 42;
11
+ /**
12
+ * @public
13
+ */
14
+ export type BooleanSchema = 2;
15
+ /**
16
+ * Includes string and enum Smithy types.
17
+ * @public
18
+ */
19
+ export type StringSchema = 0;
20
+ /**
21
+ * Includes all numeric Smithy types except bigInteger and bigDecimal.
22
+ * byte, short, integer, long, float, double, intEnum.
23
+ *
24
+ * @public
25
+ */
26
+ export type NumericSchema = 1;
27
+ /**
28
+ * @public
29
+ */
30
+ export type BigIntegerSchema = 17;
31
+ /**
32
+ * @public
33
+ */
34
+ export type BigDecimalSchema = 19;
35
+ /**
36
+ * @public
37
+ */
38
+ export type DocumentSchema = 15;
39
+ /**
40
+ * Smithy type timestamp, in JS as native Date object.
41
+ * @public
42
+ */
43
+ export type TimestampDefaultSchema = 4;
44
+ /**
45
+ * @public
46
+ */
47
+ export type TimestampDateTimeSchema = 5;
48
+ /**
49
+ * @public
50
+ */
51
+ export type TimestampHttpDateSchema = 6;
52
+ /**
53
+ * @public
54
+ */
55
+ export type TimestampEpochSecondsSchema = 7;
56
+ /**
57
+ * Additional bit indicating the type is a list.
58
+ * @public
59
+ */
60
+ export type ListSchemaModifier = 64;
61
+ /**
62
+ * Additional bit indicating the type is a map.
63
+ * @public
64
+ */
65
+ export type MapSchemaModifier = 128;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * A bitvector representing a traits object.
3
+ *
4
+ * Vector index to trait:
5
+ * 0 - httpLabel
6
+ * 1 - idempotent
7
+ * 2 - idempotencyToken
8
+ * 3 - sensitive
9
+ * 4 - httpPayload
10
+ * 5 - httpResponseCode
11
+ * 6 - httpQueryParams
12
+ *
13
+ * The singular trait values are enumerated for quick identification, but
14
+ * combination values are left to the `number` union type.
15
+ *
16
+ * @public
17
+ */
18
+ export type TraitBitVector = HttpLabelBitMask | IdempotentBitMask | IdempotencyTokenBitMask | SensitiveBitMask | HttpPayloadBitMask | HttpResponseCodeBitMask | HttpQueryParamsBitMask | number;
19
+ /**
20
+ * @public
21
+ */
22
+ export type HttpLabelBitMask = 1;
23
+ /**
24
+ * @public
25
+ */
26
+ export type IdempotentBitMask = 2;
27
+ /**
28
+ * @public
29
+ */
30
+ export type IdempotencyTokenBitMask = 4;
31
+ /**
32
+ * @public
33
+ */
34
+ export type SensitiveBitMask = 8;
35
+ /**
36
+ * @public
37
+ */
38
+ export type HttpPayloadBitMask = 16;
39
+ /**
40
+ * @public
41
+ */
42
+ export type HttpResponseCodeBitMask = 32;
43
+ /**
44
+ * @public
45
+ */
46
+ export type HttpQueryParamsBitMask = 64;
@@ -0,0 +1,114 @@
1
+ import { Endpoint } from "./http";
2
+ import { ClientProtocol } from "./schema/schema";
3
+ import { RequestHandler } from "./transfer";
4
+ import { Decoder, Encoder, Provider } from "./util";
5
+ /**
6
+ * @public
7
+ *
8
+ * Interface for object requires an Endpoint set.
9
+ */
10
+ export interface EndpointBearer {
11
+ endpoint: Provider<Endpoint>;
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface StreamCollector {
17
+ /**
18
+ * A function that converts a stream into an array of bytes.
19
+ *
20
+ * @param stream - The low-level native stream from browser or Nodejs runtime
21
+ */
22
+ (stream: any): Promise<Uint8Array>;
23
+ }
24
+ /**
25
+ * @public
26
+ *
27
+ * Request and Response serde util functions and settings for AWS services
28
+ */
29
+ export interface SerdeContext extends SerdeFunctions, EndpointBearer {
30
+ requestHandler: RequestHandler<any, any>;
31
+ disableHostPrefix: boolean;
32
+ protocol?: ClientProtocol<any, any>;
33
+ }
34
+ /**
35
+ * @public
36
+ *
37
+ * Serde functions from the client config.
38
+ */
39
+ export interface SerdeFunctions {
40
+ base64Encoder: Encoder;
41
+ base64Decoder: Decoder;
42
+ utf8Encoder: Encoder;
43
+ utf8Decoder: Decoder;
44
+ streamCollector: StreamCollector;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface RequestSerializer<Request, Context extends EndpointBearer = any> {
50
+ /**
51
+ * Converts the provided `input` into a request object
52
+ *
53
+ * @param input - The user input to serialize.
54
+ *
55
+ * @param context - Context containing runtime-specific util functions.
56
+ */
57
+ (input: any, context: Context): Promise<Request>;
58
+ }
59
+ /**
60
+ * @public
61
+ */
62
+ export interface ResponseDeserializer<OutputType, ResponseType = any, Context = any> {
63
+ /**
64
+ * Converts the output of an operation into JavaScript types.
65
+ *
66
+ * @param output - The HTTP response received from the service
67
+ *
68
+ * @param context - context containing runtime-specific util functions.
69
+ */
70
+ (output: ResponseType, context: Context): Promise<OutputType>;
71
+ }
72
+ /**
73
+ * The interface contains mix-in utility functions to transfer the runtime-specific
74
+ * stream implementation to specified format. Each stream can ONLY be transformed
75
+ * once.
76
+ * @public
77
+ */
78
+ export interface SdkStreamMixin {
79
+ transformToByteArray: () => Promise<Uint8Array>;
80
+ transformToString: (encoding?: string) => Promise<string>;
81
+ transformToWebStream: () => ReadableStream;
82
+ }
83
+ /**
84
+ * @public
85
+ *
86
+ * The type describing a runtime-specific stream implementation with mix-in
87
+ * utility functions.
88
+ */
89
+ export type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
90
+ /**
91
+ * @public
92
+ *
93
+ * Indicates that the member of type T with
94
+ * key StreamKey have been extended
95
+ * with the SdkStreamMixin helper methods.
96
+ */
97
+ export type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
98
+ [key in keyof T]: key extends StreamKey ? SdkStream<T[StreamKey]> : T[key];
99
+ };
100
+ /**
101
+ * Interface for internal function to inject stream utility functions
102
+ * implementation
103
+ *
104
+ * @internal
105
+ */
106
+ export interface SdkStreamMixinInjector {
107
+ (stream: unknown): SdkStreamMixin;
108
+ }
109
+ /**
110
+ * @internal
111
+ */
112
+ export interface SdkStreamSerdeContext {
113
+ sdkStreamMixin: SdkStreamMixinInjector;
114
+ }
@@ -0,0 +1,82 @@
1
+ import { HttpResponse } from "./http";
2
+ import { MetadataBearer } from "./response";
3
+ /**
4
+ * @public
5
+ *
6
+ * A document type represents an untyped JSON-like value.
7
+ *
8
+ * Not all protocols support document types, and the serialization format of a
9
+ * document type is protocol specific. All JSON protocols SHOULD support
10
+ * document types and they SHOULD serialize document types inline as normal
11
+ * JSON values.
12
+ */
13
+ export type DocumentType = null | boolean | number | string | DocumentType[] | {
14
+ [prop: string]: DocumentType;
15
+ };
16
+ /**
17
+ * @public
18
+ *
19
+ * A structure shape with the error trait.
20
+ * https://smithy.io/2.0/spec/behavior-traits.html#smithy-api-retryable-trait
21
+ */
22
+ export interface RetryableTrait {
23
+ /**
24
+ * Indicates that the error is a retryable throttling error.
25
+ */
26
+ readonly throttling?: boolean;
27
+ }
28
+ /**
29
+ * @public
30
+ *
31
+ * Type that is implemented by all Smithy shapes marked with the
32
+ * error trait.
33
+ * @deprecated
34
+ */
35
+ export interface SmithyException {
36
+ /**
37
+ * The shape ID name of the exception.
38
+ */
39
+ readonly name: string;
40
+ /**
41
+ * Whether the client or server are at fault.
42
+ */
43
+ readonly $fault: "client" | "server";
44
+ /**
45
+ * The service that encountered the exception.
46
+ */
47
+ readonly $service?: string;
48
+ /**
49
+ * Indicates that an error MAY be retried by the client.
50
+ */
51
+ readonly $retryable?: RetryableTrait;
52
+ /**
53
+ * Reference to low-level HTTP response object.
54
+ */
55
+ readonly $response?: HttpResponse;
56
+ }
57
+ /**
58
+ * @public
59
+ *
60
+ * @deprecated See {@link https://aws.amazon.com/blogs/developer/service-error-handling-modular-aws-sdk-js/}
61
+ *
62
+ * This type should not be used in your application.
63
+ * Users of the AWS SDK for JavaScript v3 service clients should prefer to
64
+ * use the specific Exception classes corresponding to each operation.
65
+ * These can be found as code in the deserializer for the operation's Command class,
66
+ * or as declarations in the service model file in codegen/sdk-codegen/aws-models.
67
+ *
68
+ * If no exceptions are enumerated by a particular Command operation,
69
+ * the base exception for the service should be used. Each client exports
70
+ * a base ServiceException prefixed with the service name.
71
+ */
72
+ export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer> & {
73
+ $metadata?: Partial<MetadataBearer>["$metadata"] & {
74
+ /**
75
+ * If present, will have value of true and indicates that the error resulted in a
76
+ * correction of the clock skew, a.k.a. config.systemClockOffset.
77
+ * This is specific to AWS SDK and sigv4.
78
+ */
79
+ readonly clockSkewCorrected?: true;
80
+ };
81
+ cause?: Error;
82
+ };