@aws/lsp-codewhisperer 0.0.25 → 0.0.27
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 +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/README.md +53 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +209 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/constants.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +79 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +68 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/README.md +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +295 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/abort.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/auth.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/client.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/command.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/credentials.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/crypto.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/dns.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/encode.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/eventStream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/http.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/index.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/logger.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/middleware.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/pagination.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/profile.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/request.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/response.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/serde.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/shapes.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/signature.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/stream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/token.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/uri.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/util.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/waiter.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +49 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/dns.d.ts +85 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/http.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/logger.d.ts +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/request.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/response.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/serde.d.ts +24 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/token.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +19 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +56 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CHANGELOG.md +274 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/README.md +466 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/rng.js +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v35.js +66 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v4.js +29 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/stringify.js +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v35.js +66 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v4.js +29 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native-browser.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native.js +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng-browser.js +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/stringify.js +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v35.js +80 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v4.js +43 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/package.json +135 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/wrapper.mjs +10 -0
- package/out/client/sigv4/codewhisperer.d.ts +2 -1
- package/out/client/sigv4/codewhisperer.js +4 -4
- package/out/client/sigv4/codewhisperer.js.map +1 -1
- package/out/client/sigv4/service.json +935 -7
- package/out/client/streamingClient/codewhispererStreamingClient.d.ts +3 -2
- package/out/client/streamingClient/codewhispererStreamingClient.js +4 -29
- package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
- package/out/client/token/bearer-token-service.json +2 -2
- package/out/client/token/codewhisperer.d.ts +2 -1
- package/out/client/token/codewhisperer.js +4 -4
- package/out/client/token/codewhisperer.js.map +1 -1
- package/out/language-server/chat/chatController.test.js +10 -2
- package/out/language-server/chat/chatController.test.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.d.ts +2 -1
- package/out/language-server/chat/chatSessionManagementService.js +12 -1
- package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.test.js +9 -1
- package/out/language-server/chat/chatSessionManagementService.test.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +2 -1
- package/out/language-server/chat/chatSessionService.js +4 -2
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/chatSessionService.test.js +8 -1
- package/out/language-server/chat/chatSessionService.test.js.map +1 -1
- package/out/language-server/codeWhispererSecurityScanServer.d.ts +2 -1
- package/out/language-server/codeWhispererSecurityScanServer.js +2 -2
- package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
- package/out/language-server/codeWhispererServer.d.ts +2 -2
- package/out/language-server/codeWhispererServer.js +8 -8
- package/out/language-server/codeWhispererServer.js.map +1 -1
- package/out/language-server/codeWhispererService.d.ts +3 -4
- package/out/language-server/codeWhispererService.js +11 -11
- package/out/language-server/codeWhispererService.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.d.ts +2 -1
- package/out/language-server/configuration/qConfigurationServer.js +2 -2
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/netTransform/artifactManager.d.ts +2 -2
- package/out/language-server/netTransform/artifactManager.js +6 -16
- package/out/language-server/netTransform/artifactManager.js.map +1 -1
- package/out/language-server/netTransform/tests/transformHandler.test.d.ts +1 -2
- package/out/language-server/netTransform/tests/transformHandler.test.js +18 -34
- package/out/language-server/netTransform/tests/transformHandler.test.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.js +2 -3
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransformServer.d.ts +2 -1
- package/out/language-server/netTransformServer.js +3 -3
- package/out/language-server/netTransformServer.js.map +1 -1
- package/out/language-server/proxy-server.js +12 -39
- package/out/language-server/proxy-server.js.map +1 -1
- package/out/language-server/qChatServer.d.ts +2 -1
- package/out/language-server/qChatServer.js +3 -3
- package/out/language-server/qChatServer.js.map +1 -1
- package/out/language-server/telemetryService.d.ts +2 -2
- package/out/language-server/telemetryService.js +2 -2
- package/out/language-server/telemetryService.js.map +1 -1
- package/out/language-server/telemetryService.test.js +29 -22
- package/out/language-server/telemetryService.test.js.map +1 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +15 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/out/language-server/utils.d.ts +2 -3
- package/out/language-server/utils.js +1 -26
- package/out/language-server/utils.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformHandler.js","sourceRoot":"","sources":["../../../src/language-server/netTransform/transformHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAoF;AAEp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3,"file":"transformHandler.js","sourceRoot":"","sources":["../../../src/language-server/netTransform/transformHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAoF;AAEpF,yBAAwB;AACxB,6BAAqB;AACrB,+BAAmC;AAQnC,uDAAmD;AACnD,2CAAqF;AACrF,qCAaiB;AACjB,2CAA0C;AAC1C,6BAA6B;AAC7B,kCAAkC;AAOlC,MAAM,mBAAmB,GAAG,mBAAmB,CAAA;AAE/C,MAAa,gBAAgB;IACjB,MAAM,CAA2B;IACjC,SAAS,CAAW;IACpB,OAAO,CAAS;IACxB,YAAY,MAAiC,EAAE,SAAoB,EAAE,OAAgB;QACjF,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;QAC1B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IAC1B,CAAC;IAED,KAAK,CAAC,mBAAmB,CAAC,gBAAuC;QAC7D,IAAI,mBAAmB,GAAa,EAAE,CAAA;QACtC,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;QACxD,MAAM,wBAAwB,GAAG,MAAM,UAAU,CAAC,wBAAwB,CACtE,gBAAgB,EAChB,SAAS,EACT,IAAI,CAAC,OAAO,CACf,CAAA;QACD,IAAI,SAAS,EAAE,CAAC;YACZ,IAAI,OAAO,GAAG,UAAU,CAAC,eAAe,CAAC,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;YACxE,IAAI,CAAC,OAAO,EAAE,CAAC;gBACX,OAAO;oBACH,KAAK,EAAE,cAAc;oBACrB,WAAW,EAAE,KAAK;oBAClB,wBAAwB,EAAE,wBAAwB;iBAC3B,CAAA;YAC/B,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,mBAAmB,GAAG,UAAU,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAA;QACvE,CAAC;QAED,MAAM,eAAe,GAAG,IAAI,iCAAe,CACvC,IAAI,CAAC,SAAS,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;IACL,CAAC;CACJ;AA5YD,4CA4YC"}
|
|
@@ -3,9 +3,10 @@ import { CodeWhispererServiceToken } from './codeWhispererService';
|
|
|
3
3
|
export declare const validStatesForGettingPlan: string[];
|
|
4
4
|
export declare const validStatesForComplete: string[];
|
|
5
5
|
export declare const failureStates: string[];
|
|
6
|
+
import { SDKInitializator } from '@aws/language-server-runtimes/server-interface';
|
|
6
7
|
/**
|
|
7
8
|
*
|
|
8
9
|
* @param createService Inject service instance based on credentials provider.
|
|
9
10
|
* @returns NetTransform server
|
|
10
11
|
*/
|
|
11
|
-
export declare const QNetTransformServerToken: (service: (credentialsProvider: CredentialsProvider, workspace: Workspace, awsQRegion: string, awsQEndpointUrl: string) => CodeWhispererServiceToken) => Server;
|
|
12
|
+
export declare const QNetTransformServerToken: (service: (credentialsProvider: CredentialsProvider, workspace: Workspace, awsQRegion: string, awsQEndpointUrl: string, sdkInitializator: SDKInitializator) => CodeWhispererServiceToken) => Server;
|
|
@@ -21,8 +21,8 @@ const constants_1 = require("../constants");
|
|
|
21
21
|
* @param createService Inject service instance based on credentials provider.
|
|
22
22
|
* @returns NetTransform server
|
|
23
23
|
*/
|
|
24
|
-
const QNetTransformServerToken = (service) => ({ credentialsProvider, workspace, logging, lsp, telemetry, runtime }) => {
|
|
25
|
-
const codewhispererclient = service(credentialsProvider, workspace, runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION, runtime.getConfiguration('AWS_Q_ENDPOINT_URL') ?? constants_1.DEFAULT_AWS_Q_ENDPOINT_URL);
|
|
24
|
+
const QNetTransformServerToken = (service) => ({ credentialsProvider, workspace, logging, lsp, telemetry, runtime, sdkInitializator }) => {
|
|
25
|
+
const codewhispererclient = service(credentialsProvider, workspace, runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION, runtime.getConfiguration('AWS_Q_ENDPOINT_URL') ?? constants_1.DEFAULT_AWS_Q_ENDPOINT_URL, sdkInitializator);
|
|
26
26
|
const transformHandler = new transformHandler_1.TransformHandler(codewhispererclient, workspace, logging);
|
|
27
27
|
const runTransformCommand = async (params, _token) => {
|
|
28
28
|
try {
|
|
@@ -68,7 +68,7 @@ const QNetTransformServerToken = (service) => ({ credentialsProvider, workspace,
|
|
|
68
68
|
case DownloadArtifactsCommand: {
|
|
69
69
|
const request = params;
|
|
70
70
|
const cwStreamingClientInstance = new codewhispererStreamingClient_1.StreamingClient();
|
|
71
|
-
const cwStreamingClient = await cwStreamingClientInstance.getStreamingClient(credentialsProvider, runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION, runtime.getConfiguration('AWS_Q_ENDPOINT_URL') ?? constants_1.DEFAULT_AWS_Q_ENDPOINT_URL, customCWClientConfig);
|
|
71
|
+
const cwStreamingClient = await cwStreamingClientInstance.getStreamingClient(credentialsProvider, runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION, runtime.getConfiguration('AWS_Q_ENDPOINT_URL') ?? constants_1.DEFAULT_AWS_Q_ENDPOINT_URL, sdkInitializator, customCWClientConfig);
|
|
72
72
|
const response = await transformHandler.downloadExportResultArchive(cwStreamingClient, request.TransformationJobId, request.SolutionRootPath);
|
|
73
73
|
(0, metrics_1.emitTransformationJobArtifactsDownloadedTelemetry)(telemetry, response, request.TransformationJobId);
|
|
74
74
|
return response;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"netTransformServer.js","sourceRoot":"","sources":["../../src/language-server/netTransformServer.ts"],"names":[],"mappings":";;;AAQA,yGAAwF;AAExF,oDAe+B;AAQ/B,sEAAkE;AAElE,+DAAyD;AAE5C,QAAA,yBAAyB,GAAG,CAAC,WAAW,EAAE,qBAAqB,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,CAAC,CAAA;AAC1G,QAAA,sBAAsB,GAAG,CAAC,WAAW,CAAC,CAAA;AACtC,QAAA,aAAa,GAAG,CAAC,QAAQ,EAAE,UAA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AC,mBAAmB,CAAC,CAAA;IACvC,GAAG,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAA;IAE7C,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;AACnB,CAAC,CAAA;AA7KQ,QAAA,wBAAwB,4BA6KhC"}
|
|
@@ -8,53 +8,26 @@ const codeWhispererService_1 = require("./codeWhispererService");
|
|
|
8
8
|
const netTransformServer_1 = require("./netTransformServer");
|
|
9
9
|
const qChatServer_1 = require("./qChatServer");
|
|
10
10
|
const qConfigurationServer_1 = require("./configuration/qConfigurationServer");
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
-
exports.CodeWhispererServerTokenProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
15
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
11
|
+
exports.CodeWhispererServerTokenProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator) => {
|
|
12
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
16
13
|
});
|
|
17
|
-
exports.CodeWhispererServerIAMProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
18
|
-
return new codeWhispererService_1.CodeWhispererServiceIAM(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
14
|
+
exports.CodeWhispererServerIAMProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator) => {
|
|
15
|
+
return new codeWhispererService_1.CodeWhispererServiceIAM(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
19
16
|
});
|
|
20
|
-
exports.CodeWhispererSecurityScanServerTokenProxy = (0, codeWhispererSecurityScanServer_1.SecurityScanServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
21
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
17
|
+
exports.CodeWhispererSecurityScanServerTokenProxy = (0, codeWhispererSecurityScanServer_1.SecurityScanServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator) => {
|
|
18
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
22
19
|
});
|
|
23
|
-
exports.QNetTransformServerTokenProxy = (0, netTransformServer_1.QNetTransformServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
24
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
20
|
+
exports.QNetTransformServerTokenProxy = (0, netTransformServer_1.QNetTransformServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator) => {
|
|
21
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
25
22
|
});
|
|
26
|
-
exports.QChatServerProxy = (0, qChatServer_1.QChatServer)((credentialsProvider, awsQRegion, awsQEndpointUrl) => {
|
|
27
|
-
let clientOptions;
|
|
28
|
-
// short term solution to fix webworker bundling, broken due to this node.js specific logic in here
|
|
29
|
-
const isNodeJS = typeof process !== 'undefined' && process.release && process.release.name === 'node';
|
|
30
|
-
const proxyUrl = isNodeJS ? (process.env.HTTPS_PROXY ?? process.env.https_proxy) : undefined;
|
|
31
|
-
const certs = isNodeJS
|
|
32
|
-
? process.env.AWS_CA_BUNDLE
|
|
33
|
-
? [(0, fs_1.readFileSync)(process.env.AWS_CA_BUNDLE)]
|
|
34
|
-
: undefined
|
|
35
|
-
: undefined;
|
|
36
|
-
if (proxyUrl) {
|
|
37
|
-
clientOptions = () => {
|
|
38
|
-
// this mimics aws-sdk-v3-js-proxy
|
|
39
|
-
const agent = new hpagent_1.HttpsProxyAgent({
|
|
40
|
-
proxy: proxyUrl,
|
|
41
|
-
ca: certs,
|
|
42
|
-
});
|
|
43
|
-
return {
|
|
44
|
-
requestHandler: new node_http_handler_1.NodeHttpHandler({
|
|
45
|
-
httpAgent: agent,
|
|
46
|
-
httpsAgent: agent,
|
|
47
|
-
}),
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
}
|
|
23
|
+
exports.QChatServerProxy = (0, qChatServer_1.QChatServer)((credentialsProvider, awsQRegion, awsQEndpointUrl, sdkInitializator) => {
|
|
51
24
|
return chatSessionManagementService_1.ChatSessionManagementService.getInstance()
|
|
52
25
|
.withCredentialsProvider(credentialsProvider)
|
|
53
26
|
.withCodeWhispererEndpoint(awsQEndpointUrl)
|
|
54
27
|
.withCodeWhispererRegion(awsQRegion)
|
|
55
|
-
.
|
|
28
|
+
.withSdkRuntimeConfigurator(sdkInitializator);
|
|
56
29
|
});
|
|
57
|
-
exports.QConfigurationServerTokenProxy = (0, qConfigurationServer_1.QConfigurationServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
58
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
30
|
+
exports.QConfigurationServerTokenProxy = (0, qConfigurationServer_1.QConfigurationServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator) => {
|
|
31
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
59
32
|
});
|
|
60
33
|
//# sourceMappingURL=proxy-server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxy-server.js","sourceRoot":"","sources":["../../src/language-server/proxy-server.ts"],"names":[],"mappings":";;;AAAA,sFAAkF;AAElF,uFAA2E;AAC3E,+DAAkE;AAClE,iEAA2F;AAC3F,6DAA+D;AAC/D,+CAA2C;AAC3C,+EAAgF;
|
|
1
|
+
{"version":3,"file":"proxy-server.js","sourceRoot":"","sources":["../../src/language-server/proxy-server.ts"],"names":[],"mappings":";;;AAAA,sFAAkF;AAElF,uFAA2E;AAC3E,+DAAkE;AAClE,iEAA2F;AAC3F,6DAA+D;AAC/D,+CAA2C;AAC3C,+EAAgF;AAEnE,QAAA,6BAA6B,GAAG,IAAA,gDAA0B,EACnE,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;IAC9E,OAAO,IAAI,gDAAyB,CAChC,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,gBAAgB,CACnB,CAAA;AACL,CAAC,CACJ,CAAA;AAEY,QAAA,2BAA2B,GAAG,IAAA,gDAA0B,EACjE,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;IAC9E,OAAO,IAAI,8CAAuB,CAC9B,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,gBAAgB,CACnB,CAAA;AACL,CAAC,CACJ,CAAA;AAEY,QAAA,yCAAyC,GAAG,IAAA,yDAAuB,EAC5E,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;IAC9E,OAAO,IAAI,gDAAyB,CAChC,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,gBAAgB,CACnB,CAAA;AACL,CAAC,CACJ,CAAA;AAEY,QAAA,6BAA6B,GAAG,IAAA,6CAAwB,EACjE,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;IAC9E,OAAO,IAAI,gDAAyB,CAChC,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,gBAAgB,CACnB,CAAA;AACL,CAAC,CACJ,CAAA;AAEY,QAAA,gBAAgB,GAAG,IAAA,yBAAW,EAAC,CAAC,mBAAmB,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;IAC/G,OAAO,2DAA4B,CAAC,WAAW,EAAE;SAC5C,uBAAuB,CAAC,mBAAmB,CAAC;SAC5C,yBAAyB,CAAC,eAAe,CAAC;SAC1C,uBAAuB,CAAC,UAAU,CAAC;SACnC,0BAA0B,CAAC,gBAAgB,CAAC,CAAA;AACrD,CAAC,CAAC,CAAA;AAEW,QAAA,8BAA8B,GAAG,IAAA,gDAAyB,EACnE,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;IAC9E,OAAO,IAAI,gDAAyB,CAChC,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,gBAAgB,CACnB,CAAA;AACL,CAAC,CACJ,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { CredentialsProvider, Server } from '@aws/language-server-runtimes/server-interface';
|
|
2
2
|
import { ChatSessionManagementService } from './chat/chatSessionManagementService';
|
|
3
|
-
|
|
3
|
+
import { SDKInitializator } from '@aws/language-server-runtimes/server-interface';
|
|
4
|
+
export declare const QChatServer: (service: (credentialsProvider: CredentialsProvider, awsQRegion: string, awsQEndpointUrl: string, sdkInitializator: SDKInitializator) => ChatSessionManagementService) => Server;
|
|
@@ -7,11 +7,11 @@ const telemetryService_1 = require("./telemetryService");
|
|
|
7
7
|
const telemetryUtils_1 = require("./utilities/telemetryUtils");
|
|
8
8
|
const constants_1 = require("../constants");
|
|
9
9
|
const QChatServer = (service) => features => {
|
|
10
|
-
const { chat, credentialsProvider, telemetry, logging, lsp, runtime, workspace } = features;
|
|
10
|
+
const { chat, credentialsProvider, telemetry, logging, lsp, runtime, workspace, sdkInitializator } = features;
|
|
11
11
|
const awsQRegion = runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION;
|
|
12
12
|
const awsQEndpointUrl = runtime.getConfiguration('AWS_Q_ENDPOINT_URL') ?? constants_1.DEFAULT_AWS_Q_ENDPOINT_URL;
|
|
13
|
-
const chatSessionManagementService = service(credentialsProvider, awsQRegion, awsQEndpointUrl);
|
|
14
|
-
const telemetryService = new telemetryService_1.TelemetryService(credentialsProvider, 'bearer', telemetry, logging, workspace, awsQRegion, awsQEndpointUrl);
|
|
13
|
+
const chatSessionManagementService = service(credentialsProvider, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
14
|
+
const telemetryService = new telemetryService_1.TelemetryService(credentialsProvider, 'bearer', telemetry, logging, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
15
15
|
const chatController = new chatController_1.ChatController(chatSessionManagementService, features, telemetryService);
|
|
16
16
|
lsp.addInitializer((params) => {
|
|
17
17
|
chatSessionManagementService.setCustomUserAgent((0, telemetryUtils_1.getUserAgent)(params, runtime.serverInfo));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qChatServer.js","sourceRoot":"","sources":["../../src/language-server/qChatServer.ts"],"names":[],"mappings":";;;AACA,0DAAsD;AAEtD,sDAA2E;AAC3E,yDAAqD;AACrD,+DAAgF;AAChF,4CAA+E;
|
|
1
|
+
{"version":3,"file":"qChatServer.js","sourceRoot":"","sources":["../../src/language-server/qChatServer.ts"],"names":[],"mappings":";;;AACA,0DAAsD;AAEtD,sDAA2E;AAC3E,yDAAqD;AACrD,+DAAgF;AAChF,4CAA+E;AAGxE,MAAM,WAAW,GACpB,CACI,OAKiC,EAC3B,EAAE,CACZ,QAAQ,CAAC,EAAE;IACP,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG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B,CAAC,MAAM,CAAC,EAAE;QACvC,OAAO,cAAc,CAAC,4BAA4B,CAAC,MAAM,CAAC,CAAA;IAC9D,CAAC,CAAC,CAAA;IAEF,GAAG,CAAC,aAAa,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAA;IACrD,GAAG,CAAC,sBAAsB,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAA;IAE9D,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAA;IAEjD,OAAO,GAAG,EAAE;QACR,cAAc,CAAC,OAAO,EAAE,CAAA;IAC5B,CAAC,CAAA;AACL,CAAC,CAAA;AAvGQ,QAAA,WAAW,eAuGnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CodeWhispererServiceToken } from './codeWhispererService';
|
|
2
|
-
import { CredentialsProvider, CredentialsType, Logging, Telemetry, Workspace } from '@aws/language-server-runtimes/server-interface';
|
|
2
|
+
import { CredentialsProvider, CredentialsType, Logging, Telemetry, Workspace, SDKInitializator } from '@aws/language-server-runtimes/server-interface';
|
|
3
3
|
import { CodeWhispererSession } from './session/sessionManager';
|
|
4
4
|
import { UserContext, OptOutPreference, UserIntent } from '../client/token/codewhispererbearertokenclient';
|
|
5
5
|
import { ChatConversationType, InteractWithMessageEvent } from './telemetry/types';
|
|
@@ -13,7 +13,7 @@ export declare class TelemetryService extends CodeWhispererServiceToken {
|
|
|
13
13
|
private credentialsProvider;
|
|
14
14
|
private logging;
|
|
15
15
|
private readonly cwInteractionTypeMap;
|
|
16
|
-
constructor(credentialsProvider: CredentialsProvider, credentialsType: CredentialsType, telemetry: Telemetry, logging: Logging, workspace: Workspace, awsQRegion: string, awsQEndpointUrl: string);
|
|
16
|
+
constructor(credentialsProvider: CredentialsProvider, credentialsType: CredentialsType, telemetry: Telemetry, logging: Logging, workspace: Workspace, awsQRegion: string, awsQEndpointUrl: string, sdkInitializator: SDKInitializator);
|
|
17
17
|
updateUserContext(userContext: UserContext | undefined): void;
|
|
18
18
|
updateOptOutPreference(optOutPreference: OptOutPreference): void;
|
|
19
19
|
updateEnableTelemetryEventsToDestination(enableTelemetryEventsToDestination: boolean): void;
|
|
@@ -25,8 +25,8 @@ class TelemetryService extends codeWhispererService_1.CodeWhispererServiceToken
|
|
|
25
25
|
[types_1.ChatInteractionType.Downvote]: 'DOWNVOTE',
|
|
26
26
|
[types_1.ChatInteractionType.ClickBodyLink]: 'CLICK_BODY_LINK',
|
|
27
27
|
};
|
|
28
|
-
constructor(credentialsProvider, credentialsType, telemetry, logging, workspace, awsQRegion, awsQEndpointUrl) {
|
|
29
|
-
super(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
28
|
+
constructor(credentialsProvider, credentialsType, telemetry, logging, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator) {
|
|
29
|
+
super(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl, sdkInitializator);
|
|
30
30
|
this.credentialsProvider = credentialsProvider;
|
|
31
31
|
this.credentialsType = credentialsType;
|
|
32
32
|
this.telemetry = telemetry;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryService.js","sourceRoot":"","sources":["../../src/language-server/telemetryService.ts"],"names":[],"mappings":";;;AAAA,iEAAkE;AAuBlE,mCAA6E;AAC7E,6CAM0B;AAC1B,2DAA+E;AAC/E,sFAAqF;AAErF,MAAa,gBAAiB,SAAQ,gDAAyB;IACnD,WAAW,CAAyB;IACpC,gBAAgB,CAAmB;IACnC,kCAAkC,CAAS;IAC3C,SAAS,CAAW;IACpB,eAAe,CAAiB;IAChC,mBAAmB,CAAqB;IACxC,OAAO,CAAS;IAEP,oBAAoB,GAA4D;QAC7F,CAAC,2BAAmB,CAAC,cAAc,CAAC,EAAE,kBAAkB;QACxD,CAAC,2BAAmB,CAAC,WAAW,CAAC,EAAE,cAAc;QACjD,CAAC,2BAAmB,CAAC,IAAI,CAAC,EAAE,MAAM;QAClC,CAAC,2BAAmB,CAAC,SAAS,CAAC,EAAE,YAAY;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BAAmB,EAAE,CAAC;YAC7B,KAAK,CAAC,mBAAmB,GAAG;gBACxB,YAAY,EAAE,IAAA,sCAAkB,EAAC,MAAM,CAAC,mBAAmB,CAAC;aAC/D,CAAA;QACL,CAAC;QACD,OAAO,IAAI,CAAC,wBAAwB,CAAC;YACjC,mBAAmB,EAAE,KAAK;SAC7B,CAAC,CAAA;IACN,CAAC;CACJ;AAtZD,4CAsZC"}
|
|
1
|
+
{"version":3,"file":"telemetryService.js","sourceRoot":"","sources":["../../src/language-server/telemetryService.ts"],"names":[],"mappings":";;;AAAA,iEAAkE;AAwBlE,mCAA6E;AAC7E,6CAM0B;AAC1B,2DAA+E;AAC/E,sFAAqF;AAErF,MAAa,gBAAiB,SAAQ,gDAAyB;IACnD,WAAW,CAAyB;IACpC,gBAAgB,CAAmB;IACnC,kCAAkC,CAAS;IAC3C,SAAS,CAAW;IACpB,eAAe,CAAiB;IAChC,mBAAmB,CAAqB;IACxC,OAAO,CAAS;IAEP,oBAAoB,GAA4D;QAC7F,CAAC,2BAAmB,CAAC,cAAc,CAAC,EAAE,kBAAkB;QACxD,CAAC,2BAAmB,CAAC,WAAW,CAAC,EAAE,cAAc;QACjD,CAAC,2BAAmB,CAAC,IAAI,CAAC,EAAE,MAAM;QAClC,CAAC,2BAAmB,CAAC,SAAS,CAAC,EAAE,YAAY;QAC7C,CAAC,2BAAmB,CAAC,aAAa,CAAC,EAAE,iBAAiB;QACtD,CAAC,2BAAmB,CAAC,cAAc,CAAC,EAAE,iBAAiB;QACvD,CAAC,2BAAmB,CAAC,MAAM,CAAC,EAAE,QAAQ;QACtC,CAAC,2BAAmB,CAAC,QAAQ,CAAC,EAAE,UAAU;QAC1C,CAAC,2BAAmB,CAAC,aAAa,CAAC,EAAE,iBAAiB;KACzD,CAAA;IAED,YACI,mBAAwC,EACxC,eAAgC,EAChC,SAAoB,EACpB,OAAgB,EAChB,SAAoB,EACpB,UAAkB,EAClB,eAAuB,EACvB,gBAAkC;QAElC,KAAK,CA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imeConfigurator = Object.assign(
|
|
81
|
+
// Default callable function for v3 clients
|
|
82
|
+
(Ctor, current_config) => new Ctor({ ...current_config }),
|
|
83
|
+
// Property for v2 clients
|
|
84
|
+
{
|
|
85
|
+
v2: (Ctor, current_config) => new Ctor({ ...current_config }),
|
|
86
|
+
});
|
|
80
87
|
beforeEach(() => {
|
|
81
88
|
clock = ts_sinon_1.default.useFakeTimers({
|
|
82
89
|
now: 1483228800000,
|
|
@@ -92,7 +99,7 @@ describe('TelemetryService', () => {
|
|
|
92
99
|
ts_sinon_1.default.restore();
|
|
93
100
|
});
|
|
94
101
|
it('updateUserContext updates the userContext property', () => {
|
|
95
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
102
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
96
103
|
const mockUserContext = {
|
|
97
104
|
clientId: 'aaaabbbbccccdddd',
|
|
98
105
|
ideCategory: 'ECLIPSE',
|
|
@@ -104,18 +111,18 @@ describe('TelemetryService', () => {
|
|
|
104
111
|
ts_sinon_1.default.assert.match(telemetryService.userContext, mockUserContext);
|
|
105
112
|
});
|
|
106
113
|
it('updateOptOutPreference updates the optOutPreference property', () => {
|
|
107
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
114
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
108
115
|
const mockOptOutPreference = 'OPTIN';
|
|
109
116
|
telemetryService.updateOptOutPreference(mockOptOutPreference);
|
|
110
117
|
ts_sinon_1.default.assert.match(telemetryService.optOutPreference, mockOptOutPreference);
|
|
111
118
|
});
|
|
112
119
|
it('updateEnableTelemetryEventsToDestination updates the enableTelemetryEventsToDestination property', () => {
|
|
113
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
120
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
114
121
|
telemetryService.updateEnableTelemetryEventsToDestination(true);
|
|
115
122
|
ts_sinon_1.default.assert.match(telemetryService.enableTelemetryEventsToDestination, true);
|
|
116
123
|
});
|
|
117
124
|
it('getSuggestionState fetches the suggestion state from CodeWhispererSession', () => {
|
|
118
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
125
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
119
126
|
const getSuggestionState = telemetryService.getSuggestionState.bind(telemetryService);
|
|
120
127
|
let session = {
|
|
121
128
|
getAggregatedUserTriggerDecision: () => {
|
|
@@ -149,7 +156,7 @@ describe('TelemetryService', () => {
|
|
|
149
156
|
ts_sinon_1.default.assert.match(getSuggestionState(session), 'EMPTY');
|
|
150
157
|
});
|
|
151
158
|
it('should not emit user trigger decision if login is invalid (IAM)', () => {
|
|
152
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
159
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
153
160
|
const invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
|
|
154
161
|
telemetryService.emitUserTriggerDecision(mockSession);
|
|
155
162
|
ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
|
|
@@ -160,14 +167,14 @@ describe('TelemetryService', () => {
|
|
|
160
167
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
161
168
|
},
|
|
162
169
|
});
|
|
163
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
170
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
164
171
|
const invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
|
|
165
172
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
166
173
|
telemetryService.emitUserTriggerDecision(mockSession);
|
|
167
174
|
ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
|
|
168
175
|
});
|
|
169
176
|
it('should handle SSO connection type change at runtime', () => {
|
|
170
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
177
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
171
178
|
const sendTelemetryEventStub = ts_sinon_1.default
|
|
172
179
|
.stub(telemetryService, 'sendTelemetryEvent')
|
|
173
180
|
.returns(Promise.resolve());
|
|
@@ -218,7 +225,7 @@ describe('TelemetryService', () => {
|
|
|
218
225
|
startUrl: 'idc-start-url',
|
|
219
226
|
},
|
|
220
227
|
});
|
|
221
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
228
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
222
229
|
telemetryService.updateEnableTelemetryEventsToDestination(true);
|
|
223
230
|
const invokeSendTelemetryEventStub = ts_sinon_1.default
|
|
224
231
|
.stub(telemetryService, 'sendTelemetryEvent')
|
|
@@ -262,7 +269,7 @@ describe('TelemetryService', () => {
|
|
|
262
269
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
263
270
|
},
|
|
264
271
|
});
|
|
265
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
272
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
266
273
|
telemetryService.updateEnableTelemetryEventsToDestination(false);
|
|
267
274
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
268
275
|
telemetryService.emitUserTriggerDecision(mockSession);
|
|
@@ -281,7 +288,7 @@ describe('TelemetryService', () => {
|
|
|
281
288
|
startUrl: 'idc-start-url',
|
|
282
289
|
},
|
|
283
290
|
});
|
|
284
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
291
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
285
292
|
invokeSendTelemetryEventStub = ts_sinon_1.default
|
|
286
293
|
.stub(telemetryService, 'sendTelemetryEvent')
|
|
287
294
|
.returns(Promise.resolve());
|
|
@@ -348,7 +355,7 @@ describe('TelemetryService', () => {
|
|
|
348
355
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
349
356
|
},
|
|
350
357
|
});
|
|
351
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
358
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
352
359
|
telemetryService.updateEnableTelemetryEventsToDestination(false);
|
|
353
360
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
354
361
|
telemetryService.emitChatInteractWithMessage(metric, {
|
|
@@ -373,7 +380,7 @@ describe('TelemetryService', () => {
|
|
|
373
380
|
ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
|
|
374
381
|
});
|
|
375
382
|
it('should not send InteractWithMessage when credentialsType is IAM', () => {
|
|
376
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
383
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
377
384
|
invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
|
|
378
385
|
const metric = {
|
|
379
386
|
cwsprChatMessageId: 'message123',
|
|
@@ -394,7 +401,7 @@ describe('TelemetryService', () => {
|
|
|
394
401
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
395
402
|
},
|
|
396
403
|
});
|
|
397
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
404
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
398
405
|
invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
|
|
399
406
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
400
407
|
const metric = {
|
|
@@ -458,7 +465,7 @@ describe('TelemetryService', () => {
|
|
|
458
465
|
startUrl: 'idc-start-url',
|
|
459
466
|
},
|
|
460
467
|
});
|
|
461
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
468
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
462
469
|
const invokeSendTelemetryEventStub = ts_sinon_1.default
|
|
463
470
|
.stub(telemetryService, 'sendTelemetryEvent')
|
|
464
471
|
.returns(Promise.resolve());
|
|
@@ -491,7 +498,7 @@ describe('TelemetryService', () => {
|
|
|
491
498
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
492
499
|
},
|
|
493
500
|
});
|
|
494
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
501
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
495
502
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
496
503
|
telemetryService.updateEnableTelemetryEventsToDestination(false);
|
|
497
504
|
telemetryService.emitCodeCoverageEvent({
|
|
@@ -513,7 +520,7 @@ describe('TelemetryService', () => {
|
|
|
513
520
|
startUrl: 'idc-start-url',
|
|
514
521
|
},
|
|
515
522
|
});
|
|
516
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
523
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
517
524
|
const invokeSendTelemetryEventStub = ts_sinon_1.default
|
|
518
525
|
.stub(telemetryService, 'sendTelemetryEvent')
|
|
519
526
|
.returns(Promise.resolve());
|
|
@@ -553,7 +560,7 @@ describe('TelemetryService', () => {
|
|
|
553
560
|
startUrl: 'idc-start-url',
|
|
554
561
|
},
|
|
555
562
|
});
|
|
556
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
563
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
557
564
|
telemetryService.updateEnableTelemetryEventsToDestination(true);
|
|
558
565
|
const invokeSendTelemetryEventStub = ts_sinon_1.default
|
|
559
566
|
.stub(telemetryService, 'sendTelemetryEvent')
|
|
@@ -594,7 +601,7 @@ describe('TelemetryService', () => {
|
|
|
594
601
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
595
602
|
},
|
|
596
603
|
});
|
|
597
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
604
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
598
605
|
telemetryService.updateEnableTelemetryEventsToDestination(false);
|
|
599
606
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
600
607
|
telemetryService.emitChatUserModificationEvent({
|
|
@@ -618,7 +625,7 @@ describe('TelemetryService', () => {
|
|
|
618
625
|
startUrl: 'idc-start-url',
|
|
619
626
|
},
|
|
620
627
|
});
|
|
621
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
628
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
622
629
|
invokeSendTelemetryEventStub = ts_sinon_1.default
|
|
623
630
|
.stub(telemetryService, 'sendTelemetryEvent')
|
|
624
631
|
.returns(Promise.resolve());
|
|
@@ -698,7 +705,7 @@ describe('TelemetryService', () => {
|
|
|
698
705
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
699
706
|
},
|
|
700
707
|
});
|
|
701
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
708
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
702
709
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
703
710
|
telemetryService.updateEnableTelemetryEventsToDestination(false);
|
|
704
711
|
telemetryService.emitChatAddMessage({
|
|
@@ -734,7 +741,7 @@ describe('TelemetryService', () => {
|
|
|
734
741
|
ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
|
|
735
742
|
});
|
|
736
743
|
it('should not send ChatAddMessage when credentialsType is IAM', () => {
|
|
737
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
744
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
738
745
|
invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
|
|
739
746
|
telemetryService.emitChatAddMessage({
|
|
740
747
|
conversationId: 'conv123',
|
|
@@ -749,7 +756,7 @@ describe('TelemetryService', () => {
|
|
|
749
756
|
startUrl: constants_1.BUILDER_ID_START_URL,
|
|
750
757
|
},
|
|
751
758
|
});
|
|
752
|
-
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl);
|
|
759
|
+
telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
753
760
|
invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
|
|
754
761
|
telemetryService.updateOptOutPreference('OPTOUT');
|
|
755
762
|
telemetryService.emitChatAddMessage({
|