@aws/lsp-codewhisperer 0.0.27 → 0.0.28
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/README.md +59 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/package.json +6 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/index.js +193 -76
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http-handler.js +39 -15
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-handler.js +9 -1
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/server.mock.js +9 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/write-request-body.js +13 -9
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
- package/node_modules/{@smithy/node-http-handler/dist-types → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4}/set-socket-keep-alive.d.ts +7 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/package.json +10 -10
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +53 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +53 -0
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/package.json +6 -6
- package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
- package/out/client/token/bearer-token-service.json +1650 -96
- package/out/constants.d.ts +3 -0
- package/out/constants.js +4 -1
- package/out/constants.js.map +1 -1
- package/out/language-server/amazonQServiceManager/qDeveloperProfiles.d.ts +38 -0
- package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js +85 -0
- package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js.map +1 -0
- package/out/language-server/chat/chatController.d.ts +1 -1
- package/out/language-server/chat/chatController.js +2 -2
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/codeWhispererServer.js +7 -32
- package/out/language-server/codeWhispererServer.js.map +1 -1
- package/out/language-server/codeWhispererService.d.ts +4 -0
- package/out/language-server/codeWhispererService.js +6 -0
- package/out/language-server/codeWhispererService.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.d.ts +18 -1
- package/out/language-server/configuration/qConfigurationServer.js +107 -6
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/dependencyGraph/commonUtil.d.ts +0 -1
- package/out/language-server/dependencyGraph/commonUtil.js +0 -11
- package/out/language-server/dependencyGraph/commonUtil.js.map +1 -1
- package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
- package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.d.ts +3 -2
- package/out/language-server/netTransform/transformHandler.js +7 -2
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransformServer.js +1 -1
- package/out/language-server/netTransformServer.js.map +1 -1
- package/out/language-server/telemetry/codeDiffTracker.js +15 -12
- package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js +2 -2
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js.map +1 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +2 -2
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/out/language-server/utils.d.ts +1 -0
- package/out/language-server/utils.js +4 -0
- package/out/language-server/utils.js.map +1 -1
- package/package.json +8 -8
- package/node_modules/@smithy/node-http-handler/README.md +0 -4
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -14
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -23
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -23
- package/out/language-server/auto-trigger/autoTrigger.test.d.ts +0 -1
- package/out/language-server/auto-trigger/autoTrigger.test.js +0 -82
- package/out/language-server/auto-trigger/autoTrigger.test.js.map +0 -1
- package/out/language-server/chat/chatController.test.d.ts +0 -1
- package/out/language-server/chat/chatController.test.js +0 -709
- package/out/language-server/chat/chatController.test.js.map +0 -1
- package/out/language-server/chat/chatEventParser.test.d.ts +0 -1
- package/out/language-server/chat/chatEventParser.test.js +0 -239
- package/out/language-server/chat/chatEventParser.test.js.map +0 -1
- package/out/language-server/chat/chatSessionManagementService.test.d.ts +0 -1
- package/out/language-server/chat/chatSessionManagementService.test.js +0 -77
- package/out/language-server/chat/chatSessionManagementService.test.js.map +0 -1
- package/out/language-server/chat/chatSessionService.test.d.ts +0 -1
- package/out/language-server/chat/chatSessionService.test.js +0 -86
- package/out/language-server/chat/chatSessionService.test.js.map +0 -1
- package/out/language-server/chat/contexts/documentContext.test.d.ts +0 -1
- package/out/language-server/chat/contexts/documentContext.test.js +0 -117
- package/out/language-server/chat/contexts/documentContext.test.js.map +0 -1
- package/out/language-server/chat/contexts/triggerContexts.test.d.ts +0 -1
- package/out/language-server/chat/contexts/triggerContexts.test.js +0 -81
- package/out/language-server/chat/contexts/triggerContexts.test.js.map +0 -1
- package/out/language-server/chat/contexts/utils.test.d.ts +0 -1
- package/out/language-server/chat/contexts/utils.test.js +0 -72
- package/out/language-server/chat/contexts/utils.test.js.map +0 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.test.d.ts +0 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js +0 -195
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +0 -1
- package/out/language-server/codeWhispererServer.test.d.ts +0 -1
- package/out/language-server/codeWhispererServer.test.js +0 -1377
- package/out/language-server/codeWhispererServer.test.js.map +0 -1
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.d.ts +0 -1
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +0 -483
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +0 -1
- package/out/language-server/dependencyGraph/gitIgnoreFilter.d.ts +0 -7
- package/out/language-server/dependencyGraph/gitIgnoreFilter.js +0 -39
- package/out/language-server/dependencyGraph/gitIgnoreFilter.js.map +0 -1
- package/out/language-server/languageDetection.test.d.ts +0 -1
- package/out/language-server/languageDetection.test.js +0 -31
- package/out/language-server/languageDetection.test.js.map +0 -1
- package/out/language-server/mergeRightUtils.test.d.ts +0 -1
- package/out/language-server/mergeRightUtils.test.js +0 -53
- package/out/language-server/mergeRightUtils.test.js.map +0 -1
- package/out/language-server/netTransform/tests/converter.test.d.ts +0 -1
- package/out/language-server/netTransform/tests/converter.test.js +0 -108
- package/out/language-server/netTransform/tests/converter.test.js.map +0 -1
- package/out/language-server/netTransform/tests/transformHandler.test.d.ts +0 -1
- package/out/language-server/netTransform/tests/transformHandler.test.js +0 -252
- package/out/language-server/netTransform/tests/transformHandler.test.js.map +0 -1
- package/out/language-server/netTransform/tests/validation.test.d.ts +0 -1
- package/out/language-server/netTransform/tests/validation.test.js +0 -84
- package/out/language-server/netTransform/tests/validation.test.js.map +0 -1
- package/out/language-server/qChatServer.test.d.ts +0 -1
- package/out/language-server/qChatServer.test.js +0 -51
- package/out/language-server/qChatServer.test.js.map +0 -1
- package/out/language-server/securityScan/securityScanHandler.test.d.ts +0 -1
- package/out/language-server/securityScan/securityScanHandler.test.js +0 -171
- package/out/language-server/securityScan/securityScanHandler.test.js.map +0 -1
- package/out/language-server/session/sessionManager.test.d.ts +0 -1
- package/out/language-server/session/sessionManager.test.js +0 -588
- package/out/language-server/session/sessionManager.test.js.map +0 -1
- package/out/language-server/telemetry/codeDiffTracker.test.d.ts +0 -1
- package/out/language-server/telemetry/codeDiffTracker.test.js +0 -125
- package/out/language-server/telemetry/codeDiffTracker.test.js.map +0 -1
- package/out/language-server/telemetry/codePercentage.test.d.ts +0 -1
- package/out/language-server/telemetry/codePercentage.test.js +0 -214
- package/out/language-server/telemetry/codePercentage.test.js.map +0 -1
- package/out/language-server/telemetry/userTriggerDecision.test.d.ts +0 -1
- package/out/language-server/telemetry/userTriggerDecision.test.js +0 -1348
- package/out/language-server/telemetry/userTriggerDecision.test.js.map +0 -1
- package/out/language-server/telemetry.test.d.ts +0 -1
- package/out/language-server/telemetry.test.js +0 -98
- package/out/language-server/telemetry.test.js.map +0 -1
- package/out/language-server/telemetryService.test.d.ts +0 -1
- package/out/language-server/telemetryService.test.js +0 -771
- package/out/language-server/telemetryService.test.js.map +0 -1
- package/out/language-server/utilities/filesystemUtilities.d.ts +0 -8
- package/out/language-server/utilities/filesystemUtilities.js +0 -30
- package/out/language-server/utilities/filesystemUtilities.js.map +0 -1
- package/out/language-server/utilities/filesystemUtilities.test.d.ts +0 -1
- package/out/language-server/utilities/filesystemUtilities.test.js +0 -85
- package/out/language-server/utilities/filesystemUtilities.test.js.map +0 -1
- package/out/language-server/utilities/pathUtils.d.ts +0 -27
- package/out/language-server/utilities/pathUtils.js +0 -79
- package/out/language-server/utilities/pathUtils.js.map +0 -1
- package/out/language-server/utilities/pathUtils.test.d.ts +0 -1
- package/out/language-server/utilities/pathUtils.test.js +0 -43
- package/out/language-server/utilities/pathUtils.test.js.map +0 -1
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.d.ts +0 -5
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js +0 -49
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js.map +0 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.d.ts +0 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js +0 -157
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js.map +0 -1
- package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.d.ts +0 -1
- package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js +0 -88
- package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +0 -1
- package/out/language-server/utilities/telemetryUtils.test.d.ts +0 -1
- package/out/language-server/utilities/telemetryUtils.test.js +0 -207
- package/out/language-server/utilities/telemetryUtils.test.js.map +0 -1
- package/out/language-server/utilities/textUtils.d.ts +0 -1
- package/out/language-server/utilities/textUtils.js +0 -12
- package/out/language-server/utilities/textUtils.js.map +0 -1
- package/out/language-server/utilities/textUtils.test.d.ts +0 -1
- package/out/language-server/utilities/textUtils.test.js +0 -21
- package/out/language-server/utilities/textUtils.test.js.map +0 -1
- package/out/language-server/utils.test.d.ts +0 -1
- package/out/language-server/utils.test.js +0 -152
- package/out/language-server/utils.test.js.map +0 -1
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller}/LICENSE +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/README.md +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/abort-controller → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler}/LICENSE +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/constants.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/get-transformed-headers.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http-handler.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-handler.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/readable.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/server.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-connection-timeout.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-timeout.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/collector.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/index.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -0
- /package/node_modules/{@smithy/node-http-handler/dist-cjs/write-request-body.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Field.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/constants.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/get-transformed-headers.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/index.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-pool.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/readable.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/collector.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/constants.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-handler.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/server.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/write-request-body.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/LICENSE +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/README.md +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/types.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/abort.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Field.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Fields.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/types.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/LICENSE +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/README.md +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-es/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/package.json +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/LICENSE +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/README.md +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js → types/dist-cjs/abort.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpSigner.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/auth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/client.js → types/dist-cjs/checksum.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/command.js → types/dist-cjs/client.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js → types/dist-cjs/command.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/config.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/manager.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/pool.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js → types/dist-cjs/crypto.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js → types/dist-cjs/encode.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js → types/dist-cjs/endpoint.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/shared.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/http.js → types/dist-cjs/eventStream.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/checksum.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/retry.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js → types/dist-cjs/http.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/identity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/tokenIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js → types/dist-cjs/logger.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js → types/dist-cjs/middleware.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js → types/dist-cjs/pagination.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/response.js → types/dist-cjs/profile.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js → types/dist-cjs/response.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js → types/dist-cjs/retry.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js → types/dist-cjs/serde.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js → types/dist-cjs/shapes.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js → types/dist-cjs/signature.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js → types/dist-cjs/stream.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js → types/dist-cjs/transfer.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-method-transforms.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/exact.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/no-undefined.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/util.js → types/dist-cjs/uri.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js → types/dist-cjs/util.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/abort.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthScheme.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpSigner.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/IdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/auth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/blob/blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/checksum.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/client.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/command.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/config.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/manager.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/pool.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/crypto.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/encode.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoint.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/RuleSetObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/TreeRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/shared.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/eventStream.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/checksum.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/retry.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/externals-check/browser-externals-check.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http/httpHandlerInitialization.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/apiKeyIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/awsCredentialIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/identity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/tokenIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/logger.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/middleware.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/pagination.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/profile.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/response.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/retry.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/serde.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/shapes.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/signature.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/stream.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transfer.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-method-transforms.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/exact.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/no-undefined.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/uri.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/util.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/waiter.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/abort.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpSigner.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/auth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/client.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/command.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/config.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/manager.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/pool.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/crypto.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/encode.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoint.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/shared.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/eventStream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/identity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/tokenIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/logger.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/middleware.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/pagination.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/profile.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/response.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/serde.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/shapes.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/signature.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/stream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transfer.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-method-transforms.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/exact.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/no-undefined.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/abort.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/client.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/command.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/config.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/crypto.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/encode.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoint.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/eventStream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/logger.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/middleware.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/pagination.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/profile.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/response.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/serde.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/shapes.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/signature.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/stream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transfer.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/uri.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/util.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/waiter.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/uri.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/util.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/waiter.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/package.json +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qConfigurationServer.js","sourceRoot":"","sources":["../../../src/language-server/configuration/qConfigurationServer.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"qConfigurationServer.js","sourceRoot":"","sources":["../../../src/language-server/configuration/qConfigurationServer.ts"],"names":[],"mappings":";;;AAAA,qFAUuD;AAEvD,gEAA0D;AAC1D,+CAAkF;AAElF,oFAKoD;AAGpD,wEAAwE;AAC3D,QAAA,uBAAuB,GAAG,OAAO,CAAA;AAC9C,MAAM,gBAAgB,GAAG,gBAAgB,CAAA;AACzC,MAAM,oBAAoB,GAAG,mBAAmB,CAAA;AAEnC,QAAA,sCAAsC,GAAG,GAAG,+BAAuB,IAAI,gBAAgB,EAAE,CAAA;AACzF,QAAA,0CAA0C,GAAG,GAAG,+BAAuB,IAAI,oBAAoB,EAAE,CAAA;AAEvG,MAAM,yBAAyB,GAClC,CACI,OAM8B,EACxB,EAAE,CACZ,CAAC,EAAE,mBAAmB,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAC5E,MAAM,oBAAoB,GAAG,OAAO,CAChC,mBAAmB,EACnB,SAAS,EACT,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,gCAAoB,EAChE,OAAO,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,IAAI,sCAA0B,EAC5E,gBAAgB,CACnB,CAAA;IAED,MAAM,2BAA2B,GAAG,IAAI,2BAA2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AAC;YACb,MAAM,IAAI,CAAC,gBAAgB,CAAC,GAAG,6CAA6C,GAAG,gBAAgB,EAAE,EAAE,KAAK,CAAC,CAAA;QAC7G,CAAC;IACL,CAAC;IAEO,gBAAgB,CAAC,OAAe,EAAE,KAAU;QAChD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,KAAK,KAAK,EAAE,CAAC,CAAA;QAC1C,OAAO,IAAI,gCAAa,CAAC,gCAAa,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;IAClE,CAAC;CACJ;AAzDD,kEAyDC"}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.asyncCallWithTimeout = asyncCallWithTimeout;
|
|
4
3
|
exports.sleep = sleep;
|
|
5
|
-
function asyncCallWithTimeout(asyncPromise, message, timeLimit) {
|
|
6
|
-
let timeoutHandle;
|
|
7
|
-
const timeoutPromise = new Promise((_resolve, reject) => {
|
|
8
|
-
timeoutHandle = setTimeout(() => reject(new Error(message)), timeLimit);
|
|
9
|
-
});
|
|
10
|
-
return Promise.race([asyncPromise, timeoutPromise]).then(result => {
|
|
11
|
-
clearTimeout(timeoutHandle);
|
|
12
|
-
return result;
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
4
|
// Todo: duplicate function. remove it when other PRs are merged
|
|
16
5
|
function sleep(duration = 0) {
|
|
17
6
|
return new Promise(r => setTimeout(r, Math.max(duration, 0)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonUtil.js","sourceRoot":"","sources":["../../../src/language-server/dependencyGraph/commonUtil.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"commonUtil.js","sourceRoot":"","sources":["../../../src/language-server/dependencyGraph/commonUtil.ts"],"names":[],"mappings":";;AACA,sBAEC;AAHD,gEAAgE;AAChE,SAAgB,KAAK,CAAC,QAAQ,GAAG,CAAC;IAC9B,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;AACjE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DependencyGraph = void 0;
|
|
4
|
-
const
|
|
4
|
+
const lsp_core_1 = require("@aws/lsp-core");
|
|
5
5
|
const admZip = require("adm-zip");
|
|
6
6
|
const path = require("path");
|
|
7
7
|
const CodeWhispererConstants = require("./constants");
|
|
@@ -108,7 +108,7 @@ class DependencyGraph {
|
|
|
108
108
|
if (gitIgnoreFiles.length === 0) {
|
|
109
109
|
return files;
|
|
110
110
|
}
|
|
111
|
-
const gitIgnoreFilter = await
|
|
111
|
+
const gitIgnoreFilter = await lsp_core_1.gitIgnoreFilterUtils.GitIgnoreFilter.build(rootPath, gitIgnoreFiles, this.workspace);
|
|
112
112
|
return gitIgnoreFilter.filterFiles(files);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencyGraph.js","sourceRoot":"","sources":["../../../src/language-server/dependencyGraph/dependencyGraph.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"dependencyGraph.js","sourceRoot":"","sources":["../../../src/language-server/dependencyGraph/dependencyGraph.ts"],"names":[],"mappings":";;;AACA,4CAAoD;AACpD,kCAAiC;AACjC,6BAA4B;AAC5B,sDAAqD;AAYrD;;;;GAIG;AACH,MAAsB,eAAe;IACvB,SAAS,CAAW;IACpB,SAAS,GAAgB,IAAI,GAAG,EAAU,CAAA;IAC1C,iBAAiB,GAAgB,IAAI,GAAG,EAAU,CAAA;IAClD,kBAAkB,GAAgB,IAAI,GAAG,EAAU,CAAA;IACnD,YAAY,GAAgB,IAAI,GAAG,EAAU,CAAA;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,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;QAChF,MAAM,SAAS,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;QACtD,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,WAAW,GAAG,IAAI,EAAE,CAAC,CAAC,CAAA;QACpF,OAAO,SAAS,CAAA;IACpB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,cAAc;QAChB,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,CAAA;IAChD,CAAC;CAmCJ;AAjPD,0CAiPC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CodeWhispererStreaming } from '@amzn/codewhisperer-streaming';
|
|
2
|
-
import { Logging, Workspace } from '@aws/language-server-runtimes/server-interface';
|
|
2
|
+
import { Logging, Runtime, Workspace } from '@aws/language-server-runtimes/server-interface';
|
|
3
3
|
import { CreateUploadUrlResponse, TransformationJob } from '../../client/token/codewhispererbearertokenclient';
|
|
4
4
|
import { CodeWhispererServiceToken } from '../codeWhispererService';
|
|
5
5
|
import { ArtifactManager } from './artifactManager';
|
|
@@ -8,7 +8,8 @@ export declare class TransformHandler {
|
|
|
8
8
|
private client;
|
|
9
9
|
private workspace;
|
|
10
10
|
private logging;
|
|
11
|
-
|
|
11
|
+
private runtime;
|
|
12
|
+
constructor(client: CodeWhispererServiceToken, workspace: Workspace, logging: Logging, runtime: Runtime);
|
|
12
13
|
startTransformation(userInputrequest: StartTransformRequest): Promise<StartTransformResponse>;
|
|
13
14
|
preTransformationUploadCode(payloadFilePath: string): Promise<string>;
|
|
14
15
|
uploadPayloadAsync(payloadFileName: string): Promise<string>;
|
|
@@ -16,10 +16,12 @@ class TransformHandler {
|
|
|
16
16
|
client;
|
|
17
17
|
workspace;
|
|
18
18
|
logging;
|
|
19
|
-
|
|
19
|
+
runtime;
|
|
20
|
+
constructor(client, workspace, logging, runtime) {
|
|
20
21
|
this.client = client;
|
|
21
22
|
this.workspace = workspace;
|
|
22
23
|
this.logging = logging;
|
|
24
|
+
this.runtime = runtime;
|
|
23
25
|
}
|
|
24
26
|
async startTransformation(userInputrequest) {
|
|
25
27
|
var unsupportedProjects = [];
|
|
@@ -59,7 +61,10 @@ class TransformHandler {
|
|
|
59
61
|
throw new Error(errorMessage);
|
|
60
62
|
}
|
|
61
63
|
finally {
|
|
62
|
-
|
|
64
|
+
const env = this.runtime.getConfiguration('RUNENV') ?? '';
|
|
65
|
+
if (env.toUpperCase() != 'TEST') {
|
|
66
|
+
artifactManager.cleanup();
|
|
67
|
+
}
|
|
63
68
|
}
|
|
64
69
|
}
|
|
65
70
|
async preTransformationUploadCode(payloadFilePath) {
|
|
@@ -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,SA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gBAAgB,GAAG,aAAa,CAAA,CAAC,0BAA0B;IACtE,CAAC;IAED,+BAA+B,CAAC,OAA4B,EAAE,GAAsB,EAAE,aAAuB;QACzG,IAAI,MAAM,GAAG,GAAG,EAAE,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
|
+
{"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;IAChB,OAAO,CAAS;IACxB,YAAY,MAAiC,EAAE,SAAoB,EAAE,OAAgB,EAAE,OAAgB;QACnG,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;QAC1B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,OAAO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O,aAAa,CAAA;IACxB,CAAC;IAED,wBAAwB,CAAC,OAAe;QACpC,MAAM,sBAAsB,GAAG,CAAC,CAAA;QAChC,MAAM,gBAAgB,GAAG,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAA;QACvE,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAA;QACpD,OAAO,gBAAgB,GAAG,aAAa,CAAA,CAAC,0BAA0B;IACtE,CAAC;IAED,+BAA+B,CAAC,OAA4B,EAAE,GAAsB,EAAE,aAAuB;QACzG,IAAI,MAAM,GAAG,GAAG,EAAE,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;AAjZD,4CAiZC"}
|
|
@@ -23,7 +23,7 @@ const constants_1 = require("../constants");
|
|
|
23
23
|
*/
|
|
24
24
|
const QNetTransformServerToken = (service) => ({ credentialsProvider, workspace, logging, lsp, telemetry, runtime, sdkInitializator }) => {
|
|
25
25
|
const codewhispererclient = service(credentialsProvider, workspace, runtime.getConfiguration('AWS_Q_REGION') ?? constants_1.DEFAULT_AWS_Q_REGION, runtime.getConfiguration('AWS_Q_ENDPOINT_URL') ?? constants_1.DEFAULT_AWS_Q_ENDPOINT_URL, sdkInitializator);
|
|
26
|
-
const transformHandler = new transformHandler_1.TransformHandler(codewhispererclient, workspace, logging);
|
|
26
|
+
const transformHandler = new transformHandler_1.TransformHandler(codewhispererclient, workspace, logging, runtime);
|
|
27
27
|
const runTransformCommand = async (params, _token) => {
|
|
28
28
|
try {
|
|
29
29
|
switch (params.command) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"netTransformServer.js","sourceRoot":"","sources":["../../src/language-server/netTransformServer.ts"],"names":[],"mappings":";;;AAQA,yGAAwF;AAExF,oDAe+B;AAQ/B,sEAAkE;AAElE,+DAAyD;AAE5C,QAAA,yBAAyB,GAAG,CAAC,WAAW,EAAE,qBAAqB,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,CAAC,CAAA;AAC1G,QAAA,sBAAsB,GAAG,CAAC,WAAW,CAAC,CAAA;AACtC,QAAA,aAAa,GAAG,CAAC,QAAQ,EAAE,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;AAG/E;;;;GAIG;AACI,MAAM,wBAAwB,GACjC,CACI,OAM8B,EACxB,EAAE,CACZ,CAAC,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACvF,MAAM,mBAAmB,GAAG,OAAO,CAC/B,mBAAmB,EACnB,SAAS,EACT,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IA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A7KQ,QAAA,wBAAwB,4BA6KhC"}
|
|
@@ -106,21 +106,24 @@ class CodeDiffTracker {
|
|
|
106
106
|
}
|
|
107
107
|
#startInterval() {
|
|
108
108
|
if (!this.#interval) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
109
|
+
const recursiveSetTimeout = () => {
|
|
110
|
+
this.#interval = setTimeout(async () => {
|
|
111
|
+
try {
|
|
112
|
+
await this.flush();
|
|
113
|
+
}
|
|
114
|
+
catch (e) {
|
|
115
|
+
this.#logging.log(`flush failed: ${(0, utils_1.getErrorMessage)(e)}`);
|
|
116
|
+
}
|
|
117
|
+
finally {
|
|
118
|
+
recursiveSetTimeout();
|
|
119
|
+
}
|
|
120
|
+
}, this.#flushInterval);
|
|
121
|
+
};
|
|
122
|
+
recursiveSetTimeout();
|
|
120
123
|
}
|
|
121
124
|
}
|
|
122
125
|
#clearInterval() {
|
|
123
|
-
|
|
126
|
+
clearTimeout(this.#interval);
|
|
124
127
|
this.#interval = undefined;
|
|
125
128
|
}
|
|
126
129
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codeDiffTracker.js","sourceRoot":"","sources":["../../../src/language-server/telemetry/codeDiffTracker.ts"],"names":[],"mappings":";;;;AAAA,6DAA8C;AAG9C,oCAAuE;AAiBvE;;;GAGG;AACH,MAAa,eAAe;IACxB;;OAEG;IACK,MAAM,CAAU,cAAc,GAAG,IAAI,GAAG,EAAE,CAAA,CAAC,WAAW;IAC9D;;OAEG;IACK,MAAM,CAAU,sBAAsB,GAAG,IAAI,GAAG,EAAE,GAAG,CAAC,CAAA,CAAC,YAAY;IACnE,MAAM,CAAU,sBAAsB,GAAG,KAAK,CAAA;IAEtD,WAAW,CAAK;IAChB,SAAS,CAAiB;IAC1B,UAAU,CAAuB;IACjC,QAAQ,CAAqB;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W;iBAC9B,CAAC,CAAA;gBACF,MAAM,UAAU,GAAG,EAAe,CAAC,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;gBACnF,MAAM,gCAAgC,GAAG,IAAA,mCAA2B,EAChE,UAAU,CAAC,cAAc,EACzB,UAAU,CACb,CAAA;gBACD,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,UAAU,EAAE,gCAAgC,CAAC,CAAA;YAChF,CAAC;QACL,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0CAA0C,CAAC,EAAE,CAAC,CAAA;QACpE,CAAC;IACL,CAAC;IAED,cAAc;QACV,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YAClB,IAAI,CAAC,SAAS,GAAG,
|
|
1
|
+
{"version":3,"file":"codeDiffTracker.js","sourceRoot":"","sources":["../../../src/language-server/telemetry/codeDiffTracker.ts"],"names":[],"mappings":";;;;AAAA,6DAA8C;AAG9C,oCAAuE;AAiBvE;;;GAGG;AACH,MAAa,eAAe;IACxB;;OAEG;IACK,MAAM,CAAU,cAAc,GAAG,IAAI,GAAG,EAAE,CAAA,CAAC,WAAW;IAC9D;;OAEG;IACK,MAAM,CAAU,sBAAsB,GAAG,IAAI,GAAG,EAAE,GAAG,CAAC,CAAA,CAAC,YAAY;IACnE,MAAM,CAAU,sBAAsB,GAAG,KAAK,CAAA;IAEtD,WAAW,CAAK;IAChB,SAAS,CAAiB;IAC1B,UAAU,CAAuB;IACjC,QAAQ,CAAqB;IAC7B,aAAa,CAAkG;IAC/G,cAAc,CAAQ;IACtB,qBAAqB,CAAQ;IAC7B,aAAa,CAAQ;IAErB;;;;;OAKG;IACI,MAAM,CAAC,SAAS,CAAC,UAAmB,EAAE,cAAuB;QAChE,IAAI,CAAC,UAAU,IAAI,CAAC,cAAc,EAAE,CAAC;YACjC,OAAO,CAAC,CAAA;QACZ,CAAC;QAED,MAAM,IAA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E,gCAAgC,CAAC,CAAA;YAChF,CAAC;QACL,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0CAA0C,CAAC,EAAE,CAAC,CAAA;QACpE,CAAC;IACL,CAAC;IAED,cAAc;QACV,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YAClB,MAAM,mBAAmB,GAAG,GAAG,EAAE;gBAC7B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,KAAK,IAAI,EAAE;oBACnC,IAAI,CAAC;wBACD,MAAM,IAAI,CAAC,KAAK,EAAE,CAAA;oBACtB,CAAC;oBAAC,OAAO,CAAC,EAAE,CAAC;wBACT,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,CAAC,CAAA;oBAC5D,CAAC;4BAAS,CAAC;wBACP,mBAAmB,EAAE,CAAA;oBACzB,CAAC;gBACL,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,CAAA;YAC3B,CAAC,CAAA;YACD,mBAAmB,EAAE,CAAA;QACzB,CAAC;IACL,CAAC;IAED,cAAc;QACV,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAC5B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC9B,CAAC;;AA1IL,0CA2IC"}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.utgLanguageConfigs = void 0;
|
|
6
6
|
exports.isTestFile = isTestFile;
|
|
7
7
|
const path = require("path");
|
|
8
|
-
const
|
|
8
|
+
const lsp_core_1 = require("@aws/lsp-core");
|
|
9
9
|
exports.utgLanguageConfigs = {
|
|
10
10
|
// Java regexes are not working efficiently for class or function extraction
|
|
11
11
|
java: {
|
|
@@ -24,7 +24,7 @@ exports.utgLanguageConfigs = {
|
|
|
24
24
|
},
|
|
25
25
|
};
|
|
26
26
|
function isTestFile(filePath, languageConfig) {
|
|
27
|
-
const normalizedFilePath =
|
|
27
|
+
const normalizedFilePath = lsp_core_1.pathUtils.normalize(filePath);
|
|
28
28
|
const pathContainsTest = normalizedFilePath.includes('tests/') ||
|
|
29
29
|
normalizedFilePath.includes('test/') ||
|
|
30
30
|
normalizedFilePath.includes('tst/');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codeParsingUtil.js","sourceRoot":"","sources":["../../../../src/language-server/utilities/supplementalContextUtil/codeParsingUtil.ts"],"names":[],"mappings":";AAAA,2DAA2D;AAC3D,sKAAsK;;;AAiCtK,gCAmBC;AAlDD,6BAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"codeParsingUtil.js","sourceRoot":"","sources":["../../../../src/language-server/utilities/supplementalContextUtil/codeParsingUtil.ts"],"names":[],"mappings":";AAAA,2DAA2D;AAC3D,sKAAsK;;;AAiCtK,gCAmBC;AAlDD,6BAA4B;AAC5B,4CAAyC;AAW5B,QAAA,kBAAkB,GAAsC;IACjE,4EAA4E;IAC5E,IAAI,EAAE;QACF,SAAS,EAAE,OAAO;QAClB,mBAAmB,EAAE,mEAAmE;QACxF,yBAAyB,EACrB,oHAAoH,EAAE,mDAAmD;QAC7K,sBAAsB,EAAE,sCAAsC,EAAE,sBAAsB;QACtF,qBAAqB,EAAE,4BAA4B;KACtD;IACD,MAAM,EAAE;QACJ,SAAS,EAAE,KAAK;QAChB,mBAAmB,EAAE,4CAA4C;QACjE,yBAAyB,EAAE,sCAAsC,EAAE,cAAc;QACjF,sBAAsB,EAAE,sBAAsB;QAC9C,qBAAqB,EAAE,oBAAoB;KAC9C;CACJ,CAAA;AAED,SAAgB,UAAU,CACtB,QAAgB,EAChB,cAGC;IAED,MAAM,kBAAkB,GAAG,oBAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;IACxD,MAAM,gBAAgB,GAClB,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACrC,kBAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC;QACpC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;IACvC,MAAM,yBAAyB,GAAG,gBAAgB,CAAC,kBAAkB,EAAE,cAAc,CAAC,UAAU,CAAC,CAAA;IAEjG,IAAI,gBAAgB,IAAI,yBAAyB,EAAE,CAAC;QAChD,OAAO,IAAI,CAAA;IACf,CAAC;IAED,OAAO,KAAK,CAAA;AAChB,CAAC;AAED,SAAS,gBAAgB,CAAC,QAAgB,EAAE,QAAoC;IAC5E,MAAM,cAAc,GAAG,0BAAkB,CAAC,QAAQ,CAAC,CAAA;IACnD,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,sEAAsE;QACtE,6CAA6C;QAC7C,OAAO,KAAK,CAAA;IAChB,CAAC;IACD,MAAM,mBAAmB,GAAG,cAAc,CAAC,mBAAmB,CAAA;IAE9D,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;IAExC,OAAO,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;AAC7C,CAAC"}
|
|
@@ -12,7 +12,7 @@ const nodeUrl = require("url");
|
|
|
12
12
|
const rankBm25_1 = require("./rankBm25");
|
|
13
13
|
const constants_1 = require("../../models/constants");
|
|
14
14
|
const codeParsingUtil_1 = require("./codeParsingUtil");
|
|
15
|
-
const
|
|
15
|
+
const lsp_core_1 = require("@aws/lsp-core");
|
|
16
16
|
const server_interface_1 = require("@aws/language-server-runtimes/server-interface");
|
|
17
17
|
const supplementalContextUtil_1 = require("./supplementalContextUtil");
|
|
18
18
|
// TODO: ugly, can we make it prettier? like we have to manually type 'java', 'javascriptreact' which is error prone
|
|
@@ -201,7 +201,7 @@ async function getCrossFileCandidates(document, workspace) {
|
|
|
201
201
|
return {
|
|
202
202
|
file: candidate,
|
|
203
203
|
// PORT_TODO: port and test getFileDistance to work with LSP's URIs
|
|
204
|
-
fileDistance:
|
|
204
|
+
fileDistance: lsp_core_1.fileSystemUtils.getFileDistance(targetFile, candidate.uri),
|
|
205
205
|
};
|
|
206
206
|
})
|
|
207
207
|
.sort((file1, file2) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crossFileContextUtil.js","sourceRoot":"","sources":["../../../../src/language-server/utilities/supplementalContextUtil/crossFileContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,2KAA2K;AAC3K,oFAAoF;;;AAiDpF,wEAgEC;AAkFD,8CAYC;AAiBD,wDA4CC;AA1QD,6BAA4B;AAC5B,+BAA8B;AAC9B,yCAAoD;AACpD,sDAA+D;AAC/D,uDAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"crossFileContextUtil.js","sourceRoot":"","sources":["../../../../src/language-server/utilities/supplementalContextUtil/crossFileContextUtil.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,2KAA2K;AAC3K,oFAAoF;;;AAiDpF,wEAgEC;AAkFD,8CAYC;AAiBD,wDA4CC;AA1QD,6BAA4B;AAC5B,+BAA8B;AAC9B,yCAAoD;AACpD,sDAA+D;AAC/D,uDAA8C;AAC9C,4CAA+C;AAE/C,qFAMuD;AACvD,uEAA6D;AAU7D,oHAAoH;AACpH,sDAAsD;AACtD,mDAAmD;AACtC,QAAA,2BAA2B,GAA8D;IAClG,IAAI,EAAE,IAAI,GAAG,CAAS,CAAC,OAAO,CAAC,CAAC;IAChC,MAAM,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,CAAC,CAAC;IAChC,UAAU,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC5C,eAAe,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACjD,UAAU,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC5C,eAAe,EAAE,IAAI,GAAG,CAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CACpD,CAAA;AAED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|
|
8
8
|
[key: number | string | symbol]: any;
|
|
9
9
|
};
|
|
10
10
|
export declare function isNullish(value: unknown): value is null | undefined;
|
|
11
|
+
export declare function isBool(value: unknown): value is boolean;
|
|
11
12
|
export declare function getCompletionType(suggestion: Suggestion): CodewhispererCompletionType;
|
|
12
13
|
export declare function parseJson(jsonString: string): any;
|
|
13
14
|
export declare function getErrorMessage(error: any): string;
|
|
@@ -4,6 +4,7 @@ exports.flattenMetric = void 0;
|
|
|
4
4
|
exports.isAwsError = isAwsError;
|
|
5
5
|
exports.isObject = isObject;
|
|
6
6
|
exports.isNullish = isNullish;
|
|
7
|
+
exports.isBool = isBool;
|
|
7
8
|
exports.getCompletionType = getCompletionType;
|
|
8
9
|
exports.parseJson = parseJson;
|
|
9
10
|
exports.getErrorMessage = getErrorMessage;
|
|
@@ -31,6 +32,9 @@ function isObject(value) {
|
|
|
31
32
|
function isNullish(value) {
|
|
32
33
|
return value === null || value === undefined;
|
|
33
34
|
}
|
|
35
|
+
function isBool(value) {
|
|
36
|
+
return typeof value === 'boolean';
|
|
37
|
+
}
|
|
34
38
|
function getCompletionType(suggestion) {
|
|
35
39
|
const nonBlankLines = suggestion.content.split('\n').filter(line => line.trim() !== '').length;
|
|
36
40
|
return nonBlankLines > 1 ? 'Block' : 'Line';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/language-server/utils.ts"],"names":[],"mappings":";;;AAcA,gCAMC;AAUD,4BAEC;AAED,8BAEC;AAED,8CAIC;AAED,8BAMC;AAED,0CAKC;AAED,gEAYC;AAsBD,oDAIC;AASD,kEAEC;AAED,kFAoBC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/language-server/utils.ts"],"names":[],"mappings":";;;AAcA,gCAMC;AAUD,4BAEC;AAED,8BAEC;AAED,wBAEC;AAED,8CAIC;AAED,8BAMC;AAED,0CAKC;AAED,gEAYC;AAsBD,oDAIC;AASD,kEAE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AqB,GAAG,CAAC;YACpD,SAAS,EAAE,aAAa,CAAC,qBAAqB,GAAG,CAAC,CAAC,CAAC,MAAM;SAC7D,CAAA;IACL,CAAC;IACD,OAAO,WAAW,CAAA;AACtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/lsp-codewhisperer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"description": "CodeWhisperer Language Server",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"lint": "npm run lint:src",
|
|
22
22
|
"lint:bundle:webworker": "webpack --config webpack.lint.config.js && eslint bundle/aws-lsp-codewhisperer-webworker.js # Verify compatibility with web runtime target",
|
|
23
23
|
"lint:src": "eslint src/ --ext .ts,.tsx",
|
|
24
|
-
"test:unit": "ts-mocha -b
|
|
24
|
+
"test:unit": "ts-mocha -b \"./src/**/*.test.ts\"",
|
|
25
25
|
"test": "npm run lint && npm run test:unit",
|
|
26
26
|
"prepack": "npm run compile && ts-node ../../script/link_bundled_dependencies.ts",
|
|
27
27
|
"postinstall": "node ./script/install_transitive_dep.js"
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@amzn/codewhisperer-streaming": "file:../../core/codewhisperer-streaming/amzn-codewhisperer-streaming-1.0.0.tgz",
|
|
31
31
|
"@aws-sdk/util-retry": "^3.374.0",
|
|
32
|
-
"@aws/chat-client-ui-types": "^0.1.
|
|
33
|
-
"@aws/language-server-runtimes": "^0.2.
|
|
34
|
-
"@
|
|
32
|
+
"@aws/chat-client-ui-types": "^0.1.5",
|
|
33
|
+
"@aws/language-server-runtimes": "^0.2.45",
|
|
34
|
+
"@aws/lsp-core": "^0.0.2",
|
|
35
35
|
"@smithy/node-http-handler": "^2.5.0",
|
|
36
36
|
"adm-zip": "^0.5.10",
|
|
37
|
-
"archiver": "^
|
|
37
|
+
"archiver": "^7.0.1",
|
|
38
38
|
"aws-sdk": "^2.1403.0",
|
|
39
39
|
"deepmerge": "^4.3.1",
|
|
40
40
|
"fastest-levenshtein": "^1.0.16",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"hpagent": "^1.2.0",
|
|
43
43
|
"js-md5": "^0.8.3",
|
|
44
44
|
"uuid": "^11.0.5",
|
|
45
|
-
"vscode-uri": "^3.0
|
|
45
|
+
"vscode-uri": "^3.1.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/adm-zip": "^0.5.5",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"mock-fs": "^5.2.0",
|
|
54
54
|
"sinon": "^19.0.2",
|
|
55
55
|
"ts-loader": "^9.4.4",
|
|
56
|
-
"ts-mocha": "^
|
|
56
|
+
"ts-mocha": "^11.1.0",
|
|
57
57
|
"ts-sinon": "^2.0.2",
|
|
58
58
|
"vscode-languageserver-textdocument": "^1.0.11",
|
|
59
59
|
"webpack": "^5.94.0",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
# @smithy/node-http-handler
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@smithy/node-http-handler)
|
|
4
|
-
[](https://www.npmjs.com/package/@smithy/node-http-handler)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
|
|
2
|
-
if (!timeoutInMs) {
|
|
3
|
-
return;
|
|
4
|
-
}
|
|
5
|
-
const timeoutId = setTimeout(() => {
|
|
6
|
-
request.destroy();
|
|
7
|
-
reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
|
|
8
|
-
name: "TimeoutError",
|
|
9
|
-
}));
|
|
10
|
-
}, timeoutInMs);
|
|
11
|
-
request.on("socket", (socket) => {
|
|
12
|
-
if (socket.connecting) {
|
|
13
|
-
socket.on("connect", () => {
|
|
14
|
-
clearTimeout(timeoutId);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
clearTimeout(timeoutId);
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Collector } from "./collector";
|
|
2
|
-
export const streamCollector = (stream) => new Promise((resolve, reject) => {
|
|
3
|
-
const collector = new Collector();
|
|
4
|
-
stream.pipe(collector);
|
|
5
|
-
stream.on("error", (err) => {
|
|
6
|
-
collector.end();
|
|
7
|
-
reject(err);
|
|
8
|
-
});
|
|
9
|
-
collector.on("error", reject);
|
|
10
|
-
collector.on("finish", function () {
|
|
11
|
-
const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
|
|
12
|
-
resolve(bytes);
|
|
13
|
-
});
|
|
14
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AbortController as IAbortController } from "@smithy/types";
|
|
2
|
-
import { AbortSignal } from "./AbortSignal";
|
|
3
|
-
export { IAbortController };
|
|
4
|
-
/**
|
|
5
|
-
* This implementation was added as Node.js didn't support AbortController prior to 15.x
|
|
6
|
-
* Use native implementation in browsers or Node.js \>=15.4.0.
|
|
7
|
-
*
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export declare class AbortController implements IAbortController {
|
|
11
|
-
readonly signal: AbortSignal;
|
|
12
|
-
abort(): void;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AbortController as IAbortController } from "@smithy/types";
|
|
2
|
-
import { AbortSignal } from "./AbortSignal";
|
|
3
|
-
export { IAbortController };
|
|
4
|
-
/**
|
|
5
|
-
* This implementation was added as Node.js didn't support AbortController prior to 15.x
|
|
6
|
-
* Use native implementation in browsers or Node.js \>=15.4.0.
|
|
7
|
-
*
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export declare class AbortController implements IAbortController {
|
|
11
|
-
readonly signal: AbortSignal;
|
|
12
|
-
abort(): void;
|
|
13
|
-
}
|