@aws/lsp-codewhisperer 0.0.18 → 0.0.20
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 +25 -0
- package/out/client/streamingClient/codewhispererStreamingClient.d.ts +2 -2
- package/out/client/streamingClient/codewhispererStreamingClient.js +13 -8
- package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
- package/out/constants.d.ts +2 -2
- package/out/constants.js +3 -3
- package/out/constants.js.map +1 -1
- package/out/language-server/chat/chatController.js +31 -11
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/chat/chatController.test.js +374 -2
- package/out/language-server/chat/chatController.test.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.d.ts +2 -0
- package/out/language-server/chat/chatSessionManagementService.js +23 -1
- package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.test.js +6 -2
- package/out/language-server/chat/chatSessionManagementService.test.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +1 -1
- package/out/language-server/chat/chatSessionService.js +5 -4
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/chatSessionService.test.js +4 -1
- package/out/language-server/chat/chatSessionService.test.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js +2 -2
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +1 -1
- package/out/language-server/codeWhispererSecurityScanServer.d.ts +2 -2
- package/out/language-server/codeWhispererSecurityScanServer.js +2 -1
- package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
- package/out/language-server/codeWhispererServer.d.ts +2 -2
- package/out/language-server/codeWhispererServer.js +21 -12
- package/out/language-server/codeWhispererServer.js.map +1 -1
- package/out/language-server/codeWhispererServer.test.js +39 -12
- package/out/language-server/codeWhispererServer.test.js.map +1 -1
- package/out/language-server/codeWhispererService.d.ts +4 -4
- package/out/language-server/codeWhispererService.js +14 -10
- package/out/language-server/codeWhispererService.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.d.ts +2 -2
- package/out/language-server/configuration/qConfigurationServer.js +3 -2
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/dependencyGraph/dependencyGraph.d.ts +1 -1
- package/out/language-server/netTransform/tests/transformHandler.test.js +5 -2
- package/out/language-server/netTransform/tests/transformHandler.test.js.map +1 -1
- package/out/language-server/netTransform/tests/validation.test.js +5 -3
- package/out/language-server/netTransform/tests/validation.test.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.js +2 -2
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransform/validation.d.ts +3 -2
- package/out/language-server/netTransform/validation.js +12 -5
- package/out/language-server/netTransform/validation.js.map +1 -1
- package/out/language-server/netTransformServer.d.ts +2 -2
- package/out/language-server/netTransformServer.js +3 -2
- package/out/language-server/netTransformServer.js.map +1 -1
- package/out/language-server/proxy-server.js +21 -13
- package/out/language-server/proxy-server.js.map +1 -1
- package/out/language-server/qChatServer.d.ts +1 -1
- package/out/language-server/qChatServer.js +6 -3
- package/out/language-server/qChatServer.js.map +1 -1
- package/out/language-server/telemetry/codePercentage.test.js +1 -0
- package/out/language-server/telemetry/codePercentage.test.js.map +1 -1
- package/out/language-server/telemetry/userTriggerDecision.test.js +0 -5
- package/out/language-server/telemetry/userTriggerDecision.test.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 +25 -22
- package/out/language-server/telemetryService.test.js.map +1 -1
- package/out/language-server/testUtils.d.ts +1 -0
- package/out/language-server/testUtils.js +2 -1
- package/out/language-server/testUtils.js.map +1 -1
- package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +1 -1
- package/out/language-server/utils.d.ts +2 -2
- package/out/language-server/utils.js +9 -4
- package/out/language-server/utils.js.map +1 -1
- package/package.json +4 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/README.md +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -295
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/auth.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/connection.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/credentials.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/dns.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/endpoint.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/extensions/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/http.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/index.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/middleware.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/profile.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/request.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/token.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/transfer.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/abort.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/auth.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/client.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/command.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/connection.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +0 -49
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/dns.d.ts +0 -85
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/encode.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/http.d.ts +0 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/logger.d.ts +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/profile.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/request.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/response.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/retry.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/serde.d.ts +0 -24
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/signature.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/stream.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/token.d.ts +0 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +0 -19
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +0 -24
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +0 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/uri.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/util.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +0 -56
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/LICENSE +0 -201
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/README.md +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/package.json +0 -65
- package/node_modules/@smithy/abort-controller/LICENSE +0 -201
- package/node_modules/@smithy/types/dist-es/abort.js +0 -1
- package/node_modules/@smithy/types/dist-es/checksum.js +0 -1
- package/node_modules/@smithy/types/dist-es/client.js +0 -1
- package/node_modules/@smithy/types/dist-es/command.js +0 -1
- package/node_modules/@smithy/types/dist-es/crypto.js +0 -1
- package/node_modules/@smithy/types/dist-es/encode.js +0 -1
- package/node_modules/@smithy/types/dist-es/eventStream.js +0 -1
- package/node_modules/@smithy/types/dist-es/logger.js +0 -1
- package/node_modules/@smithy/types/dist-es/pagination.js +0 -1
- package/node_modules/@smithy/types/dist-es/response.js +0 -1
- package/node_modules/@smithy/types/dist-es/retry.js +0 -1
- package/node_modules/@smithy/types/dist-es/serde.js +0 -1
- package/node_modules/@smithy/types/dist-es/shapes.js +0 -1
- package/node_modules/@smithy/types/dist-es/signature.js +0 -1
- package/node_modules/@smithy/types/dist-es/stream.js +0 -1
- package/node_modules/@smithy/types/dist-es/uri.js +0 -1
- package/node_modules/@smithy/types/dist-es/util.js +0 -1
- package/node_modules/@smithy/types/dist-es/waiter.js +0 -1
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types → @smithy/node-http-handler/node_modules/@smithy/abort-controller}/LICENSE +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/README.md +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-cjs/AbortController.js +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-cjs/AbortSignal.js +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-es/AbortController.js +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-es/AbortSignal.js +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-es/index.js +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/AbortController.d.ts +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/AbortSignal.d.ts +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/ts3.4/AbortController.d.ts +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/ts3.4/AbortSignal.d.ts +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{abort-controller → node-http-handler/node_modules/@smithy/abort-controller}/package.json +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/LICENSE +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/README.md +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/Field.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/Fields.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/extensions/index.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/httpHandler.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/httpRequest.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/httpResponse.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/isValidHostname.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-cjs/types.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/Field.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/Fields.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/extensions/index.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/httpHandler.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/httpRequest.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/httpResponse.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/index.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/isValidHostname.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-es/types.js +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/Field.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/Fields.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/httpHandler.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/httpRequest.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/httpResponse.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/isValidHostname.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/Field.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/Fields.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/httpHandler.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/httpRequest.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/httpResponse.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/isValidHostname.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/ts3.4/types.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/dist-types/types.d.ts +0 -0
- /package/node_modules/@smithy/{protocol-http → node-http-handler/node_modules/@smithy/protocol-http}/package.json +0 -0
- /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/LICENSE +0 -0
- /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/README.md +0 -0
- /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-es/index.js +0 -0
- /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{querystring-builder → node-http-handler/node_modules/@smithy/querystring-builder}/package.json +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/LICENSE +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/README.md +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/abort.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/HttpSigner.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/auth.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/auth/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/checksum.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/client.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/command.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/config.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/manager.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/connection/pool.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/crypto.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/encode.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoint.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/endpoints/shared.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/eventStream.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/checksum.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/extensions/retry.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/http.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/identity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/identity/tokenIdentity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/logger.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/middleware.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/pagination.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/profile.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/response.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/retry.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/serde.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/shapes.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/signature.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/stream.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transfer.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/client-method-transforms.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/exact.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/no-undefined.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/uri.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/util.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-cjs/waiter.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/abort.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpAuthScheme.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/HttpSigner.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/IdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/auth.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/auth/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/blob/blob-payload-input-types.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/checksum.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/client.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/command.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/config.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/manager.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/connection/pool.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/crypto.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/encode.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoint.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/RuleSetObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/TreeRuleObject.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/endpoints/shared.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/eventStream.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/checksum.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/extensions/index.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions}/retry.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/externals-check/browser-externals-check.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/http/httpHandlerInitialization.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/http.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/apiKeyIdentity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/awsCredentialIdentity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/identity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/index.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/identity/tokenIdentity.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/index.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/logger.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/middleware.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/pagination.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/profile.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/response.js +0 -0
- /package/node_modules/@smithy/{types/dist-es/extensions → node-http-handler/node_modules/@smithy/types/dist-es}/retry.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/serde.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/shapes.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/signature.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/stream.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transfer.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/client-method-transforms.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/exact.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/no-undefined.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-es/transform/type-transform.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/uri.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/util.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@aws-sdk → @smithy/node-http-handler/node_modules/@smithy}/types/dist-es/waiter.js +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/abort.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/HttpSigner.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/auth.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/auth/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/client.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/command.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/config.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/manager.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/connection/pool.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/crypto.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/encode.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoint.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/endpoints/shared.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/eventStream.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/extensions/retry.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/http.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/identity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/identity/tokenIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/logger.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/middleware.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/pagination.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/profile.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/response.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/retry.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/serde.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/shapes.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/signature.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/stream.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transfer.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/client-method-transforms.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/exact.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/no-undefined.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/abort.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/auth/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/client.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/command.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/config.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/crypto.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/encode.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoint.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/eventStream.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/http.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/logger.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/middleware.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/pagination.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/profile.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/response.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/retry.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/serde.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/shapes.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/signature.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/stream.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transfer.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/uri.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/util.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/ts3.4/waiter.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/uri.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/util.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/dist-types/waiter.d.ts +0 -0
- /package/node_modules/@smithy/{types → node-http-handler/node_modules/@smithy/types}/package.json +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const chai_1 = require("chai");
|
|
4
4
|
const validation_1 = require("../validation");
|
|
5
|
+
const ts_sinon_1 = require("ts-sinon");
|
|
5
6
|
const sampleStartTransformRequest = {
|
|
6
7
|
SolutionRootPath: '',
|
|
7
8
|
SolutionFilePath: 'sample.sln',
|
|
@@ -13,6 +14,7 @@ const sampleStartTransformRequest = {
|
|
|
13
14
|
TransformNetStandardProjects: false,
|
|
14
15
|
command: '',
|
|
15
16
|
};
|
|
17
|
+
const mockedLogging = (0, ts_sinon_1.stubInterface)();
|
|
16
18
|
describe('Test validation functionality', () => {
|
|
17
19
|
it('should return true when selectedProjectPath is a valid csproj', () => {
|
|
18
20
|
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
@@ -46,7 +48,7 @@ describe('Test validation functionality', () => {
|
|
|
46
48
|
ExternalReferences: [],
|
|
47
49
|
};
|
|
48
50
|
mockStartTransformationRequest.ProjectMetadata.push(mockProjectMeta);
|
|
49
|
-
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest)).to.equal(true);
|
|
51
|
+
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest, mockedLogging)).to.equal(true);
|
|
50
52
|
});
|
|
51
53
|
it('should return false when project is not a supported type', () => {
|
|
52
54
|
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
@@ -61,7 +63,7 @@ describe('Test validation functionality', () => {
|
|
|
61
63
|
};
|
|
62
64
|
mockStartTransformationRequest.ProjectMetadata = [];
|
|
63
65
|
mockStartTransformationRequest.ProjectMetadata.push(mockProjectMeta);
|
|
64
|
-
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest)).to.equal(false);
|
|
66
|
+
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest, mockedLogging)).to.equal(false);
|
|
65
67
|
});
|
|
66
68
|
it('should return false when there is no project path that is the same as the selected project path', () => {
|
|
67
69
|
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
@@ -76,7 +78,7 @@ describe('Test validation functionality', () => {
|
|
|
76
78
|
};
|
|
77
79
|
mockStartTransformationRequest.ProjectMetadata = [];
|
|
78
80
|
mockStartTransformationRequest.ProjectMetadata.push(mockProjectMeta);
|
|
79
|
-
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest)).to.equal(false);
|
|
81
|
+
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest, mockedLogging)).to.equal(false);
|
|
80
82
|
});
|
|
81
83
|
});
|
|
82
84
|
//# sourceMappingURL=validation.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.test.js","sourceRoot":"","sources":["../../../../src/language-server/netTransform/tests/validation.test.ts"],"names":[],"mappings":";;AAAA,+BAA6B;AAE7B,8CAAsE;AAItE,MAAM,2BAA2B,GAA0B;IACvD,gBAAgB,EAAE,EAAE;IACpB,gBAAgB,EAAE,YAAY;IAC9B,mBAAmB,EAAE,aAAa;IAClC,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,mBAAmB,EAAE,EAAE;IACvB,eAAe,EAAE,EAAE;IACnB,4BAA4B,EAAE,KAAK;IACnC,OAAO,EAAE,EAAE;CACd,CAAA;
|
|
1
|
+
{"version":3,"file":"validation.test.js","sourceRoot":"","sources":["../../../../src/language-server/netTransform/tests/validation.test.ts"],"names":[],"mappings":";;AAAA,+BAA6B;AAE7B,8CAAsE;AAItE,uCAAwC;AAExC,MAAM,2BAA2B,GAA0B;IACvD,gBAAgB,EAAE,EAAE;IACpB,gBAAgB,EAAE,YAAY;IAC9B,mBAAmB,EAAE,aAAa;IAClC,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,mBAAmB,EAAE,EAAE;IACvB,eAAe,EAAE,EAAE;IACnB,4BAA4B,EAAE,KAAK;IACnC,OAAO,EAAE,EAAE;CACd,CAAA;AACD,MAAM,aAAa,GAAG,IAAA,wBAAa,GAAW,CAAA;AAE9C,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC3C,EAAE,CAAC,+DAA+D,EAAE,GAAG,EAAE;QACrE,IAAI,8BAA8B,GAA0B,2BAA2B,CAAA;QACvF,8BAA8B,CAAC,mBAAmB,GAAG,aAAa,CAAA;QAClE,IAAA,aAAM,EAAC,IAAA,sBAAS,EAAC,8BAA8B,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;IACpE,CAAC,CAAC,CAAA;IAEF,E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@@ -24,9 +24,9 @@ class TransformHandler {
|
|
|
24
24
|
async startTransformation(userInputrequest) {
|
|
25
25
|
var unsupportedProjects = [];
|
|
26
26
|
const isProject = validation.isProject(userInputrequest);
|
|
27
|
-
const containsUnsupportedViews = await validation.checkForUnsupportedViews(userInputrequest, isProject);
|
|
27
|
+
const containsUnsupportedViews = await validation.checkForUnsupportedViews(userInputrequest, isProject, this.logging);
|
|
28
28
|
if (isProject) {
|
|
29
|
-
let isValid = validation.validateProject(userInputrequest);
|
|
29
|
+
let isValid = validation.validateProject(userInputrequest, this.logging);
|
|
30
30
|
if (!isValid) {
|
|
31
31
|
return {
|
|
32
32
|
Error: 'NotSupported',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":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,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAA;Q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AI,MAAM,GAAG,GAAG,EAAE,MAAM,IAAI,EAAE,CAAA;QAC9B,IAAI,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YACjC,IAAI,UAAU,GAAG,EAAE,CAAA;YACnB,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC,EAAE,CAAC;gBAC3D,UAAU;oBACN,sJAAsJ,CAAA;YAC9J,CAAC;YACD,IAAI,CAAC,OAAO,CAAC,GAAG,CACZ,8BAA8B,OAAO,CAAC,mBAAmB,OAAO,MAAM,YAAY,MAAM;kBACtF,UAAU,EAAE,CACjB,CAAA;QACL,CAAC;IACL,CAAC;CACJ;AAxYD,4CAwYC"}
|
|
1
|
+
{"version":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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AAE,MAAM,IAAI,iCAAwB,CAAC,SAAS,CAAA;QAC9D,IAAI,MAAM,GAAG,GAAG,EAAE,MAAM,IAAI,EAAE,CAAA;QAC9B,IAAI,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YACjC,IAAI,UAAU,GAAG,EAAE,CAAA;YACnB,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC,EAAE,CAAC;gBAC3D,UAAU;oBACN,sJAAsJ,CAAA;YAC9J,CAAC;YACD,IAAI,CAAC,OAAO,CAAC,GAAG,CACZ,8BAA8B,OAAO,CAAC,mBAAmB,OAAO,MAAM,YAAY,MAAM;kBACtF,UAAU,EAAE,CACjB,CAAA;QACL,CAAC;IACL,CAAC;CACJ;AA5YD,4CA4YC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { StartTransformRequest } from './models';
|
|
2
|
+
import { Logging } from '@aws/language-server-runtimes/server-interface';
|
|
2
3
|
export declare function isProject(userInputrequest: StartTransformRequest): boolean;
|
|
3
4
|
export declare function isSolution(userInputrequest: StartTransformRequest): boolean;
|
|
4
|
-
export declare function validateProject(userInputrequest: StartTransformRequest): boolean;
|
|
5
|
+
export declare function validateProject(userInputrequest: StartTransformRequest, logging: Logging): boolean;
|
|
5
6
|
export declare function validateSolution(userInputrequest: StartTransformRequest): string[];
|
|
6
|
-
export declare function checkForUnsupportedViews(userInputRequest: StartTransformRequest, isProject: boolean): Promise<boolean>;
|
|
7
|
+
export declare function checkForUnsupportedViews(userInputRequest: StartTransformRequest, isProject: boolean, logging: Logging): Promise<boolean>;
|
|
7
8
|
export declare function findFilesWithExtension(userInputRequest: StartTransformRequest, isProject: boolean, ext?: string): string[];
|
|
8
9
|
export declare function readFile(filePath: string): Promise<string>;
|
|
9
10
|
export declare function parseAndCheckUnsupportedComponents(htmlString: string): boolean;
|
|
@@ -16,23 +16,30 @@ function isProject(userInputrequest) {
|
|
|
16
16
|
function isSolution(userInputrequest) {
|
|
17
17
|
return userInputrequest.SelectedProjectPath.endsWith('.sln');
|
|
18
18
|
}
|
|
19
|
-
function validateProject(userInputrequest) {
|
|
19
|
+
function validateProject(userInputrequest, logging) {
|
|
20
20
|
var selectedProject = userInputrequest.ProjectMetadata.find(project => project.ProjectPath == userInputrequest.SelectedProjectPath);
|
|
21
|
-
if (selectedProject)
|
|
22
|
-
|
|
21
|
+
if (selectedProject) {
|
|
22
|
+
var isValid = SupportedProjects_1.supportedProjects.includes(selectedProject?.ProjectType);
|
|
23
|
+
logging.log(`Selected project ${userInputrequest?.SelectedProjectPath} has project type ${selectedProject.ProjectType}` +
|
|
24
|
+
(isValid ? '' : ' that is not supported'));
|
|
25
|
+
return isValid;
|
|
26
|
+
}
|
|
27
|
+
logging.log(`Error occured in verifying selected project with path ${userInputrequest.SelectedProjectPath}`);
|
|
23
28
|
return false;
|
|
24
29
|
}
|
|
25
30
|
function validateSolution(userInputrequest) {
|
|
26
31
|
return userInputrequest.ProjectMetadata.filter(project => !SupportedProjects_1.supportedProjects.includes(project.ProjectType)).map(project => project.ProjectPath);
|
|
27
32
|
}
|
|
28
|
-
async function checkForUnsupportedViews(userInputRequest, isProject) {
|
|
33
|
+
async function checkForUnsupportedViews(userInputRequest, isProject, logging) {
|
|
29
34
|
var containsUnsupportedComponents = false;
|
|
30
35
|
var cshtmlFiles = findFilesWithExtension(userInputRequest, isProject);
|
|
31
36
|
for (const file of cshtmlFiles) {
|
|
32
37
|
let htmlString = await readFile(file);
|
|
33
38
|
containsUnsupportedComponents = parseAndCheckUnsupportedComponents(htmlString);
|
|
34
|
-
if (containsUnsupportedComponents)
|
|
39
|
+
if (containsUnsupportedComponents) {
|
|
40
|
+
logging.log(`Selected project ${userInputRequest?.SelectedProjectPath} has unsupported components in file ${file}`);
|
|
35
41
|
return containsUnsupportedComponents;
|
|
42
|
+
}
|
|
36
43
|
}
|
|
37
44
|
return containsUnsupportedComponents;
|
|
38
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../src/language-server/netTransform/validation.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../src/language-server/netTransform/validation.ts"],"names":[],"mappings":";;AAKA,8BAEC;AAED,gCAEC;AAED,0CAeC;AAED,4CAIC;AAED,4DAkBC;AAED,wDAqBC;AAED,4BAQC;AAED,gFAUC;AAnGD,yBAAwB;AAExB,qEAA4F;AAG5F,SAAgB,SAAS,CAAC,gBAAuC;IAC7D,OAAO,gBAAgB,CAAC,mBAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAA;AACnE,CAAC;AAED,SAAgB,UAAU,CAAC,gBAAuC;IAC9D,OAAO,gBAAgB,CAAC,mBAAmB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;AAChE,CAAC;AAED,SAAgB,eAAe,CAAC,gBAAuC,EAAE,OAAgB;IACrF,IAAI,eAAe,GAAG,gBAAgB,CAAC,eAAe,CAAC,IAAI,CACvD,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,IAAI,gBAAgB,CAAC,mBAAmB,CACzE,CAAA;IAED,IAAI,eAAe,EAAE,CAAC;QAClB,IAAI,OAAO,GAAG,qCAAiB,CAAC,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,CAAA;QACtE,OAAO,CAAC,GAAG,CACP,oBAAoB,gBAAgB,EAAE,mBAAmB,qBAAqB,eAAe,CAAC,WAAW,EAAE;YACvG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAChD,CAAA;QACD,OAAO,OAAO,CAAA;IAClB,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,yDAAyD,gBAAgB,CAAC,mBAAmB,EAAE,CAAC,CAAA;IAC5G,OAAO,KAAK,CAAA;AAChB,CAAC;AAED,SAAgB,gBAAgB,CAAC,gBAAuC;IACpE,OAAO,gBAAgB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AS,CAAC,mBAAmB,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;YAC/C,IAAI,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;gBACjC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;YAChC,CAAC;QACL,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;IACF,OAAO,WAAW,CAAA;AACtB,CAAC;AAEM,KAAK,UAAU,QAAQ,CAAC,QAAgB;IAC3C,IAAI,CAAC;QACD,IAAI,YAAY,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;QAChE,OAAO,YAAY,CAAA;IACvB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,8BAA8B,QAAQ,KAAK,GAAG,EAAE,CAAC,CAAA;QAC/D,OAAO,EAAE,CAAA;IACb,CAAC;AACL,CAAC;AAED,SAAgB,kCAAkC,CAAC,UAAkB;IACjE,IAAI,6BAA6B,GAAG,KAAK,CAAA;IAEzC,6CAAyB,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;QAC1C,IAAI,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,6BAA6B,GAAG,IAAI,CAAA;YACpC,OAAO,6BAA6B,CAAA;QACxC,CAAC;IACL,CAAC,CAAC,CAAA;IACF,OAAO,6BAA6B,CAAA;AACxC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CredentialsProvider, Server } from '@aws/language-server-runtimes/server-interface';
|
|
1
|
+
import { CredentialsProvider, Server, Workspace } from '@aws/language-server-runtimes/server-interface';
|
|
2
2
|
import { CodeWhispererServiceToken } from './codeWhispererService';
|
|
3
3
|
export declare const validStatesForGettingPlan: string[];
|
|
4
4
|
export declare const validStatesForComplete: string[];
|
|
@@ -8,4 +8,4 @@ export declare const failureStates: string[];
|
|
|
8
8
|
* @param createService Inject service instance based on credentials provider.
|
|
9
9
|
* @returns NetTransform server
|
|
10
10
|
*/
|
|
11
|
-
export declare const QNetTransformServerToken: (service: (credentialsProvider: CredentialsProvider) => CodeWhispererServiceToken) => Server;
|
|
11
|
+
export declare const QNetTransformServerToken: (service: (credentialsProvider: CredentialsProvider, workspace: Workspace, awsQRegion: string, awsQEndpointUrl: string) => CodeWhispererServiceToken) => Server;
|
|
@@ -15,13 +15,14 @@ const PollTransformForPlanCommand = 'aws/qNetTransform/pollTransformForPlan';
|
|
|
15
15
|
const GetTransformPlanCommand = 'aws/qNetTransform/getTransformPlan';
|
|
16
16
|
const CancelTransformCommand = 'aws/qNetTransform/cancelTransform';
|
|
17
17
|
const DownloadArtifactsCommand = 'aws/qNetTransform/downloadArtifacts';
|
|
18
|
+
const constants_1 = require("../constants");
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
21
|
* @param createService Inject service instance based on credentials provider.
|
|
21
22
|
* @returns NetTransform server
|
|
22
23
|
*/
|
|
23
24
|
const QNetTransformServerToken = (service) => ({ credentialsProvider, workspace, logging, lsp, telemetry, runtime }) => {
|
|
24
|
-
const codewhispererclient = service(credentialsProvider);
|
|
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);
|
|
25
26
|
const transformHandler = new transformHandler_1.TransformHandler(codewhispererclient, workspace, logging);
|
|
26
27
|
const runTransformCommand = async (params, _token) => {
|
|
27
28
|
try {
|
|
@@ -67,7 +68,7 @@ const QNetTransformServerToken = (service) => ({ credentialsProvider, workspace,
|
|
|
67
68
|
case DownloadArtifactsCommand: {
|
|
68
69
|
const request = params;
|
|
69
70
|
const cwStreamingClientInstance = new codewhispererStreamingClient_1.StreamingClient();
|
|
70
|
-
const cwStreamingClient = await cwStreamingClientInstance.getStreamingClient(credentialsProvider, 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, customCWClientConfig);
|
|
71
72
|
const response = await transformHandler.downloadExportResultArchive(cwStreamingClient, request.TransformationJobId, request.SolutionRootPath);
|
|
72
73
|
(0, metrics_1.emitTransformationJobArtifactsDownloadedTelemetry)(telemetry, response, request.TransformationJobId);
|
|
73
74
|
return response;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"netTransformServer.js","sourceRoot":"","sources":["../../src/language-server/netTransformServer.ts"],"names":[],"mappings":";;;
|
|
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,UAAU,EAAE,SAAS,EAAE,UAAU,CAAC,CAAA;AAC1E,MAAM,qBAAqB,GAAG,kCAAkC,CAAA;AAChE,MAAM,mBAAmB,GAAG,gCAAgC,CAAA;AAC5D,MAAM,oBAAoB,GAAG,iCAAiC,CAAA;AAC9D,MAAM,2BAA2B,GAAG,wCAAwC,CAAA;AAC5E,MAAM,uBAAuB,GAAG,oCAAoC,CAAA;AACpE,MAAM,sBAAsB,GAAG,mCAAmC,CAAA;AAClE,MAAM,wBAAwB,GAAG,qCAAqC,CAAA;AACtE,4CAA+E;AAE/E;;;;GAIG;AACI,MAAM,wBAAw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uBAAuB;wBACvB,sBAAsB;wBACtB,wBAAwB;qBAC3B;iBACJ;aACJ;SACJ,CAAA;IACL,CAAC,CAAA;IACD,GAAG,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAA;IACvC,GAAG,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAA;IAE7C,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;AACnB,CAAC,CAAA;AA1KQ,QAAA,wBAAwB,4BA0KhC"}
|
|
@@ -11,22 +11,28 @@ const qConfigurationServer_1 = require("./configuration/qConfigurationServer");
|
|
|
11
11
|
const fs_1 = require("fs");
|
|
12
12
|
const hpagent_1 = require("hpagent");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
-
exports.CodeWhispererServerTokenProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)(credentialsProvider => {
|
|
15
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider);
|
|
14
|
+
exports.CodeWhispererServerTokenProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
15
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
16
16
|
});
|
|
17
|
-
exports.CodeWhispererServerIAMProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)(credentialsProvider => {
|
|
18
|
-
return new codeWhispererService_1.CodeWhispererServiceIAM(credentialsProvider);
|
|
17
|
+
exports.CodeWhispererServerIAMProxy = (0, codeWhispererServer_1.CodewhispererServerFactory)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
18
|
+
return new codeWhispererService_1.CodeWhispererServiceIAM(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
19
19
|
});
|
|
20
|
-
exports.CodeWhispererSecurityScanServerTokenProxy = (0, codeWhispererSecurityScanServer_1.SecurityScanServerToken)(credentialsProvider => {
|
|
21
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider);
|
|
20
|
+
exports.CodeWhispererSecurityScanServerTokenProxy = (0, codeWhispererSecurityScanServer_1.SecurityScanServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
21
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
22
22
|
});
|
|
23
|
-
exports.QNetTransformServerTokenProxy = (0, netTransformServer_1.QNetTransformServerToken)(credentialsProvider => {
|
|
24
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider);
|
|
23
|
+
exports.QNetTransformServerTokenProxy = (0, netTransformServer_1.QNetTransformServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
24
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
25
25
|
});
|
|
26
|
-
exports.QChatServerProxy = (0, qChatServer_1.QChatServer)(credentialsProvider => {
|
|
26
|
+
exports.QChatServerProxy = (0, qChatServer_1.QChatServer)((credentialsProvider, awsQRegion, awsQEndpointUrl) => {
|
|
27
27
|
let clientOptions;
|
|
28
|
-
|
|
29
|
-
const
|
|
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;
|
|
30
36
|
if (proxyUrl) {
|
|
31
37
|
clientOptions = () => {
|
|
32
38
|
// this mimics aws-sdk-v3-js-proxy
|
|
@@ -44,9 +50,11 @@ exports.QChatServerProxy = (0, qChatServer_1.QChatServer)(credentialsProvider =>
|
|
|
44
50
|
}
|
|
45
51
|
return chatSessionManagementService_1.ChatSessionManagementService.getInstance()
|
|
46
52
|
.withCredentialsProvider(credentialsProvider)
|
|
53
|
+
.withCodeWhispererEndpoint(awsQEndpointUrl)
|
|
54
|
+
.withCodeWhispererRegion(awsQRegion)
|
|
47
55
|
.withConfig(clientOptions);
|
|
48
56
|
});
|
|
49
|
-
exports.QConfigurationServerTokenProxy = (0, qConfigurationServer_1.QConfigurationServerToken)(credentialsProvider => {
|
|
50
|
-
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider);
|
|
57
|
+
exports.QConfigurationServerTokenProxy = (0, qConfigurationServer_1.QConfigurationServerToken)((credentialsProvider, workspace, awsQRegion, awsQEndpointUrl) => {
|
|
58
|
+
return new codeWhispererService_1.CodeWhispererServiceToken(credentialsProvider, workspace, awsQRegion, awsQEndpointUrl);
|
|
51
59
|
});
|
|
52
60
|
//# 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;AAChF,2BAAiC;AACjC,qCAAyC;AACzC,iEAA2D;AAE9C,QAAA,6BAA6B,GAAG,IAAA,gDAA0B,
|
|
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;AAChF,2BAAiC;AACjC,qCAAyC;AACzC,iEAA2D;AAE9C,QAAA,6BAA6B,GAAG,IAAA,gDAA0B,EACnE,CAAC,mBAAmB,EAAE,SAAS,EAAE,U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S,CAAA;IAC5F,MAAM,KAAK,GAAG,QAAQ;QAClB,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa;YACvB,CAAC,CAAC,CAAC,IAAA,iBAAY,EAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;YAC3C,CAAC,CAAC,SAAS;QACf,CAAC,CAAC,SAAS,CAAA;IAEf,IAAI,QAAQ,EAAE,CAAC;QACX,aAAa,GAAG,GAAG,EAAE;YACjB,kCAAkC;YAClC,MAAM,KAAK,GAAG,IAAI,yBAAe,CAAC;gBAC9B,KAAK,EAAE,QAAQ;gBACf,EAAE,EAAE,KAAK;aACZ,CAAC,CAAA;YAEF,OAAO;gBACH,cAAc,EAAE,IAAI,mCAAe,CAAC;oBAChC,SAAS,EAAE,KAAK;oBAChB,UAAU,EAAE,KAAK;iBACpB,CAAC;aACL,CAAA;QACL,CAAC,CAAA;IACL,CAAC;IAED,OAAO,2DAA4B,CAAC,WAAW,EAAE;SAC5C,uBAAuB,CAAC,mBAAmB,CAAC;SAC5C,yBAAyB,CAAC,eAAe,CAAC;SAC1C,uBAAuB,CAAC,UAAU,CAAC;SACnC,UAAU,CAAC,aAAa,CAAC,CAAA;AAClC,CAAC,CAAC,CAAA;AAEW,QAAA,8BAA8B,GAAG,IAAA,gDAAyB,EACnE,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,EAAE;IAC5D,OAAO,IAAI,gDAAyB,CAAC,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,CAAC,CAAA;AACrG,CAAC,CACJ,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CredentialsProvider, Server } from '@aws/language-server-runtimes/server-interface';
|
|
2
2
|
import { ChatSessionManagementService } from './chat/chatSessionManagementService';
|
|
3
|
-
export declare const QChatServer: (service: (credentialsProvider: CredentialsProvider) => ChatSessionManagementService) => Server;
|
|
3
|
+
export declare const QChatServer: (service: (credentialsProvider: CredentialsProvider, awsQRegion: string, awsQEndpointUrl: string) => ChatSessionManagementService) => Server;
|
|
@@ -5,10 +5,13 @@ const chatController_1 = require("./chat/chatController");
|
|
|
5
5
|
const quickActions_1 = require("./chat/quickActions");
|
|
6
6
|
const telemetryService_1 = require("./telemetryService");
|
|
7
7
|
const telemetryUtils_1 = require("./utilities/telemetryUtils");
|
|
8
|
+
const constants_1 = require("../constants");
|
|
8
9
|
const QChatServer = (service) => features => {
|
|
9
|
-
const { chat, credentialsProvider, telemetry, logging, lsp, runtime } = features;
|
|
10
|
-
const
|
|
11
|
-
const
|
|
10
|
+
const { chat, credentialsProvider, telemetry, logging, lsp, runtime, workspace } = features;
|
|
11
|
+
const awsQRegion = runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION;
|
|
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);
|
|
12
15
|
const chatController = new chatController_1.ChatController(chatSessionManagementService, features, telemetryService);
|
|
13
16
|
lsp.addInitializer((params) => {
|
|
14
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;
|
|
1
|
+
{"version":3,"file":"qChatServer.js","sourceRoot":"","sources":["../../src/language-server/qChatServer.ts"],"names":[],"mappings":";;;AACA,0DAAsD;AAEtD,sDAA2E;AAC3E,yDAAqD;AACrD,+DAAgF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ClD,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE;QACzB,OAAO,cAAc,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;IAChD,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,4BAA4B,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;AApGQ,QAAA,WAAW,eAoGnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codePercentage.test.js","sourceRoot":"","sources":["../../../src/language-server/telemetry/codePercentage.test.ts"],"names":[],"mappings":";;AAAA,uCAAgE;AAChE,qDAAwD;AAGxD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC5B,MAAM,WAAW,GAAG,QAAQ,CAAA;IAC5B,MAAM,iBAAiB,GAAG,YAAY,CAAA;IAEtC,mCAAmC;IACnC,MAAM,YAAY,GAAG,aAAa,CAAA;IAClC,MAAM,qBAAqB,GAAG,aAAa,CAAA;IAE3C,IAAI,OAA8B,CAAA;IAClC,IAAI,gBAAmD,CAAA;IACvD,IAAI,KAA4B,CAAA;IAEhC,UAAU,CAAC,GAAG,EAAE;QACZ,KAAK,GAAG,kBAAK,CAAC,aAAa,EAAE,CAAA;QAC7B,gBAAgB,GAAG,IAAA,wBAAa,GAAoB,CAAA;QACpD,OAAO,GAAG,IAAI,sCAAqB,CAAC,gBAAgB,CAAC,CAAA;IACzD,CAAC,CAAC,CAAA;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,OAAO,EAAE,CAAA;QACjB,KAAK,CAAC,KAAK,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"codePercentage.test.js","sourceRoot":"","sources":["../../../src/language-server/telemetry/codePercentage.test.ts"],"names":[],"mappings":";;AAAA,uCAAgE;AAChE,qDAAwD;AAGxD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC5B,MAAM,WAAW,GAAG,QAAQ,CAAA;IAC5B,MAAM,iBAAiB,GAAG,YAAY,CAAA;IAEtC,mCAAmC;IACnC,MAAM,YAAY,GAAG,aAAa,CAAA;IAClC,MAAM,qBAAqB,GAAG,aAAa,CAAA;IAE3C,IAAI,OAA8B,CAAA;IAClC,IAAI,gBAAmD,CAAA;IACvD,IAAI,KAA4B,CAAA;IAEhC,UAAU,CAAC,GAAG,EAAE;QACZ,KAAK,GAAG,kBAAK,CAAC,aAAa,EAAE,CAAA;QAC7B,gBAAgB,GAAG,IAAA,wBAAa,GAAoB,CAAA;QACpD,OAAO,GAAG,IAAI,sCAAqB,CAAC,gBAAgB,CAAC,CAAA;IACzD,CAAC,CAAC,CAAA;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,OAAO,EAAE,CAAA;QACjB,KAAK,CAAC,KAAK,EAAE,CAAA;QACb,KAAK,CAAC,OAAO,EAAE,CAAA;IACnB,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE;QAC7C,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,CAAA;QACrB,kBAAK,CAAC,MAAM,CAAC,SAAS,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAA;IAClE,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACnD,OAAO,CAAC,gBAAgB,CAAC,WAAW,EAAE,YAAY,CAAC,CAAA;QACnD,OAAO,CAA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C,CAAA"}
|
|
@@ -209,7 +209,6 @@ describe('Telemetry', () => {
|
|
|
209
209
|
rightFileContent: ')\n {\n Console.WriteLine("Hello World!");\n }\n}\n',
|
|
210
210
|
},
|
|
211
211
|
maxResults: 1,
|
|
212
|
-
supplementalContexts: [],
|
|
213
212
|
},
|
|
214
213
|
supplementalMetadata: undefined,
|
|
215
214
|
timeToFirstRecommendation: 2000,
|
|
@@ -377,7 +376,6 @@ describe('Telemetry', () => {
|
|
|
377
376
|
'}\n',
|
|
378
377
|
},
|
|
379
378
|
maxResults: 5,
|
|
380
|
-
supplementalContexts: [],
|
|
381
379
|
},
|
|
382
380
|
});
|
|
383
381
|
ts_sinon_1.default.assert.calledWithMatch(telemetryServiceSpy, expectedUserTriggerDecisionMetric, 0);
|
|
@@ -763,7 +761,6 @@ describe('Telemetry', () => {
|
|
|
763
761
|
rightFileContent: ')\n {\n Console.WriteLine("Hello World!");\n }\n}\n',
|
|
764
762
|
},
|
|
765
763
|
maxResults: 1,
|
|
766
|
-
supplementalContexts: [],
|
|
767
764
|
},
|
|
768
765
|
timeToFirstRecommendation: 2000,
|
|
769
766
|
credentialStartUrl: 'teststarturl',
|
|
@@ -899,7 +896,6 @@ describe('Telemetry', () => {
|
|
|
899
896
|
rightFileContent: ')\n {\n Console.WriteLine("Hello World!");\n }\n}\n',
|
|
900
897
|
},
|
|
901
898
|
maxResults: 1,
|
|
902
|
-
supplementalContexts: [],
|
|
903
899
|
},
|
|
904
900
|
timeToFirstRecommendation: 2000,
|
|
905
901
|
credentialStartUrl: 'teststarturl',
|
|
@@ -999,7 +995,6 @@ describe('Telemetry', () => {
|
|
|
999
995
|
rightFileContent: ')\n {\n Console.WriteLine("Hello World!");\n }\n}\n',
|
|
1000
996
|
},
|
|
1001
997
|
maxResults: 1,
|
|
1002
|
-
supplementalContexts: [],
|
|
1003
998
|
},
|
|
1004
999
|
timeToFirstRecommendation: 1260,
|
|
1005
1000
|
credentialStartUrl: 'teststarturl',
|