@aws/lsp-codewhisperer 0.0.31 → 0.0.33
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 +220 -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 +1337 -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 +186 -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 +463 -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 +130 -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 +2 -0
- 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 +6 -5
- package/out/language-server/netTransform/transformHandler.js +35 -12
- package/out/language-server/netTransform/transformHandler.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/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 +25 -2
- 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
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { CodeWhispererStreamingServiceException as __BaseException } from "./CodeWhispererStreamingServiceException";
|
|
2
2
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
* @enum
|
|
6
7
|
*/
|
|
7
8
|
export declare const AccessDeniedExceptionReason: {
|
|
8
9
|
readonly UNAUTHORIZED_CUSTOMIZATION_RESOURCE_ACCESS: "UNAUTHORIZED_CUSTOMIZATION_RESOURCE_ACCESS";
|
|
10
|
+
readonly UNAUTHORIZED_WORKSPACE_CONTEXT_FEATURE_ACCESS: "UNAUTHORIZED_WORKSPACE_CONTEXT_FEATURE_ACCESS";
|
|
9
11
|
};
|
|
10
12
|
/**
|
|
11
13
|
* @public
|
|
@@ -22,12 +24,37 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
22
24
|
* Reason for AccessDeniedException
|
|
23
25
|
* @public
|
|
24
26
|
*/
|
|
25
|
-
reason?: AccessDeniedExceptionReason;
|
|
27
|
+
reason?: AccessDeniedExceptionReason | undefined;
|
|
26
28
|
/**
|
|
27
29
|
* @internal
|
|
28
30
|
*/
|
|
29
31
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
30
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Structure representing a single entry of additional contextual content
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface AdditionalContentEntry {
|
|
38
|
+
/**
|
|
39
|
+
* The name/identifier for this context entry
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
name: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* A description of what this context entry represents
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
description: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The actual contextual content
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
innerContext?: string | undefined;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
export declare const AdditionalContentEntryFilterSensitiveLog: (obj: AdditionalContentEntry) => any;
|
|
31
58
|
/**
|
|
32
59
|
* This exception is thrown when an unexpected error occurred during the processing of a request.
|
|
33
60
|
* @public
|
|
@@ -78,7 +105,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
78
105
|
* Reason for ThrottlingException
|
|
79
106
|
* @public
|
|
80
107
|
*/
|
|
81
|
-
reason?: ThrottlingExceptionReason;
|
|
108
|
+
reason?: ThrottlingExceptionReason | undefined;
|
|
82
109
|
/**
|
|
83
110
|
* @internal
|
|
84
111
|
*/
|
|
@@ -108,7 +135,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
108
135
|
* Reason for ValidationException
|
|
109
136
|
* @public
|
|
110
137
|
*/
|
|
111
|
-
reason?: ValidationExceptionReason;
|
|
138
|
+
reason?: ValidationExceptionReason | undefined;
|
|
112
139
|
/**
|
|
113
140
|
* @internal
|
|
114
141
|
*/
|
|
@@ -133,7 +160,7 @@ export interface AppStudioState {
|
|
|
133
160
|
* The value of the property.
|
|
134
161
|
* @public
|
|
135
162
|
*/
|
|
136
|
-
propertyValue?: string;
|
|
163
|
+
propertyValue?: string | undefined;
|
|
137
164
|
/**
|
|
138
165
|
* Context about how the property is used
|
|
139
166
|
* @public
|
|
@@ -223,19 +250,19 @@ export interface FollowupPrompt {
|
|
|
223
250
|
* User Intent
|
|
224
251
|
* @public
|
|
225
252
|
*/
|
|
226
|
-
userIntent?: UserIntent;
|
|
253
|
+
userIntent?: UserIntent | undefined;
|
|
227
254
|
}
|
|
228
255
|
/**
|
|
229
256
|
* @internal
|
|
230
257
|
*/
|
|
231
258
|
export declare const FollowupPromptFilterSensitiveLog: (obj: FollowupPrompt) => any;
|
|
232
259
|
/**
|
|
233
|
-
* Represents span in a text
|
|
260
|
+
* Represents span in a text.
|
|
234
261
|
* @public
|
|
235
262
|
*/
|
|
236
263
|
export interface Span {
|
|
237
|
-
start?: number;
|
|
238
|
-
end?: number;
|
|
264
|
+
start?: number | undefined;
|
|
265
|
+
end?: number | undefined;
|
|
239
266
|
}
|
|
240
267
|
/**
|
|
241
268
|
* Code Reference / Repository details
|
|
@@ -246,22 +273,22 @@ export interface Reference {
|
|
|
246
273
|
* License name
|
|
247
274
|
* @public
|
|
248
275
|
*/
|
|
249
|
-
licenseName?: string;
|
|
276
|
+
licenseName?: string | undefined;
|
|
250
277
|
/**
|
|
251
278
|
* Code Repsitory for the associated reference
|
|
252
279
|
* @public
|
|
253
280
|
*/
|
|
254
|
-
repository?: string;
|
|
281
|
+
repository?: string | undefined;
|
|
255
282
|
/**
|
|
256
283
|
* Respository URL
|
|
257
284
|
* @public
|
|
258
285
|
*/
|
|
259
|
-
url?: string;
|
|
286
|
+
url?: string | undefined;
|
|
260
287
|
/**
|
|
261
288
|
* Span / Range for the Reference
|
|
262
289
|
* @public
|
|
263
290
|
*/
|
|
264
|
-
recommendationContentSpan?: Span;
|
|
291
|
+
recommendationContentSpan?: Span | undefined;
|
|
265
292
|
}
|
|
266
293
|
/**
|
|
267
294
|
* Represents an additional reference link retured with the Chat message
|
|
@@ -269,25 +296,50 @@ export interface Reference {
|
|
|
269
296
|
*/
|
|
270
297
|
export interface SupplementaryWebLink {
|
|
271
298
|
/**
|
|
272
|
-
* URL of the web reference link
|
|
299
|
+
* URL of the web reference link.
|
|
273
300
|
* @public
|
|
274
301
|
*/
|
|
275
302
|
url: string | undefined;
|
|
276
303
|
/**
|
|
277
|
-
* Title of the web reference link
|
|
304
|
+
* Title of the web reference link.
|
|
278
305
|
* @public
|
|
279
306
|
*/
|
|
280
307
|
title: string | undefined;
|
|
281
308
|
/**
|
|
282
|
-
* Relevant text snippet from the link
|
|
309
|
+
* Relevant text snippet from the link.
|
|
283
310
|
* @public
|
|
284
311
|
*/
|
|
285
|
-
snippet?: string;
|
|
312
|
+
snippet?: string | undefined;
|
|
286
313
|
}
|
|
287
314
|
/**
|
|
288
315
|
* @internal
|
|
289
316
|
*/
|
|
290
317
|
export declare const SupplementaryWebLinkFilterSensitiveLog: (obj: SupplementaryWebLink) => any;
|
|
318
|
+
/**
|
|
319
|
+
* Contains information about a tool that the model is requesting be run. The model uses the result from the tool to generate a response.
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export interface ToolUse {
|
|
323
|
+
/**
|
|
324
|
+
* The ID for the tool request.
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
toolUseId: string | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* The name for the tool.
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
name: string | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* The input to pass to the tool.
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
input: __DocumentType | undefined;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* @internal
|
|
341
|
+
*/
|
|
342
|
+
export declare const ToolUseFilterSensitiveLog: (obj: ToolUse) => any;
|
|
291
343
|
/**
|
|
292
344
|
* Markdown text message.
|
|
293
345
|
* @public
|
|
@@ -297,7 +349,7 @@ export interface AssistantResponseMessage {
|
|
|
297
349
|
* Unique identifier for the chat message
|
|
298
350
|
* @public
|
|
299
351
|
*/
|
|
300
|
-
messageId?: string;
|
|
352
|
+
messageId?: string | undefined;
|
|
301
353
|
/**
|
|
302
354
|
* The content of the text message in markdown format.
|
|
303
355
|
* @public
|
|
@@ -307,17 +359,22 @@ export interface AssistantResponseMessage {
|
|
|
307
359
|
* Web References
|
|
308
360
|
* @public
|
|
309
361
|
*/
|
|
310
|
-
supplementaryWebLinks?: (SupplementaryWebLink)[];
|
|
362
|
+
supplementaryWebLinks?: (SupplementaryWebLink)[] | undefined;
|
|
311
363
|
/**
|
|
312
364
|
* Code References
|
|
313
365
|
* @public
|
|
314
366
|
*/
|
|
315
|
-
references?: (Reference)[];
|
|
367
|
+
references?: (Reference)[] | undefined;
|
|
316
368
|
/**
|
|
317
369
|
* Followup Prompt
|
|
318
370
|
* @public
|
|
319
371
|
*/
|
|
320
|
-
followupPrompt?: FollowupPrompt;
|
|
372
|
+
followupPrompt?: FollowupPrompt | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* ToolUse Request
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
toolUses?: (ToolUse)[] | undefined;
|
|
321
378
|
}
|
|
322
379
|
/**
|
|
323
380
|
* @internal
|
|
@@ -347,7 +404,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
347
404
|
* Reason for ConflictException
|
|
348
405
|
* @public
|
|
349
406
|
*/
|
|
350
|
-
reason?: ConflictExceptionReason;
|
|
407
|
+
reason?: ConflictExceptionReason | undefined;
|
|
351
408
|
/**
|
|
352
409
|
* @internal
|
|
353
410
|
*/
|
|
@@ -380,22 +437,22 @@ export interface BinaryMetadataEvent {
|
|
|
380
437
|
* Content length of the binary payload
|
|
381
438
|
* @public
|
|
382
439
|
*/
|
|
383
|
-
size?: number;
|
|
440
|
+
size?: number | undefined;
|
|
384
441
|
/**
|
|
385
442
|
* Content type of the response
|
|
386
443
|
* @public
|
|
387
444
|
*/
|
|
388
|
-
mimeType?: string;
|
|
445
|
+
mimeType?: string | undefined;
|
|
389
446
|
/**
|
|
390
447
|
* Content checksum of the binary payload
|
|
391
448
|
* @public
|
|
392
449
|
*/
|
|
393
|
-
contentChecksum?: string;
|
|
450
|
+
contentChecksum?: string | undefined;
|
|
394
451
|
/**
|
|
395
452
|
* Content checksum type of the binary payload
|
|
396
453
|
* @public
|
|
397
454
|
*/
|
|
398
|
-
contentChecksumType?: ContentChecksumType;
|
|
455
|
+
contentChecksumType?: ContentChecksumType | undefined;
|
|
399
456
|
}
|
|
400
457
|
/**
|
|
401
458
|
* @internal
|
|
@@ -410,23 +467,153 @@ export interface BinaryPayloadEvent {
|
|
|
410
467
|
* Payload Part's body
|
|
411
468
|
* @public
|
|
412
469
|
*/
|
|
413
|
-
bytes?: Uint8Array;
|
|
470
|
+
bytes?: Uint8Array | undefined;
|
|
414
471
|
}
|
|
415
472
|
/**
|
|
416
473
|
* @internal
|
|
417
474
|
*/
|
|
418
475
|
export declare const BinaryPayloadEventFilterSensitiveLog: (obj: BinaryPayloadEvent) => any;
|
|
476
|
+
/**
|
|
477
|
+
* @public
|
|
478
|
+
* @enum
|
|
479
|
+
*/
|
|
480
|
+
export declare const ImageFormat: {
|
|
481
|
+
readonly GIF: "gif";
|
|
482
|
+
readonly JPEG: "jpeg";
|
|
483
|
+
readonly PNG: "png";
|
|
484
|
+
readonly WEBP: "webp";
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
export type ImageFormat = typeof ImageFormat[keyof typeof ImageFormat];
|
|
490
|
+
/**
|
|
491
|
+
* Image bytes limited to ~10MB considering overhead of base64 encoding
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
export type ImageSource = ImageSource.BytesMember | ImageSource.$UnknownMember;
|
|
495
|
+
/**
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
export declare namespace ImageSource {
|
|
499
|
+
interface BytesMember {
|
|
500
|
+
bytes: Uint8Array;
|
|
501
|
+
$unknown?: never;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
interface $UnknownMember {
|
|
507
|
+
bytes?: never;
|
|
508
|
+
$unknown: [string, any];
|
|
509
|
+
}
|
|
510
|
+
interface Visitor<T> {
|
|
511
|
+
bytes: (value: Uint8Array) => T;
|
|
512
|
+
_: (name: string, value: any) => T;
|
|
513
|
+
}
|
|
514
|
+
const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* @internal
|
|
518
|
+
*/
|
|
519
|
+
export declare const ImageSourceFilterSensitiveLog: (obj: ImageSource) => any;
|
|
520
|
+
/**
|
|
521
|
+
* Represents the image source itself and the format of the image.
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
export interface ImageBlock {
|
|
525
|
+
format: ImageFormat | undefined;
|
|
526
|
+
/**
|
|
527
|
+
* Image bytes limited to ~10MB considering overhead of base64 encoding
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
source: ImageSource | undefined;
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* @internal
|
|
534
|
+
*/
|
|
535
|
+
export declare const ImageBlockFilterSensitiveLog: (obj: ImageBlock) => any;
|
|
536
|
+
/**
|
|
537
|
+
* @public
|
|
538
|
+
* @enum
|
|
539
|
+
*/
|
|
540
|
+
export declare const Origin: {
|
|
541
|
+
/**
|
|
542
|
+
* Any AI Editor.
|
|
543
|
+
*/
|
|
544
|
+
readonly AI_EDITOR: "AI_EDITOR";
|
|
545
|
+
/**
|
|
546
|
+
* AWS Chatbot
|
|
547
|
+
*/
|
|
548
|
+
readonly CHATBOT: "CHATBOT";
|
|
549
|
+
/**
|
|
550
|
+
* Any CLI caller.
|
|
551
|
+
*/
|
|
552
|
+
readonly CLI: "CLI";
|
|
553
|
+
/**
|
|
554
|
+
* AWS Management Console (https://<region>.console.aws.amazon.com)
|
|
555
|
+
*/
|
|
556
|
+
readonly CONSOLE: "CONSOLE";
|
|
557
|
+
/**
|
|
558
|
+
* AWS Documentation Website (https://docs.aws.amazon.com)
|
|
559
|
+
*/
|
|
560
|
+
readonly DOCUMENTATION: "DOCUMENTATION";
|
|
561
|
+
/**
|
|
562
|
+
* Any caller from GitLab Q integration.
|
|
563
|
+
*/
|
|
564
|
+
readonly GITLAB: "GITLAB";
|
|
565
|
+
/**
|
|
566
|
+
* Any IDE caller.
|
|
567
|
+
*/
|
|
568
|
+
readonly IDE: "IDE";
|
|
569
|
+
/**
|
|
570
|
+
* AWS Marketing Website (https://aws.amazon.com)
|
|
571
|
+
*/
|
|
572
|
+
readonly MARKETING: "MARKETING";
|
|
573
|
+
/**
|
|
574
|
+
* MD.
|
|
575
|
+
*/
|
|
576
|
+
readonly MD: "MD";
|
|
577
|
+
/**
|
|
578
|
+
* AWS Mobile Application (ACMA)
|
|
579
|
+
*/
|
|
580
|
+
readonly MOBILE: "MOBILE";
|
|
581
|
+
/**
|
|
582
|
+
* Amazon OpenSearch dashboard
|
|
583
|
+
*/
|
|
584
|
+
readonly OPENSEARCH_DASHBOARD: "OPENSEARCH_DASHBOARD";
|
|
585
|
+
/**
|
|
586
|
+
* Amazon SageMaker's Rome Chat.
|
|
587
|
+
*/
|
|
588
|
+
readonly SAGE_MAKER: "SAGE_MAKER";
|
|
589
|
+
/**
|
|
590
|
+
* Internal Service Traffic (Integ Tests, Canaries, etc.). This is the default when no Origin header present in request.
|
|
591
|
+
*/
|
|
592
|
+
readonly SERVICE_INTERNAL: "SERVICE_INTERNAL";
|
|
593
|
+
/**
|
|
594
|
+
* Unified Search in AWS Management Console (https://<region>.console.aws.amazon.com)
|
|
595
|
+
*/
|
|
596
|
+
readonly UNIFIED_SEARCH: "UNIFIED_SEARCH";
|
|
597
|
+
/**
|
|
598
|
+
* Origin header is not set.
|
|
599
|
+
*/
|
|
600
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
601
|
+
};
|
|
602
|
+
/**
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
export type Origin = typeof Origin[keyof typeof Origin];
|
|
419
606
|
/**
|
|
420
607
|
* Information about the state of the AWS management console page from which the user is calling
|
|
421
608
|
* @public
|
|
422
609
|
*/
|
|
423
610
|
export interface ConsoleState {
|
|
424
|
-
region?: string;
|
|
425
|
-
consoleUrl?: string;
|
|
426
|
-
serviceId?: string;
|
|
427
|
-
serviceConsolePage?: string;
|
|
428
|
-
serviceSubconsolePage?: string;
|
|
429
|
-
taskName?: string;
|
|
611
|
+
region?: string | undefined;
|
|
612
|
+
consoleUrl?: string | undefined;
|
|
613
|
+
serviceId?: string | undefined;
|
|
614
|
+
serviceConsolePage?: string | undefined;
|
|
615
|
+
serviceSubconsolePage?: string | undefined;
|
|
616
|
+
taskName?: string | undefined;
|
|
430
617
|
}
|
|
431
618
|
/**
|
|
432
619
|
* @internal
|
|
@@ -471,6 +658,21 @@ export interface RuntimeDiagnostic {
|
|
|
471
658
|
* @internal
|
|
472
659
|
*/
|
|
473
660
|
export declare const RuntimeDiagnosticFilterSensitiveLog: (obj: RuntimeDiagnostic) => any;
|
|
661
|
+
/**
|
|
662
|
+
* Structure to capture a description for an error code.
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
export interface CodeDescription {
|
|
666
|
+
/**
|
|
667
|
+
* An URI to open with more information about the diagnostic error.
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
670
|
+
href: string | undefined;
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* @internal
|
|
674
|
+
*/
|
|
675
|
+
export declare const CodeDescriptionFilterSensitiveLog: (obj: CodeDescription) => any;
|
|
474
676
|
/**
|
|
475
677
|
* @public
|
|
476
678
|
* @enum
|
|
@@ -501,7 +703,7 @@ export interface DocumentSymbol {
|
|
|
501
703
|
* Symbol package / source for FullyQualified names
|
|
502
704
|
* @public
|
|
503
705
|
*/
|
|
504
|
-
source?: string;
|
|
706
|
+
source?: string | undefined;
|
|
505
707
|
}
|
|
506
708
|
/**
|
|
507
709
|
* Represents a Text Document / File
|
|
@@ -517,17 +719,17 @@ export interface TextDocument {
|
|
|
517
719
|
* The text document's language identifier.
|
|
518
720
|
* @public
|
|
519
721
|
*/
|
|
520
|
-
programmingLanguage?: ProgrammingLanguage;
|
|
722
|
+
programmingLanguage?: ProgrammingLanguage | undefined;
|
|
521
723
|
/**
|
|
522
724
|
* Content of the text document
|
|
523
725
|
* @public
|
|
524
726
|
*/
|
|
525
|
-
text?: string;
|
|
727
|
+
text?: string | undefined;
|
|
526
728
|
/**
|
|
527
729
|
* DocumentSymbols parsed from a text document
|
|
528
730
|
* @public
|
|
529
731
|
*/
|
|
530
|
-
documentSymbols?: (DocumentSymbol)[];
|
|
732
|
+
documentSymbols?: (DocumentSymbol)[] | undefined;
|
|
531
733
|
}
|
|
532
734
|
/**
|
|
533
735
|
* @internal
|
|
@@ -565,6 +767,54 @@ export interface Range {
|
|
|
565
767
|
*/
|
|
566
768
|
end: Position | undefined;
|
|
567
769
|
}
|
|
770
|
+
/**
|
|
771
|
+
* Represents a location inside a resource, such as a line inside a text file.
|
|
772
|
+
* @public
|
|
773
|
+
*/
|
|
774
|
+
export interface DiagnosticLocation {
|
|
775
|
+
uri: string | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* Indicates Range / Span in a Text Document
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
range: Range | undefined;
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* @internal
|
|
784
|
+
*/
|
|
785
|
+
export declare const DiagnosticLocationFilterSensitiveLog: (obj: DiagnosticLocation) => any;
|
|
786
|
+
/**
|
|
787
|
+
* Represents a related message and source code location for a diagnostic.
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
790
|
+
export interface DiagnosticRelatedInformation {
|
|
791
|
+
/**
|
|
792
|
+
* The location of this related diagnostic information.
|
|
793
|
+
* @public
|
|
794
|
+
*/
|
|
795
|
+
location: DiagnosticLocation | undefined;
|
|
796
|
+
/**
|
|
797
|
+
* The message of this related diagnostic information.
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
800
|
+
message: string | undefined;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* @internal
|
|
804
|
+
*/
|
|
805
|
+
export declare const DiagnosticRelatedInformationFilterSensitiveLog: (obj: DiagnosticRelatedInformation) => any;
|
|
806
|
+
/**
|
|
807
|
+
* @public
|
|
808
|
+
* @enum
|
|
809
|
+
*/
|
|
810
|
+
export declare const DiagnosticTag: {
|
|
811
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
812
|
+
readonly UNNECESSARY: "UNNECESSARY";
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
export type DiagnosticTag = typeof DiagnosticTag[keyof typeof DiagnosticTag];
|
|
568
818
|
/**
|
|
569
819
|
* Structure to represent metadata about a TextDocument Diagnostic
|
|
570
820
|
* @public
|
|
@@ -595,6 +845,31 @@ export interface TextDocumentDiagnostic {
|
|
|
595
845
|
* @public
|
|
596
846
|
*/
|
|
597
847
|
message: string | undefined;
|
|
848
|
+
/**
|
|
849
|
+
* The diagnostic's code, which might appear in the user interface.
|
|
850
|
+
* @public
|
|
851
|
+
*/
|
|
852
|
+
code?: string | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* An optional property to describe the error code.
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
codeDescription?: CodeDescription | undefined;
|
|
858
|
+
/**
|
|
859
|
+
* Additional metadata about the diagnostic.
|
|
860
|
+
* @public
|
|
861
|
+
*/
|
|
862
|
+
tags?: (DiagnosticTag)[] | undefined;
|
|
863
|
+
/**
|
|
864
|
+
* an array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
|
|
865
|
+
* @public
|
|
866
|
+
*/
|
|
867
|
+
relatedInformation?: (DiagnosticRelatedInformation)[] | undefined;
|
|
868
|
+
/**
|
|
869
|
+
* A data entry field that is preserved between a `textDocument/publishDiagnostics` notification and `textDocument/codeAction` request.
|
|
870
|
+
* @public
|
|
871
|
+
*/
|
|
872
|
+
data?: string | undefined;
|
|
598
873
|
}
|
|
599
874
|
/**
|
|
600
875
|
* @internal
|
|
@@ -688,6 +963,20 @@ export declare namespace CursorState {
|
|
|
688
963
|
}
|
|
689
964
|
const visit: <T>(value: CursorState, visitor: Visitor<T>) => T;
|
|
690
965
|
}
|
|
966
|
+
/**
|
|
967
|
+
* @public
|
|
968
|
+
* @enum
|
|
969
|
+
*/
|
|
970
|
+
export declare const ContentType: {
|
|
971
|
+
readonly CODE: "CODE";
|
|
972
|
+
readonly FILE: "FILE";
|
|
973
|
+
readonly PROMPT: "PROMPT";
|
|
974
|
+
readonly WORKSPACE: "WORKSPACE";
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
export type ContentType = typeof ContentType[keyof typeof ContentType];
|
|
691
980
|
/**
|
|
692
981
|
* Represents an IDE retrieved relevant Text Document / File
|
|
693
982
|
* @public
|
|
@@ -702,17 +991,22 @@ export interface RelevantTextDocument {
|
|
|
702
991
|
* The text document's language identifier.
|
|
703
992
|
* @public
|
|
704
993
|
*/
|
|
705
|
-
programmingLanguage?: ProgrammingLanguage;
|
|
994
|
+
programmingLanguage?: ProgrammingLanguage | undefined;
|
|
706
995
|
/**
|
|
707
996
|
* Content of the text document
|
|
708
997
|
* @public
|
|
709
998
|
*/
|
|
710
|
-
text?: string;
|
|
999
|
+
text?: string | undefined;
|
|
711
1000
|
/**
|
|
712
1001
|
* DocumentSymbols parsed from a text document
|
|
713
1002
|
* @public
|
|
714
1003
|
*/
|
|
715
|
-
documentSymbols?: (DocumentSymbol)[];
|
|
1004
|
+
documentSymbols?: (DocumentSymbol)[] | undefined;
|
|
1005
|
+
/**
|
|
1006
|
+
* The type of content(file, prompt, symbol, or workspace)
|
|
1007
|
+
* @public
|
|
1008
|
+
*/
|
|
1009
|
+
type?: ContentType | undefined;
|
|
716
1010
|
}
|
|
717
1011
|
/**
|
|
718
1012
|
* @internal
|
|
@@ -727,22 +1021,27 @@ export interface EditorState {
|
|
|
727
1021
|
* Represents currently edited file
|
|
728
1022
|
* @public
|
|
729
1023
|
*/
|
|
730
|
-
document?: TextDocument;
|
|
1024
|
+
document?: TextDocument | undefined;
|
|
731
1025
|
/**
|
|
732
1026
|
* Position of the cursor
|
|
733
1027
|
* @public
|
|
734
1028
|
*/
|
|
735
|
-
cursorState?: CursorState;
|
|
1029
|
+
cursorState?: CursorState | undefined;
|
|
736
1030
|
/**
|
|
737
1031
|
* Represents IDE provided relevant files
|
|
738
1032
|
* @public
|
|
739
1033
|
*/
|
|
740
|
-
relevantDocuments?: (RelevantTextDocument)[];
|
|
1034
|
+
relevantDocuments?: (RelevantTextDocument)[] | undefined;
|
|
741
1035
|
/**
|
|
742
1036
|
* Whether service should use relevant document in prompt
|
|
743
1037
|
* @public
|
|
744
1038
|
*/
|
|
745
|
-
useRelevantDocuments?: boolean;
|
|
1039
|
+
useRelevantDocuments?: boolean | undefined;
|
|
1040
|
+
/**
|
|
1041
|
+
* Represents IDE provided list of workspace folders
|
|
1042
|
+
* @public
|
|
1043
|
+
*/
|
|
1044
|
+
workspaceFolders?: (string)[] | undefined;
|
|
746
1045
|
}
|
|
747
1046
|
/**
|
|
748
1047
|
* @internal
|
|
@@ -757,123 +1056,275 @@ export interface EnvironmentVariable {
|
|
|
757
1056
|
* The key of an environment variable
|
|
758
1057
|
* @public
|
|
759
1058
|
*/
|
|
760
|
-
key?: string;
|
|
1059
|
+
key?: string | undefined;
|
|
761
1060
|
/**
|
|
762
1061
|
* The value of an environment variable
|
|
763
1062
|
* @public
|
|
764
1063
|
*/
|
|
765
|
-
value?: string;
|
|
1064
|
+
value?: string | undefined;
|
|
766
1065
|
}
|
|
767
1066
|
/**
|
|
768
1067
|
* @internal
|
|
769
1068
|
*/
|
|
770
|
-
export declare const EnvironmentVariableFilterSensitiveLog: (obj: EnvironmentVariable) => any;
|
|
1069
|
+
export declare const EnvironmentVariableFilterSensitiveLog: (obj: EnvironmentVariable) => any;
|
|
1070
|
+
/**
|
|
1071
|
+
* State related to the user's environment
|
|
1072
|
+
* @public
|
|
1073
|
+
*/
|
|
1074
|
+
export interface EnvState {
|
|
1075
|
+
/**
|
|
1076
|
+
* The name of the operating system in use
|
|
1077
|
+
* @public
|
|
1078
|
+
*/
|
|
1079
|
+
operatingSystem?: string | undefined;
|
|
1080
|
+
/**
|
|
1081
|
+
* The current working directory of the environment
|
|
1082
|
+
* @public
|
|
1083
|
+
*/
|
|
1084
|
+
currentWorkingDirectory?: string | undefined;
|
|
1085
|
+
/**
|
|
1086
|
+
* The environment variables set in the current environment
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
1089
|
+
environmentVariables?: (EnvironmentVariable)[] | undefined;
|
|
1090
|
+
/**
|
|
1091
|
+
* Local timezone offset of the client. For more information, see documentation https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
timezoneOffset?: number | undefined;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* @internal
|
|
1098
|
+
*/
|
|
1099
|
+
export declare const EnvStateFilterSensitiveLog: (obj: EnvState) => any;
|
|
1100
|
+
/**
|
|
1101
|
+
* State related to the Git VSC
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
export interface GitState {
|
|
1105
|
+
/**
|
|
1106
|
+
* The output of the command `git status --porcelain=v1 -b`
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1109
|
+
status?: string | undefined;
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* @internal
|
|
1113
|
+
*/
|
|
1114
|
+
export declare const GitStateFilterSensitiveLog: (obj: GitState) => any;
|
|
1115
|
+
/**
|
|
1116
|
+
* An single entry in the shell history
|
|
1117
|
+
* @public
|
|
1118
|
+
*/
|
|
1119
|
+
export interface ShellHistoryEntry {
|
|
1120
|
+
/**
|
|
1121
|
+
* The shell command that was run
|
|
1122
|
+
* @public
|
|
1123
|
+
*/
|
|
1124
|
+
command: string | undefined;
|
|
1125
|
+
/**
|
|
1126
|
+
* The directory the command was ran in
|
|
1127
|
+
* @public
|
|
1128
|
+
*/
|
|
1129
|
+
directory?: string | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* The exit code of the command after it finished
|
|
1132
|
+
* @public
|
|
1133
|
+
*/
|
|
1134
|
+
exitCode?: number | undefined;
|
|
1135
|
+
/**
|
|
1136
|
+
* The stdout from the command
|
|
1137
|
+
* @public
|
|
1138
|
+
*/
|
|
1139
|
+
stdout?: string | undefined;
|
|
1140
|
+
/**
|
|
1141
|
+
* The stderr from the command
|
|
1142
|
+
* @public
|
|
1143
|
+
*/
|
|
1144
|
+
stderr?: string | undefined;
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* @internal
|
|
1148
|
+
*/
|
|
1149
|
+
export declare const ShellHistoryEntryFilterSensitiveLog: (obj: ShellHistoryEntry) => any;
|
|
1150
|
+
/**
|
|
1151
|
+
* Represents the state of a shell
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
export interface ShellState {
|
|
1155
|
+
/**
|
|
1156
|
+
* The name of the current shell
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
shellName: string | undefined;
|
|
1160
|
+
/**
|
|
1161
|
+
* The history previous shell commands for the current shell
|
|
1162
|
+
* @public
|
|
1163
|
+
*/
|
|
1164
|
+
shellHistory?: (ShellHistoryEntry)[] | undefined;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* @internal
|
|
1168
|
+
*/
|
|
1169
|
+
export declare const ShellStateFilterSensitiveLog: (obj: ShellState) => any;
|
|
1170
|
+
/**
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
export type ToolResultContentBlock = ToolResultContentBlock.JsonMember | ToolResultContentBlock.TextMember | ToolResultContentBlock.$UnknownMember;
|
|
1174
|
+
/**
|
|
1175
|
+
* @public
|
|
1176
|
+
*/
|
|
1177
|
+
export declare namespace ToolResultContentBlock {
|
|
1178
|
+
/**
|
|
1179
|
+
* A tool result that is text.
|
|
1180
|
+
* @public
|
|
1181
|
+
*/
|
|
1182
|
+
interface TextMember {
|
|
1183
|
+
text: string;
|
|
1184
|
+
json?: never;
|
|
1185
|
+
$unknown?: never;
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* A tool result that is JSON format data.
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
interface JsonMember {
|
|
1192
|
+
text?: never;
|
|
1193
|
+
json: __DocumentType;
|
|
1194
|
+
$unknown?: never;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1199
|
+
interface $UnknownMember {
|
|
1200
|
+
text?: never;
|
|
1201
|
+
json?: never;
|
|
1202
|
+
$unknown: [string, any];
|
|
1203
|
+
}
|
|
1204
|
+
interface Visitor<T> {
|
|
1205
|
+
text: (value: string) => T;
|
|
1206
|
+
json: (value: __DocumentType) => T;
|
|
1207
|
+
_: (name: string, value: any) => T;
|
|
1208
|
+
}
|
|
1209
|
+
const visit: <T>(value: ToolResultContentBlock, visitor: Visitor<T>) => T;
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* @internal
|
|
1213
|
+
*/
|
|
1214
|
+
export declare const ToolResultContentBlockFilterSensitiveLog: (obj: ToolResultContentBlock) => any;
|
|
1215
|
+
/**
|
|
1216
|
+
* @public
|
|
1217
|
+
* @enum
|
|
1218
|
+
*/
|
|
1219
|
+
export declare const ToolResultStatus: {
|
|
1220
|
+
readonly ERROR: "error";
|
|
1221
|
+
readonly SUCCESS: "success";
|
|
1222
|
+
};
|
|
1223
|
+
/**
|
|
1224
|
+
* @public
|
|
1225
|
+
*/
|
|
1226
|
+
export type ToolResultStatus = typeof ToolResultStatus[keyof typeof ToolResultStatus];
|
|
771
1227
|
/**
|
|
772
|
-
*
|
|
1228
|
+
* A tool result that contains the results for a tool request that was previously made.
|
|
773
1229
|
* @public
|
|
774
1230
|
*/
|
|
775
|
-
export interface
|
|
776
|
-
/**
|
|
777
|
-
* The name of the operating system in use
|
|
778
|
-
* @public
|
|
779
|
-
*/
|
|
780
|
-
operatingSystem?: string;
|
|
1231
|
+
export interface ToolResult {
|
|
781
1232
|
/**
|
|
782
|
-
* The
|
|
1233
|
+
* The ID for the tool request.
|
|
783
1234
|
* @public
|
|
784
1235
|
*/
|
|
785
|
-
|
|
1236
|
+
toolUseId: string | undefined;
|
|
786
1237
|
/**
|
|
787
|
-
*
|
|
1238
|
+
* Content of the tool result.
|
|
788
1239
|
* @public
|
|
789
1240
|
*/
|
|
790
|
-
|
|
1241
|
+
content: (ToolResultContentBlock)[] | undefined;
|
|
791
1242
|
/**
|
|
792
|
-
*
|
|
1243
|
+
* Status of the tools result.
|
|
793
1244
|
* @public
|
|
794
1245
|
*/
|
|
795
|
-
|
|
1246
|
+
status?: ToolResultStatus | undefined;
|
|
796
1247
|
}
|
|
797
1248
|
/**
|
|
798
1249
|
* @internal
|
|
799
1250
|
*/
|
|
800
|
-
export declare const
|
|
1251
|
+
export declare const ToolResultFilterSensitiveLog: (obj: ToolResult) => any;
|
|
801
1252
|
/**
|
|
802
|
-
*
|
|
1253
|
+
* The input schema for the tool in JSON format.
|
|
803
1254
|
* @public
|
|
804
1255
|
*/
|
|
805
|
-
export interface
|
|
806
|
-
|
|
807
|
-
* The output of the command `git status --porcelain=v1 -b`
|
|
808
|
-
* @public
|
|
809
|
-
*/
|
|
810
|
-
status?: string;
|
|
1256
|
+
export interface ToolInputSchema {
|
|
1257
|
+
json?: __DocumentType | undefined;
|
|
811
1258
|
}
|
|
812
1259
|
/**
|
|
813
1260
|
* @internal
|
|
814
1261
|
*/
|
|
815
|
-
export declare const
|
|
1262
|
+
export declare const ToolInputSchemaFilterSensitiveLog: (obj: ToolInputSchema) => any;
|
|
816
1263
|
/**
|
|
817
|
-
*
|
|
1264
|
+
* The specification for the tool.
|
|
818
1265
|
* @public
|
|
819
1266
|
*/
|
|
820
|
-
export interface
|
|
821
|
-
/**
|
|
822
|
-
* The shell command that was run
|
|
823
|
-
* @public
|
|
824
|
-
*/
|
|
825
|
-
command: string | undefined;
|
|
826
|
-
/**
|
|
827
|
-
* The directory the command was ran in
|
|
828
|
-
* @public
|
|
829
|
-
*/
|
|
830
|
-
directory?: string;
|
|
1267
|
+
export interface ToolSpecification {
|
|
831
1268
|
/**
|
|
832
|
-
* The
|
|
1269
|
+
* The input schema for the tool in JSON format.
|
|
833
1270
|
* @public
|
|
834
1271
|
*/
|
|
835
|
-
|
|
1272
|
+
inputSchema: ToolInputSchema | undefined;
|
|
836
1273
|
/**
|
|
837
|
-
* The
|
|
1274
|
+
* The name for the tool.
|
|
838
1275
|
* @public
|
|
839
1276
|
*/
|
|
840
|
-
|
|
1277
|
+
name: string | undefined;
|
|
841
1278
|
/**
|
|
842
|
-
* The
|
|
1279
|
+
* The description for the tool.
|
|
843
1280
|
* @public
|
|
844
1281
|
*/
|
|
845
|
-
|
|
1282
|
+
description?: string | undefined;
|
|
846
1283
|
}
|
|
847
1284
|
/**
|
|
848
1285
|
* @internal
|
|
849
1286
|
*/
|
|
850
|
-
export declare const
|
|
1287
|
+
export declare const ToolSpecificationFilterSensitiveLog: (obj: ToolSpecification) => any;
|
|
851
1288
|
/**
|
|
852
|
-
*
|
|
1289
|
+
* Information about a tool that can be used.
|
|
853
1290
|
* @public
|
|
854
1291
|
*/
|
|
855
|
-
export
|
|
1292
|
+
export type Tool = Tool.ToolSpecificationMember | Tool.$UnknownMember;
|
|
1293
|
+
/**
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
export declare namespace Tool {
|
|
856
1297
|
/**
|
|
857
|
-
* The
|
|
1298
|
+
* The specification for the tool.
|
|
858
1299
|
* @public
|
|
859
1300
|
*/
|
|
860
|
-
|
|
1301
|
+
interface ToolSpecificationMember {
|
|
1302
|
+
toolSpecification: ToolSpecification;
|
|
1303
|
+
$unknown?: never;
|
|
1304
|
+
}
|
|
861
1305
|
/**
|
|
862
|
-
* The history previous shell commands for the current shell
|
|
863
1306
|
* @public
|
|
864
1307
|
*/
|
|
865
|
-
|
|
1308
|
+
interface $UnknownMember {
|
|
1309
|
+
toolSpecification?: never;
|
|
1310
|
+
$unknown: [string, any];
|
|
1311
|
+
}
|
|
1312
|
+
interface Visitor<T> {
|
|
1313
|
+
toolSpecification: (value: ToolSpecification) => T;
|
|
1314
|
+
_: (name: string, value: any) => T;
|
|
1315
|
+
}
|
|
1316
|
+
const visit: <T>(value: Tool, visitor: Visitor<T>) => T;
|
|
866
1317
|
}
|
|
867
1318
|
/**
|
|
868
1319
|
* @internal
|
|
869
1320
|
*/
|
|
870
|
-
export declare const
|
|
1321
|
+
export declare const ToolFilterSensitiveLog: (obj: Tool) => any;
|
|
871
1322
|
/**
|
|
872
1323
|
* Settings information passed by the Q widget
|
|
873
1324
|
* @public
|
|
874
1325
|
*/
|
|
875
1326
|
export interface UserSettings {
|
|
876
|
-
hasConsentedToCrossRegionCalls?: boolean;
|
|
1327
|
+
hasConsentedToCrossRegionCalls?: boolean | undefined;
|
|
877
1328
|
}
|
|
878
1329
|
/**
|
|
879
1330
|
* Additional Chat message context associated with the Chat Message
|
|
@@ -884,49 +1335,64 @@ export interface UserInputMessageContext {
|
|
|
884
1335
|
* Editor state chat message context.
|
|
885
1336
|
* @public
|
|
886
1337
|
*/
|
|
887
|
-
editorState?: EditorState;
|
|
1338
|
+
editorState?: EditorState | undefined;
|
|
888
1339
|
/**
|
|
889
1340
|
* Shell state chat message context.
|
|
890
1341
|
* @public
|
|
891
1342
|
*/
|
|
892
|
-
shellState?: ShellState;
|
|
1343
|
+
shellState?: ShellState | undefined;
|
|
893
1344
|
/**
|
|
894
1345
|
* Git state chat message context.
|
|
895
1346
|
* @public
|
|
896
1347
|
*/
|
|
897
|
-
gitState?: GitState;
|
|
1348
|
+
gitState?: GitState | undefined;
|
|
898
1349
|
/**
|
|
899
1350
|
* Environment state chat message context.
|
|
900
1351
|
* @public
|
|
901
1352
|
*/
|
|
902
|
-
envState?: EnvState;
|
|
1353
|
+
envState?: EnvState | undefined;
|
|
903
1354
|
/**
|
|
904
1355
|
* The state of a user's AppStudio UI when sending a message.
|
|
905
1356
|
* @public
|
|
906
1357
|
*/
|
|
907
|
-
appStudioContext?: AppStudioState;
|
|
1358
|
+
appStudioContext?: AppStudioState | undefined;
|
|
908
1359
|
/**
|
|
909
1360
|
* Diagnostic chat message context.
|
|
910
1361
|
* @public
|
|
911
1362
|
*/
|
|
912
|
-
diagnostic?: Diagnostic;
|
|
1363
|
+
diagnostic?: Diagnostic | undefined;
|
|
913
1364
|
/**
|
|
914
1365
|
* Contextual information about the environment from which the user is calling.
|
|
915
1366
|
* @public
|
|
916
1367
|
*/
|
|
917
|
-
consoleState?: ConsoleState;
|
|
1368
|
+
consoleState?: ConsoleState | undefined;
|
|
918
1369
|
/**
|
|
919
1370
|
* Settings information, e.g., whether the user has enabled cross-region API calls.
|
|
920
1371
|
* @public
|
|
921
1372
|
*/
|
|
922
|
-
userSettings?: UserSettings;
|
|
1373
|
+
userSettings?: UserSettings | undefined;
|
|
1374
|
+
/**
|
|
1375
|
+
* List of additional contextual content entries that can be included with the message.
|
|
1376
|
+
* @public
|
|
1377
|
+
*/
|
|
1378
|
+
additionalContext?: (AdditionalContentEntry)[] | undefined;
|
|
1379
|
+
/**
|
|
1380
|
+
* ToolResults for the requested ToolUses.
|
|
1381
|
+
* @public
|
|
1382
|
+
*/
|
|
1383
|
+
toolResults?: (ToolResult)[] | undefined;
|
|
1384
|
+
/**
|
|
1385
|
+
* Tools that can be used.
|
|
1386
|
+
* @public
|
|
1387
|
+
*/
|
|
1388
|
+
tools?: (Tool)[] | undefined;
|
|
923
1389
|
}
|
|
924
1390
|
/**
|
|
925
1391
|
* @internal
|
|
926
1392
|
*/
|
|
927
1393
|
export declare const UserInputMessageContextFilterSensitiveLog: (obj: UserInputMessageContext) => any;
|
|
928
1394
|
/**
|
|
929
|
-
* Structure to represent a chat input message from User
|
|
1395
|
+
* Structure to represent a chat input message from User.
|
|
930
1396
|
* @public
|
|
931
1397
|
*/
|
|
932
1398
|
export interface UserInputMessage {
|
|
@@ -936,15 +1402,25 @@ export interface UserInputMessage {
|
|
|
936
1402
|
*/
|
|
937
1403
|
content: string | undefined;
|
|
938
1404
|
/**
|
|
939
|
-
* Chat message context associated with the Chat Message
|
|
1405
|
+
* Chat message context associated with the Chat Message.
|
|
940
1406
|
* @public
|
|
941
1407
|
*/
|
|
942
|
-
userInputMessageContext?: UserInputMessageContext;
|
|
1408
|
+
userInputMessageContext?: UserInputMessageContext | undefined;
|
|
943
1409
|
/**
|
|
944
|
-
* User Intent
|
|
1410
|
+
* User Intent.
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
userIntent?: UserIntent | undefined;
|
|
1414
|
+
/**
|
|
1415
|
+
* User Input Origin.
|
|
1416
|
+
* @public
|
|
1417
|
+
*/
|
|
1418
|
+
origin?: Origin | undefined;
|
|
1419
|
+
/**
|
|
1420
|
+
* Images associated with the Chat Message.
|
|
945
1421
|
* @public
|
|
946
1422
|
*/
|
|
947
|
-
|
|
1423
|
+
images?: (ImageBlock)[] | undefined;
|
|
948
1424
|
}
|
|
949
1425
|
/**
|
|
950
1426
|
* @internal
|
|
@@ -959,7 +1435,7 @@ export type ChatMessage = ChatMessage.AssistantResponseMessageMember | ChatMessa
|
|
|
959
1435
|
*/
|
|
960
1436
|
export declare namespace ChatMessage {
|
|
961
1437
|
/**
|
|
962
|
-
* Structure to represent a chat input message from User
|
|
1438
|
+
* Structure to represent a chat input message from User.
|
|
963
1439
|
* @public
|
|
964
1440
|
*/
|
|
965
1441
|
interface UserInputMessageMember {
|
|
@@ -995,6 +1471,73 @@ export declare namespace ChatMessage {
|
|
|
995
1471
|
* @internal
|
|
996
1472
|
*/
|
|
997
1473
|
export declare const ChatMessageFilterSensitiveLog: (obj: ChatMessage) => any;
|
|
1474
|
+
/**
|
|
1475
|
+
* Represents the target of a citation event
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
export type CitationTarget = CitationTarget.LocationMember | CitationTarget.RangeMember | CitationTarget.$UnknownMember;
|
|
1479
|
+
/**
|
|
1480
|
+
* @public
|
|
1481
|
+
*/
|
|
1482
|
+
export declare namespace CitationTarget {
|
|
1483
|
+
/**
|
|
1484
|
+
* Represents a position in the response text where a citation should be added
|
|
1485
|
+
* @public
|
|
1486
|
+
*/
|
|
1487
|
+
interface LocationMember {
|
|
1488
|
+
location: number;
|
|
1489
|
+
range?: never;
|
|
1490
|
+
$unknown?: never;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* Represents the range in the response text to be targetted by a citation
|
|
1494
|
+
* @public
|
|
1495
|
+
*/
|
|
1496
|
+
interface RangeMember {
|
|
1497
|
+
location?: never;
|
|
1498
|
+
range: Span;
|
|
1499
|
+
$unknown?: never;
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* @public
|
|
1503
|
+
*/
|
|
1504
|
+
interface $UnknownMember {
|
|
1505
|
+
location?: never;
|
|
1506
|
+
range?: never;
|
|
1507
|
+
$unknown: [string, any];
|
|
1508
|
+
}
|
|
1509
|
+
interface Visitor<T> {
|
|
1510
|
+
location: (value: number) => T;
|
|
1511
|
+
range: (value: Span) => T;
|
|
1512
|
+
_: (name: string, value: any) => T;
|
|
1513
|
+
}
|
|
1514
|
+
const visit: <T>(value: CitationTarget, visitor: Visitor<T>) => T;
|
|
1515
|
+
}
|
|
1516
|
+
/**
|
|
1517
|
+
* Streaming response event for citations
|
|
1518
|
+
* @public
|
|
1519
|
+
*/
|
|
1520
|
+
export interface CitationEvent {
|
|
1521
|
+
/**
|
|
1522
|
+
* The position or the range of the response text to be cited
|
|
1523
|
+
* @public
|
|
1524
|
+
*/
|
|
1525
|
+
target: CitationTarget | undefined;
|
|
1526
|
+
/**
|
|
1527
|
+
* The text inside the citation '1' in [1]
|
|
1528
|
+
* @public
|
|
1529
|
+
*/
|
|
1530
|
+
citationText?: string | undefined;
|
|
1531
|
+
/**
|
|
1532
|
+
* The link to the document being cited
|
|
1533
|
+
* @public
|
|
1534
|
+
*/
|
|
1535
|
+
citationLink: string | undefined;
|
|
1536
|
+
}
|
|
1537
|
+
/**
|
|
1538
|
+
* @internal
|
|
1539
|
+
*/
|
|
1540
|
+
export declare const CitationEventFilterSensitiveLog: (obj: CitationEvent) => any;
|
|
998
1541
|
/**
|
|
999
1542
|
* Streaming response event for generated code text.
|
|
1000
1543
|
* @public
|
|
@@ -1019,7 +1562,7 @@ export interface CodeReferenceEvent {
|
|
|
1019
1562
|
* Code References for Assistant Response Message
|
|
1020
1563
|
* @public
|
|
1021
1564
|
*/
|
|
1022
|
-
references?: (Reference)[];
|
|
1565
|
+
references?: (Reference)[] | undefined;
|
|
1023
1566
|
}
|
|
1024
1567
|
/**
|
|
1025
1568
|
* Streaming Response Event when DryRun is succeessful
|
|
@@ -1036,7 +1579,7 @@ export interface FollowupPromptEvent {
|
|
|
1036
1579
|
* Followup Prompt for the Assistant Response
|
|
1037
1580
|
* @public
|
|
1038
1581
|
*/
|
|
1039
|
-
followupPrompt?: FollowupPrompt;
|
|
1582
|
+
followupPrompt?: FollowupPrompt | undefined;
|
|
1040
1583
|
}
|
|
1041
1584
|
/**
|
|
1042
1585
|
* @internal
|
|
@@ -1089,7 +1632,7 @@ export interface IntentsEvent {
|
|
|
1089
1632
|
* A map of Intent objects
|
|
1090
1633
|
* @public
|
|
1091
1634
|
*/
|
|
1092
|
-
intents?: Partial<Record<IntentType, Record<string, IntentDataType
|
|
1635
|
+
intents?: Partial<Record<IntentType, Record<string, IntentDataType>>> | undefined;
|
|
1093
1636
|
}
|
|
1094
1637
|
/**
|
|
1095
1638
|
* @internal
|
|
@@ -1114,7 +1657,7 @@ export interface CloudWatchTroubleshootingLink {
|
|
|
1114
1657
|
* Fallback string, if target channel does not support the CloudWatchTroubleshootingLink.
|
|
1115
1658
|
* @public
|
|
1116
1659
|
*/
|
|
1117
|
-
defaultText?: string;
|
|
1660
|
+
defaultText?: string | undefined;
|
|
1118
1661
|
}
|
|
1119
1662
|
/**
|
|
1120
1663
|
* @internal
|
|
@@ -1128,7 +1671,7 @@ export interface ModuleLink {
|
|
|
1128
1671
|
* For CloudWatch Troubleshooting Link Module
|
|
1129
1672
|
* @public
|
|
1130
1673
|
*/
|
|
1131
|
-
cloudWatchTroubleshootingLink?: CloudWatchTroubleshootingLink;
|
|
1674
|
+
cloudWatchTroubleshootingLink?: CloudWatchTroubleshootingLink | undefined;
|
|
1132
1675
|
}
|
|
1133
1676
|
/**
|
|
1134
1677
|
* @internal
|
|
@@ -1157,8 +1700,8 @@ export declare const WebLinkFilterSensitiveLog: (obj: WebLink) => any;
|
|
|
1157
1700
|
* @public
|
|
1158
1701
|
*/
|
|
1159
1702
|
export interface Action {
|
|
1160
|
-
webLink?: WebLink;
|
|
1161
|
-
moduleLink?: ModuleLink;
|
|
1703
|
+
webLink?: WebLink | undefined;
|
|
1704
|
+
moduleLink?: ModuleLink | undefined;
|
|
1162
1705
|
}
|
|
1163
1706
|
/**
|
|
1164
1707
|
* @internal
|
|
@@ -1187,7 +1730,7 @@ export interface AlertComponent {
|
|
|
1187
1730
|
* Structure representing a simple text component with sensitive content, which can include Markdown formatting.
|
|
1188
1731
|
* @public
|
|
1189
1732
|
*/
|
|
1190
|
-
text?: Text;
|
|
1733
|
+
text?: Text | undefined;
|
|
1191
1734
|
}
|
|
1192
1735
|
/**
|
|
1193
1736
|
* @internal
|
|
@@ -1264,7 +1807,7 @@ export interface InfrastructureUpdate {
|
|
|
1264
1807
|
* Structure describing a transition between two states in an infrastructure update.
|
|
1265
1808
|
* @public
|
|
1266
1809
|
*/
|
|
1267
|
-
transition?: InfrastructureUpdateTransition;
|
|
1810
|
+
transition?: InfrastructureUpdateTransition | undefined;
|
|
1268
1811
|
}
|
|
1269
1812
|
/**
|
|
1270
1813
|
* @internal
|
|
@@ -1278,7 +1821,7 @@ export interface StepComponent {
|
|
|
1278
1821
|
* Structure representing a simple text component with sensitive content, which can include Markdown formatting.
|
|
1279
1822
|
* @public
|
|
1280
1823
|
*/
|
|
1281
|
-
text?: Text;
|
|
1824
|
+
text?: Text | undefined;
|
|
1282
1825
|
}
|
|
1283
1826
|
/**
|
|
1284
1827
|
* @internal
|
|
@@ -1346,7 +1889,7 @@ export interface Step {
|
|
|
1346
1889
|
* Optional content providing additional details about the step.
|
|
1347
1890
|
* @public
|
|
1348
1891
|
*/
|
|
1349
|
-
content?: (StepComponent)[];
|
|
1892
|
+
content?: (StepComponent)[] | undefined;
|
|
1350
1893
|
}
|
|
1351
1894
|
/**
|
|
1352
1895
|
* @internal
|
|
@@ -1360,7 +1903,7 @@ export interface ProgressComponent {
|
|
|
1360
1903
|
* Structure representing an individual step in a process.
|
|
1361
1904
|
* @public
|
|
1362
1905
|
*/
|
|
1363
|
-
step?: Step;
|
|
1906
|
+
step?: Step | undefined;
|
|
1364
1907
|
}
|
|
1365
1908
|
/**
|
|
1366
1909
|
* @internal
|
|
@@ -1430,7 +1973,7 @@ export interface ResourceList {
|
|
|
1430
1973
|
* Action associated with the list
|
|
1431
1974
|
* @public
|
|
1432
1975
|
*/
|
|
1433
|
-
action?: Action;
|
|
1976
|
+
action?: Action | undefined;
|
|
1434
1977
|
/**
|
|
1435
1978
|
* List of resources
|
|
1436
1979
|
* @public
|
|
@@ -1449,22 +1992,22 @@ export interface SectionComponent {
|
|
|
1449
1992
|
* Structure representing a simple text component with sensitive content, which can include Markdown formatting.
|
|
1450
1993
|
* @public
|
|
1451
1994
|
*/
|
|
1452
|
-
text?: Text;
|
|
1995
|
+
text?: Text | undefined;
|
|
1453
1996
|
/**
|
|
1454
1997
|
* Structure representing an alert with a type and content.
|
|
1455
1998
|
* @public
|
|
1456
1999
|
*/
|
|
1457
|
-
alert?: Alert;
|
|
2000
|
+
alert?: Alert | undefined;
|
|
1458
2001
|
/**
|
|
1459
2002
|
* Structure representing a resource item
|
|
1460
2003
|
* @public
|
|
1461
2004
|
*/
|
|
1462
|
-
resource?: Resource;
|
|
2005
|
+
resource?: Resource | undefined;
|
|
1463
2006
|
/**
|
|
1464
2007
|
* Structure representing a list of Items
|
|
1465
2008
|
* @public
|
|
1466
2009
|
*/
|
|
1467
|
-
resourceList?: ResourceList;
|
|
2010
|
+
resourceList?: ResourceList | undefined;
|
|
1468
2011
|
}
|
|
1469
2012
|
/**
|
|
1470
2013
|
* @internal
|
|
@@ -1489,7 +2032,7 @@ export interface Section {
|
|
|
1489
2032
|
* Action associated with the Section
|
|
1490
2033
|
* @public
|
|
1491
2034
|
*/
|
|
1492
|
-
action?: Action;
|
|
2035
|
+
action?: Action | undefined;
|
|
1493
2036
|
}
|
|
1494
2037
|
/**
|
|
1495
2038
|
* @internal
|
|
@@ -1526,7 +2069,7 @@ export interface TaskActionConfirmation {
|
|
|
1526
2069
|
* Confirmation message related to the action note, which may include sensitive information.
|
|
1527
2070
|
* @public
|
|
1528
2071
|
*/
|
|
1529
|
-
content?: string;
|
|
2072
|
+
content?: string | undefined;
|
|
1530
2073
|
}
|
|
1531
2074
|
/**
|
|
1532
2075
|
* @internal
|
|
@@ -1564,7 +2107,7 @@ export interface TaskActionNote {
|
|
|
1564
2107
|
* Enum defining the types of notes that can be associated with a task action.
|
|
1565
2108
|
* @public
|
|
1566
2109
|
*/
|
|
1567
|
-
type?: TaskActionNoteType;
|
|
2110
|
+
type?: TaskActionNoteType | undefined;
|
|
1568
2111
|
}
|
|
1569
2112
|
/**
|
|
1570
2113
|
* @internal
|
|
@@ -1584,17 +2127,17 @@ export interface TaskAction {
|
|
|
1584
2127
|
* Structure representing a note associated with a task action.
|
|
1585
2128
|
* @public
|
|
1586
2129
|
*/
|
|
1587
|
-
note?: TaskActionNote;
|
|
2130
|
+
note?: TaskActionNote | undefined;
|
|
1588
2131
|
/**
|
|
1589
2132
|
* Indicates whether the action is primary or not.
|
|
1590
2133
|
* @public
|
|
1591
2134
|
*/
|
|
1592
|
-
primary?: boolean;
|
|
2135
|
+
primary?: boolean | undefined;
|
|
1593
2136
|
/**
|
|
1594
2137
|
* Indicates whether the action is disabled or not.
|
|
1595
2138
|
* @public
|
|
1596
2139
|
*/
|
|
1597
|
-
disabled?: boolean;
|
|
2140
|
+
disabled?: boolean | undefined;
|
|
1598
2141
|
/**
|
|
1599
2142
|
* Map representing key-value pairs for the payload of a task action.
|
|
1600
2143
|
* @public
|
|
@@ -1604,7 +2147,7 @@ export interface TaskAction {
|
|
|
1604
2147
|
* Structure representing a confirmation message related to a task action.
|
|
1605
2148
|
* @public
|
|
1606
2149
|
*/
|
|
1607
|
-
confirmation?: TaskActionConfirmation;
|
|
2150
|
+
confirmation?: TaskActionConfirmation | undefined;
|
|
1608
2151
|
}
|
|
1609
2152
|
/**
|
|
1610
2153
|
* @internal
|
|
@@ -1619,22 +2162,22 @@ export interface TaskComponent {
|
|
|
1619
2162
|
* Structure representing a simple text component with sensitive content, which can include Markdown formatting.
|
|
1620
2163
|
* @public
|
|
1621
2164
|
*/
|
|
1622
|
-
text?: Text;
|
|
2165
|
+
text?: Text | undefined;
|
|
1623
2166
|
/**
|
|
1624
2167
|
* Structure representing different types of infrastructure updates.
|
|
1625
2168
|
* @public
|
|
1626
2169
|
*/
|
|
1627
|
-
infrastructureUpdate?: InfrastructureUpdate;
|
|
2170
|
+
infrastructureUpdate?: InfrastructureUpdate | undefined;
|
|
1628
2171
|
/**
|
|
1629
2172
|
* Structure representing an alert with a type and content.
|
|
1630
2173
|
* @public
|
|
1631
2174
|
*/
|
|
1632
|
-
alert?: Alert;
|
|
2175
|
+
alert?: Alert | undefined;
|
|
1633
2176
|
/**
|
|
1634
2177
|
* Structure representing a collection of steps in a process.
|
|
1635
2178
|
* @public
|
|
1636
2179
|
*/
|
|
1637
|
-
progress?: Progress;
|
|
2180
|
+
progress?: Progress | undefined;
|
|
1638
2181
|
}
|
|
1639
2182
|
/**
|
|
1640
2183
|
* @internal
|
|
@@ -1679,7 +2222,7 @@ export interface TaskDetails {
|
|
|
1679
2222
|
* Optional list of actions associated with the task.
|
|
1680
2223
|
* @public
|
|
1681
2224
|
*/
|
|
1682
|
-
actions?: (TaskAction)[];
|
|
2225
|
+
actions?: (TaskAction)[] | undefined;
|
|
1683
2226
|
}
|
|
1684
2227
|
/**
|
|
1685
2228
|
* @internal
|
|
@@ -1705,58 +2248,58 @@ export interface InteractionComponent {
|
|
|
1705
2248
|
* Structure representing a simple text component with sensitive content, which can include Markdown formatting.
|
|
1706
2249
|
* @public
|
|
1707
2250
|
*/
|
|
1708
|
-
text?: Text;
|
|
2251
|
+
text?: Text | undefined;
|
|
1709
2252
|
/**
|
|
1710
2253
|
* Structure representing an alert with a type and content.
|
|
1711
2254
|
* @public
|
|
1712
2255
|
*/
|
|
1713
|
-
alert?: Alert;
|
|
2256
|
+
alert?: Alert | undefined;
|
|
1714
2257
|
/**
|
|
1715
2258
|
* Structure representing different types of infrastructure updates.
|
|
1716
2259
|
* @public
|
|
1717
2260
|
*/
|
|
1718
|
-
infrastructureUpdate?: InfrastructureUpdate;
|
|
2261
|
+
infrastructureUpdate?: InfrastructureUpdate | undefined;
|
|
1719
2262
|
/**
|
|
1720
2263
|
* Structure representing a collection of steps in a process.
|
|
1721
2264
|
* @public
|
|
1722
2265
|
*/
|
|
1723
|
-
progress?: Progress;
|
|
2266
|
+
progress?: Progress | undefined;
|
|
1724
2267
|
/**
|
|
1725
2268
|
* Structure representing an individual step in a process.
|
|
1726
2269
|
* @public
|
|
1727
2270
|
*/
|
|
1728
|
-
step?: Step;
|
|
2271
|
+
step?: Step | undefined;
|
|
1729
2272
|
/**
|
|
1730
2273
|
* Structure containing details about a task.
|
|
1731
2274
|
* @public
|
|
1732
2275
|
*/
|
|
1733
|
-
taskDetails?: TaskDetails;
|
|
2276
|
+
taskDetails?: TaskDetails | undefined;
|
|
1734
2277
|
/**
|
|
1735
2278
|
* Structure representing a reference to a task.
|
|
1736
2279
|
* @public
|
|
1737
2280
|
*/
|
|
1738
|
-
taskReference?: TaskReference;
|
|
2281
|
+
taskReference?: TaskReference | undefined;
|
|
1739
2282
|
/**
|
|
1740
2283
|
* Structure containing a list of suggestions.
|
|
1741
2284
|
* @public
|
|
1742
2285
|
*/
|
|
1743
|
-
suggestions?: Suggestions;
|
|
2286
|
+
suggestions?: Suggestions | undefined;
|
|
1744
2287
|
/**
|
|
1745
2288
|
* Structure representing a collapsable section
|
|
1746
2289
|
* @public
|
|
1747
2290
|
*/
|
|
1748
|
-
section?: Section;
|
|
2291
|
+
section?: Section | undefined;
|
|
1749
2292
|
/**
|
|
1750
2293
|
* Structure representing a resource item
|
|
1751
2294
|
* @public
|
|
1752
2295
|
*/
|
|
1753
|
-
resource?: Resource;
|
|
2296
|
+
resource?: Resource | undefined;
|
|
1754
2297
|
/**
|
|
1755
2298
|
* Structure representing a list of Items
|
|
1756
2299
|
* @public
|
|
1757
2300
|
*/
|
|
1758
|
-
resourceList?: ResourceList;
|
|
1759
|
-
action?: Action;
|
|
2301
|
+
resourceList?: ResourceList | undefined;
|
|
2302
|
+
action?: Action | undefined;
|
|
1760
2303
|
}
|
|
1761
2304
|
/**
|
|
1762
2305
|
* @internal
|
|
@@ -1772,7 +2315,7 @@ export interface InteractionComponentEntry {
|
|
|
1772
2315
|
* stream response. This field is optional.
|
|
1773
2316
|
* @public
|
|
1774
2317
|
*/
|
|
1775
|
-
interactionComponentId?: string;
|
|
2318
|
+
interactionComponentId?: string | undefined;
|
|
1776
2319
|
/**
|
|
1777
2320
|
* Interaction component
|
|
1778
2321
|
* @public
|
|
@@ -1830,12 +2373,12 @@ export interface MessageMetadataEvent {
|
|
|
1830
2373
|
* Unique identifier for the conversation
|
|
1831
2374
|
* @public
|
|
1832
2375
|
*/
|
|
1833
|
-
conversationId?: string;
|
|
2376
|
+
conversationId?: string | undefined;
|
|
1834
2377
|
/**
|
|
1835
2378
|
* Unique identifier for the utterance
|
|
1836
2379
|
* @public
|
|
1837
2380
|
*/
|
|
1838
|
-
utteranceId?: string;
|
|
2381
|
+
utteranceId?: string | undefined;
|
|
1839
2382
|
}
|
|
1840
2383
|
/**
|
|
1841
2384
|
* Streaming Response Event for SupplementaryWebLinks
|
|
@@ -1846,17 +2389,61 @@ export interface SupplementaryWebLinksEvent {
|
|
|
1846
2389
|
* Web References for Assistant Response Message
|
|
1847
2390
|
* @public
|
|
1848
2391
|
*/
|
|
1849
|
-
supplementaryWebLinks?: (SupplementaryWebLink)[];
|
|
2392
|
+
supplementaryWebLinks?: (SupplementaryWebLink)[] | undefined;
|
|
1850
2393
|
}
|
|
1851
2394
|
/**
|
|
1852
2395
|
* @internal
|
|
1853
2396
|
*/
|
|
1854
2397
|
export declare const SupplementaryWebLinksEventFilterSensitiveLog: (obj: SupplementaryWebLinksEvent) => any;
|
|
2398
|
+
/**
|
|
2399
|
+
* @public
|
|
2400
|
+
*/
|
|
2401
|
+
export interface ToolResultEvent {
|
|
2402
|
+
/**
|
|
2403
|
+
* A tool result that contains the results for a tool request that was previously made.
|
|
2404
|
+
* @public
|
|
2405
|
+
*/
|
|
2406
|
+
toolResult?: ToolResult | undefined;
|
|
2407
|
+
}
|
|
2408
|
+
/**
|
|
2409
|
+
* @internal
|
|
2410
|
+
*/
|
|
2411
|
+
export declare const ToolResultEventFilterSensitiveLog: (obj: ToolResultEvent) => any;
|
|
2412
|
+
/**
|
|
2413
|
+
* Event for a ToolUse request. Multiple ToolUse requests can be returned from a single request, so each ToolUse has a unique 'toolUseId'.
|
|
2414
|
+
* @public
|
|
2415
|
+
*/
|
|
2416
|
+
export interface ToolUseEvent {
|
|
2417
|
+
/**
|
|
2418
|
+
* The ID for the tool request.
|
|
2419
|
+
* @public
|
|
2420
|
+
*/
|
|
2421
|
+
toolUseId: string | undefined;
|
|
2422
|
+
/**
|
|
2423
|
+
* The name for the tool.
|
|
2424
|
+
* @public
|
|
2425
|
+
*/
|
|
2426
|
+
name: string | undefined;
|
|
2427
|
+
/**
|
|
2428
|
+
* Represents the serialized json input for the ToolUse request. This field should be concatenated until 'stop' is true.
|
|
2429
|
+
* @public
|
|
2430
|
+
*/
|
|
2431
|
+
input?: string | undefined;
|
|
2432
|
+
/**
|
|
2433
|
+
* This field is true when all of the serialized input for this ToolUse request has been sent.
|
|
2434
|
+
* @public
|
|
2435
|
+
*/
|
|
2436
|
+
stop?: boolean | undefined;
|
|
2437
|
+
}
|
|
2438
|
+
/**
|
|
2439
|
+
* @internal
|
|
2440
|
+
*/
|
|
2441
|
+
export declare const ToolUseEventFilterSensitiveLog: (obj: ToolUseEvent) => any;
|
|
1855
2442
|
/**
|
|
1856
2443
|
* Streaming events from UniDirectional Streaming Conversational APIs.
|
|
1857
2444
|
* @public
|
|
1858
2445
|
*/
|
|
1859
|
-
export type ChatResponseStream = ChatResponseStream.AssistantResponseEventMember | ChatResponseStream.CodeEventMember | ChatResponseStream.CodeReferenceEventMember | ChatResponseStream.DryRunSucceedEventMember | ChatResponseStream.ErrorMember | ChatResponseStream.FollowupPromptEventMember | ChatResponseStream.IntentsEventMember | ChatResponseStream.InteractionComponentsEventMember | ChatResponseStream.InvalidStateEventMember | ChatResponseStream.MessageMetadataEventMember | ChatResponseStream.SupplementaryWebLinksEventMember | ChatResponseStream.$UnknownMember;
|
|
2446
|
+
export type ChatResponseStream = ChatResponseStream.AssistantResponseEventMember | ChatResponseStream.CitationEventMember | ChatResponseStream.CodeEventMember | ChatResponseStream.CodeReferenceEventMember | ChatResponseStream.DryRunSucceedEventMember | ChatResponseStream.ErrorMember | ChatResponseStream.FollowupPromptEventMember | ChatResponseStream.IntentsEventMember | ChatResponseStream.InteractionComponentsEventMember | ChatResponseStream.InvalidStateEventMember | ChatResponseStream.MessageMetadataEventMember | ChatResponseStream.SupplementaryWebLinksEventMember | ChatResponseStream.ToolResultEventMember | ChatResponseStream.ToolUseEventMember | ChatResponseStream.$UnknownMember;
|
|
1860
2447
|
/**
|
|
1861
2448
|
* @public
|
|
1862
2449
|
*/
|
|
@@ -1875,6 +2462,9 @@ export declare namespace ChatResponseStream {
|
|
|
1875
2462
|
codeEvent?: never;
|
|
1876
2463
|
intentsEvent?: never;
|
|
1877
2464
|
interactionComponentsEvent?: never;
|
|
2465
|
+
toolUseEvent?: never;
|
|
2466
|
+
toolResultEvent?: never;
|
|
2467
|
+
citationEvent?: never;
|
|
1878
2468
|
invalidStateEvent?: never;
|
|
1879
2469
|
error?: never;
|
|
1880
2470
|
$unknown?: never;
|
|
@@ -1893,6 +2483,9 @@ export declare namespace ChatResponseStream {
|
|
|
1893
2483
|
codeEvent?: never;
|
|
1894
2484
|
intentsEvent?: never;
|
|
1895
2485
|
interactionComponentsEvent?: never;
|
|
2486
|
+
toolUseEvent?: never;
|
|
2487
|
+
toolResultEvent?: never;
|
|
2488
|
+
citationEvent?: never;
|
|
1896
2489
|
invalidStateEvent?: never;
|
|
1897
2490
|
error?: never;
|
|
1898
2491
|
$unknown?: never;
|
|
@@ -1911,6 +2504,9 @@ export declare namespace ChatResponseStream {
|
|
|
1911
2504
|
codeEvent?: never;
|
|
1912
2505
|
intentsEvent?: never;
|
|
1913
2506
|
interactionComponentsEvent?: never;
|
|
2507
|
+
toolUseEvent?: never;
|
|
2508
|
+
toolResultEvent?: never;
|
|
2509
|
+
citationEvent?: never;
|
|
1914
2510
|
invalidStateEvent?: never;
|
|
1915
2511
|
error?: never;
|
|
1916
2512
|
$unknown?: never;
|
|
@@ -1929,6 +2525,9 @@ export declare namespace ChatResponseStream {
|
|
|
1929
2525
|
codeEvent?: never;
|
|
1930
2526
|
intentsEvent?: never;
|
|
1931
2527
|
interactionComponentsEvent?: never;
|
|
2528
|
+
toolUseEvent?: never;
|
|
2529
|
+
toolResultEvent?: never;
|
|
2530
|
+
citationEvent?: never;
|
|
1932
2531
|
invalidStateEvent?: never;
|
|
1933
2532
|
error?: never;
|
|
1934
2533
|
$unknown?: never;
|
|
@@ -1947,6 +2546,9 @@ export declare namespace ChatResponseStream {
|
|
|
1947
2546
|
codeEvent?: never;
|
|
1948
2547
|
intentsEvent?: never;
|
|
1949
2548
|
interactionComponentsEvent?: never;
|
|
2549
|
+
toolUseEvent?: never;
|
|
2550
|
+
toolResultEvent?: never;
|
|
2551
|
+
citationEvent?: never;
|
|
1950
2552
|
invalidStateEvent?: never;
|
|
1951
2553
|
error?: never;
|
|
1952
2554
|
$unknown?: never;
|
|
@@ -1965,6 +2567,9 @@ export declare namespace ChatResponseStream {
|
|
|
1965
2567
|
codeEvent?: never;
|
|
1966
2568
|
intentsEvent?: never;
|
|
1967
2569
|
interactionComponentsEvent?: never;
|
|
2570
|
+
toolUseEvent?: never;
|
|
2571
|
+
toolResultEvent?: never;
|
|
2572
|
+
citationEvent?: never;
|
|
1968
2573
|
invalidStateEvent?: never;
|
|
1969
2574
|
error?: never;
|
|
1970
2575
|
$unknown?: never;
|
|
@@ -1983,6 +2588,9 @@ export declare namespace ChatResponseStream {
|
|
|
1983
2588
|
codeEvent: CodeEvent;
|
|
1984
2589
|
intentsEvent?: never;
|
|
1985
2590
|
interactionComponentsEvent?: never;
|
|
2591
|
+
toolUseEvent?: never;
|
|
2592
|
+
toolResultEvent?: never;
|
|
2593
|
+
citationEvent?: never;
|
|
1986
2594
|
invalidStateEvent?: never;
|
|
1987
2595
|
error?: never;
|
|
1988
2596
|
$unknown?: never;
|
|
@@ -2001,6 +2609,9 @@ export declare namespace ChatResponseStream {
|
|
|
2001
2609
|
codeEvent?: never;
|
|
2002
2610
|
intentsEvent: IntentsEvent;
|
|
2003
2611
|
interactionComponentsEvent?: never;
|
|
2612
|
+
toolUseEvent?: never;
|
|
2613
|
+
toolResultEvent?: never;
|
|
2614
|
+
citationEvent?: never;
|
|
2004
2615
|
invalidStateEvent?: never;
|
|
2005
2616
|
error?: never;
|
|
2006
2617
|
$unknown?: never;
|
|
@@ -2019,6 +2630,72 @@ export declare namespace ChatResponseStream {
|
|
|
2019
2630
|
codeEvent?: never;
|
|
2020
2631
|
intentsEvent?: never;
|
|
2021
2632
|
interactionComponentsEvent: InteractionComponentsEvent;
|
|
2633
|
+
toolUseEvent?: never;
|
|
2634
|
+
toolResultEvent?: never;
|
|
2635
|
+
citationEvent?: never;
|
|
2636
|
+
invalidStateEvent?: never;
|
|
2637
|
+
error?: never;
|
|
2638
|
+
$unknown?: never;
|
|
2639
|
+
}
|
|
2640
|
+
/**
|
|
2641
|
+
* ToolUse event
|
|
2642
|
+
* @public
|
|
2643
|
+
*/
|
|
2644
|
+
interface ToolUseEventMember {
|
|
2645
|
+
messageMetadataEvent?: never;
|
|
2646
|
+
assistantResponseEvent?: never;
|
|
2647
|
+
dryRunSucceedEvent?: never;
|
|
2648
|
+
codeReferenceEvent?: never;
|
|
2649
|
+
supplementaryWebLinksEvent?: never;
|
|
2650
|
+
followupPromptEvent?: never;
|
|
2651
|
+
codeEvent?: never;
|
|
2652
|
+
intentsEvent?: never;
|
|
2653
|
+
interactionComponentsEvent?: never;
|
|
2654
|
+
toolUseEvent: ToolUseEvent;
|
|
2655
|
+
toolResultEvent?: never;
|
|
2656
|
+
citationEvent?: never;
|
|
2657
|
+
invalidStateEvent?: never;
|
|
2658
|
+
error?: never;
|
|
2659
|
+
$unknown?: never;
|
|
2660
|
+
}
|
|
2661
|
+
/**
|
|
2662
|
+
* Tool use result
|
|
2663
|
+
* @public
|
|
2664
|
+
*/
|
|
2665
|
+
interface ToolResultEventMember {
|
|
2666
|
+
messageMetadataEvent?: never;
|
|
2667
|
+
assistantResponseEvent?: never;
|
|
2668
|
+
dryRunSucceedEvent?: never;
|
|
2669
|
+
codeReferenceEvent?: never;
|
|
2670
|
+
supplementaryWebLinksEvent?: never;
|
|
2671
|
+
followupPromptEvent?: never;
|
|
2672
|
+
codeEvent?: never;
|
|
2673
|
+
intentsEvent?: never;
|
|
2674
|
+
interactionComponentsEvent?: never;
|
|
2675
|
+
toolUseEvent?: never;
|
|
2676
|
+
toolResultEvent: ToolResultEvent;
|
|
2677
|
+
citationEvent?: never;
|
|
2678
|
+
invalidStateEvent?: never;
|
|
2679
|
+
error?: never;
|
|
2680
|
+
$unknown?: never;
|
|
2681
|
+
}
|
|
2682
|
+
/**
|
|
2683
|
+
* Citation event
|
|
2684
|
+
* @public
|
|
2685
|
+
*/
|
|
2686
|
+
interface CitationEventMember {
|
|
2687
|
+
messageMetadataEvent?: never;
|
|
2688
|
+
assistantResponseEvent?: never;
|
|
2689
|
+
dryRunSucceedEvent?: never;
|
|
2690
|
+
codeReferenceEvent?: never;
|
|
2691
|
+
supplementaryWebLinksEvent?: never;
|
|
2692
|
+
followupPromptEvent?: never;
|
|
2693
|
+
codeEvent?: never;
|
|
2694
|
+
intentsEvent?: never;
|
|
2695
|
+
interactionComponentsEvent?: never;
|
|
2696
|
+
toolUseEvent?: never;
|
|
2697
|
+
toolResultEvent?: never;
|
|
2698
|
+
citationEvent: CitationEvent;
|
|
2022
2699
|
invalidStateEvent?: never;
|
|
2023
2700
|
error?: never;
|
|
2024
2701
|
$unknown?: never;
|
|
@@ -2037,6 +2714,9 @@ export declare namespace ChatResponseStream {
|
|
|
2037
2714
|
codeEvent?: never;
|
|
2038
2715
|
intentsEvent?: never;
|
|
2039
2716
|
interactionComponentsEvent?: never;
|
|
2717
|
+
toolUseEvent?: never;
|
|
2718
|
+
toolResultEvent?: never;
|
|
2719
|
+
citationEvent?: never;
|
|
2040
2720
|
invalidStateEvent: InvalidStateEvent;
|
|
2041
2721
|
error?: never;
|
|
2042
2722
|
$unknown?: never;
|
|
@@ -2055,6 +2735,9 @@ export declare namespace ChatResponseStream {
|
|
|
2055
2735
|
codeEvent?: never;
|
|
2056
2736
|
intentsEvent?: never;
|
|
2057
2737
|
interactionComponentsEvent?: never;
|
|
2738
|
+
toolUseEvent?: never;
|
|
2739
|
+
toolResultEvent?: never;
|
|
2740
|
+
citationEvent?: never;
|
|
2058
2741
|
invalidStateEvent?: never;
|
|
2059
2742
|
error: InternalServerException;
|
|
2060
2743
|
$unknown?: never;
|
|
@@ -2072,6 +2755,9 @@ export declare namespace ChatResponseStream {
|
|
|
2072
2755
|
codeEvent?: never;
|
|
2073
2756
|
intentsEvent?: never;
|
|
2074
2757
|
interactionComponentsEvent?: never;
|
|
2758
|
+
toolUseEvent?: never;
|
|
2759
|
+
toolResultEvent?: never;
|
|
2760
|
+
citationEvent?: never;
|
|
2075
2761
|
invalidStateEvent?: never;
|
|
2076
2762
|
error?: never;
|
|
2077
2763
|
$unknown: [string, any];
|
|
@@ -2086,6 +2772,9 @@ export declare namespace ChatResponseStream {
|
|
|
2086
2772
|
codeEvent: (value: CodeEvent) => T;
|
|
2087
2773
|
intentsEvent: (value: IntentsEvent) => T;
|
|
2088
2774
|
interactionComponentsEvent: (value: InteractionComponentsEvent) => T;
|
|
2775
|
+
toolUseEvent: (value: ToolUseEvent) => T;
|
|
2776
|
+
toolResultEvent: (value: ToolResultEvent) => T;
|
|
2777
|
+
citationEvent: (value: CitationEvent) => T;
|
|
2089
2778
|
invalidStateEvent: (value: InvalidStateEvent) => T;
|
|
2090
2779
|
error: (value: InternalServerException) => T;
|
|
2091
2780
|
_: (name: string, value: any) => T;
|
|
@@ -2139,12 +2828,12 @@ export interface ConversationState {
|
|
|
2139
2828
|
* Unique identifier for the chat conversation stream
|
|
2140
2829
|
* @public
|
|
2141
2830
|
*/
|
|
2142
|
-
conversationId?: string;
|
|
2831
|
+
conversationId?: string | undefined;
|
|
2143
2832
|
/**
|
|
2144
2833
|
* Holds the history of chat messages.
|
|
2145
2834
|
* @public
|
|
2146
2835
|
*/
|
|
2147
|
-
history?: (ChatMessage)[];
|
|
2836
|
+
history?: (ChatMessage)[] | undefined;
|
|
2148
2837
|
/**
|
|
2149
2838
|
* Holds the current message being processed or displayed.
|
|
2150
2839
|
* @public
|
|
@@ -2155,7 +2844,7 @@ export interface ConversationState {
|
|
|
2155
2844
|
* @public
|
|
2156
2845
|
*/
|
|
2157
2846
|
chatTriggerType: ChatTriggerType | undefined;
|
|
2158
|
-
customizationArn?: string;
|
|
2847
|
+
customizationArn?: string | undefined;
|
|
2159
2848
|
}
|
|
2160
2849
|
/**
|
|
2161
2850
|
* @internal
|
|
@@ -2168,7 +2857,7 @@ export declare const ConversationStateFilterSensitiveLog: (obj: ConversationStat
|
|
|
2168
2857
|
export declare class DryRunOperationException extends __BaseException {
|
|
2169
2858
|
readonly name: "DryRunOperationException";
|
|
2170
2859
|
readonly $fault: "client";
|
|
2171
|
-
responseCode?: number;
|
|
2860
|
+
responseCode?: number | undefined;
|
|
2172
2861
|
/**
|
|
2173
2862
|
* @internal
|
|
2174
2863
|
*/
|
|
@@ -2205,7 +2894,7 @@ export interface UnitTestGenerationExportContext {
|
|
|
2205
2894
|
* @public
|
|
2206
2895
|
*/
|
|
2207
2896
|
testGenerationJobGroupName: string | undefined;
|
|
2208
|
-
testGenerationJobId?: string;
|
|
2897
|
+
testGenerationJobId?: string | undefined;
|
|
2209
2898
|
}
|
|
2210
2899
|
/**
|
|
2211
2900
|
* Export Context
|
|
@@ -2331,6 +3020,17 @@ export declare namespace ResultArchiveStream {
|
|
|
2331
3020
|
* @internal
|
|
2332
3021
|
*/
|
|
2333
3022
|
export declare const ResultArchiveStreamFilterSensitiveLog: (obj: ResultArchiveStream) => any;
|
|
3023
|
+
/**
|
|
3024
|
+
* @public
|
|
3025
|
+
* @enum
|
|
3026
|
+
*/
|
|
3027
|
+
export declare const ServiceQuotaExceededExceptionReason: {
|
|
3028
|
+
readonly CONVERSATION_LIMIT_EXCEEDED: "CONVERSATION_LIMIT_EXCEEDED";
|
|
3029
|
+
};
|
|
3030
|
+
/**
|
|
3031
|
+
* @public
|
|
3032
|
+
*/
|
|
3033
|
+
export type ServiceQuotaExceededExceptionReason = typeof ServiceQuotaExceededExceptionReason[keyof typeof ServiceQuotaExceededExceptionReason];
|
|
2334
3034
|
/**
|
|
2335
3035
|
* This exception is thrown when request was denied due to caller exceeding their usage limits
|
|
2336
3036
|
* @public
|
|
@@ -2338,6 +3038,11 @@ export declare const ResultArchiveStreamFilterSensitiveLog: (obj: ResultArchiveS
|
|
|
2338
3038
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
2339
3039
|
readonly name: "ServiceQuotaExceededException";
|
|
2340
3040
|
readonly $fault: "client";
|
|
3041
|
+
/**
|
|
3042
|
+
* Reason for ServiceQuotaExceededException
|
|
3043
|
+
* @public
|
|
3044
|
+
*/
|
|
3045
|
+
reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
2341
3046
|
/**
|
|
2342
3047
|
* @internal
|
|
2343
3048
|
*/
|
|
@@ -2362,7 +3067,7 @@ export interface WorkspaceState {
|
|
|
2362
3067
|
* Workspace context truncation schemes based on usecase
|
|
2363
3068
|
* @public
|
|
2364
3069
|
*/
|
|
2365
|
-
contextTruncationScheme?: ContextTruncationScheme;
|
|
3070
|
+
contextTruncationScheme?: ContextTruncationScheme | undefined;
|
|
2366
3071
|
}
|
|
2367
3072
|
/**
|
|
2368
3073
|
* Structure to represent a new generate assistant response request.
|
|
@@ -2374,7 +3079,7 @@ export interface GenerateAssistantResponseRequest {
|
|
|
2374
3079
|
* @public
|
|
2375
3080
|
*/
|
|
2376
3081
|
conversationState: ConversationState | undefined;
|
|
2377
|
-
profileArn?: string;
|
|
3082
|
+
profileArn?: string | undefined;
|
|
2378
3083
|
}
|
|
2379
3084
|
/**
|
|
2380
3085
|
* @internal
|
|
@@ -2415,7 +3120,8 @@ export interface ExportResultArchiveRequest {
|
|
|
2415
3120
|
* Export Context
|
|
2416
3121
|
* @public
|
|
2417
3122
|
*/
|
|
2418
|
-
exportContext?: ExportContext;
|
|
3123
|
+
exportContext?: ExportContext | undefined;
|
|
3124
|
+
profileArn?: string | undefined;
|
|
2419
3125
|
}
|
|
2420
3126
|
/**
|
|
2421
3127
|
* Structure to represent ExportResultArchive response.
|
|
@@ -2432,60 +3138,6 @@ export interface ExportResultArchiveResponse {
|
|
|
2432
3138
|
* @internal
|
|
2433
3139
|
*/
|
|
2434
3140
|
export declare const ExportResultArchiveResponseFilterSensitiveLog: (obj: ExportResultArchiveResponse) => any;
|
|
2435
|
-
/**
|
|
2436
|
-
* @public
|
|
2437
|
-
* @enum
|
|
2438
|
-
*/
|
|
2439
|
-
export declare const Origin: {
|
|
2440
|
-
/**
|
|
2441
|
-
* AWS Chatbot
|
|
2442
|
-
*/
|
|
2443
|
-
readonly CHATBOT: "CHATBOT";
|
|
2444
|
-
/**
|
|
2445
|
-
* AWS Management Console (https://<region>.console.aws.amazon.com)
|
|
2446
|
-
*/
|
|
2447
|
-
readonly CONSOLE: "CONSOLE";
|
|
2448
|
-
/**
|
|
2449
|
-
* AWS Documentation Website (https://docs.aws.amazon.com)
|
|
2450
|
-
*/
|
|
2451
|
-
readonly DOCUMENTATION: "DOCUMENTATION";
|
|
2452
|
-
/**
|
|
2453
|
-
* Any IDE caller.
|
|
2454
|
-
*/
|
|
2455
|
-
readonly IDE: "IDE";
|
|
2456
|
-
/**
|
|
2457
|
-
* AWS Marketing Website (https://aws.amazon.com)
|
|
2458
|
-
*/
|
|
2459
|
-
readonly MARKETING: "MARKETING";
|
|
2460
|
-
/**
|
|
2461
|
-
* MD.
|
|
2462
|
-
*/
|
|
2463
|
-
readonly MD: "MD";
|
|
2464
|
-
/**
|
|
2465
|
-
* AWS Mobile Application (ACMA)
|
|
2466
|
-
*/
|
|
2467
|
-
readonly MOBILE: "MOBILE";
|
|
2468
|
-
/**
|
|
2469
|
-
* Amazon SageMaker's Rome Chat.
|
|
2470
|
-
*/
|
|
2471
|
-
readonly SAGE_MAKER: "SAGE_MAKER";
|
|
2472
|
-
/**
|
|
2473
|
-
* Internal Service Traffic (Integ Tests, Canaries, etc.). This is the default when no Origin header present in request.
|
|
2474
|
-
*/
|
|
2475
|
-
readonly SERVICE_INTERNAL: "SERVICE_INTERNAL";
|
|
2476
|
-
/**
|
|
2477
|
-
* Unified Search in AWS Management Console (https://<region>.console.aws.amazon.com)
|
|
2478
|
-
*/
|
|
2479
|
-
readonly UNIFIED_SEARCH: "UNIFIED_SEARCH";
|
|
2480
|
-
/**
|
|
2481
|
-
* Origin header is not set.
|
|
2482
|
-
*/
|
|
2483
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
2484
|
-
};
|
|
2485
|
-
/**
|
|
2486
|
-
* @public
|
|
2487
|
-
*/
|
|
2488
|
-
export type Origin = typeof Origin[keyof typeof Origin];
|
|
2489
3141
|
/**
|
|
2490
3142
|
* Structure to represent a SendMessage request.
|
|
2491
3143
|
* @public
|
|
@@ -2496,13 +3148,13 @@ export interface SendMessageRequest {
|
|
|
2496
3148
|
* @public
|
|
2497
3149
|
*/
|
|
2498
3150
|
conversationState: ConversationState | undefined;
|
|
2499
|
-
profileArn?: string;
|
|
3151
|
+
profileArn?: string | undefined;
|
|
2500
3152
|
/**
|
|
2501
3153
|
* The origin of the caller
|
|
2502
3154
|
* @public
|
|
2503
3155
|
*/
|
|
2504
|
-
source?: Origin;
|
|
2505
|
-
dryRun?: boolean;
|
|
3156
|
+
source?: Origin | undefined;
|
|
3157
|
+
dryRun?: boolean | undefined;
|
|
2506
3158
|
}
|
|
2507
3159
|
/**
|
|
2508
3160
|
* @internal
|
|
@@ -2538,6 +3190,7 @@ export interface GenerateTaskAssistPlanRequest {
|
|
|
2538
3190
|
* @public
|
|
2539
3191
|
*/
|
|
2540
3192
|
workspaceState: WorkspaceState | undefined;
|
|
3193
|
+
profileArn?: string | undefined;
|
|
2541
3194
|
}
|
|
2542
3195
|
/**
|
|
2543
3196
|
* @internal
|
|
@@ -2552,7 +3205,7 @@ export interface GenerateTaskAssistPlanResponse {
|
|
|
2552
3205
|
* Streaming events from UniDirectional Streaming Conversational APIs.
|
|
2553
3206
|
* @public
|
|
2554
3207
|
*/
|
|
2555
|
-
planningResponseStream?: AsyncIterable<ChatResponseStream
|
|
3208
|
+
planningResponseStream?: AsyncIterable<ChatResponseStream> | undefined;
|
|
2556
3209
|
}
|
|
2557
3210
|
/**
|
|
2558
3211
|
* @internal
|