@aws/lsp-codewhisperer 0.0.32 → 0.0.34
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 +233 -0
- package/README.md +18 -1
- package/node_modules/@amzn/amazon-q-developer-streaming-client/LICENSE +201 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/README.md +864 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreaming.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreamingClient.js +49 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthSchemeProvider.js +50 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/GenerateCodeFromCommandsCommand.js +26 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/SendMessageCommand.js +26 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/index.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoints.js +211 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/index.js +10 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/QDeveloperStreamingServiceException.js +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/index.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/models_0.js +1051 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/protocols/Aws_json1_0.js +597 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.browser.js +40 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.js +48 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.native.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.shared.js +32 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeExtensions.js +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreaming.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreamingClient.js +45 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthSchemeProvider.js +44 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/GenerateCodeFromCommandsCommand.js +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/SendMessageCommand.js +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/index.js +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoints.js +207 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/index.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/QDeveloperStreamingServiceException.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/index.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/models_0.js +963 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/protocols/Aws_json1_0.js +590 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.browser.js +35 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.native.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.shared.js +28 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeExtensions.js +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreaming.d.ts +23 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreamingClient.d.ts +196 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/GenerateCodeFromCommandsCommand.d.ts +102 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/SendMessageCommand.d.ts +796 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoints.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/extensionConfiguration.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/index.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/QDeveloperStreamingServiceException.d.ts +14 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/index.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/models_0.d.ts +2985 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/protocols/Aws_json1_0.d.ts +20 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.browser.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.native.d.ts +46 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/README.md +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-cjs/index.js +294 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/auth.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/checksum.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/client.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/command.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/credentials.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/crypto.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/dns.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/encode.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/eventStream.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/http.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/index.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/index.js +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/logger.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/middleware.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/pagination.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/profile.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/request.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/response.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/retry.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/serde.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/shapes.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/signature.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/stream.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/token.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/uri.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/util.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/waiter.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +50 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/dns.d.ts +85 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/http.d.ts +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +18 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/index.d.ts +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/logger.d.ts +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/request.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/response.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/serde.d.ts +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/token.d.ts +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/package.json +56 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/LICENSE +201 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/README.md +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller}/package.json +21 -31
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/index.js +806 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +209 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +86 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +167 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +88 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +56 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +62 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +46 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +62 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/package.json +67 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CHANGELOG.md +274 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/README.md +466 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/rng.js +18 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v35.js +66 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v4.js +29 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/stringify.js +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v35.js +66 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v4.js +29 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native-browser.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng-browser.js +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/stringify.js +44 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v35.js +80 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v4.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/package.json +135 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/wrapper.mjs +10 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/package.json +88 -0
- package/node_modules/@amzn/codewhisperer-streaming/README.md +121 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +266 -42
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +205 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +241 -33
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +207 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +9 -7
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +168 -8
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +169 -8
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +168 -8
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +874 -221
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +25 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +12 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +3 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +6 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +6 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +4 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +8 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +6 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +5 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +11 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +21 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +6 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/index.js +41 -39
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +10 -10
- package/node_modules/@amzn/codewhisperer-streaming/package.json +42 -42
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
- package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-cjs/index.js +8 -30
- package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +1 -0
- package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpRequest.js +8 -13
- package/node_modules/@smithy/protocol-http/dist-es/types.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +23 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +23 -0
- package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/package.json +6 -6
- package/out/client/sigv4/codewhisperer.d.ts +2 -2
- package/out/client/sigv4/codewhisperer.js +4 -3
- package/out/client/sigv4/codewhisperer.js.map +1 -1
- package/out/client/streamingClient/codewhispererStreamingClient.d.ts +3 -3
- package/out/client/streamingClient/codewhispererStreamingClient.js +4 -3
- package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
- package/out/client/token/codewhisperer.d.ts +2 -2
- package/out/client/token/codewhisperer.js +4 -3
- package/out/client/token/codewhisperer.js.map +1 -1
- package/out/index.d.ts +1 -0
- package/out/index.js +4 -1
- package/out/index.js.map +1 -1
- package/out/language-server/agenticChat/agenticChatController.d.ts +35 -4
- package/out/language-server/agenticChat/agenticChatController.js +1341 -91
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/agenticChatEventParser.d.ts +52 -0
- package/out/language-server/agenticChat/agenticChatEventParser.js +189 -0
- package/out/language-server/agenticChat/agenticChatEventParser.js.map +1 -0
- package/out/language-server/agenticChat/agenticChatResultStream.d.ts +83 -0
- package/out/language-server/agenticChat/agenticChatResultStream.js +176 -0
- package/out/language-server/agenticChat/agenticChatResultStream.js.map +1 -0
- package/out/language-server/agenticChat/constants.d.ts +4 -0
- package/out/language-server/agenticChat/constants.js +8 -0
- package/out/language-server/agenticChat/constants.js.map +1 -0
- package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +14 -0
- package/out/language-server/agenticChat/context/addtionalContextProvider.js +191 -0
- package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +54 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +246 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -0
- package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +20 -0
- package/out/language-server/agenticChat/context/contextCommandsProvider.js +206 -0
- package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -0
- package/out/language-server/agenticChat/context/contextUtils.d.ts +27 -0
- package/out/language-server/agenticChat/context/contextUtils.js +44 -0
- package/out/language-server/agenticChat/context/contextUtils.js.map +1 -0
- package/out/language-server/agenticChat/errors.d.ts +10 -0
- package/out/language-server/agenticChat/errors.js +42 -0
- package/out/language-server/agenticChat/errors.js.map +1 -0
- package/out/language-server/agenticChat/qAgenticChatServer.js +42 -15
- package/out/language-server/agenticChat/qAgenticChatServer.js.map +1 -1
- package/out/language-server/agenticChat/tabBarController.d.ts +55 -0
- package/out/language-server/agenticChat/tabBarController.js +216 -0
- package/out/language-server/agenticChat/tabBarController.js.map +1 -0
- package/out/language-server/agenticChat/textFormatting.d.ts +4 -0
- package/out/language-server/agenticChat/textFormatting.js +28 -0
- package/out/language-server/agenticChat/textFormatting.js.map +1 -0
- package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +89 -0
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js +561 -0
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -0
- package/out/language-server/agenticChat/tools/chatDb/util.d.ts +74 -0
- package/out/language-server/agenticChat/tools/chatDb/util.js +255 -0
- package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -0
- package/out/language-server/agenticChat/tools/codeSearch.d.ts +43 -0
- package/out/language-server/agenticChat/tools/codeSearch.js +168 -0
- package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/executeBash.d.ts +70 -0
- package/out/language-server/agenticChat/tools/executeBash.js +476 -0
- package/out/language-server/agenticChat/tools/executeBash.js.map +1 -0
- package/out/language-server/agenticChat/tools/fileSearch.d.ts +45 -0
- package/out/language-server/agenticChat/tools/fileSearch.js +115 -0
- package/out/language-server/agenticChat/tools/fileSearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/fsRead.d.ts +13 -9
- package/out/language-server/agenticChat/tools/fsRead.js +68 -22
- package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.d.ts +21 -12
- package/out/language-server/agenticChat/tools/fsWrite.js +127 -44
- package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
- package/out/language-server/agenticChat/tools/listDirectory.d.ts +36 -0
- package/out/language-server/agenticChat/tools/listDirectory.js +110 -0
- package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -0
- package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.d.ts +100 -0
- package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js +140 -0
- package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js.map +1 -0
- package/out/language-server/agenticChat/tools/lspGetDocuments.d.ts +24 -0
- package/out/language-server/agenticChat/tools/lspGetDocuments.js +45 -0
- package/out/language-server/agenticChat/tools/lspGetDocuments.js.map +1 -0
- package/out/language-server/agenticChat/tools/lspReadDocumentContents.d.ts +37 -0
- package/out/language-server/agenticChat/tools/lspReadDocumentContents.js +116 -0
- package/out/language-server/agenticChat/tools/lspReadDocumentContents.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +21 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js +106 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTool.d.ts +21 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTool.js +54 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTool.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTypes.d.ts +28 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTypes.js +7 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTypes.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.d.ts +7 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.js +78 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.js.map +1 -0
- package/out/language-server/agenticChat/tools/toolServer.d.ts +3 -0
- package/out/language-server/agenticChat/tools/toolServer.js +62 -6
- package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolShared.d.ts +48 -5
- package/out/language-server/agenticChat/tools/toolShared.js +109 -2
- package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
- package/out/language-server/chat/chatController.d.ts +7 -4
- package/out/language-server/chat/chatController.js +13 -18
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/chat/chatEventParser.d.ts +3 -1
- package/out/language-server/chat/chatEventParser.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.d.ts +2 -2
- package/out/language-server/chat/chatSessionManagementService.js +4 -4
- package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +36 -3
- package/out/language-server/chat/chatSessionService.js +88 -5
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/constants.d.ts +3 -0
- package/out/language-server/chat/constants.js +17 -1
- package/out/language-server/chat/constants.js.map +1 -1
- package/out/language-server/chat/contexts/documentContext.d.ts +2 -1
- package/out/language-server/chat/contexts/documentContext.js +2 -0
- package/out/language-server/chat/contexts/documentContext.js.map +1 -1
- package/out/language-server/chat/contexts/triggerContext.d.ts +7 -3
- package/out/language-server/chat/contexts/triggerContext.js +39 -2
- package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
- package/out/language-server/chat/qChatServer.d.ts +4 -1
- package/out/language-server/chat/qChatServer.js +17 -17
- package/out/language-server/chat/qChatServer.js.map +1 -1
- package/out/language-server/chat/quickActions.d.ts +2 -0
- package/out/language-server/chat/quickActions.js +2 -0
- package/out/language-server/chat/quickActions.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -3
- package/out/language-server/chat/telemetry/chatTelemetryController.js +50 -4
- package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
- package/out/language-server/chat/tools/relevantTextDocuments.d.ts +3 -0
- package/out/language-server/chat/tools/relevantTextDocuments.js +42 -0
- package/out/language-server/chat/tools/relevantTextDocuments.js.map +1 -0
- package/out/language-server/chat/utils.js +18 -3
- package/out/language-server/chat/utils.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.d.ts +2 -3
- package/out/language-server/configuration/qConfigurationServer.js +27 -20
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/inline-completion/auto-trigger/coefficients.json +4 -1
- package/out/language-server/inline-completion/codeWhispererServer.d.ts +2 -3
- package/out/language-server/inline-completion/codeWhispererServer.js +29 -30
- package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
- package/out/language-server/localProjectContext/localProjectContextServer.d.ts +2 -0
- package/out/language-server/localProjectContext/localProjectContextServer.js +132 -0
- package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -0
- package/out/language-server/netTransform/artifactManager.js +12 -4
- package/out/language-server/netTransform/artifactManager.js.map +1 -1
- package/out/language-server/netTransform/metrics.d.ts +2 -0
- package/out/language-server/netTransform/metrics.js +26 -1
- package/out/language-server/netTransform/metrics.js.map +1 -1
- package/out/language-server/netTransform/models.d.ts +22 -0
- package/out/language-server/netTransform/models.js +12 -1
- package/out/language-server/netTransform/models.js.map +1 -1
- package/out/language-server/netTransform/netTransformServer.d.ts +2 -4
- package/out/language-server/netTransform/netTransformServer.js +21 -16
- package/out/language-server/netTransform/netTransformServer.js.map +1 -1
- package/out/language-server/netTransform/tests/mockData.js +1 -0
- package/out/language-server/netTransform/tests/mockData.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.d.ts +13 -5
- package/out/language-server/netTransform/transformHandler.js +45 -12
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransform/validation.d.ts +11 -0
- package/out/language-server/netTransform/validation.js +33 -0
- package/out/language-server/netTransform/validation.js.map +1 -1
- package/out/language-server/securityScan/codeWhispererSecurityScanServer.js +10 -11
- package/out/language-server/securityScan/codeWhispererSecurityScanServer.js.map +1 -1
- package/out/language-server/securityScan/types.d.ts +2 -1
- package/out/shared/amazonQServer.d.ts +5 -0
- package/out/shared/amazonQServer.js +53 -0
- package/out/shared/amazonQServer.js.map +1 -0
- package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.d.ts +19 -0
- package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js +61 -0
- package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js.map +1 -0
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.d.ts +14 -28
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +78 -99
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
- package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.d.ts +72 -5
- package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js +116 -0
- package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js.map +1 -1
- package/out/shared/amazonQServiceManager/configurationUtils.d.ts +13 -1
- package/out/shared/amazonQServiceManager/configurationUtils.js +41 -22
- package/out/shared/amazonQServiceManager/configurationUtils.js.map +1 -1
- package/out/shared/amazonQServiceManager/errors.d.ts +9 -0
- package/out/shared/amazonQServiceManager/errors.js +22 -1
- package/out/shared/amazonQServiceManager/errors.js.map +1 -1
- package/out/shared/amazonQServiceManager/qDeveloperProfiles.d.ts +2 -1
- package/out/shared/amazonQServiceManager/qDeveloperProfiles.js +26 -3
- package/out/shared/amazonQServiceManager/qDeveloperProfiles.js.map +1 -1
- package/out/shared/amazonQServiceManager/testUtils.d.ts +48 -0
- package/out/shared/amazonQServiceManager/testUtils.js +112 -0
- package/out/shared/amazonQServiceManager/testUtils.js.map +1 -0
- package/out/shared/codeWhispererService.d.ts +3 -3
- package/out/shared/codeWhispererService.js +4 -4
- package/out/shared/codeWhispererService.js.map +1 -1
- package/out/shared/constants.d.ts +10 -0
- package/out/shared/constants.js +12 -1
- package/out/shared/constants.js.map +1 -1
- package/out/shared/initializeUtils.d.ts +3 -0
- package/out/shared/initializeUtils.js +32 -0
- package/out/shared/initializeUtils.js.map +1 -0
- package/out/shared/localProjectContextController.d.ts +56 -0
- package/out/shared/localProjectContextController.js +371 -0
- package/out/shared/localProjectContextController.js.map +1 -0
- package/out/shared/models/constants.d.ts +5 -0
- package/out/shared/models/constants.js +6 -1
- package/out/shared/models/constants.js.map +1 -1
- package/out/shared/models/model.d.ts +2 -1
- package/out/shared/proxy-server.d.ts +4 -2
- package/out/shared/proxy-server.js +11 -10
- package/out/shared/proxy-server.js.map +1 -1
- package/out/shared/streamingClientService.d.ts +23 -7
- package/out/shared/streamingClientService.js +56 -9
- package/out/shared/streamingClientService.js.map +1 -1
- package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +4 -1
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js +73 -17
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +8 -0
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js +63 -2
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
- package/out/shared/telemetry/telemetryService.d.ts +16 -2
- package/out/shared/telemetry/telemetryService.js +26 -3
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/out/shared/telemetry/types.d.ts +37 -2
- package/out/shared/telemetry/types.js +2 -0
- package/out/shared/telemetry/types.js.map +1 -1
- package/out/shared/telemetryUtils.d.ts +1 -0
- package/out/shared/telemetryUtils.js +5 -3
- package/out/shared/telemetryUtils.js.map +1 -1
- package/out/shared/testUtils.d.ts +2 -1
- package/out/shared/testUtils.js +10 -1
- package/out/shared/testUtils.js.map +1 -1
- package/out/shared/utils.d.ts +30 -0
- package/out/shared/utils.js +184 -0
- package/out/shared/utils.js.map +1 -1
- package/package.json +21 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -53
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -53
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -44
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -44
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -13
- package/out/shared/amazonQServiceManager/factories.d.ts +0 -15
- package/out/shared/amazonQServiceManager/factories.js +0 -47
- package/out/shared/amazonQServiceManager/factories.js.map +0 -1
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/httpHandler.js → amazon-q-developer-streaming-client/dist-es/extensionConfiguration.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types}/LICENSE +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/abort.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/constants.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector}/index.js +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/LICENSE +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/README.md +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js → @smithy/protocol-http/dist-cjs/Field.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js → @smithy/protocol-http/dist-cjs/Fields.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js → @smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Field.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Fields.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/index.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpResponse.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/index.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/isValidHostname.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Field.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Fields.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpHandler.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpResponse.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/isValidHostname.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/types.d.ts +0 -0
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/protocols/Aws_json1_0.js
ADDED
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
import { QDeveloperStreamingServiceException as __BaseException } from "../models/QDeveloperStreamingServiceException";
|
|
2
|
+
import { AccessDeniedException, ChatMessage, ConflictException, DryRunOperationException, ImageSource, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, Tool, ToolResultContentBlock, ValidationException, } from "../models/models_0";
|
|
3
|
+
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
4
|
+
import { HttpRequest as __HttpRequest, } from "@smithy/protocol-http";
|
|
5
|
+
import { decorateServiceException as __decorateServiceException, expectString as __expectString, _json, collectBody, take, withBaseException, } from "@smithy/smithy-client";
|
|
6
|
+
export const se_GenerateCodeFromCommandsCommand = async (input, context) => {
|
|
7
|
+
const headers = sharedHeaders("GenerateCodeFromCommands");
|
|
8
|
+
let body;
|
|
9
|
+
body = JSON.stringify(_json(input));
|
|
10
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
+
};
|
|
12
|
+
export const se_SendMessageCommand = async (input, context) => {
|
|
13
|
+
const headers = sharedHeaders("SendMessage");
|
|
14
|
+
let body;
|
|
15
|
+
body = JSON.stringify(se_SendMessageRequest(input, context));
|
|
16
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
+
};
|
|
18
|
+
export const de_GenerateCodeFromCommandsCommand = async (output, context) => {
|
|
19
|
+
if (output.statusCode >= 300) {
|
|
20
|
+
return de_CommandError(output, context);
|
|
21
|
+
}
|
|
22
|
+
const contents = { generatedCodeFromCommandsResponse: de_GenerateCodeFromCommandsResponseStream(output.body, context) };
|
|
23
|
+
const response = {
|
|
24
|
+
$metadata: deserializeMetadata(output),
|
|
25
|
+
...contents,
|
|
26
|
+
};
|
|
27
|
+
return response;
|
|
28
|
+
};
|
|
29
|
+
export const de_SendMessageCommand = async (output, context) => {
|
|
30
|
+
if (output.statusCode >= 300) {
|
|
31
|
+
return de_CommandError(output, context);
|
|
32
|
+
}
|
|
33
|
+
const contents = { sendMessageResponse: de_ChatResponseStream(output.body, context) };
|
|
34
|
+
const response = {
|
|
35
|
+
$metadata: deserializeMetadata(output),
|
|
36
|
+
...contents,
|
|
37
|
+
};
|
|
38
|
+
return response;
|
|
39
|
+
};
|
|
40
|
+
const de_CommandError = async (output, context) => {
|
|
41
|
+
const parsedOutput = {
|
|
42
|
+
...output,
|
|
43
|
+
body: await parseErrorBody(output.body, context)
|
|
44
|
+
};
|
|
45
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
46
|
+
switch (errorCode) {
|
|
47
|
+
case "AccessDeniedException":
|
|
48
|
+
case "com.amazon.aws.codewhisperer#AccessDeniedException":
|
|
49
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
50
|
+
case "InternalServerException":
|
|
51
|
+
case "com.amazon.aws.codewhisperer#InternalServerException":
|
|
52
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
53
|
+
case "ThrottlingException":
|
|
54
|
+
case "com.amazon.aws.codewhisperer#ThrottlingException":
|
|
55
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
56
|
+
case "ValidationException":
|
|
57
|
+
case "com.amazon.aws.codewhisperer#ValidationException":
|
|
58
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
59
|
+
case "ConflictException":
|
|
60
|
+
case "com.amazon.aws.codewhisperer#ConflictException":
|
|
61
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
62
|
+
case "DryRunOperationException":
|
|
63
|
+
case "com.amazon.aws.codewhisperer#DryRunOperationException":
|
|
64
|
+
throw await de_DryRunOperationExceptionRes(parsedOutput, context);
|
|
65
|
+
case "ResourceNotFoundException":
|
|
66
|
+
case "com.amazon.aws.codewhisperer#ResourceNotFoundException":
|
|
67
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
68
|
+
case "ServiceQuotaExceededException":
|
|
69
|
+
case "com.amazon.aws.codewhisperer#ServiceQuotaExceededException":
|
|
70
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
71
|
+
default:
|
|
72
|
+
const parsedBody = parsedOutput.body;
|
|
73
|
+
return throwDefaultError({
|
|
74
|
+
output,
|
|
75
|
+
parsedBody,
|
|
76
|
+
errorCode
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
81
|
+
const body = parsedOutput.body;
|
|
82
|
+
const deserialized = _json(body);
|
|
83
|
+
const exception = new AccessDeniedException({
|
|
84
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
85
|
+
...deserialized
|
|
86
|
+
});
|
|
87
|
+
return __decorateServiceException(exception, body);
|
|
88
|
+
};
|
|
89
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
90
|
+
const body = parsedOutput.body;
|
|
91
|
+
const deserialized = _json(body);
|
|
92
|
+
const exception = new ConflictException({
|
|
93
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
94
|
+
...deserialized
|
|
95
|
+
});
|
|
96
|
+
return __decorateServiceException(exception, body);
|
|
97
|
+
};
|
|
98
|
+
const de_DryRunOperationExceptionRes = async (parsedOutput, context) => {
|
|
99
|
+
const body = parsedOutput.body;
|
|
100
|
+
const deserialized = _json(body);
|
|
101
|
+
const exception = new DryRunOperationException({
|
|
102
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
103
|
+
...deserialized
|
|
104
|
+
});
|
|
105
|
+
return __decorateServiceException(exception, body);
|
|
106
|
+
};
|
|
107
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
108
|
+
const body = parsedOutput.body;
|
|
109
|
+
const deserialized = _json(body);
|
|
110
|
+
const exception = new InternalServerException({
|
|
111
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
112
|
+
...deserialized
|
|
113
|
+
});
|
|
114
|
+
return __decorateServiceException(exception, body);
|
|
115
|
+
};
|
|
116
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
117
|
+
const body = parsedOutput.body;
|
|
118
|
+
const deserialized = _json(body);
|
|
119
|
+
const exception = new ResourceNotFoundException({
|
|
120
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
121
|
+
...deserialized
|
|
122
|
+
});
|
|
123
|
+
return __decorateServiceException(exception, body);
|
|
124
|
+
};
|
|
125
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
126
|
+
const body = parsedOutput.body;
|
|
127
|
+
const deserialized = _json(body);
|
|
128
|
+
const exception = new ServiceQuotaExceededException({
|
|
129
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
130
|
+
...deserialized
|
|
131
|
+
});
|
|
132
|
+
return __decorateServiceException(exception, body);
|
|
133
|
+
};
|
|
134
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
135
|
+
const body = parsedOutput.body;
|
|
136
|
+
const deserialized = _json(body);
|
|
137
|
+
const exception = new ThrottlingException({
|
|
138
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
139
|
+
...deserialized
|
|
140
|
+
});
|
|
141
|
+
return __decorateServiceException(exception, body);
|
|
142
|
+
};
|
|
143
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
144
|
+
const body = parsedOutput.body;
|
|
145
|
+
const deserialized = _json(body);
|
|
146
|
+
const exception = new ValidationException({
|
|
147
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
148
|
+
...deserialized
|
|
149
|
+
});
|
|
150
|
+
return __decorateServiceException(exception, body);
|
|
151
|
+
};
|
|
152
|
+
const de_ChatResponseStream = (output, context) => {
|
|
153
|
+
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
154
|
+
if (event["messageMetadataEvent"] != null) {
|
|
155
|
+
return {
|
|
156
|
+
messageMetadataEvent: await de_MessageMetadataEvent_event(event["messageMetadataEvent"], context),
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
if (event["assistantResponseEvent"] != null) {
|
|
160
|
+
return {
|
|
161
|
+
assistantResponseEvent: await de_AssistantResponseEvent_event(event["assistantResponseEvent"], context),
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
if (event["dryRunSucceedEvent"] != null) {
|
|
165
|
+
return {
|
|
166
|
+
dryRunSucceedEvent: await de_DryRunSucceedEvent_event(event["dryRunSucceedEvent"], context),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
if (event["codeReferenceEvent"] != null) {
|
|
170
|
+
return {
|
|
171
|
+
codeReferenceEvent: await de_CodeReferenceEvent_event(event["codeReferenceEvent"], context),
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
if (event["supplementaryWebLinksEvent"] != null) {
|
|
175
|
+
return {
|
|
176
|
+
supplementaryWebLinksEvent: await de_SupplementaryWebLinksEvent_event(event["supplementaryWebLinksEvent"], context),
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
if (event["followupPromptEvent"] != null) {
|
|
180
|
+
return {
|
|
181
|
+
followupPromptEvent: await de_FollowupPromptEvent_event(event["followupPromptEvent"], context),
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
if (event["codeEvent"] != null) {
|
|
185
|
+
return {
|
|
186
|
+
codeEvent: await de_CodeEvent_event(event["codeEvent"], context),
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
if (event["intentsEvent"] != null) {
|
|
190
|
+
return {
|
|
191
|
+
intentsEvent: await de_IntentsEvent_event(event["intentsEvent"], context),
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
if (event["interactionComponentsEvent"] != null) {
|
|
195
|
+
return {
|
|
196
|
+
interactionComponentsEvent: await de_InteractionComponentsEvent_event(event["interactionComponentsEvent"], context),
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
if (event["toolUseEvent"] != null) {
|
|
200
|
+
return {
|
|
201
|
+
toolUseEvent: await de_ToolUseEvent_event(event["toolUseEvent"], context),
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
if (event["toolResultEvent"] != null) {
|
|
205
|
+
return {
|
|
206
|
+
toolResultEvent: await de_ToolResultEvent_event(event["toolResultEvent"], context),
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
if (event["citationEvent"] != null) {
|
|
210
|
+
return {
|
|
211
|
+
citationEvent: await de_CitationEvent_event(event["citationEvent"], context),
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
if (event["invalidStateEvent"] != null) {
|
|
215
|
+
return {
|
|
216
|
+
invalidStateEvent: await de_InvalidStateEvent_event(event["invalidStateEvent"], context),
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
if (event["error"] != null) {
|
|
220
|
+
return {
|
|
221
|
+
error: await de_InternalServerException_event(event["error"], context),
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
return { $unknown: output };
|
|
225
|
+
});
|
|
226
|
+
};
|
|
227
|
+
const de_GenerateCodeFromCommandsResponseStream = (output, context) => {
|
|
228
|
+
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
229
|
+
if (event["codeEvent"] != null) {
|
|
230
|
+
return {
|
|
231
|
+
codeEvent: await de_CodeEvent_event(event["codeEvent"], context),
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
if (event["Error"] != null) {
|
|
235
|
+
return {
|
|
236
|
+
Error: await de_InternalServerException_event(event["Error"], context),
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
if (event["QuotaLevelExceededError"] != null) {
|
|
240
|
+
return {
|
|
241
|
+
QuotaLevelExceededError: await de_ServiceQuotaExceededException_event(event["QuotaLevelExceededError"], context),
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
if (event["ValidationError"] != null) {
|
|
245
|
+
return {
|
|
246
|
+
ValidationError: await de_ValidationException_event(event["ValidationError"], context),
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
return { $unknown: output };
|
|
250
|
+
});
|
|
251
|
+
};
|
|
252
|
+
const de_AssistantResponseEvent_event = async (output, context) => {
|
|
253
|
+
const contents = {};
|
|
254
|
+
const data = await parseBody(output.body, context);
|
|
255
|
+
Object.assign(contents, _json(data));
|
|
256
|
+
return contents;
|
|
257
|
+
};
|
|
258
|
+
const de_CitationEvent_event = async (output, context) => {
|
|
259
|
+
const contents = {};
|
|
260
|
+
const data = await parseBody(output.body, context);
|
|
261
|
+
Object.assign(contents, _json(data));
|
|
262
|
+
return contents;
|
|
263
|
+
};
|
|
264
|
+
const de_CodeEvent_event = async (output, context) => {
|
|
265
|
+
const contents = {};
|
|
266
|
+
const data = await parseBody(output.body, context);
|
|
267
|
+
Object.assign(contents, _json(data));
|
|
268
|
+
return contents;
|
|
269
|
+
};
|
|
270
|
+
const de_CodeReferenceEvent_event = async (output, context) => {
|
|
271
|
+
const contents = {};
|
|
272
|
+
const data = await parseBody(output.body, context);
|
|
273
|
+
Object.assign(contents, _json(data));
|
|
274
|
+
return contents;
|
|
275
|
+
};
|
|
276
|
+
const de_DryRunSucceedEvent_event = async (output, context) => {
|
|
277
|
+
const contents = {};
|
|
278
|
+
const data = await parseBody(output.body, context);
|
|
279
|
+
Object.assign(contents, _json(data));
|
|
280
|
+
return contents;
|
|
281
|
+
};
|
|
282
|
+
const de_FollowupPromptEvent_event = async (output, context) => {
|
|
283
|
+
const contents = {};
|
|
284
|
+
const data = await parseBody(output.body, context);
|
|
285
|
+
Object.assign(contents, _json(data));
|
|
286
|
+
return contents;
|
|
287
|
+
};
|
|
288
|
+
const de_IntentsEvent_event = async (output, context) => {
|
|
289
|
+
const contents = {};
|
|
290
|
+
const data = await parseBody(output.body, context);
|
|
291
|
+
Object.assign(contents, _json(data));
|
|
292
|
+
return contents;
|
|
293
|
+
};
|
|
294
|
+
const de_InternalServerException_event = async (output, context) => {
|
|
295
|
+
const parsedOutput = {
|
|
296
|
+
...output,
|
|
297
|
+
body: await parseBody(output.body, context)
|
|
298
|
+
};
|
|
299
|
+
return de_InternalServerExceptionRes(parsedOutput, context);
|
|
300
|
+
};
|
|
301
|
+
const de_InvalidStateEvent_event = async (output, context) => {
|
|
302
|
+
const contents = {};
|
|
303
|
+
const data = await parseBody(output.body, context);
|
|
304
|
+
Object.assign(contents, _json(data));
|
|
305
|
+
return contents;
|
|
306
|
+
};
|
|
307
|
+
const de_MessageMetadataEvent_event = async (output, context) => {
|
|
308
|
+
const contents = {};
|
|
309
|
+
const data = await parseBody(output.body, context);
|
|
310
|
+
Object.assign(contents, _json(data));
|
|
311
|
+
return contents;
|
|
312
|
+
};
|
|
313
|
+
const de_ServiceQuotaExceededException_event = async (output, context) => {
|
|
314
|
+
const parsedOutput = {
|
|
315
|
+
...output,
|
|
316
|
+
body: await parseBody(output.body, context)
|
|
317
|
+
};
|
|
318
|
+
return de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
319
|
+
};
|
|
320
|
+
const de_SupplementaryWebLinksEvent_event = async (output, context) => {
|
|
321
|
+
const contents = {};
|
|
322
|
+
const data = await parseBody(output.body, context);
|
|
323
|
+
Object.assign(contents, _json(data));
|
|
324
|
+
return contents;
|
|
325
|
+
};
|
|
326
|
+
const de_ToolResultEvent_event = async (output, context) => {
|
|
327
|
+
const contents = {};
|
|
328
|
+
const data = await parseBody(output.body, context);
|
|
329
|
+
Object.assign(contents, de_ToolResultEvent(data, context));
|
|
330
|
+
return contents;
|
|
331
|
+
};
|
|
332
|
+
const de_ToolUseEvent_event = async (output, context) => {
|
|
333
|
+
const contents = {};
|
|
334
|
+
const data = await parseBody(output.body, context);
|
|
335
|
+
Object.assign(contents, _json(data));
|
|
336
|
+
return contents;
|
|
337
|
+
};
|
|
338
|
+
const de_ValidationException_event = async (output, context) => {
|
|
339
|
+
const parsedOutput = {
|
|
340
|
+
...output,
|
|
341
|
+
body: await parseBody(output.body, context)
|
|
342
|
+
};
|
|
343
|
+
return de_ValidationExceptionRes(parsedOutput, context);
|
|
344
|
+
};
|
|
345
|
+
const de_InteractionComponentsEvent_event = async (output, context) => {
|
|
346
|
+
const contents = {};
|
|
347
|
+
const data = await parseBody(output.body, context);
|
|
348
|
+
Object.assign(contents, de_InteractionComponentsEvent(data, context));
|
|
349
|
+
return contents;
|
|
350
|
+
};
|
|
351
|
+
const se_AssistantResponseMessage = (input, context) => {
|
|
352
|
+
return take(input, {
|
|
353
|
+
'content': [],
|
|
354
|
+
'followupPrompt': _json,
|
|
355
|
+
'messageId': [],
|
|
356
|
+
'references': _json,
|
|
357
|
+
'supplementaryWebLinks': _json,
|
|
358
|
+
'toolUses': _ => se_ToolUses(_, context),
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
const se_ChatHistory = (input, context) => {
|
|
362
|
+
return input.filter((e) => e != null).map(entry => {
|
|
363
|
+
return se_ChatMessage(entry, context);
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
const se_ChatMessage = (input, context) => {
|
|
367
|
+
return ChatMessage.visit(input, {
|
|
368
|
+
assistantResponseMessage: value => ({ "assistantResponseMessage": se_AssistantResponseMessage(value, context) }),
|
|
369
|
+
userInputMessage: value => ({ "userInputMessage": se_UserInputMessage(value, context) }),
|
|
370
|
+
_: (name, value) => ({ name: value })
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
const se_ConversationState = (input, context) => {
|
|
374
|
+
return take(input, {
|
|
375
|
+
'chatTriggerType': [],
|
|
376
|
+
'conversationId': [],
|
|
377
|
+
'currentMessage': _ => se_ChatMessage(_, context),
|
|
378
|
+
'customizationArn': [],
|
|
379
|
+
'history': _ => se_ChatHistory(_, context),
|
|
380
|
+
});
|
|
381
|
+
};
|
|
382
|
+
const se_ImageBlock = (input, context) => {
|
|
383
|
+
return take(input, {
|
|
384
|
+
'format': [],
|
|
385
|
+
'source': _ => se_ImageSource(_, context),
|
|
386
|
+
});
|
|
387
|
+
};
|
|
388
|
+
const se_ImageBlocks = (input, context) => {
|
|
389
|
+
return input.filter((e) => e != null).map(entry => {
|
|
390
|
+
return se_ImageBlock(entry, context);
|
|
391
|
+
});
|
|
392
|
+
};
|
|
393
|
+
const se_ImageSource = (input, context) => {
|
|
394
|
+
return ImageSource.visit(input, {
|
|
395
|
+
bytes: value => ({ "bytes": context.base64Encoder(value) }),
|
|
396
|
+
_: (name, value) => ({ name: value })
|
|
397
|
+
});
|
|
398
|
+
};
|
|
399
|
+
const se_SensitiveDocument = (input, context) => {
|
|
400
|
+
return input;
|
|
401
|
+
};
|
|
402
|
+
const se_Tool = (input, context) => {
|
|
403
|
+
return Tool.visit(input, {
|
|
404
|
+
toolSpecification: value => ({ "toolSpecification": se_ToolSpecification(value, context) }),
|
|
405
|
+
_: (name, value) => ({ name: value })
|
|
406
|
+
});
|
|
407
|
+
};
|
|
408
|
+
const se_ToolInputSchema = (input, context) => {
|
|
409
|
+
return take(input, {
|
|
410
|
+
'json': _ => se_SensitiveDocument(_, context),
|
|
411
|
+
});
|
|
412
|
+
};
|
|
413
|
+
const se_ToolResult = (input, context) => {
|
|
414
|
+
return take(input, {
|
|
415
|
+
'content': _ => se_ToolResultContent(_, context),
|
|
416
|
+
'status': [],
|
|
417
|
+
'toolUseId': [],
|
|
418
|
+
});
|
|
419
|
+
};
|
|
420
|
+
const se_ToolResultContent = (input, context) => {
|
|
421
|
+
return input.filter((e) => e != null).map(entry => {
|
|
422
|
+
return se_ToolResultContentBlock(entry, context);
|
|
423
|
+
});
|
|
424
|
+
};
|
|
425
|
+
const se_ToolResultContentBlock = (input, context) => {
|
|
426
|
+
return ToolResultContentBlock.visit(input, {
|
|
427
|
+
json: value => ({ "json": se_SensitiveDocument(value, context) }),
|
|
428
|
+
text: value => ({ "text": value }),
|
|
429
|
+
_: (name, value) => ({ name: value })
|
|
430
|
+
});
|
|
431
|
+
};
|
|
432
|
+
const se_ToolResults = (input, context) => {
|
|
433
|
+
return input.filter((e) => e != null).map(entry => {
|
|
434
|
+
return se_ToolResult(entry, context);
|
|
435
|
+
});
|
|
436
|
+
};
|
|
437
|
+
const se_Tools = (input, context) => {
|
|
438
|
+
return input.filter((e) => e != null).map(entry => {
|
|
439
|
+
return se_Tool(entry, context);
|
|
440
|
+
});
|
|
441
|
+
};
|
|
442
|
+
const se_ToolSpecification = (input, context) => {
|
|
443
|
+
return take(input, {
|
|
444
|
+
'description': [],
|
|
445
|
+
'inputSchema': _ => se_ToolInputSchema(_, context),
|
|
446
|
+
'name': [],
|
|
447
|
+
});
|
|
448
|
+
};
|
|
449
|
+
const se_ToolUse = (input, context) => {
|
|
450
|
+
return take(input, {
|
|
451
|
+
'input': _ => se_SensitiveDocument(_, context),
|
|
452
|
+
'name': [],
|
|
453
|
+
'toolUseId': [],
|
|
454
|
+
});
|
|
455
|
+
};
|
|
456
|
+
const se_ToolUses = (input, context) => {
|
|
457
|
+
return input.filter((e) => e != null).map(entry => {
|
|
458
|
+
return se_ToolUse(entry, context);
|
|
459
|
+
});
|
|
460
|
+
};
|
|
461
|
+
const se_UserInputMessage = (input, context) => {
|
|
462
|
+
return take(input, {
|
|
463
|
+
'content': [],
|
|
464
|
+
'images': _ => se_ImageBlocks(_, context),
|
|
465
|
+
'origin': [],
|
|
466
|
+
'userInputMessageContext': _ => se_UserInputMessageContext(_, context),
|
|
467
|
+
'userIntent': [],
|
|
468
|
+
});
|
|
469
|
+
};
|
|
470
|
+
const se_UserInputMessageContext = (input, context) => {
|
|
471
|
+
return take(input, {
|
|
472
|
+
'additionalContext': _json,
|
|
473
|
+
'appStudioContext': _json,
|
|
474
|
+
'consoleState': _json,
|
|
475
|
+
'diagnostic': _json,
|
|
476
|
+
'editorState': _json,
|
|
477
|
+
'envState': _json,
|
|
478
|
+
'gitState': _json,
|
|
479
|
+
'shellState': _json,
|
|
480
|
+
'toolResults': _ => se_ToolResults(_, context),
|
|
481
|
+
'tools': _ => se_Tools(_, context),
|
|
482
|
+
'userSettings': _json,
|
|
483
|
+
});
|
|
484
|
+
};
|
|
485
|
+
const se_SendMessageRequest = (input, context) => {
|
|
486
|
+
return take(input, {
|
|
487
|
+
'conversationState': _ => se_ConversationState(_, context),
|
|
488
|
+
'dryRun': [],
|
|
489
|
+
'profileArn': [],
|
|
490
|
+
'source': [],
|
|
491
|
+
});
|
|
492
|
+
};
|
|
493
|
+
const de_SensitiveDocument = (output, context) => {
|
|
494
|
+
return output;
|
|
495
|
+
};
|
|
496
|
+
const de_ToolResult = (output, context) => {
|
|
497
|
+
return take(output, {
|
|
498
|
+
'content': (_) => de_ToolResultContent(_, context),
|
|
499
|
+
'status': __expectString,
|
|
500
|
+
'toolUseId': __expectString,
|
|
501
|
+
});
|
|
502
|
+
};
|
|
503
|
+
const de_ToolResultContent = (output, context) => {
|
|
504
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
505
|
+
return de_ToolResultContentBlock(__expectUnion(entry), context);
|
|
506
|
+
});
|
|
507
|
+
return retVal;
|
|
508
|
+
};
|
|
509
|
+
const de_ToolResultContentBlock = (output, context) => {
|
|
510
|
+
if (output.json != null) {
|
|
511
|
+
return {
|
|
512
|
+
json: de_SensitiveDocument(output.json, context)
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
if (__expectString(output.text) !== undefined) {
|
|
516
|
+
return { text: __expectString(output.text) };
|
|
517
|
+
}
|
|
518
|
+
return { $unknown: Object.entries(output)[0] };
|
|
519
|
+
};
|
|
520
|
+
const de_ToolResultEvent = (output, context) => {
|
|
521
|
+
return take(output, {
|
|
522
|
+
'toolResult': (_) => de_ToolResult(_, context),
|
|
523
|
+
});
|
|
524
|
+
};
|
|
525
|
+
const de_InteractionComponentsEvent = (output, context) => {
|
|
526
|
+
return take(output, {
|
|
527
|
+
'interactionComponentEntries': (_) => de_InteractionComponentEntryList(_, context),
|
|
528
|
+
});
|
|
529
|
+
};
|
|
530
|
+
const de_InteractionComponent = (output, context) => {
|
|
531
|
+
return take(output, {
|
|
532
|
+
'action': _json,
|
|
533
|
+
'alert': _json,
|
|
534
|
+
'infrastructureUpdate': _json,
|
|
535
|
+
'progress': _json,
|
|
536
|
+
'resource': _json,
|
|
537
|
+
'resourceList': _json,
|
|
538
|
+
'section': _json,
|
|
539
|
+
'step': _json,
|
|
540
|
+
'suggestions': _json,
|
|
541
|
+
'taskDetails': _json,
|
|
542
|
+
'taskReference': _json,
|
|
543
|
+
'text': _json,
|
|
544
|
+
});
|
|
545
|
+
};
|
|
546
|
+
const de_InteractionComponentEntry = (output, context) => {
|
|
547
|
+
return take(output, {
|
|
548
|
+
'interactionComponent': (_) => de_InteractionComponent(_, context),
|
|
549
|
+
'interactionComponentId': __expectString,
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
const de_InteractionComponentEntryList = (output, context) => {
|
|
553
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
554
|
+
return de_InteractionComponentEntry(entry, context);
|
|
555
|
+
});
|
|
556
|
+
return retVal;
|
|
557
|
+
};
|
|
558
|
+
const deserializeMetadata = (output) => ({
|
|
559
|
+
httpStatusCode: output.statusCode,
|
|
560
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
561
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
562
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
563
|
+
});
|
|
564
|
+
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
|
|
565
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
566
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
567
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
568
|
+
const contents = {
|
|
569
|
+
protocol,
|
|
570
|
+
hostname,
|
|
571
|
+
port,
|
|
572
|
+
method: "POST",
|
|
573
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
574
|
+
headers,
|
|
575
|
+
};
|
|
576
|
+
if (resolvedHostname !== undefined) {
|
|
577
|
+
contents.hostname = resolvedHostname;
|
|
578
|
+
}
|
|
579
|
+
if (body !== undefined) {
|
|
580
|
+
contents.body = body;
|
|
581
|
+
}
|
|
582
|
+
return new __HttpRequest(contents);
|
|
583
|
+
};
|
|
584
|
+
function sharedHeaders(operation) {
|
|
585
|
+
return {
|
|
586
|
+
'content-type': "application/x-amz-json-1.0",
|
|
587
|
+
'x-amz-target': `AmazonQDeveloperStreamingService.${operation}`,
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
;
|
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.browser.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, } from "@smithy/config-resolver";
|
|
5
|
+
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-browser";
|
|
6
|
+
import { FetchHttpHandler as RequestHandler, streamCollector, } from "@smithy/fetch-http-handler";
|
|
7
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
8
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, } from "@smithy/util-retry";
|
|
10
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
13
|
+
export const getRuntimeConfig = (config) => {
|
|
14
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
15
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
16
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
17
|
+
return {
|
|
18
|
+
...clientSharedValues,
|
|
19
|
+
...config,
|
|
20
|
+
runtime: "browser",
|
|
21
|
+
defaultsMode,
|
|
22
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
23
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
24
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
26
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
27
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
28
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
29
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
30
|
+
sha256: config?.sha256 ?? Sha256,
|
|
31
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider, } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node";
|
|
7
|
+
import { Hash } from "@smithy/hash-node";
|
|
8
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/middleware-retry";
|
|
9
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
10
|
+
import { NodeHttpHandler as RequestHandler, streamCollector, } from "@smithy/node-http-handler";
|
|
11
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
13
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
15
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
18
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
awsCheckVersion(process.version);
|
|
23
|
+
const profileConfig = { profile: config?.profile };
|
|
24
|
+
return {
|
|
25
|
+
...clientSharedValues,
|
|
26
|
+
...config,
|
|
27
|
+
runtime: "node",
|
|
28
|
+
defaultsMode,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
32
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
34
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
35
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? loadNodeConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config),
|
|
37
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
38
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
41
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
42
|
+
};
|
|
43
|
+
};
|
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.native.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|