@aws/lsp-codewhisperer 0.0.47 → 0.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/out/client/streamingClient/codewhispererStreamingClient.d.ts +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 +1 -1
- package/out/language-server/agenticChat/agenticChatController.js +33 -29
- 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 +1 -1
- package/out/language-server/agenticChat/constants.js +3 -1
- package/out/language-server/agenticChat/constants.js.map +1 -1
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +2 -2
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +6 -6
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.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 +2 -1
- package/out/language-server/agenticChat/qAgenticChatServer.js.map +1 -1
- package/out/language-server/agenticChat/tabBarController.js +6 -1
- 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 +59 -13
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js +142 -120
- 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 +41 -1
- package/out/language-server/agenticChat/tools/chatDb/util.js +71 -1
- 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.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 +8 -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/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/transformHandler.js +2 -2
- package/out/language-server/netTransform/transformHandler.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/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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatDb.js","sourceRoot":"","sources":["../../../../../src/language-server/agenticChat/tools/chatDb/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CAAC;QACL,CAAC;IACL,CAAC;IAED,UAAU;QACN,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAE,CAAA;QACnC,OAAO,QAAQ,EAAE,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAA;IACnE,CAAC;IAED,UAAU,CAAC,OAA2B;QAClC,IAAI,CAAC,cAAc,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;IAC1E,CAAC;;AA9pBL,oCA+pBC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import * as Loki from 'lokijs';
|
|
6
|
+
import { Features } from '@aws/language-server-runtimes/server-interface/server';
|
|
7
|
+
export declare const maxHistorySizeInBytes: number;
|
|
8
|
+
export declare const targetHistorySizeInBytes: number;
|
|
9
|
+
/**
|
|
10
|
+
* The combination of batchDeleteIterations and messagePairPerBatchDelete can heavily impact the
|
|
11
|
+
* latency of trimming history since calculating the history file size is slow. We can tune these numbers according to the average message size
|
|
12
|
+
*/
|
|
13
|
+
export declare const batchDeleteIterations = 200;
|
|
14
|
+
export declare const messagePairPerBatchDelete = 5;
|
|
15
|
+
export declare const maxTrimIterations = 100;
|
|
16
|
+
/**
|
|
17
|
+
* ChatHistoryMaintainer is responsible for maintaining the chat history database,
|
|
18
|
+
* including trimming history when it exceeds size limits.
|
|
19
|
+
*/
|
|
20
|
+
export declare class ChatHistoryMaintainer {
|
|
21
|
+
#private;
|
|
22
|
+
constructor(features: Features, dbDirectory: string, dbName: string, db: Loki);
|
|
23
|
+
/**
|
|
24
|
+
* If the sum of all history file size exceeds the limit, start trimming the oldest conversation
|
|
25
|
+
* across all the workspaces until the folder size is below maxAfterTrimHistorySizeInBytes.
|
|
26
|
+
*/
|
|
27
|
+
trimHistoryToMaxSize(): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Trims chat history across all workspaces to reduce storage size.
|
|
30
|
+
*
|
|
31
|
+
* This method:
|
|
32
|
+
* 1. Loads all database files from the history directory
|
|
33
|
+
* 2. Creates a priority queue of tabs sorted by oldest message date
|
|
34
|
+
* 3. Iteratively removes oldest messages in batches until total size is below target
|
|
35
|
+
* 4. Saves changes to databases and closes connections when complete
|
|
36
|
+
*
|
|
37
|
+
* Uses batch deletion to minimize file size recalculations and prioritizes
|
|
38
|
+
* removing the oldest messages first across all workspaces.
|
|
39
|
+
*/
|
|
40
|
+
private trimHistoryForAllWorkspaces;
|
|
41
|
+
/**
|
|
42
|
+
* Calculates the total size of all history database files in the directory
|
|
43
|
+
* @returns The total size of all database files in bytes
|
|
44
|
+
*/
|
|
45
|
+
private calculateAllHistorySize;
|
|
46
|
+
/**
|
|
47
|
+
* Lists all database files in the history directory
|
|
48
|
+
* @returns Promise that resolves to an array of database file entries
|
|
49
|
+
*/
|
|
50
|
+
private listDatabaseFiles;
|
|
51
|
+
/**
|
|
52
|
+
* Executes the main trimming loop that iteratively removes oldest messages until
|
|
53
|
+
* the total database size is below the target threshold.
|
|
54
|
+
*
|
|
55
|
+
* The loop continues until one of these conditions is met:
|
|
56
|
+
* 1. The total size is reduced below the target threshold
|
|
57
|
+
* 2. Maximum iteration count is reached (to prevent infinite loops)
|
|
58
|
+
*
|
|
59
|
+
* Each iteration performs a batch of deletions to minimize size recalculations.
|
|
60
|
+
*
|
|
61
|
+
* @param tabQueue Priority queue of tabs sorted by oldest message date
|
|
62
|
+
* @param allDbsMap Map of database names to their collection and DB references
|
|
63
|
+
*/
|
|
64
|
+
private runHistoryTrimmingLoop;
|
|
65
|
+
/**
|
|
66
|
+
* Performs batch deletion of message pairs from tabs in the priority queue.
|
|
67
|
+
*
|
|
68
|
+
* Processes the tabs from the top of the queue, removing the oldest message pairs
|
|
69
|
+
* from each tab up to a configured limit. Tabs with remaining messages are re-added
|
|
70
|
+
* to the queue with updated timestamps, while empty tabs are removed completely.
|
|
71
|
+
*
|
|
72
|
+
* @param tabQueue Priority queue of tabs sorted by oldest message date
|
|
73
|
+
* @returns Set of database names that were modified and need to be saved
|
|
74
|
+
*/
|
|
75
|
+
private batchDeleteMessagePairs;
|
|
76
|
+
private saveUpdatedDbs;
|
|
77
|
+
private closeAllDbs;
|
|
78
|
+
/**
|
|
79
|
+
* Safely saves a database with proper error handling
|
|
80
|
+
* @param db The Loki database instance to save
|
|
81
|
+
* @param dbName The name of the database for logging purposes
|
|
82
|
+
* @returns Promise that resolves when save completes or rejects on error
|
|
83
|
+
*/
|
|
84
|
+
private saveDatabase;
|
|
85
|
+
private loadAllDbFiles;
|
|
86
|
+
/**
|
|
87
|
+
* Checks if a collection is null or empty
|
|
88
|
+
* @param collection The collection to check
|
|
89
|
+
* @returns True if the collection is null or empty, false otherwise
|
|
90
|
+
*/
|
|
91
|
+
private isEmptyCollection;
|
|
92
|
+
/**
|
|
93
|
+
* Remove the oldest message pair, based on assumptions:
|
|
94
|
+
* 1. The messages are always stored in pairs(prompt, answer)
|
|
95
|
+
* 2. The messages are always stored in chronological order(new messages are added to the tail of the list)
|
|
96
|
+
* @returns True if successfully trimmed the history.
|
|
97
|
+
*/
|
|
98
|
+
private removeOldestMessagePairFromTab;
|
|
99
|
+
}
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChatHistoryMaintainer = exports.maxTrimIterations = exports.messagePairPerBatchDelete = exports.batchDeleteIterations = exports.targetHistorySizeInBytes = exports.maxHistorySizeInBytes = void 0;
|
|
4
|
+
/*!
|
|
5
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
6
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
const Loki = require("lokijs");
|
|
9
|
+
const path = require("path");
|
|
10
|
+
const util_1 = require("./util");
|
|
11
|
+
// Maximum history file size across all workspaces, 200MB
|
|
12
|
+
exports.maxHistorySizeInBytes = 200 * 1024 * 1024;
|
|
13
|
+
// 75% of the max size, 150MB
|
|
14
|
+
exports.targetHistorySizeInBytes = 150 * 1024 * 1024;
|
|
15
|
+
/**
|
|
16
|
+
* The combination of batchDeleteIterations and messagePairPerBatchDelete can heavily impact the
|
|
17
|
+
* latency of trimming history since calculating the history file size is slow. We can tune these numbers according to the average message size
|
|
18
|
+
*/
|
|
19
|
+
// Number of batch operations to perform before recalculating the total history size
|
|
20
|
+
// Higher values improve performance but may result in more data being deleted than necessary
|
|
21
|
+
exports.batchDeleteIterations = 200;
|
|
22
|
+
// Number of message pairs to delete from a single tab in each batch operation before re-evaluating the oldest messages across all workspaces
|
|
23
|
+
// Higher values improve performance but may cause more recent messages to be deleted unnecessarily
|
|
24
|
+
exports.messagePairPerBatchDelete = 5;
|
|
25
|
+
// In each iteration, we calculate the total history size and try to delete [messagePairPerBatchDelete * batchDeleteIterations] messages
|
|
26
|
+
exports.maxTrimIterations = 100;
|
|
27
|
+
/**
|
|
28
|
+
* ChatHistoryMaintainer is responsible for maintaining the chat history database,
|
|
29
|
+
* including trimming history when it exceeds size limits.
|
|
30
|
+
*/
|
|
31
|
+
class ChatHistoryMaintainer {
|
|
32
|
+
#features;
|
|
33
|
+
#dbDirectory;
|
|
34
|
+
#dbName;
|
|
35
|
+
#db;
|
|
36
|
+
constructor(features, dbDirectory, dbName, db) {
|
|
37
|
+
this.#features = features;
|
|
38
|
+
this.#dbDirectory = dbDirectory;
|
|
39
|
+
this.#dbName = dbName;
|
|
40
|
+
this.#db = db;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* If the sum of all history file size exceeds the limit, start trimming the oldest conversation
|
|
44
|
+
* across all the workspaces until the folder size is below maxAfterTrimHistorySizeInBytes.
|
|
45
|
+
*/
|
|
46
|
+
async trimHistoryToMaxSize() {
|
|
47
|
+
// Get the size of all history DB files
|
|
48
|
+
const historyTotalSizeInBytes = await this.calculateAllHistorySize();
|
|
49
|
+
this.#features.logging.info(`Current history total size: ${historyTotalSizeInBytes} Bytes, max allowed: ${exports.maxHistorySizeInBytes} Bytes`);
|
|
50
|
+
// If we're under the limit, no need to trim
|
|
51
|
+
if (historyTotalSizeInBytes <= exports.maxHistorySizeInBytes) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
this.#features.logging.info(`History total size exceeds limit, trimming history`);
|
|
55
|
+
const trimStart = performance.now();
|
|
56
|
+
await this.trimHistoryForAllWorkspaces();
|
|
57
|
+
const trimEnd = performance.now();
|
|
58
|
+
this.#features.logging.info(`Trimming history took ${trimEnd - trimStart} ms`);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Trims chat history across all workspaces to reduce storage size.
|
|
62
|
+
*
|
|
63
|
+
* This method:
|
|
64
|
+
* 1. Loads all database files from the history directory
|
|
65
|
+
* 2. Creates a priority queue of tabs sorted by oldest message date
|
|
66
|
+
* 3. Iteratively removes oldest messages in batches until total size is below target
|
|
67
|
+
* 4. Saves changes to databases and closes connections when complete
|
|
68
|
+
*
|
|
69
|
+
* Uses batch deletion to minimize file size recalculations and prioritizes
|
|
70
|
+
* removing the oldest messages first across all workspaces.
|
|
71
|
+
*/
|
|
72
|
+
async trimHistoryForAllWorkspaces() {
|
|
73
|
+
// Load all databases
|
|
74
|
+
const allDbFiles = (await this.listDatabaseFiles()).map(file => file.name);
|
|
75
|
+
// DB name to {collection, db} Map
|
|
76
|
+
const allDbsMap = await this.loadAllDbFiles(allDbFiles);
|
|
77
|
+
this.#features.logging.info(`Loaded ${allDbsMap.size} databases from ${this.#dbDirectory} for history trimming`);
|
|
78
|
+
if (allDbsMap.size < allDbFiles.length) {
|
|
79
|
+
this.#features.logging.warn(`${allDbFiles.length - allDbsMap.size} DB files can't be loaded or have empty tab collection, will skip them when calculating history size`);
|
|
80
|
+
}
|
|
81
|
+
const tabQueue = (0, util_1.initializeHistoryPriorityQueue)();
|
|
82
|
+
// Add tabs to the queue(with ordering, the tab which contains the oldest message first)
|
|
83
|
+
for (const [dbName, dbRef] of allDbsMap.entries()) {
|
|
84
|
+
const tabCollection = dbRef.collection;
|
|
85
|
+
if (!tabCollection)
|
|
86
|
+
continue;
|
|
87
|
+
const tabs = tabCollection.find();
|
|
88
|
+
for (const tab of tabs) {
|
|
89
|
+
const oldestMessageDate = (0, util_1.getOldestMessageTimestamp)(tab);
|
|
90
|
+
tabQueue.add({
|
|
91
|
+
tab: tab,
|
|
92
|
+
collection: tabCollection,
|
|
93
|
+
dbName: dbName,
|
|
94
|
+
oldestMessageDate: oldestMessageDate,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
// Keep trimming until we're under the target size
|
|
99
|
+
await this.runHistoryTrimmingLoop(tabQueue, allDbsMap);
|
|
100
|
+
this.closeAllDbs(allDbsMap);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Calculates the total size of all history database files in the directory
|
|
104
|
+
* @returns The total size of all database files in bytes
|
|
105
|
+
*/
|
|
106
|
+
async calculateAllHistorySize(dbFiles) {
|
|
107
|
+
if (!dbFiles) {
|
|
108
|
+
dbFiles = (await this.listDatabaseFiles()).map(file => file.name);
|
|
109
|
+
}
|
|
110
|
+
// Calculate the total size of all database files
|
|
111
|
+
let totalSize = 0;
|
|
112
|
+
for (const file of dbFiles) {
|
|
113
|
+
const filePath = path.join(this.#dbDirectory, file);
|
|
114
|
+
let fileSize;
|
|
115
|
+
try {
|
|
116
|
+
fileSize = await (0, util_1.calculateDatabaseSize)(this.#features, filePath);
|
|
117
|
+
}
|
|
118
|
+
catch (err) {
|
|
119
|
+
this.#features.logging.error(`Error getting db file size: ${err}`);
|
|
120
|
+
fileSize = 0;
|
|
121
|
+
}
|
|
122
|
+
totalSize += fileSize;
|
|
123
|
+
}
|
|
124
|
+
return totalSize;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Lists all database files in the history directory
|
|
128
|
+
* @returns Promise that resolves to an array of database file entries
|
|
129
|
+
*/
|
|
130
|
+
async listDatabaseFiles() {
|
|
131
|
+
try {
|
|
132
|
+
// List all files in the directory using readdir
|
|
133
|
+
const dirEntries = await this.#features.workspace.fs.readdir(this.#dbDirectory);
|
|
134
|
+
// Filter for database files (they should follow the pattern chat-history-*.json)
|
|
135
|
+
return dirEntries.filter(entry => entry.isFile() && entry.name.startsWith('chat-history-') && entry.name.endsWith('.json'));
|
|
136
|
+
}
|
|
137
|
+
catch (err) {
|
|
138
|
+
this.#features.logging.error(`Error listing database files: ${err}`);
|
|
139
|
+
return [];
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Executes the main trimming loop that iteratively removes oldest messages until
|
|
144
|
+
* the total database size is below the target threshold.
|
|
145
|
+
*
|
|
146
|
+
* The loop continues until one of these conditions is met:
|
|
147
|
+
* 1. The total size is reduced below the target threshold
|
|
148
|
+
* 2. Maximum iteration count is reached (to prevent infinite loops)
|
|
149
|
+
*
|
|
150
|
+
* Each iteration performs a batch of deletions to minimize size recalculations.
|
|
151
|
+
*
|
|
152
|
+
* @param tabQueue Priority queue of tabs sorted by oldest message date
|
|
153
|
+
* @param allDbsMap Map of database names to their collection and DB references
|
|
154
|
+
*/
|
|
155
|
+
async runHistoryTrimmingLoop(tabQueue, allDbsMap) {
|
|
156
|
+
let iterationCount = 0;
|
|
157
|
+
while (!tabQueue.isEmpty()) {
|
|
158
|
+
// Check current total size
|
|
159
|
+
const totalSize = await this.calculateAllHistorySize(Array.from(allDbsMap.keys()));
|
|
160
|
+
// If we're under the target size, we're done
|
|
161
|
+
if (totalSize <= exports.targetHistorySizeInBytes) {
|
|
162
|
+
this.#features.logging.info(`History size ${totalSize} bytes is below the threshold ${exports.maxHistorySizeInBytes}`);
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
// Infinite loop protection
|
|
166
|
+
if (++iterationCount > exports.maxTrimIterations) {
|
|
167
|
+
this.#features.logging.warn(`Exceeded max iteration count (${exports.maxTrimIterations}) when trimming history, current total size: ${totalSize}`);
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
// Do a batch deletion so that we don't re-calculate the size for every deletion,
|
|
171
|
+
const updatedDbs = this.batchDeleteMessagePairs(tabQueue);
|
|
172
|
+
await this.saveUpdatedDbs(allDbsMap, updatedDbs);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Performs batch deletion of message pairs from tabs in the priority queue.
|
|
177
|
+
*
|
|
178
|
+
* Processes the tabs from the top of the queue, removing the oldest message pairs
|
|
179
|
+
* from each tab up to a configured limit. Tabs with remaining messages are re-added
|
|
180
|
+
* to the queue with updated timestamps, while empty tabs are removed completely.
|
|
181
|
+
*
|
|
182
|
+
* @param tabQueue Priority queue of tabs sorted by oldest message date
|
|
183
|
+
* @returns Set of database names that were modified and need to be saved
|
|
184
|
+
*/
|
|
185
|
+
batchDeleteMessagePairs(tabQueue) {
|
|
186
|
+
let updatedDbs = new Set();
|
|
187
|
+
for (let i = 0; i < exports.batchDeleteIterations / 2; i++) {
|
|
188
|
+
const queueItem = tabQueue.dequeue();
|
|
189
|
+
const tab = queueItem?.tab;
|
|
190
|
+
const collection = queueItem?.collection;
|
|
191
|
+
const dbName = queueItem?.dbName;
|
|
192
|
+
if (!tab || !collection || !dbName)
|
|
193
|
+
break;
|
|
194
|
+
// Start deleting old messages
|
|
195
|
+
updatedDbs.add(dbName);
|
|
196
|
+
// Remove messages under a tab, until reaching the batchDeleteSize or the Tab is empty
|
|
197
|
+
for (let pairsRemoved = 0; pairsRemoved < exports.messagePairPerBatchDelete; pairsRemoved++) {
|
|
198
|
+
if (!this.removeOldestMessagePairFromTab(tab)) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
if (!tab.conversations || tab.conversations.length === 0) {
|
|
203
|
+
// If the tab has no conversations left, remove it
|
|
204
|
+
collection.remove(tab);
|
|
205
|
+
}
|
|
206
|
+
else {
|
|
207
|
+
collection.update(tab);
|
|
208
|
+
// Re-add the tab to the queue with updated oldest date
|
|
209
|
+
const newOldestDate = (0, util_1.getOldestMessageTimestamp)(tab);
|
|
210
|
+
tabQueue.enqueue({ tab: tab, collection, dbName: dbName, oldestMessageDate: newOldestDate });
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return updatedDbs;
|
|
214
|
+
}
|
|
215
|
+
// Save the updated database if it's not the current one, the current db should have autosave enabled
|
|
216
|
+
async saveUpdatedDbs(allDbsMap, updatedDbs) {
|
|
217
|
+
for (const [dbName, dbRef] of allDbsMap.entries()) {
|
|
218
|
+
if (updatedDbs.has(dbName)) {
|
|
219
|
+
this.#features.logging.debug(`Removed old messages from ${dbName}, saving changes`);
|
|
220
|
+
try {
|
|
221
|
+
await this.saveDatabase(dbRef.db, dbName);
|
|
222
|
+
}
|
|
223
|
+
catch (err) {
|
|
224
|
+
this.#features.logging.error(`Error saving database ${dbName}: ${err}`);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
// Close the databases except the current workspace DB
|
|
230
|
+
closeAllDbs(allDbsMap) {
|
|
231
|
+
for (const [dbName, dbRef] of allDbsMap.entries()) {
|
|
232
|
+
if (dbName !== this.#dbName) {
|
|
233
|
+
dbRef.db.close();
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Safely saves a database with proper error handling
|
|
239
|
+
* @param db The Loki database instance to save
|
|
240
|
+
* @param dbName The name of the database for logging purposes
|
|
241
|
+
* @returns Promise that resolves when save completes or rejects on error
|
|
242
|
+
*/
|
|
243
|
+
async saveDatabase(db, dbName) {
|
|
244
|
+
return new Promise((resolve, reject) => {
|
|
245
|
+
db.saveDatabase(err => {
|
|
246
|
+
if (err) {
|
|
247
|
+
reject(err);
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
resolve();
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
async loadAllDbFiles(allDbFiles) {
|
|
256
|
+
const allDbsMap = new Map();
|
|
257
|
+
for (const dbFile of allDbFiles) {
|
|
258
|
+
try {
|
|
259
|
+
if (dbFile === this.#dbName) {
|
|
260
|
+
// Current workspace DB
|
|
261
|
+
const collection = this.#db.getCollection(util_1.TabCollection);
|
|
262
|
+
allDbsMap.set(dbFile, { collection: collection, db: this.#db });
|
|
263
|
+
continue;
|
|
264
|
+
}
|
|
265
|
+
const db = new Loki(dbFile, {
|
|
266
|
+
adapter: new util_1.FileSystemAdapter(this.#features.workspace, this.#dbDirectory),
|
|
267
|
+
persistenceMethod: 'fs',
|
|
268
|
+
});
|
|
269
|
+
await new Promise(resolve => {
|
|
270
|
+
db.loadDatabase({}, () => resolve());
|
|
271
|
+
});
|
|
272
|
+
const collection = db.getCollection(util_1.TabCollection);
|
|
273
|
+
if (!this.isEmptyCollection(collection)) {
|
|
274
|
+
allDbsMap.set(dbFile, { collection: collection, db: db });
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
this.#features.logging.info(`No ${util_1.TabCollection} collection found in database ${dbFile}`);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
catch (err) {
|
|
281
|
+
this.#features.logging.error(`Error loading DB file ${dbFile}: ${err}`);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
return allDbsMap;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Checks if a collection is null or empty
|
|
288
|
+
* @param collection The collection to check
|
|
289
|
+
* @returns True if the collection is null or empty, false otherwise
|
|
290
|
+
*/
|
|
291
|
+
isEmptyCollection(collection) {
|
|
292
|
+
return collection === undefined || collection.findOne() === null;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Remove the oldest message pair, based on assumptions:
|
|
296
|
+
* 1. The messages are always stored in pairs(prompt, answer)
|
|
297
|
+
* 2. The messages are always stored in chronological order(new messages are added to the tail of the list)
|
|
298
|
+
* @returns True if successfully trimmed the history.
|
|
299
|
+
*/
|
|
300
|
+
removeOldestMessagePairFromTab(tabData) {
|
|
301
|
+
if (!tabData.conversations || tabData.conversations.length === 0) {
|
|
302
|
+
this.#features.logging.debug(`No conversations found in tab ${tabData.historyId}`);
|
|
303
|
+
return false;
|
|
304
|
+
}
|
|
305
|
+
const conversation = tabData.conversations[0];
|
|
306
|
+
// Remove messages in pairs from the beginning
|
|
307
|
+
if (conversation.messages?.length > 2) {
|
|
308
|
+
conversation.messages.splice(0, 2);
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
// Remove the entire conversation if it has few messages
|
|
312
|
+
tabData.conversations.splice(0, 1);
|
|
313
|
+
}
|
|
314
|
+
return true;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
exports.ChatHistoryMaintainer = ChatHistoryMaintainer;
|
|
318
|
+
//# sourceMappingURL=chatHistoryMaintainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatHistoryMaintainer.js","sourceRoot":"","sources":["../../../../../src/language-server/agenticChat/tools/chatDb/chatHistoryMaintainer.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,+BAA8B;AAC9B,6BAA4B;AAE5B,iCASe;AAGf,yDAAyD;AAC5C,QAAA,qBAAqB,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAA;AACtD,6BAA6B;AAChB,QAAA,wBAAwB,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAA;AACzD;;;GAGG;AACH,oFAAoF;AACpF,6FAA6F;AAChF,QAAA,qBAAqB,GAAG,GAAG,CAAA;AACxC,6IAA6I;AAC7I,mGAAmG;AACtF,QAAA,yBAAyB,GAAG,CAAC,CAAA;AAC1C,wIAAwI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AU,CAAC,OAAO,EAAE,KAAK,IAAI,CAAA;IACpE,CAAC;IAED;;;;;OAKG;IACK,8BAA8B,CAAC,OAAY;QAC/C,IAAI,CAAC,OAAO,CAAC,aAAa,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/D,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,iCAAiC,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;YAClF,OAAO,KAAK,CAAA;QAChB,CAAC;QAED,MAAM,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;QAE7C,8CAA8C;QAC9C,IAAI,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,CAAC,EAAE,CAAC;YACpC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QACtC,CAAC;aAAM,CAAC;YACJ,wDAAwD;YACxD,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QACtC,CAAC;QACD,OAAO,IAAI,CAAA;IACf,CAAC;CACJ;AAlUD,sDAkUC"}
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { ChatMessage, ConversationItemGroup, ReferenceTrackerInformation } from '@aws/language-server-runtimes/server-interface';
|
|
6
|
-
import { ChatMessage as StreamingMessage, Origin, UserInputMessageContext, UserIntent, ToolUse } from '@
|
|
6
|
+
import { ChatMessage as StreamingMessage, Origin, UserInputMessageContext, UserIntent, ToolUse } from '@aws/codewhisperer-streaming-client';
|
|
7
7
|
import { Workspace } from '@aws/language-server-runtimes/server-interface';
|
|
8
|
+
import { PriorityQueue } from 'typescript-collections';
|
|
9
|
+
import { Features } from '@aws/language-server-runtimes/server-interface/server';
|
|
8
10
|
export declare const TabCollection = "tabs";
|
|
9
11
|
export declare const SettingsCollection = "settings";
|
|
10
12
|
export declare const historyPath: string;
|
|
@@ -27,6 +29,7 @@ export type Settings = {
|
|
|
27
29
|
export type Conversation = {
|
|
28
30
|
conversationId: string;
|
|
29
31
|
clientType: string;
|
|
32
|
+
updatedAt?: Date;
|
|
30
33
|
messages: Message[];
|
|
31
34
|
};
|
|
32
35
|
export type Message = {
|
|
@@ -39,8 +42,27 @@ export type Message = {
|
|
|
39
42
|
origin?: Origin;
|
|
40
43
|
userInputMessageContext?: UserInputMessageContext;
|
|
41
44
|
toolUses?: ToolUse[];
|
|
45
|
+
timestamp?: Date;
|
|
42
46
|
shouldDisplayMessage?: boolean;
|
|
43
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* Represents a tab with its database metadata, including collection reference, database name, and timestamp information
|
|
50
|
+
* for use in history trimming operations.
|
|
51
|
+
*/
|
|
52
|
+
export type TabWithDbMetadata = {
|
|
53
|
+
tab: Tab;
|
|
54
|
+
collection: Collection<Tab>;
|
|
55
|
+
dbName: string;
|
|
56
|
+
oldestMessageDate: Date;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Represents a chat DB reference, including the tab collection reference and the DB reference
|
|
60
|
+
* for use in history trimming operations.
|
|
61
|
+
*/
|
|
62
|
+
export type DbReference = {
|
|
63
|
+
collection: Collection<Tab>;
|
|
64
|
+
db: Loki;
|
|
65
|
+
};
|
|
44
66
|
/**
|
|
45
67
|
* Converts Message to codewhisperer-streaming ChatMessage
|
|
46
68
|
*/
|
|
@@ -75,4 +97,22 @@ export declare class FileSystemAdapter implements LokiPersistenceAdapter {
|
|
|
75
97
|
}
|
|
76
98
|
export declare function updateOrCreateConversation(conversations: Conversation[], conversationId: string, newMessage: Message, clientType: string): Conversation[];
|
|
77
99
|
export declare function groupTabsByDate(tabs: Tab[]): ConversationItemGroup[];
|
|
100
|
+
/**
|
|
101
|
+
* Initialize a priority queue to store all workspace tab history, the tab contains the oldest message first.
|
|
102
|
+
* If the messages don't have a timestamp, oldest tab first.
|
|
103
|
+
*/
|
|
104
|
+
export declare function initializeHistoryPriorityQueue(): PriorityQueue<TabWithDbMetadata>;
|
|
105
|
+
/**
|
|
106
|
+
* Gets the timestamp of the oldest message in a tab
|
|
107
|
+
* @param tabData The tab to check
|
|
108
|
+
* @returns The Date of the oldest message, or 0 if no messages under the tab or it's a legacy message that doesn't have a timestamp
|
|
109
|
+
*/
|
|
110
|
+
export declare function getOldestMessageTimestamp(tabData: Tab): Date;
|
|
111
|
+
/**
|
|
112
|
+
* Calculates the size of a database file
|
|
113
|
+
* @param features Features object containing workspace filesystem access
|
|
114
|
+
* @param dbPath Path to the database file
|
|
115
|
+
* @returns Promise that resolves to the file size in bytes, or 0 if there's an error
|
|
116
|
+
*/
|
|
117
|
+
export declare function calculateDatabaseSize(features: Features, dbPath: string): Promise<number>;
|
|
78
118
|
export {};
|