@aws/lsp-codewhisperer 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/node_modules/@amzn/codewhisperer-streaming/README.md +56 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/README.md +115 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort-handler.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/client.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/command.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/crypto.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/encode.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/index.js +144 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/logger.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/middleware.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/pagination.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/profile.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/response.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/serde.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/shapes.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/signature.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/stream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transfer.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/uri.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/util.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/client.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/command.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/crypto.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/encode.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/checksum.js +38 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/index.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/index.js +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/logger.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/middleware.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/pagination.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/profile.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/response.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/serde.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/shapes.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/signature.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/stream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transfer.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/uri.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/util.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/waiter.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort.d.ts +50 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/auth.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/checksum.d.ts +63 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/client.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/command.d.ts +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/config.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/manager.d.ts +34 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/pool.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/crypto.d.ts +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/encode.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +55 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/eventStream.d.ts +137 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +58 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +121 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http.d.ts +112 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/index.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/middleware.d.ts +534 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/pagination.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/retry.d.ts +133 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/schema.d.ts +263 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/serde.d.ts +114 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/shapes.d.ts +82 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/signature.d.ts +155 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +51 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transfer.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +77 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +68 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +50 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +63 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +121 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +112 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +534 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +133 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +278 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +82 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +155 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +32 -0
- 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
- 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
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +81 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/package.json +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/package.json +1 -1
- package/out/client/sigv4/service.json +8 -0
- package/out/client/token/bearer-token-service.json +20 -0
- package/out/language-server/agenticChat/agenticChatController.d.ts +9 -3
- package/out/language-server/agenticChat/agenticChatController.js +379 -85
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/agenticChatResultStream.d.ts +9 -0
- package/out/language-server/agenticChat/agenticChatResultStream.js +41 -1
- package/out/language-server/agenticChat/agenticChatResultStream.js.map +1 -1
- package/out/language-server/agenticChat/constants.d.ts +0 -1
- package/out/language-server/agenticChat/constants.js +1 -2
- package/out/language-server/agenticChat/constants.js.map +1 -1
- package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +2 -3
- package/out/language-server/agenticChat/context/addtionalContextProvider.js +3 -5
- package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -1
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +1 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +15 -2
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -1
- package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +1 -1
- package/out/language-server/agenticChat/context/contextCommandsProvider.js +8 -24
- package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -1
- package/out/language-server/agenticChat/errors.d.ts +2 -1
- package/out/language-server/agenticChat/errors.js +11 -1
- package/out/language-server/agenticChat/errors.js.map +1 -1
- package/out/language-server/agenticChat/tabBarController.d.ts +10 -1
- package/out/language-server/agenticChat/tabBarController.js +54 -27
- package/out/language-server/agenticChat/tabBarController.js.map +1 -1
- package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +8 -9
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js +58 -124
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
- package/out/language-server/agenticChat/tools/codeSearch.js +1 -1
- package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -1
- package/out/language-server/agenticChat/tools/executeBash.d.ts +10 -2
- package/out/language-server/agenticChat/tools/executeBash.js +80 -21
- package/out/language-server/agenticChat/tools/executeBash.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsRead.js +1 -1
- package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.js +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
- package/out/language-server/agenticChat/tools/{fileSearch.d.ts → fuzzySearch.d.ts} +17 -11
- package/out/language-server/agenticChat/tools/{fileSearch.js → fuzzySearch.js} +53 -55
- package/out/language-server/agenticChat/tools/fuzzySearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/grepSearch.d.ts +74 -0
- package/out/language-server/agenticChat/tools/grepSearch.js +254 -0
- package/out/language-server/agenticChat/tools/grepSearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/listDirectory.js +1 -1
- package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolServer.js +14 -5
- package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolShared.d.ts +1 -1
- package/out/language-server/agenticChat/tools/toolShared.js +2 -2
- package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
- package/out/language-server/chat/chatController.d.ts +1 -1
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +13 -0
- package/out/language-server/chat/chatSessionService.js +28 -4
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/contexts/triggerContext.js +1 -0
- package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -4
- package/out/language-server/chat/telemetry/chatTelemetryController.js +29 -5
- package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
- package/out/language-server/inline-completion/codePercentage.js +1 -0
- package/out/language-server/inline-completion/codePercentage.js.map +1 -1
- package/out/language-server/inline-completion/codeWhispererServer.d.ts +1 -0
- package/out/language-server/inline-completion/codeWhispererServer.js +55 -19
- package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
- package/out/language-server/inline-completion/session/sessionManager.d.ts +5 -1
- package/out/language-server/inline-completion/session/sessionManager.js +4 -0
- package/out/language-server/inline-completion/session/sessionManager.js.map +1 -1
- package/out/language-server/localProjectContext/localProjectContextServer.js +8 -8
- package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -1
- package/out/language-server/workspaceContext/artifactManager.d.ts +1 -1
- package/out/language-server/workspaceContext/artifactManager.js +55 -22
- package/out/language-server/workspaceContext/artifactManager.js.map +1 -1
- package/out/language-server/workspaceContext/client.d.ts +1 -2
- package/out/language-server/workspaceContext/client.js +8 -16
- package/out/language-server/workspaceContext/client.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.d.ts +2 -0
- package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js +11 -1
- package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.d.ts +17 -0
- package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js +75 -0
- package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js.map +1 -0
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js +9 -9
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js +9 -9
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.d.ts +7 -5
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js +21 -15
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.d.ts +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js +4 -4
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js +38 -29
- package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/javaManager.js +1 -1
- package/out/language-server/workspaceContext/javaManager.js.map +1 -1
- package/out/language-server/workspaceContext/util.d.ts +1 -0
- package/out/language-server/workspaceContext/util.js +12 -6
- package/out/language-server/workspaceContext/util.js.map +1 -1
- package/out/language-server/workspaceContext/workspaceContextServer.js +266 -236
- package/out/language-server/workspaceContext/workspaceContextServer.js.map +1 -1
- package/out/language-server/workspaceContext/workspaceFolderManager.d.ts +21 -50
- package/out/language-server/workspaceContext/workspaceFolderManager.js +254 -496
- package/out/language-server/workspaceContext/workspaceFolderManager.js.map +1 -1
- package/out/shared/languageDetection.d.ts +1 -1
- package/out/shared/languageDetection.js +4 -0
- package/out/shared/languageDetection.js.map +1 -1
- package/out/shared/localProjectContextController.d.ts +5 -3
- package/out/shared/localProjectContextController.js +47 -21
- package/out/shared/localProjectContextController.js.map +1 -1
- package/out/shared/telemetry/telemetryService.d.ts +10 -1
- package/out/shared/telemetry/telemetryService.js +36 -7
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/out/shared/telemetry/types.d.ts +39 -0
- package/out/shared/telemetry/types.js +1 -0
- package/out/shared/telemetry/types.js.map +1 -1
- package/package.json +8 -6
- package/out/language-server/agenticChat/tools/fileSearch.js.map +0 -1
- package/out/shared/initializeUtils.d.ts +0 -3
- package/out/shared/initializeUtils.js +0 -32
- package/out/shared/initializeUtils.js.map +0 -1
package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/retry.d.ts
ADDED
|
@@ -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;
|
package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/serde.d.ts
ADDED
|
@@ -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
|
+
}
|
package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/shapes.d.ts
ADDED
|
@@ -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
|
+
};
|