@aws/lsp-codewhisperer 0.0.48 → 0.0.50
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 +36 -0
- package/out/client/streamingClient/codewhispererStreamingClient.d.ts +1 -1
- package/out/client/streamingClient/codewhispererStreamingClient.js +2 -2
- package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
- package/out/client/token/bearer-token-service.json +140 -2
- package/out/language-server/agenticChat/agenticChatController.d.ts +10 -4
- package/out/language-server/agenticChat/agenticChatController.js +108 -43
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/agenticChatEventParser.d.ts +1 -1
- package/out/language-server/agenticChat/constants.d.ts +3 -3
- package/out/language-server/agenticChat/constants.js +3 -5
- package/out/language-server/agenticChat/constants.js.map +1 -1
- package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +39 -6
- package/out/language-server/agenticChat/context/addtionalContextProvider.js +329 -53
- package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -1
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +3 -2
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +7 -7
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -1
- package/out/language-server/agenticChat/context/contextCommandsProvider.js +4 -2
- package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -1
- package/out/language-server/agenticChat/context/contextUtils.d.ts +21 -2
- package/out/language-server/agenticChat/context/contextUtils.js +45 -16
- package/out/language-server/agenticChat/context/contextUtils.js.map +1 -1
- package/out/language-server/agenticChat/errors.js +2 -2
- package/out/language-server/agenticChat/errors.js.map +1 -1
- package/out/language-server/agenticChat/qAgenticChatServer.js +17 -1
- package/out/language-server/agenticChat/qAgenticChatServer.js.map +1 -1
- package/out/language-server/agenticChat/tabBarController.d.ts +1 -1
- package/out/language-server/agenticChat/tabBarController.js +11 -5
- package/out/language-server/agenticChat/tabBarController.js.map +1 -1
- package/out/language-server/agenticChat/textFormatting.d.ts +1 -1
- package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +68 -15
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js +260 -126
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
- package/out/language-server/agenticChat/tools/chatDb/chatHistoryMaintainer.d.ts +99 -0
- package/out/language-server/agenticChat/tools/chatDb/chatHistoryMaintainer.js +318 -0
- package/out/language-server/agenticChat/tools/chatDb/chatHistoryMaintainer.js.map +1 -0
- package/out/language-server/agenticChat/tools/chatDb/util.d.ts +58 -2
- package/out/language-server/agenticChat/tools/chatDb/util.js +74 -2
- package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -1
- package/out/language-server/agenticChat/tools/codeSearch.d.ts +1 -1
- package/out/language-server/chat/chatController.d.ts +1 -1
- package/out/language-server/chat/chatController.js +3 -3
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/chat/chatEventParser.d.ts +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +1 -1
- package/out/language-server/chat/contexts/documentContext.d.ts +1 -1
- package/out/language-server/chat/contexts/triggerContext.d.ts +1 -1
- package/out/language-server/chat/contexts/triggerContext.js +5 -5
- package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
- package/out/language-server/chat/quickActions.d.ts +1 -7
- package/out/language-server/chat/quickActions.js +1 -7
- package/out/language-server/chat/quickActions.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.js +13 -8
- package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
- package/out/language-server/chat/tools/relevantTextDocuments.d.ts +1 -1
- package/out/language-server/inline-completion/auto-trigger/EditPredictionAutoTriggerTestConstants.d.ts +59 -0
- package/out/language-server/inline-completion/auto-trigger/EditPredictionAutoTriggerTestConstants.js +189 -0
- package/out/language-server/inline-completion/auto-trigger/EditPredictionAutoTriggerTestConstants.js.map +1 -0
- package/out/language-server/inline-completion/auto-trigger/editPredictionAutoTrigger.d.ts +27 -0
- package/out/language-server/inline-completion/auto-trigger/editPredictionAutoTrigger.js +57 -0
- package/out/language-server/inline-completion/auto-trigger/editPredictionAutoTrigger.js.map +1 -0
- package/out/language-server/inline-completion/auto-trigger/editPredictionConfig.d.ts +49 -0
- package/out/language-server/inline-completion/auto-trigger/editPredictionConfig.js +66 -0
- package/out/language-server/inline-completion/auto-trigger/editPredictionConfig.js.map +1 -0
- package/out/language-server/inline-completion/auto-trigger/languageDetector.d.ts +24 -0
- package/out/language-server/inline-completion/auto-trigger/languageDetector.js +353 -0
- package/out/language-server/inline-completion/auto-trigger/languageDetector.js.map +1 -0
- package/out/language-server/inline-completion/diffUtils.d.ts +50 -0
- package/out/language-server/inline-completion/diffUtils.js +202 -0
- package/out/language-server/inline-completion/diffUtils.js.map +1 -0
- package/out/language-server/inline-completion/tracker/codeEditTracker.d.ts +178 -0
- package/out/language-server/inline-completion/tracker/codeEditTracker.js +478 -0
- package/out/language-server/inline-completion/tracker/codeEditTracker.js.map +1 -0
- package/out/language-server/inline-completion/tracker/cursorTracker.d.ts +114 -0
- package/out/language-server/inline-completion/tracker/cursorTracker.js +188 -0
- package/out/language-server/inline-completion/tracker/cursorTracker.js.map +1 -0
- package/out/language-server/inline-completion/tracker/rejectedEditTracker.d.ts +57 -0
- package/out/language-server/inline-completion/tracker/rejectedEditTracker.js +123 -0
- package/out/language-server/inline-completion/tracker/rejectedEditTracker.js.map +1 -0
- package/out/language-server/netTransform/artifactManager.js +3 -0
- package/out/language-server/netTransform/artifactManager.js.map +1 -1
- package/out/language-server/netTransform/models.d.ts +2 -0
- package/out/language-server/netTransform/models.js.map +1 -1
- package/out/language-server/netTransform/tests/mockData.js +1 -0
- package/out/language-server/netTransform/tests/mockData.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/workspaceContext/workspaceContextServer.js +11 -4
- package/out/language-server/workspaceContext/workspaceContextServer.js.map +1 -1
- package/out/language-server/workspaceContext/workspaceFolderManager.d.ts +1 -0
- package/out/language-server/workspaceContext/workspaceFolderManager.js +24 -15
- package/out/language-server/workspaceContext/workspaceFolderManager.js.map +1 -1
- package/out/shared/models/model.d.ts +26 -1
- package/out/shared/streamingClientService.d.ts +1 -1
- package/out/shared/streamingClientService.js +2 -2
- package/out/shared/streamingClientService.js.map +1 -1
- package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +10 -1
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js +41 -0
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
- package/out/shared/telemetry/telemetryService.d.ts +5 -0
- package/out/shared/telemetry/telemetryService.js +5 -0
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/out/shared/telemetry/types.d.ts +5 -0
- package/out/shared/telemetry/types.js.map +1 -1
- package/out/shared/utils.d.ts +1 -1
- package/out/shared/utils.js +5 -5
- package/out/shared/utils.js.map +1 -1
- package/package.json +4 -4
- package/node_modules/@amzn/codewhisperer-streaming/LICENSE +0 -201
- package/node_modules/@amzn/codewhisperer-streaming/README.md +0 -941
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreaming.js +0 -19
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +0 -49
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthSchemeProvider.js +0 -46
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/ExportResultArchiveCommand.js +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateAssistantResponseCommand.js +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateTaskAssistPlanCommand.js +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/SendMessageCommand.js +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/index.js +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +0 -211
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/extensionConfiguration.js +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/index.js +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/CodeWhispererStreamingServiceException.js +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/index.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +0 -1090
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +0 -687
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +0 -39
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +0 -53
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.native.js +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.shared.js +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeExtensions.js +0 -25
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreaming.js +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +0 -45
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthExtensionConfiguration.js +0 -38
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthSchemeProvider.js +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/ExportResultArchiveCommand.js +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateAssistantResponseCommand.js +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateTaskAssistPlanCommand.js +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/SendMessageCommand.js +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/index.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +0 -207
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/extensionConfiguration.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/index.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/CodeWhispererStreamingServiceException.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +0 -998
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +0 -676
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +0 -34
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +0 -48
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.native.js +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.shared.js +0 -28
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeExtensions.js +0 -21
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreaming.d.ts +0 -37
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +0 -192
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthExtensionConfiguration.d.ts +0 -29
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthSchemeProvider.d.ts +0 -67
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +0 -114
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +0 -788
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +0 -801
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +0 -801
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/index.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/endpoints.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/extensionConfiguration.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/index.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/CodeWhispererStreamingServiceException.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/index.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +0 -3223
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +0 -48
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +0 -47
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +0 -44
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.shared.d.ts +0 -25
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeExtensions.d.ts +0 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/LICENSE +0 -201
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/README.md +0 -53
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -217
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -88
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +0 -67
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/LICENSE +0 -201
- 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 -294
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/abort.js +0 -1
- 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/checksum.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/client.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/command.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/crypto.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/encode.js +0 -1
- 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/eventStream.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/feature-ids.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 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/logger.js +0 -1
- 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/pagination.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/response.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/retry.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/serde.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/shapes.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/signature.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/stream.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-es/uri.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/util.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/waiter.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 -50
- 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/feature-ids.d.ts +0 -59
- 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 -47
- 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 -33
- 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 -13
- 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 -13
- 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/feature-ids.d.ts +0 -54
- 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 -25
- 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 -33
- 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 -47
- 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/abort-controller/LICENSE +0 -201
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/README.md +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -84
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +0 -62
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/LICENSE +0 -201
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -806
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -209
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -86
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -167
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -19
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -24
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -19
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -56
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -45
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -24
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -62
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -45
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -62
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +0 -67
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/LICENSE +0 -201
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/README.md +0 -115
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort-handler.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/auth.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/checksum.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/client.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/command.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/config.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/manager.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/pool.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/crypto.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/encode.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoint.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/eventStream.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/retry.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/feature-ids.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/identity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/index.js +0 -144
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/logger.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/middleware.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/pagination.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/profile.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/response.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/retry.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/schema.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/traits.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/serde.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/shapes.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/signature.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/stream.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transfer.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/exact.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/mutable.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/uri.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/util.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/waiter.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort-handler.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/auth.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/index.js +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/checksum.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/client.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/command.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/config.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/index.js +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/manager.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/pool.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/crypto.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/encode.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoint.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/index.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/shared.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/eventStream.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/checksum.js +0 -38
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/index.js +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/retry.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/feature-ids.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/identity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/index.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/index.js +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/logger.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/middleware.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/pagination.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/profile.js +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/response.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/retry.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/schema.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/sentinels.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/traits.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/serde.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/shapes.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/signature.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/stream.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transfer.js +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/exact.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/mutable.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/no-undefined.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/type-transform.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/uri.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/util.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/waiter.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort-handler.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort.d.ts +0 -50
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +0 -49
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -20
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +0 -41
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/auth.d.ts +0 -57
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/index.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/checksum.d.ts +0 -63
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/client.d.ts +0 -57
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/command.d.ts +0 -25
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/config.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/manager.d.ts +0 -34
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/pool.d.ts +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/crypto.d.ts +0 -60
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -25
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/encode.d.ts +0 -31
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoint.d.ts +0 -77
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +0 -27
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +0 -28
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +0 -55
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/eventStream.d.ts +0 -137
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +0 -58
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +0 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/index.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +0 -35
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/feature-ids.d.ts +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +0 -121
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http.d.ts +0 -112
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +0 -31
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/identity.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/index.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/index.d.ts +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/logger.d.ts +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/middleware.d.ts +0 -534
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/pagination.d.ts +0 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/profile.d.ts +0 -30
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/response.d.ts +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/retry.d.ts +0 -133
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/schema.d.ts +0 -263
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +0 -65
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/traits.d.ts +0 -46
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/serde.d.ts +0 -114
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/shapes.d.ts +0 -82
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/signature.d.ts +0 -155
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/stream.d.ts +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transfer.d.ts +0 -41
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -77
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/exact.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +0 -68
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +0 -34
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -25
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -121
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -112
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -278
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/uri.d.ts +0 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/util.d.ts +0 -176
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/waiter.d.ts +0 -35
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/package.json +0 -60
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CHANGELOG.md +0 -274
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/README.md +0 -466
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/native.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/rng.js +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v35.js +0 -66
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v4.js +0 -29
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/native.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/stringify.js +0 -33
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v35.js +0 -66
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v4.js +0 -29
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native-browser.js +0 -11
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native.js +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng-browser.js +0 -25
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/stringify.js +0 -44
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v35.js +0 -80
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v4.js +0 -43
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/package.json +0 -135
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/wrapper.mjs +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/package.json +0 -88
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { RelevantTextDocumentAddition } from './agenticChatTriggerContext';
|
|
2
2
|
import { FileList } from '@aws/language-server-runtimes/server-interface';
|
|
3
3
|
export interface ContextInfo {
|
|
4
|
+
pinnedContextCount: {
|
|
5
|
+
fileContextCount: number;
|
|
6
|
+
folderContextCount: number;
|
|
7
|
+
promptContextCount: number;
|
|
8
|
+
codeContextCount: number;
|
|
9
|
+
};
|
|
4
10
|
contextCount: {
|
|
5
11
|
fileContextCount: number;
|
|
6
12
|
folderContextCount: number;
|
|
7
13
|
promptContextCount: number;
|
|
8
|
-
|
|
14
|
+
activeRuleContextCount: number;
|
|
15
|
+
totalRuleContextCount: number;
|
|
9
16
|
codeContextCount: number;
|
|
10
17
|
};
|
|
11
18
|
contextLength: {
|
|
@@ -15,7 +22,12 @@ export interface ContextInfo {
|
|
|
15
22
|
codeContextLength: number;
|
|
16
23
|
};
|
|
17
24
|
}
|
|
18
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Creates a new ContextInfo object with all values initialized to 0.
|
|
27
|
+
* Use this function to get a fresh context info structure.
|
|
28
|
+
* @returns A new ContextInfo object with zero-initialized values
|
|
29
|
+
*/
|
|
30
|
+
export declare function getInitialContextInfo(): ContextInfo;
|
|
19
31
|
export declare const promptFileExtension = ".md";
|
|
20
32
|
export declare const additionalContentInnerContextLimit = 8192;
|
|
21
33
|
export declare const additionalContentNameLimit = 1024;
|
|
@@ -27,6 +39,13 @@ export declare const getUserPromptsDirectory: () => string;
|
|
|
27
39
|
* @returns A sanitized file path within the user prompts directory
|
|
28
40
|
*/
|
|
29
41
|
export declare const getNewPromptFilePath: (promptName: string) => string;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a secure file path for a new rule file.
|
|
44
|
+
*
|
|
45
|
+
* @param ruleName - The user-provided name for the prompt
|
|
46
|
+
* @returns A sanitized file path within the user prompts directory
|
|
47
|
+
*/
|
|
48
|
+
export declare const getNewRuleFilePath: (ruleName: string, workspaceRulesDirectory: string) => string;
|
|
30
49
|
/**
|
|
31
50
|
* Merges a RelevantTextDocumentAddition array into a FileList, which is used to display list of context files.
|
|
32
51
|
* This function combines document fragments from the same file, merging overlapping
|
|
@@ -1,26 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getNewPromptFilePath = exports.getUserPromptsDirectory = exports.additionalContentNameLimit = exports.additionalContentInnerContextLimit = exports.promptFileExtension =
|
|
3
|
+
exports.getNewRuleFilePath = exports.getNewPromptFilePath = exports.getUserPromptsDirectory = exports.additionalContentNameLimit = exports.additionalContentInnerContextLimit = exports.promptFileExtension = void 0;
|
|
4
|
+
exports.getInitialContextInfo = getInitialContextInfo;
|
|
4
5
|
exports.mergeRelevantTextDocuments = mergeRelevantTextDocuments;
|
|
5
6
|
exports.mergeFileLists = mergeFileLists;
|
|
6
7
|
const path_1 = require("@aws/lsp-core/out/util/path");
|
|
7
8
|
const path = require("path");
|
|
8
9
|
const text_1 = require("@aws/lsp-core/out/util/text");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Creates a new ContextInfo object with all values initialized to 0.
|
|
12
|
+
* Use this function to get a fresh context info structure.
|
|
13
|
+
* @returns A new ContextInfo object with zero-initialized values
|
|
14
|
+
*/
|
|
15
|
+
function getInitialContextInfo() {
|
|
16
|
+
return {
|
|
17
|
+
pinnedContextCount: {
|
|
18
|
+
fileContextCount: 0,
|
|
19
|
+
folderContextCount: 0,
|
|
20
|
+
promptContextCount: 0,
|
|
21
|
+
codeContextCount: 0,
|
|
22
|
+
},
|
|
23
|
+
contextCount: {
|
|
24
|
+
fileContextCount: 0,
|
|
25
|
+
folderContextCount: 0,
|
|
26
|
+
promptContextCount: 0,
|
|
27
|
+
activeRuleContextCount: 0,
|
|
28
|
+
totalRuleContextCount: 0,
|
|
29
|
+
codeContextCount: 0,
|
|
30
|
+
},
|
|
31
|
+
contextLength: {
|
|
32
|
+
fileContextLength: 0,
|
|
33
|
+
ruleContextLength: 0,
|
|
34
|
+
promptContextLength: 0,
|
|
35
|
+
codeContextLength: 0,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
24
39
|
exports.promptFileExtension = '.md';
|
|
25
40
|
exports.additionalContentInnerContextLimit = 8192;
|
|
26
41
|
exports.additionalContentNameLimit = 1024;
|
|
@@ -43,6 +58,20 @@ const getNewPromptFilePath = (promptName) => {
|
|
|
43
58
|
return finalPath;
|
|
44
59
|
};
|
|
45
60
|
exports.getNewPromptFilePath = getNewPromptFilePath;
|
|
61
|
+
/**
|
|
62
|
+
* Creates a secure file path for a new rule file.
|
|
63
|
+
*
|
|
64
|
+
* @param ruleName - The user-provided name for the prompt
|
|
65
|
+
* @returns A sanitized file path within the user prompts directory
|
|
66
|
+
*/
|
|
67
|
+
const getNewRuleFilePath = (ruleName, workspaceRulesDirectory) => {
|
|
68
|
+
const trimmedName = ruleName?.trim() || '';
|
|
69
|
+
const truncatedName = trimmedName.slice(0, 100);
|
|
70
|
+
const safePromptName = truncatedName ? (0, text_1.sanitizeFilename)(path.basename(truncatedName)) : 'default';
|
|
71
|
+
const finalPath = path.join(workspaceRulesDirectory, `${safePromptName}${exports.promptFileExtension}`);
|
|
72
|
+
return finalPath;
|
|
73
|
+
};
|
|
74
|
+
exports.getNewRuleFilePath = getNewRuleFilePath;
|
|
46
75
|
/**
|
|
47
76
|
* Merges a RelevantTextDocumentAddition array into a FileList, which is used to display list of context files.
|
|
48
77
|
* This function combines document fragments from the same file, merging overlapping
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextUtils.js","sourceRoot":"","sources":["../../../../src/language-server/agenticChat/context/contextUtils.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"contextUtils.js","sourceRoot":"","sources":["../../../../src/language-server/agenticChat/context/contextUtils.ts"],"names":[],"mappings":";;;AAiCA,sDAuBC;AA0DD,gEAiDC;AAQD,wCAwDC;AAnOD,sDAA4D;AAC5D,6BAA4B;AAC5B,sDAA8D;AA0B9D;;;;GAIG;AACH,SAAgB,qBAAqB;IACjC,OAAO;QACH,kBAAkB,EAAE;YAChB,gBAAgB,EAAE,CAAC;YACnB,kBAAkB,EAAE,CAAC;YACrB,kBAAkB,EAAE,CAAC;YACrB,gBAAgB,EAAE,CAAC;SACtB;QACD,YAAY,EAAE;YACV,gBAAgB,EAAE,CAAC;YACnB,kBAAkB,EAAE,CAAC;YACrB,kBAAkB,EAAE,CAAC;YACrB,sBAAsB,EAAE,CAAC;YACzB,qBAAqB,EAAE,CAAC;YACxB,gBAAgB,EAAE,CAAC;SACtB;QACD,aAAa,EAAE;YACX,iBAAiB,EAAE,CAAC;YACpB,iBAAiB,EAAE,CAAC;YACpB,mBAAmB,EAAE,CAAC;YACtB,iBAAiB,EAAE,CAAC;SACvB;KACJ,CAAA;AACL,CAAC;AAEY,QAAA,mBAAmB,GAAG,KAAK,CAAA;AAC3B,QAAA,kCAAkC,GAAG,IAAI,CAAA;AACzC,QAAA,0BAA0B,GAAG,IAAI,CAAA;AAEvC,MAAM,uBAAuB,GAAG,GAAW,EAAE;IAChD,OAAO,IAAI,CAAC,IAAI,CAAC,IAAA,qBAAc,GAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC,CAAA;AACpE,CAAC,CAAA;AAFY,QAAA,uBAAuB,2BAEnC;AAED;;;;;GAKG;AACI,MAAM,oBAAoB,GAAG,CAAC,UAAkB,EAAU,EAAE;IAC/D,MAAM,oBAAoB,GAAG,IAAA,+BAAuB,GAAE,CAAA;IAEtD,MAAM,WAAW,GAAG,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;IAE5C,MAAM,aAAa,GAAG,WAAW,CAAC,KAAK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,CAAC,QAAQ,CAAC,EAAE,CAAA;QAClE,CAAC;IACL,CAAC,CAAC,CAAA;IAEF,OAAO;QACH,SAAS,EAAE,eAAe;QAC1B,OAAO,EAAE,aAAa;KACzB,CAAA;AACL,CAAC"}
|
|
@@ -4,7 +4,7 @@ exports.AgenticChatError = exports.unactionableErrorCodes = exports.customerFaci
|
|
|
4
4
|
exports.wrapErrorWithCode = wrapErrorWithCode;
|
|
5
5
|
exports.isInputTooLongError = isInputTooLongError;
|
|
6
6
|
exports.isRequestAbortedError = isRequestAbortedError;
|
|
7
|
-
const
|
|
7
|
+
const codewhisperer_streaming_client_1 = require("@aws/codewhisperer-streaming-client");
|
|
8
8
|
exports.customerFacingErrorCodes = [
|
|
9
9
|
'QModelResponse',
|
|
10
10
|
'InputTooLong',
|
|
@@ -25,7 +25,7 @@ class AgenticChatError extends Error {
|
|
|
25
25
|
}
|
|
26
26
|
exports.AgenticChatError = AgenticChatError;
|
|
27
27
|
function wrapErrorWithCode(error, code) {
|
|
28
|
-
if (error instanceof
|
|
28
|
+
if (error instanceof codewhisperer_streaming_client_1.CodeWhispererStreamingServiceException) {
|
|
29
29
|
return new AgenticChatError(error.message, code, error, error.$metadata?.requestId);
|
|
30
30
|
}
|
|
31
31
|
if (error instanceof Error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/language-server/agenticChat/errors.ts"],"names":[],"mappings":";;;AAqCA,8CASC;AAED,kDAWC;AAED,sDAWC;AAxED,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/language-server/agenticChat/errors.ts"],"names":[],"mappings":";;;AAqCA,8CASC;AAED,kDAWC;AAED,sDAWC;AAxED,wFAA4F;AAe/E,QAAA,wBAAwB,GAA2B;IAC5D,gBAAgB;IAChB,cAAc;IACd,sBAAsB;IACtB,wBAAwB;CAC3B,CAAA;AAEY,QAAA,sBAAsB,GAAkD;IACjF,oBAAoB,EAAE,0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AK,YAAY,KAAK,EAAE,CAAC;QACzB,+EAA+E;QAC/E,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAA;IACpD,CAAC;IAED,OAAO,KAAK,CAAA;AAChB,CAAC"}
|
|
@@ -38,11 +38,12 @@ const QAgenticChatServer =
|
|
|
38
38
|
quickActions: {
|
|
39
39
|
quickActionsCommandGroups: [
|
|
40
40
|
{
|
|
41
|
-
commands: [quickActions_1.HELP_QUICK_ACTION, quickActions_1.CLEAR_QUICK_ACTION
|
|
41
|
+
commands: [quickActions_1.HELP_QUICK_ACTION, quickActions_1.CLEAR_QUICK_ACTION],
|
|
42
42
|
},
|
|
43
43
|
],
|
|
44
44
|
},
|
|
45
45
|
mcpServers: (0, mcpUtils_1.enabledMCP)(params),
|
|
46
|
+
modelSelection: true,
|
|
46
47
|
history: true,
|
|
47
48
|
export: tabBarController_1.TabBarController.enableChatExport(params)
|
|
48
49
|
},
|
|
@@ -107,9 +108,15 @@ const QAgenticChatServer =
|
|
|
107
108
|
chat.onListConversations(params => {
|
|
108
109
|
return chatController.onListConversations(params);
|
|
109
110
|
});
|
|
111
|
+
chat.onListRules(params => {
|
|
112
|
+
return chatController.onListRules(params);
|
|
113
|
+
});
|
|
110
114
|
chat.onConversationClick(params => {
|
|
111
115
|
return chatController.onConversationClick(params);
|
|
112
116
|
});
|
|
117
|
+
chat.onRuleClick(params => {
|
|
118
|
+
return chatController.onRuleClick(params);
|
|
119
|
+
});
|
|
113
120
|
chat.onListMcpServers(params => {
|
|
114
121
|
return chatController.onListMcpServers(params);
|
|
115
122
|
});
|
|
@@ -140,6 +147,15 @@ const QAgenticChatServer =
|
|
|
140
147
|
chat.onInlineChatResult(params => {
|
|
141
148
|
return chatController.onInlineChatResult(params);
|
|
142
149
|
});
|
|
150
|
+
chat.onActiveEditorChanged(params => {
|
|
151
|
+
return chatController.onActiveEditorChanged(params);
|
|
152
|
+
});
|
|
153
|
+
chat.onPinnedContextAdd(params => {
|
|
154
|
+
return chatController.onPinnedContextAdd(params);
|
|
155
|
+
});
|
|
156
|
+
chat.onPinnedContextRemove(params => {
|
|
157
|
+
return chatController.onPinnedContextRemove(params);
|
|
158
|
+
});
|
|
143
159
|
logging.log('Q Chat server has been initialized');
|
|
144
160
|
return () => {
|
|
145
161
|
chatController?.dispose();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qAgenticChatServer.js","sourceRoot":"","sources":["../../../src/language-server/agenticChat/qAgenticChatServer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,mEAA+D;AAC/D,uFAAmF;AACnF,
|
|
1
|
+
{"version":3,"file":"qAgenticChatServer.js","sourceRoot":"","sources":["../../../src/language-server/agenticChat/qAgenticChatServer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,mEAA+D;AAC/D,uFAAmF;AACnF,uDAA4E;AAC5E,8EAA0E;AAC1E,gEAAmE;AACnE,8GAA0G;AAE1G,yDAAqD;AACrD,sEAA6F;AAC7F,8CAA4C;AAC5C,mDAAiD;AAE1C,MAAM,kBAAkB;AAC3B,kBAAkB;AAClB,GAAW,EAAE,CAAC,QAAQ,CAAC,EAAE;IACrB,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAA;IAEvF,gJAAgJ;IAChJ,IAAI,qBAAiD,CAAA;IACrD,IAAI,gBAAkC,CAAA;IAEtC,IAAI,cAAqC,CAAA;IACzC,IAAI,4BAA0D,CAAA;IAE9D,GAAG,CAAC,cAAc,CAAC,CAAC,MAAwB,EAAE,EAAE;QAC5C,OAAO;YACH,YAAY,EAAE;gBACV,sBAAsB,EAAE;oBACpB,QAAQ,EAAE;wBACN,6BAA6B;qBAChC;iBACJ;aACJ;YACD,qBAAqB,EAAE;gBACnB,WAAW,EAAE;oBACT,YAAY,EAAE;wBACV,yBAAyB,EAAE;4BAC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;QAChC,OAAO,cAAc,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAA;IACvD,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE;QAC7B,OAAO,cAAc,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACpD,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;QAChC,OAAO,cAAc,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAA;IACvD,CAAC,CAAC,CAAA;IAEF,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAA;IAEjD,OAAO,GAAG,EAAE;QACR,cAAc,EAAE,OAAO,EAAE,CAAA;IAC7B,CAAC,CAAA;AACL,CAAC,CAAA;AArMQ,QAAA,kBAAkB,sBAqM1B"}
|
|
@@ -21,7 +21,7 @@ import { TelemetryService } from '../../shared/telemetry/telemetryService';
|
|
|
21
21
|
*/
|
|
22
22
|
export declare class TabBarController {
|
|
23
23
|
#private;
|
|
24
|
-
constructor(features: Features, chatHistoryDb: ChatDatabase, telemetryService: TelemetryService);
|
|
24
|
+
constructor(features: Features, chatHistoryDb: ChatDatabase, telemetryService: TelemetryService, sendPinnedContext: (tabId: string) => void);
|
|
25
25
|
/**
|
|
26
26
|
* Retrieves a list of conversations to display in chat history.
|
|
27
27
|
* If a search filter is provided, performs a debounced search on messages.
|
|
@@ -10,6 +10,7 @@ const util_1 = require("./tools/chatDb/util");
|
|
|
10
10
|
const vscode_uri_1 = require("vscode-uri");
|
|
11
11
|
const types_1 = require("../../shared/telemetry/types");
|
|
12
12
|
const lsp_core_1 = require("@aws/lsp-core");
|
|
13
|
+
const MaxRestoredHistoryMessages = 250;
|
|
13
14
|
/**
|
|
14
15
|
* Controller for managing chat history and export functionality.
|
|
15
16
|
*
|
|
@@ -28,10 +29,12 @@ class TabBarController {
|
|
|
28
29
|
#features;
|
|
29
30
|
#chatHistoryDb;
|
|
30
31
|
#telemetryService;
|
|
31
|
-
|
|
32
|
+
#sendPinnedContext;
|
|
33
|
+
constructor(features, chatHistoryDb, telemetryService, sendPinnedContext) {
|
|
32
34
|
this.#features = features;
|
|
33
35
|
this.#chatHistoryDb = chatHistoryDb;
|
|
34
36
|
this.#telemetryService = telemetryService;
|
|
37
|
+
this.#sendPinnedContext = sendPinnedContext;
|
|
35
38
|
}
|
|
36
39
|
/**
|
|
37
40
|
* Retrieves a list of conversations to display in chat history.
|
|
@@ -241,10 +244,15 @@ class TabBarController {
|
|
|
241
244
|
*/
|
|
242
245
|
async restoreTab(selectedTab) {
|
|
243
246
|
if (selectedTab) {
|
|
244
|
-
const messages = selectedTab.conversations
|
|
247
|
+
const messages = selectedTab.conversations
|
|
248
|
+
.flatMap((conv) => conv.messages
|
|
249
|
+
.filter(msg => msg.shouldDisplayMessage != false)
|
|
250
|
+
.flatMap(msg => (0, util_1.messageToChatMessage)(msg)))
|
|
251
|
+
.slice(-MaxRestoredHistoryMessages);
|
|
245
252
|
const { tabId } = await this.#features.chat.openTab({ newTabOptions: { data: { messages } } });
|
|
246
253
|
this.#chatHistoryDb.setHistoryIdMapping(tabId, selectedTab.historyId);
|
|
247
254
|
this.#chatHistoryDb.updateTabOpenState(tabId, true);
|
|
255
|
+
this.#sendPinnedContext(tabId);
|
|
248
256
|
}
|
|
249
257
|
}
|
|
250
258
|
/**
|
|
@@ -258,9 +266,7 @@ class TabBarController {
|
|
|
258
266
|
const openConversations = this.#chatHistoryDb.getOpenTabs();
|
|
259
267
|
if (openConversations) {
|
|
260
268
|
for (const conversation of openConversations) {
|
|
261
|
-
|
|
262
|
-
await this.restoreTab(conversation);
|
|
263
|
-
}
|
|
269
|
+
await this.restoreTab(conversation);
|
|
264
270
|
}
|
|
265
271
|
this.#telemetryService.emitLoadHistory({
|
|
266
272
|
amazonqTimeToLoadHistory: this.#chatHistoryDb.getLoadTime() ?? -1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabBarController.js","sourceRoot":"","sources":["../../../src/language-server/agenticChat/tabBarController.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,kDAAgF;AAChF,8CAA6E;AAW7E,2CAAuC;AAGvC,wDAAoE;AACpE,4CAAiD;AAEjD;;;;;;;;;;GAUG;AACH,MAAa,gBAAgB;IACzB,YAAY,GAAY,KAAK,CAAA;IAC7B,cAAc,GAA+B,SAAS,CAAA;IAC7C,aAAa,GAAG,GAAG,CAAA,CAAC,eAAe;IAC5C,SAAS,CAAU;IACnB,cAAc,CAAc;IAC5B,iBAAiB,CAAkB;
|
|
1
|
+
{"version":3,"file":"tabBarController.js","sourceRoot":"","sources":["../../../src/language-server/agenticChat/tabBarController.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,kDAAgF;AAChF,8CAA6E;AAW7E,2CAAuC;AAGvC,wDAAoE;AACpE,4CAAiD;AAEjD,MAAM,0BAA0B,GAAG,GAAG,CAAA;AAEtC;;;;;;;;;;GAUG;AACH,MAAa,gBAAgB;IACzB,YAAY,GAAY,KAAK,CAAA;IAC7B,cAAc,GAA+B,SAAS,CAAA;IAC7C,aAAa,GAAG,GAAG,CAAA,CAAC,eAAe;IAC5C,SAAS,CAAU;IACnB,cAAc,CAAc;IAC5B,iBAAiB,CAAkB;IACnC,kBAAkB,CAAyB;IAE3C,YACI,QAAkB,EAClB,aAA2B,EAC3B,gBAAkC,EAClC,iBAA0C;QAE1C,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAA;QACzB,IAAI,CAAC,cAAc,GAAG,aAAa,CAAA;QACnC,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAA;QACzC,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAA;IAC/C,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,CAAC,MAA+B;QACrD,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAA;QAE9C,IAAI,IAAI,CAAC,cAAc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QACD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAA;QACxB,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,CAAA;QAC3D,IAAI,iBAAiB,EAAE,CAAC;YACpB,KAAK,MAAM,YAAY,IAAI,iBAAiB,EAAE,CAAC;gBAC3C,MAAM,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,CAAA;YACvC,CAAC;YACD,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC;gBACnC,wBAAwB,EAAE,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;gBACjE,sBAAsB,EAAE,IAAI,CAAC,cAAc,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;gBACvE,YAAY,EAAE,iBAAiB,CAAC,MAAM;gBACtC,qBAAqB,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO;gBAChE,MAAM,EAAE,WAAW;aACtB,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAAC,MAAyB;QACpD,IAAI,MAAM,EAAE,qBAAqB,EAAE,GAAG,EAAE,qBAAqB,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC;YACxF,mFAAmF;YACnF,OAAO,IAAI,CAAA;QACf,CAAC;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;CACJ;AAlTD,4CAkTC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToolUse } from '@
|
|
1
|
+
import { ToolUse } from '@aws/codewhisperer-streaming-client';
|
|
2
2
|
export declare function executeToolMessage(toolUse: ToolUse): string;
|
|
3
3
|
export declare function toolResultMessage(toolUse: ToolUse, result: any): string;
|
|
4
4
|
export declare function toolErrorMessage(toolUse: ToolUse, errorMessage: string): string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { Message, Settings, Tab, TabType } from './util';
|
|
1
|
+
import { Message, Rules, Settings, Tab, TabContext, TabType } from './util';
|
|
2
2
|
import { Features } from '@aws/language-server-runtimes/server-interface/server';
|
|
3
|
-
import { ConversationItemGroup } from '@aws/language-server-runtimes/protocol';
|
|
4
|
-
import { ChatMessage } from '@
|
|
3
|
+
import { ContextCommand, ConversationItemGroup } from '@aws/language-server-runtimes/protocol';
|
|
4
|
+
import { ChatMessage } from '@aws/codewhisperer-streaming-client';
|
|
5
|
+
export declare class ToolResultValidationError extends Error {
|
|
6
|
+
constructor(message?: string);
|
|
7
|
+
}
|
|
5
8
|
export declare const EMPTY_CONVERSATION_LIST_ID = "empty";
|
|
6
9
|
/**
|
|
7
10
|
* A singleton database class that manages chat history persistence using LokiJS.
|
|
@@ -18,6 +21,10 @@ export declare class ChatDatabase {
|
|
|
18
21
|
constructor(features: Features);
|
|
19
22
|
static getInstance(features: Features): ChatDatabase;
|
|
20
23
|
close(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Returns whether the database has been initialized.
|
|
26
|
+
*/
|
|
27
|
+
isInitialized(): boolean;
|
|
21
28
|
setHistoryIdMapping(tabId: string, historyId: string): void;
|
|
22
29
|
/**
|
|
23
30
|
* Generates an identifier for the open workspace folder(s).
|
|
@@ -30,6 +37,12 @@ export declare class ChatDatabase {
|
|
|
30
37
|
getDatabaseFileSize(): number | undefined;
|
|
31
38
|
databaseInitialize(startTime: number): Promise<void>;
|
|
32
39
|
getOpenTabs(): (Tab & LokiObj)[] | undefined;
|
|
40
|
+
addTabWithContext(collection: Collection<Tab>, historyId: string, tabContext: TabContext): void;
|
|
41
|
+
getRules(tabId: string): Rules;
|
|
42
|
+
getPinnedContext(tabId: string): ContextCommand[];
|
|
43
|
+
setRules(tabId: string, rules: Rules): void;
|
|
44
|
+
addPinnedContext(tabId: string, context: ContextCommand): void;
|
|
45
|
+
removePinnedContext(tabId: string, context: ContextCommand): void;
|
|
33
46
|
getLoadTime(): number | undefined;
|
|
34
47
|
getTab(historyId: string): (Tab & LokiObj) | null | undefined;
|
|
35
48
|
getOpenTabId(historyId: string): string | undefined;
|
|
@@ -56,7 +69,7 @@ export declare class ChatDatabase {
|
|
|
56
69
|
* @param tabId The ID of the tab to get messages from
|
|
57
70
|
* @param numMessages Optional number of most recent messages to return. If not provided, returns all messages.
|
|
58
71
|
*/
|
|
59
|
-
getMessages(tabId: string, numMessages?: number):
|
|
72
|
+
getMessages(tabId: string, numMessages?: number): Message[];
|
|
60
73
|
/**
|
|
61
74
|
* Get all conversations for the current workspace, grouped by last updated time
|
|
62
75
|
*/
|
|
@@ -65,6 +78,7 @@ export declare class ChatDatabase {
|
|
|
65
78
|
* Deletes a conversation from history
|
|
66
79
|
*/
|
|
67
80
|
deleteHistory(historyId: string): void;
|
|
81
|
+
getOrCreateHistoryId(tabId: string): string;
|
|
68
82
|
/**
|
|
69
83
|
* Adds a message to a conversation within a specified tab.
|
|
70
84
|
*
|
|
@@ -77,23 +91,62 @@ export declare class ChatDatabase {
|
|
|
77
91
|
addMessage(tabId: string, tabType: TabType, conversationId: string, message: Message): void;
|
|
78
92
|
formatChatHistoryMessage(message: Message): Message;
|
|
79
93
|
/**
|
|
80
|
-
*
|
|
94
|
+
* Prepare the history messages for service request and fix the persisted history in DB to maintain the following invariants:
|
|
81
95
|
* 1. The history contains at most MaxConversationHistoryMessages messages. Oldest messages are dropped.
|
|
82
|
-
* 2. The first message is from the user
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
|
|
96
|
+
* 2. The first message is from the user and without any tool usage results, and the last message is from the assistant.
|
|
97
|
+
* The history contains alternating sequene of userMessage followed by assistantMessages
|
|
98
|
+
* 3. The toolUse and toolResult relationship is valid
|
|
99
|
+
* 4. The history character length is <= MaxConversationHistoryCharacters - newUserMessageCharacterCount. Oldest messages are dropped.
|
|
100
|
+
*/
|
|
101
|
+
fixAndGetHistory(tabId: string, newUserMessage: ChatMessage, remainingCharacterBudget: number): Message[];
|
|
102
|
+
/**
|
|
103
|
+
* Finds a suitable "break point" index in the message sequence.
|
|
104
|
+
*
|
|
105
|
+
* It ensures that the "break point" is at a clean conversation boundary where:
|
|
106
|
+
* 1. The message is from a user (type === 'prompt')
|
|
107
|
+
* 2. The message doesn't contain tool results that would break tool use/result pairs
|
|
108
|
+
* 3. The message has a non-empty body
|
|
109
|
+
*
|
|
110
|
+
* @param allMessages The array of conversation messages to search through
|
|
111
|
+
* @returns The index to trim from, or undefined if no suitable trimming point is found
|
|
87
112
|
*/
|
|
88
|
-
fixAndValidateHistory(tabId: string, newUserMessage: ChatMessage, conversationId: string, remainingCharacterBudget: number): boolean;
|
|
89
|
-
private trimHistoryToMaxLength;
|
|
90
113
|
private findIndexToTrim;
|
|
91
114
|
private isValidUserMessageWithoutToolResults;
|
|
92
|
-
private handleEmptyAssistantMessage;
|
|
93
115
|
private trimMessagesToMaxLength;
|
|
94
116
|
private calculateHistoryCharacterCount;
|
|
95
|
-
|
|
96
|
-
|
|
117
|
+
/**
|
|
118
|
+
* Gets the latest conversation ID for a given tab
|
|
119
|
+
* @param tabId The ID of the tab to get the latest conversation ID from
|
|
120
|
+
* @returns The latest conversation ID, or an empty string if none exists
|
|
121
|
+
*/
|
|
122
|
+
private getLatestConversationId;
|
|
123
|
+
/**
|
|
124
|
+
* Ensures that the message sequence follows the required pattern for a valid conversation.
|
|
125
|
+
*
|
|
126
|
+
* This method enforces two key rules:
|
|
127
|
+
* 1. The first message must be from the user (type === 'prompt')
|
|
128
|
+
* 2. The last message must be from the assistant (type === 'answer')
|
|
129
|
+
*
|
|
130
|
+
* If the first rule is violated, leading assistant messages are removed.
|
|
131
|
+
* If the second rule is violated, a dummy response is added to maintain the alternating user-assistant pattern.
|
|
132
|
+
*
|
|
133
|
+
* @param tabId - The current tabId.
|
|
134
|
+
* @param messages - The message history to validate and potentially modify, this will be attached to the service request.
|
|
135
|
+
*/
|
|
136
|
+
ensureValidMessageSequence(tabId: string, messages: Message[]): void;
|
|
137
|
+
/**
|
|
138
|
+
* This method modifies the new user message and ensuring that tool results in a new user message
|
|
139
|
+
* properly correspond to tool uses from the previous assistant message.
|
|
140
|
+
*
|
|
141
|
+
* This validation should be performed before sending requests and is critical for maintaining
|
|
142
|
+
* a coherent conversation flow when tools are involved, ensuring the AI model has accurate context
|
|
143
|
+
* about which tools were actually used and which were cancelled or failed.
|
|
144
|
+
*
|
|
145
|
+
* @param messages The conversation history messages
|
|
146
|
+
* @param newUserMessage The new user message being added to the conversation
|
|
147
|
+
* @throws ToolResultValidationError if the message is invalid and not able to be fixed
|
|
148
|
+
*/
|
|
149
|
+
validateAndFixNewMessageToolResults(messages: Message[], newUserMessage: ChatMessage): void;
|
|
97
150
|
getSettings(): Settings | undefined;
|
|
98
151
|
updateSettings(settings: Settings): void;
|
|
99
152
|
getModelId(): string | undefined;
|