@vscode/chat-lib 0.0.1
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/LICENSE.txt +21 -0
- package/README.md +13 -0
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts +32 -0
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts.map +1 -0
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +159 -0
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -0
- package/dist/src/_internal/extension/common/constants.d.ts +37 -0
- package/dist/src/_internal/extension/common/constants.d.ts.map +1 -0
- package/dist/src/_internal/extension/common/constants.js +59 -0
- package/dist/src/_internal/extension/common/constants.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/delayer.d.ts +24 -0
- package/dist/src/_internal/extension/inlineEdits/common/delayer.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/delayer.js +100 -0
- package/dist/src/_internal/extension/inlineEdits/common/delayer.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts +19 -0
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.js +275 -0
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.d.ts +16 -0
- package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.js +147 -0
- package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.d.ts +47 -0
- package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.js +189 -0
- package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.d.ts +15 -0
- package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.js +137 -0
- package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.d.ts +18 -0
- package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.js +156 -0
- package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/importFiltering.d.ts +7 -0
- package/dist/src/_internal/extension/inlineEdits/node/importFiltering.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/importFiltering.js +24 -0
- package/dist/src/_internal/extension/inlineEdits/node/importFiltering.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.d.ts +8 -0
- package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.js +7 -0
- package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts +47 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.js +230 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts +73 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +629 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts +241 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +680 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts +38 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts.map +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js +16 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js.map +1 -0
- package/dist/src/_internal/extension/prompt/common/importStatement.d.ts +2 -0
- package/dist/src/_internal/extension/prompt/common/importStatement.d.ts.map +1 -0
- package/dist/src/_internal/extension/prompt/common/importStatement.js +28 -0
- package/dist/src/_internal/extension/prompt/common/importStatement.js.map +1 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts +62 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +639 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.d.ts +42 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.d.ts.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.js +125 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.js.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.d.ts +60 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.d.ts.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.js +416 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.js.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.d.ts +30 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.d.ts.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.js +64 -0
- package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.js.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/visualization.d.ts +26 -0
- package/dist/src/_internal/extension/prompts/node/inline/visualization.d.ts.map +1 -0
- package/dist/src/_internal/extension/prompts/node/inline/visualization.js +41 -0
- package/dist/src/_internal/extension/prompts/node/inline/visualization.js.map +1 -0
- package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +51 -0
- package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -0
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js +517 -0
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts +23 -0
- package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js +96 -0
- package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +75 -0
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js +796 -0
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabUtils.d.ts +8 -0
- package/dist/src/_internal/extension/xtab/node/xtabUtils.d.ts.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabUtils.js +55 -0
- package/dist/src/_internal/extension/xtab/node/xtabUtils.js.map +1 -0
- package/dist/src/_internal/platform/authentication/common/authentication.d.ts +145 -0
- package/dist/src/_internal/platform/authentication/common/authentication.d.ts.map +1 -0
- package/dist/src/_internal/platform/authentication/common/authentication.js +156 -0
- package/dist/src/_internal/platform/authentication/common/authentication.js.map +1 -0
- package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts +190 -0
- package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts.map +1 -0
- package/dist/src/_internal/platform/authentication/common/copilotToken.js +181 -0
- package/dist/src/_internal/platform/authentication/common/copilotToken.js.map +1 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenManager.d.ts +50 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenManager.d.ts.map +1 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenManager.js +14 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenManager.js.map +1 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenStore.d.ts +23 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenStore.d.ts.map +1 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenStore.js +30 -0
- package/dist/src/_internal/platform/authentication/common/copilotTokenStore.js.map +1 -0
- package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts +23 -0
- package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts.map +1 -0
- package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js +92 -0
- package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js.map +1 -0
- package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts +80 -0
- package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts.map +1 -0
- package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js +274 -0
- package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js.map +1 -0
- package/dist/src/_internal/platform/chat/common/chatMLFetcher.d.ts +48 -0
- package/dist/src/_internal/platform/chat/common/chatMLFetcher.d.ts.map +1 -0
- package/dist/src/_internal/platform/chat/common/chatMLFetcher.js +77 -0
- package/dist/src/_internal/platform/chat/common/chatMLFetcher.js.map +1 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts +54 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts.map +1 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaService.js +10 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaService.js.map +1 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts +16 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts.map +1 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js +99 -0
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js.map +1 -0
- package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +264 -0
- package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -0
- package/dist/src/_internal/platform/chat/common/commonTypes.js +299 -0
- package/dist/src/_internal/platform/chat/common/commonTypes.js.map +1 -0
- package/dist/src/_internal/platform/chat/common/conversationOptions.d.ts +9 -0
- package/dist/src/_internal/platform/chat/common/conversationOptions.d.ts.map +1 -0
- package/dist/src/_internal/platform/chat/common/conversationOptions.js +10 -0
- package/dist/src/_internal/platform/chat/common/conversationOptions.js.map +1 -0
- package/dist/src/_internal/platform/chat/common/globalStringUtils.d.ts +10 -0
- package/dist/src/_internal/platform/chat/common/globalStringUtils.d.ts.map +1 -0
- package/dist/src/_internal/platform/chat/common/globalStringUtils.js +52 -0
- package/dist/src/_internal/platform/chat/common/globalStringUtils.js.map +1 -0
- package/dist/src/_internal/platform/chat/common/interactionService.d.ts +18 -0
- package/dist/src/_internal/platform/chat/common/interactionService.d.ts.map +1 -0
- package/dist/src/_internal/platform/chat/common/interactionService.js +28 -0
- package/dist/src/_internal/platform/chat/common/interactionService.js.map +1 -0
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +513 -0
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -0
- package/dist/src/_internal/platform/configuration/common/configurationService.js +529 -0
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -0
- package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.d.ts +15 -0
- package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.d.ts.map +1 -0
- package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.js +33 -0
- package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.js.map +1 -0
- package/dist/src/_internal/platform/configuration/common/jsonSchema.d.ts +94 -0
- package/dist/src/_internal/platform/configuration/common/jsonSchema.d.ts.map +1 -0
- package/dist/src/_internal/platform/configuration/common/jsonSchema.js +36 -0
- package/dist/src/_internal/platform/configuration/common/jsonSchema.js.map +1 -0
- package/dist/src/_internal/platform/configuration/common/validator.d.ts +35 -0
- package/dist/src/_internal/platform/configuration/common/validator.d.ts.map +1 -0
- package/dist/src/_internal/platform/configuration/common/validator.js +195 -0
- package/dist/src/_internal/platform/configuration/common/validator.js.map +1 -0
- package/dist/src/_internal/platform/diff/common/diffService.d.ts +27 -0
- package/dist/src/_internal/platform/diff/common/diffService.d.ts.map +1 -0
- package/dist/src/_internal/platform/diff/common/diffService.js +10 -0
- package/dist/src/_internal/platform/diff/common/diffService.js.map +1 -0
- package/dist/src/_internal/platform/diff/common/diffWorker.d.ts +34 -0
- package/dist/src/_internal/platform/diff/common/diffWorker.d.ts.map +1 -0
- package/dist/src/_internal/platform/diff/common/diffWorker.js +44 -0
- package/dist/src/_internal/platform/diff/common/diffWorker.js.map +1 -0
- package/dist/src/_internal/platform/diff/node/diffServiceImpl.d.ts +14 -0
- package/dist/src/_internal/platform/diff/node/diffServiceImpl.d.ts.map +1 -0
- package/dist/src/_internal/platform/diff/node/diffServiceImpl.js +95 -0
- package/dist/src/_internal/platform/diff/node/diffServiceImpl.js.map +1 -0
- package/dist/src/_internal/platform/editing/common/abstractText.d.ts +58 -0
- package/dist/src/_internal/platform/editing/common/abstractText.d.ts.map +1 -0
- package/dist/src/_internal/platform/editing/common/abstractText.js +129 -0
- package/dist/src/_internal/platform/editing/common/abstractText.js.map +1 -0
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts +38 -0
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts.map +1 -0
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js +96 -0
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js.map +1 -0
- package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.d.ts +28 -0
- package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.d.ts.map +1 -0
- package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.js +158 -0
- package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.js.map +1 -0
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts +55 -0
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts.map +1 -0
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js +195 -0
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts +15 -0
- package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/capiClient.js +25 -0
- package/dist/src/_internal/platform/endpoint/common/capiClient.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +55 -0
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +111 -0
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/domainService.d.ts +18 -0
- package/dist/src/_internal/platform/endpoint/common/domainService.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/domainService.js +12 -0
- package/dist/src/_internal/platform/endpoint/common/domainService.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts +83 -0
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.js +23 -0
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.d.ts +7 -0
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.js +15 -0
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/licenseAgreement.d.ts +7 -0
- package/dist/src/_internal/platform/endpoint/common/licenseAgreement.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/licenseAgreement.js +14 -0
- package/dist/src/_internal/platform/endpoint/common/licenseAgreement.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.d.ts +31 -0
- package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.js +73 -0
- package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.d.ts +17 -0
- package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.js +37 -0
- package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/capiClientImpl.d.ts +7 -0
- package/dist/src/_internal/platform/endpoint/node/capiClientImpl.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/capiClientImpl.js +30 -0
- package/dist/src/_internal/platform/endpoint/node/capiClientImpl.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +90 -0
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +349 -0
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.d.ts +19 -0
- package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.js +80 -0
- package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.d.ts +4 -0
- package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.js +39 -0
- package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts +13 -0
- package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js +308 -0
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -0
- package/dist/src/_internal/platform/env/common/envService.d.ts +84 -0
- package/dist/src/_internal/platform/env/common/envService.d.ts.map +1 -0
- package/dist/src/_internal/platform/env/common/envService.js +64 -0
- package/dist/src/_internal/platform/env/common/envService.js.map +1 -0
- package/dist/src/_internal/platform/env/common/nullEnvService.d.ts +21 -0
- package/dist/src/_internal/platform/env/common/nullEnvService.d.ts.map +1 -0
- package/dist/src/_internal/platform/env/common/nullEnvService.js +57 -0
- package/dist/src/_internal/platform/env/common/nullEnvService.js.map +1 -0
- package/dist/src/_internal/platform/env/common/packagejson.d.ts +42 -0
- package/dist/src/_internal/platform/env/common/packagejson.d.ts.map +1 -0
- package/dist/src/_internal/platform/env/common/packagejson.js +12 -0
- package/dist/src/_internal/platform/env/common/packagejson.js.map +1 -0
- package/dist/src/_internal/platform/git/common/gitExtensionService.d.ts +12 -0
- package/dist/src/_internal/platform/git/common/gitExtensionService.d.ts.map +1 -0
- package/dist/src/_internal/platform/git/common/gitExtensionService.js +10 -0
- package/dist/src/_internal/platform/git/common/gitExtensionService.js.map +1 -0
- package/dist/src/_internal/platform/git/common/nullGitExtensionService.d.ts +11 -0
- package/dist/src/_internal/platform/git/common/nullGitExtensionService.d.ts.map +1 -0
- package/dist/src/_internal/platform/git/common/nullGitExtensionService.js +19 -0
- package/dist/src/_internal/platform/git/common/nullGitExtensionService.js.map +1 -0
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts +7 -0
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -0
- package/dist/src/_internal/platform/github/common/githubAPI.js +42 -0
- package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -0
- package/dist/src/_internal/platform/github/common/githubService.d.ts +63 -0
- package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -0
- package/dist/src/_internal/platform/github/common/githubService.js +37 -0
- package/dist/src/_internal/platform/github/common/githubService.js.map +1 -0
- package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts +9 -0
- package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts.map +1 -0
- package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js +21 -0
- package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js.map +1 -0
- package/dist/src/_internal/platform/ignore/common/ignoreService.d.ts +30 -0
- package/dist/src/_internal/platform/ignore/common/ignoreService.d.ts.map +1 -0
- package/dist/src/_internal/platform/ignore/common/ignoreService.js +73 -0
- package/dist/src/_internal/platform/ignore/common/ignoreService.js.map +1 -0
- package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts +162 -0
- package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineCompletions/common/api.js +3 -0
- package/dist/src/_internal/platform/inlineCompletions/common/api.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.d.ts +14 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.js +31 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.d.ts +20 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.js +44 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.d.ts +73 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.js +142 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.d.ts +14 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.js +59 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.d.ts +6 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.js +16 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.d.ts +44 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.js +57 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.d.ts +8 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.js +16 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.d.ts +36 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.js +68 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.d.ts +16 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.js +42 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.d.ts +24 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.js +62 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.d.ts +3 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.js +125 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.d.ts +46 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.js +171 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.d.ts +9 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.js +32 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +50 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +54 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.d.ts +5 -0
- package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.js +14 -0
- package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/editReason.d.ts +98 -0
- package/dist/src/_internal/platform/inlineEdits/common/editReason.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/editReason.js +111 -0
- package/dist/src/_internal/platform/inlineEdits/common/editReason.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts +132 -0
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +398 -0
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableGit.d.ts +11 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableGit.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableGit.js +50 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableGit.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.d.ts +90 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.js +169 -0
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.d.ts +34 -0
- package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.js +185 -0
- package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +223 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +315 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts +14 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js +53 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/observable.d.ts +16 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/observable.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/observable.js +38 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/observable.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.d.ts +3 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.js +26 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts +19 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js +44 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.d.ts +45 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.js +49 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.d.ts +17 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.js +300 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.js.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.d.ts +37 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.d.ts.map +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.js +116 -0
- package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.js.map +1 -0
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.d.ts +13 -0
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.d.ts.map +1 -0
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.js +10 -0
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.js.map +1 -0
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.d.ts +13 -0
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.d.ts.map +1 -0
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.js +31 -0
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.js.map +1 -0
- package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts +146 -0
- package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts.map +1 -0
- package/dist/src/_internal/platform/languageServer/common/languageContextService.js +42 -0
- package/dist/src/_internal/platform/languageServer/common/languageContextService.js.map +1 -0
- package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.d.ts +26 -0
- package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.d.ts.map +1 -0
- package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.js +53 -0
- package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.js.map +1 -0
- package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.d.ts +11 -0
- package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.d.ts.map +1 -0
- package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.js +30 -0
- package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.js.map +1 -0
- package/dist/src/_internal/platform/log/common/logService.d.ts +100 -0
- package/dist/src/_internal/platform/log/common/logService.d.ts.map +1 -0
- package/dist/src/_internal/platform/log/common/logService.js +178 -0
- package/dist/src/_internal/platform/log/common/logService.js.map +1 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsAPI.d.ts +69 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsAPI.d.ts.map +1 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsAPI.js +23 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsAPI.js.map +1 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.d.ts +80 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.d.ts.map +1 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.js +77 -0
- package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.js.map +1 -0
- package/dist/src/_internal/platform/nesFetch/common/responseStream.d.ts +26 -0
- package/dist/src/_internal/platform/nesFetch/common/responseStream.d.ts.map +1 -0
- package/dist/src/_internal/platform/nesFetch/common/responseStream.js +125 -0
- package/dist/src/_internal/platform/nesFetch/common/responseStream.js.map +1 -0
- package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.d.ts +27 -0
- package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.d.ts.map +1 -0
- package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js +222 -0
- package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js.map +1 -0
- package/dist/src/_internal/platform/nesFetch/node/streamTransformer.d.ts +10 -0
- package/dist/src/_internal/platform/nesFetch/node/streamTransformer.d.ts.map +1 -0
- package/dist/src/_internal/platform/nesFetch/node/streamTransformer.js +86 -0
- package/dist/src/_internal/platform/nesFetch/node/streamTransformer.js.map +1 -0
- package/dist/src/_internal/platform/networking/common/fetch.d.ts +256 -0
- package/dist/src/_internal/platform/networking/common/fetch.d.ts.map +1 -0
- package/dist/src/_internal/platform/networking/common/fetch.js +51 -0
- package/dist/src/_internal/platform/networking/common/fetch.js.map +1 -0
- package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +53 -0
- package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -0
- package/dist/src/_internal/platform/networking/common/fetcherService.js +46 -0
- package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -0
- package/dist/src/_internal/platform/networking/common/networking.d.ts +213 -0
- package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -0
- package/dist/src/_internal/platform/networking/common/networking.js +148 -0
- package/dist/src/_internal/platform/networking/common/networking.js.map +1 -0
- package/dist/src/_internal/platform/networking/common/openai.d.ts +202 -0
- package/dist/src/_internal/platform/networking/common/openai.d.ts.map +1 -0
- package/dist/src/_internal/platform/networking/common/openai.js +144 -0
- package/dist/src/_internal/platform/networking/common/openai.js.map +1 -0
- package/dist/src/_internal/platform/networking/node/chatStream.d.ts +9 -0
- package/dist/src/_internal/platform/networking/node/chatStream.d.ts.map +1 -0
- package/dist/src/_internal/platform/networking/node/chatStream.js +117 -0
- package/dist/src/_internal/platform/networking/node/chatStream.js.map +1 -0
- package/dist/src/_internal/platform/networking/node/stream.d.ts +145 -0
- package/dist/src/_internal/platform/networking/node/stream.d.ts.map +1 -0
- package/dist/src/_internal/platform/networking/node/stream.js +595 -0
- package/dist/src/_internal/platform/networking/node/stream.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContent.d.ts +28 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContent.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContent.js +85 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContent.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.d.ts +6 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.js +14 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.d.ts +31 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.js +14 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts +15 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js +232 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts +16 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js +231 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts +13 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.js +191 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.d.ts +34 -0
- package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.js +123 -0
- package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/helpers.d.ts +79 -0
- package/dist/src/_internal/platform/notebook/common/helpers.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/helpers.js +157 -0
- package/dist/src/_internal/platform/notebook/common/helpers.js.map +1 -0
- package/dist/src/_internal/platform/notebook/common/notebookService.d.ts +34 -0
- package/dist/src/_internal/platform/notebook/common/notebookService.d.ts.map +1 -0
- package/dist/src/_internal/platform/notebook/common/notebookService.js +10 -0
- package/dist/src/_internal/platform/notebook/common/notebookService.js.map +1 -0
- package/dist/src/_internal/platform/openai/node/fetch.d.ts +77 -0
- package/dist/src/_internal/platform/openai/node/fetch.d.ts.map +1 -0
- package/dist/src/_internal/platform/openai/node/fetch.js +408 -0
- package/dist/src/_internal/platform/openai/node/fetch.js.map +1 -0
- package/dist/src/_internal/platform/parser/node/nodes.d.ts +93 -0
- package/dist/src/_internal/platform/parser/node/nodes.d.ts.map +1 -0
- package/dist/src/_internal/platform/parser/node/nodes.js +133 -0
- package/dist/src/_internal/platform/parser/node/nodes.js.map +1 -0
- package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.d.ts +14 -0
- package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.d.ts.map +1 -0
- package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.js +28 -0
- package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.js.map +1 -0
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +198 -0
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -0
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.js +177 -0
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -0
- package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.d.ts +12 -0
- package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.d.ts.map +1 -0
- package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.js +19 -0
- package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.js.map +1 -0
- package/dist/src/_internal/platform/snippy/common/snippyService.d.ts +13 -0
- package/dist/src/_internal/platform/snippy/common/snippyService.d.ts.map +1 -0
- package/dist/src/_internal/platform/snippy/common/snippyService.js +16 -0
- package/dist/src/_internal/platform/snippy/common/snippyService.js.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.d.ts +46 -0
- package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.d.ts.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.js +23 -0
- package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.js.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.d.ts +18 -0
- package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.d.ts.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.js +50 -0
- package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.js.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts +145 -0
- package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/telemetry.js +87 -0
- package/dist/src/_internal/platform/telemetry/common/telemetry.js.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/telemetryData.d.ts +60 -0
- package/dist/src/_internal/platform/telemetry/common/telemetryData.d.ts.map +1 -0
- package/dist/src/_internal/platform/telemetry/common/telemetryData.js +169 -0
- package/dist/src/_internal/platform/telemetry/common/telemetryData.js.map +1 -0
- package/dist/src/_internal/platform/thinking/common/thinking.d.ts +49 -0
- package/dist/src/_internal/platform/thinking/common/thinking.d.ts.map +1 -0
- package/dist/src/_internal/platform/thinking/common/thinking.js +11 -0
- package/dist/src/_internal/platform/thinking/common/thinking.js.map +1 -0
- package/dist/src/_internal/platform/thinking/common/thinkingUtils.d.ts +6 -0
- package/dist/src/_internal/platform/thinking/common/thinkingUtils.d.ts.map +1 -0
- package/dist/src/_internal/platform/thinking/common/thinkingUtils.js +56 -0
- package/dist/src/_internal/platform/thinking/common/thinkingUtils.js.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/cl100k_base.tiktoken +100256 -0
- package/dist/src/_internal/platform/tokenizer/node/o200k_base.tiktoken +199998 -0
- package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.d.ts +3 -0
- package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.d.ts.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.js +24 -0
- package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.js.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.d.ts +17 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.d.ts.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.js +58 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.js.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.d.ts +2 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.d.ts.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.js +25 -0
- package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.js.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/tokenizer.d.ts +32 -0
- package/dist/src/_internal/platform/tokenizer/node/tokenizer.d.ts.map +1 -0
- package/dist/src/_internal/platform/tokenizer/node/tokenizer.js +308 -0
- package/dist/src/_internal/platform/tokenizer/node/tokenizer.js.map +1 -0
- package/dist/src/_internal/platform/workspace/common/workspaceService.d.ts +104 -0
- package/dist/src/_internal/platform/workspace/common/workspaceService.d.ts.map +1 -0
- package/dist/src/_internal/platform/workspace/common/workspaceService.js +176 -0
- package/dist/src/_internal/platform/workspace/common/workspaceService.js.map +1 -0
- package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts +115 -0
- package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts.map +1 -0
- package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.js +33 -0
- package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.js.map +1 -0
- package/dist/src/_internal/util/common/anomalyDetection.d.ts +16 -0
- package/dist/src/_internal/util/common/anomalyDetection.d.ts.map +1 -0
- package/dist/src/_internal/util/common/anomalyDetection.js +100 -0
- package/dist/src/_internal/util/common/anomalyDetection.js.map +1 -0
- package/dist/src/_internal/util/common/arrays.d.ts +18 -0
- package/dist/src/_internal/util/common/arrays.d.ts.map +1 -0
- package/dist/src/_internal/util/common/arrays.js +80 -0
- package/dist/src/_internal/util/common/arrays.js.map +1 -0
- package/dist/src/_internal/util/common/async.d.ts +35 -0
- package/dist/src/_internal/util/common/async.d.ts.map +1 -0
- package/dist/src/_internal/util/common/async.js +146 -0
- package/dist/src/_internal/util/common/async.js.map +1 -0
- package/dist/src/_internal/util/common/cache.d.ts +42 -0
- package/dist/src/_internal/util/common/cache.d.ts.map +1 -0
- package/dist/src/_internal/util/common/cache.js +157 -0
- package/dist/src/_internal/util/common/cache.js.map +1 -0
- package/dist/src/_internal/util/common/crypto.d.ts +3 -0
- package/dist/src/_internal/util/common/crypto.d.ts.map +1 -0
- package/dist/src/_internal/util/common/crypto.js +33 -0
- package/dist/src/_internal/util/common/crypto.js.map +1 -0
- package/dist/src/_internal/util/common/errors.d.ts +3 -0
- package/dist/src/_internal/util/common/errors.d.ts.map +1 -0
- package/dist/src/_internal/util/common/errors.js +22 -0
- package/dist/src/_internal/util/common/errors.js.map +1 -0
- package/dist/src/_internal/util/common/imageUtils.d.ts +23 -0
- package/dist/src/_internal/util/common/imageUtils.d.ts.map +1 -0
- package/dist/src/_internal/util/common/imageUtils.js +148 -0
- package/dist/src/_internal/util/common/imageUtils.js.map +1 -0
- package/dist/src/_internal/util/common/languages.d.ts +560 -0
- package/dist/src/_internal/util/common/languages.d.ts.map +1 -0
- package/dist/src/_internal/util/common/languages.js +901 -0
- package/dist/src/_internal/util/common/languages.js.map +1 -0
- package/dist/src/_internal/util/common/notebooks.d.ts +88 -0
- package/dist/src/_internal/util/common/notebooks.d.ts.map +1 -0
- package/dist/src/_internal/util/common/notebooks.js +270 -0
- package/dist/src/_internal/util/common/notebooks.js.map +1 -0
- package/dist/src/_internal/util/common/result.d.ts +32 -0
- package/dist/src/_internal/util/common/result.d.ts.map +1 -0
- package/dist/src/_internal/util/common/result.js +65 -0
- package/dist/src/_internal/util/common/result.js.map +1 -0
- package/dist/src/_internal/util/common/services.d.ts +17 -0
- package/dist/src/_internal/util/common/services.d.ts.map +1 -0
- package/dist/src/_internal/util/common/services.js +32 -0
- package/dist/src/_internal/util/common/services.js.map +1 -0
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +301 -0
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -0
- package/dist/src/_internal/util/common/test/shims/chatTypes.js +380 -0
- package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -0
- package/dist/src/_internal/util/common/test/shims/editing.d.ts +101 -0
- package/dist/src/_internal/util/common/test/shims/editing.d.ts.map +1 -0
- package/dist/src/_internal/util/common/test/shims/editing.js +149 -0
- package/dist/src/_internal/util/common/test/shims/editing.js.map +1 -0
- package/dist/src/_internal/util/common/test/shims/enums.d.ts +50 -0
- package/dist/src/_internal/util/common/test/shims/enums.d.ts.map +1 -0
- package/dist/src/_internal/util/common/test/shims/enums.js +65 -0
- package/dist/src/_internal/util/common/test/shims/enums.js.map +1 -0
- package/dist/src/_internal/util/common/test/shims/l10n.d.ts +8 -0
- package/dist/src/_internal/util/common/test/shims/l10n.d.ts.map +1 -0
- package/dist/src/_internal/util/common/test/shims/l10n.js +26 -0
- package/dist/src/_internal/util/common/test/shims/l10n.js.map +1 -0
- package/dist/src/_internal/util/common/test/shims/newSymbolName.d.ts +13 -0
- package/dist/src/_internal/util/common/test/shims/newSymbolName.d.ts.map +1 -0
- package/dist/src/_internal/util/common/test/shims/newSymbolName.js +24 -0
- package/dist/src/_internal/util/common/test/shims/newSymbolName.js.map +1 -0
- package/dist/src/_internal/util/common/test/shims/terminal.d.ts +26 -0
- package/dist/src/_internal/util/common/test/shims/terminal.d.ts.map +1 -0
- package/dist/src/_internal/util/common/test/shims/terminal.js +34 -0
- package/dist/src/_internal/util/common/test/shims/terminal.js.map +1 -0
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts +4 -0
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts.map +1 -0
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js +113 -0
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -0
- package/dist/src/_internal/util/common/time.d.ts +8 -0
- package/dist/src/_internal/util/common/time.d.ts.map +1 -0
- package/dist/src/_internal/util/common/time.js +30 -0
- package/dist/src/_internal/util/common/time.js.map +1 -0
- package/dist/src/_internal/util/common/tokenizer.d.ts +19 -0
- package/dist/src/_internal/util/common/tokenizer.d.ts.map +1 -0
- package/dist/src/_internal/util/common/tokenizer.js +14 -0
- package/dist/src/_internal/util/common/tokenizer.js.map +1 -0
- package/dist/src/_internal/util/common/tracing.d.ts +8 -0
- package/dist/src/_internal/util/common/tracing.d.ts.map +1 -0
- package/dist/src/_internal/util/common/tracing.js +49 -0
- package/dist/src/_internal/util/common/tracing.js.map +1 -0
- package/dist/src/_internal/util/common/types.d.ts +7 -0
- package/dist/src/_internal/util/common/types.d.ts.map +1 -0
- package/dist/src/_internal/util/common/types.js +35 -0
- package/dist/src/_internal/util/common/types.js.map +1 -0
- package/dist/src/_internal/util/common/variableLengthQuantity.d.ts +9 -0
- package/dist/src/_internal/util/common/variableLengthQuantity.d.ts.map +1 -0
- package/dist/src/_internal/util/common/variableLengthQuantity.js +38 -0
- package/dist/src/_internal/util/common/variableLengthQuantity.js.map +1 -0
- package/dist/src/_internal/util/node/worker.d.ts +44 -0
- package/dist/src/_internal/util/node/worker.d.ts.map +1 -0
- package/dist/src/_internal/util/node/worker.js +115 -0
- package/dist/src/_internal/util/node/worker.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/arrays.d.ts +299 -0
- package/dist/src/_internal/util/vs/base/common/arrays.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/arrays.js +836 -0
- package/dist/src/_internal/util/vs/base/common/arrays.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/arraysFind.d.ts +69 -0
- package/dist/src/_internal/util/vs/base/common/arraysFind.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/arraysFind.js +193 -0
- package/dist/src/_internal/util/vs/base/common/arraysFind.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/assert.d.ts +35 -0
- package/dist/src/_internal/util/vs/base/common/assert.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/assert.js +86 -0
- package/dist/src/_internal/util/vs/base/common/assert.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/async.d.ts +764 -0
- package/dist/src/_internal/util/vs/base/common/async.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/async.js +2037 -0
- package/dist/src/_internal/util/vs/base/common/async.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/buffer.d.ts +92 -0
- package/dist/src/_internal/util/vs/base/common/buffer.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/buffer.js +480 -0
- package/dist/src/_internal/util/vs/base/common/buffer.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/cache.d.ts +47 -0
- package/dist/src/_internal/util/vs/base/common/cache.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/cache.js +95 -0
- package/dist/src/_internal/util/vs/base/common/cache.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/cancellation.d.ts +31 -0
- package/dist/src/_internal/util/vs/base/common/cancellation.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/cancellation.js +120 -0
- package/dist/src/_internal/util/vs/base/common/cancellation.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/charCode.d.ts +428 -0
- package/dist/src/_internal/util/vs/base/common/charCode.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/charCode.js +4 -0
- package/dist/src/_internal/util/vs/base/common/charCode.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/codicons.d.ts +681 -0
- package/dist/src/_internal/util/vs/base/common/codicons.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/codicons.js +59 -0
- package/dist/src/_internal/util/vs/base/common/codicons.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/codiconsLibrary.d.ts +607 -0
- package/dist/src/_internal/util/vs/base/common/codiconsLibrary.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/codiconsLibrary.js +619 -0
- package/dist/src/_internal/util/vs/base/common/codiconsLibrary.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/codiconsUtil.d.ts +9 -0
- package/dist/src/_internal/util/vs/base/common/codiconsUtil.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/codiconsUtil.js +25 -0
- package/dist/src/_internal/util/vs/base/common/codiconsUtil.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/collections.d.ts +49 -0
- package/dist/src/_internal/util/vs/base/common/collections.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/collections.js +134 -0
- package/dist/src/_internal/util/vs/base/common/collections.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/diff/diff.d.ts +151 -0
- package/dist/src/_internal/util/vs/base/common/diff/diff.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/diff/diff.js +1064 -0
- package/dist/src/_internal/util/vs/base/common/diff/diff.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/diff/diffChange.d.ts +39 -0
- package/dist/src/_internal/util/vs/base/common/diff/diffChange.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/diff/diffChange.js +38 -0
- package/dist/src/_internal/util/vs/base/common/diff/diffChange.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/equals.d.ts +38 -0
- package/dist/src/_internal/util/vs/base/common/equals.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/equals.js +166 -0
- package/dist/src/_internal/util/vs/base/common/equals.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/errors.d.ts +114 -0
- package/dist/src/_internal/util/vs/base/common/errors.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/errors.js +274 -0
- package/dist/src/_internal/util/vs/base/common/errors.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/event.d.ts +567 -0
- package/dist/src/_internal/util/vs/base/common/event.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/event.js +1405 -0
- package/dist/src/_internal/util/vs/base/common/event.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/extpath.d.ts +58 -0
- package/dist/src/_internal/util/vs/base/common/extpath.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/extpath.js +363 -0
- package/dist/src/_internal/util/vs/base/common/extpath.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/filters.d.ts +63 -0
- package/dist/src/_internal/util/vs/base/common/filters.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/filters.js +821 -0
- package/dist/src/_internal/util/vs/base/common/filters.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/functional.d.ts +5 -0
- package/dist/src/_internal/util/vs/base/common/functional.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/functional.js +35 -0
- package/dist/src/_internal/util/vs/base/common/functional.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/glob.d.ts +72 -0
- package/dist/src/_internal/util/vs/base/common/glob.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/glob.js +622 -0
- package/dist/src/_internal/util/vs/base/common/glob.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/hash.d.ts +41 -0
- package/dist/src/_internal/util/vs/base/common/hash.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/hash.js +320 -0
- package/dist/src/_internal/util/vs/base/common/hash.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/htmlContent.d.ts +59 -0
- package/dist/src/_internal/util/vs/base/common/htmlContent.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/htmlContent.js +179 -0
- package/dist/src/_internal/util/vs/base/common/htmlContent.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/iconLabels.d.ts +21 -0
- package/dist/src/_internal/util/vs/base/common/iconLabels.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/iconLabels.js +95 -0
- package/dist/src/_internal/util/vs/base/common/iconLabels.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/iterator.d.ts +33 -0
- package/dist/src/_internal/util/vs/base/common/iterator.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/iterator.js +188 -0
- package/dist/src/_internal/util/vs/base/common/iterator.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/lazy.d.ts +23 -0
- package/dist/src/_internal/util/vs/base/common/lazy.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/lazy.js +57 -0
- package/dist/src/_internal/util/vs/base/common/lazy.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/lifecycle.d.ts +262 -0
- package/dist/src/_internal/util/vs/base/common/lifecycle.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/lifecycle.js +703 -0
- package/dist/src/_internal/util/vs/base/common/lifecycle.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/linkedList.d.ts +16 -0
- package/dist/src/_internal/util/vs/base/common/linkedList.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/linkedList.js +130 -0
- package/dist/src/_internal/util/vs/base/common/linkedList.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/map.d.ts +175 -0
- package/dist/src/_internal/util/vs/base/common/map.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/map.js +796 -0
- package/dist/src/_internal/util/vs/base/common/map.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/marshallingIds.d.ts +29 -0
- package/dist/src/_internal/util/vs/base/common/marshallingIds.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/marshallingIds.js +4 -0
- package/dist/src/_internal/util/vs/base/common/marshallingIds.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/mime.d.ts +19 -0
- package/dist/src/_internal/util/vs/base/common/mime.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/mime.js +127 -0
- package/dist/src/_internal/util/vs/base/common/mime.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.d.ts +10 -0
- package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.js +324 -0
- package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/network.d.ts +189 -0
- package/dist/src/_internal/util/vs/base/common/network.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/network.js +386 -0
- package/dist/src/_internal/util/vs/base/common/network.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/numbers.d.ts +71 -0
- package/dist/src/_internal/util/vs/base/common/numbers.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/numbers.js +148 -0
- package/dist/src/_internal/util/vs/base/common/numbers.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/objects.d.ts +36 -0
- package/dist/src/_internal/util/vs/base/common/objects.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/objects.js +231 -0
- package/dist/src/_internal/util/vs/base/common/objects.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observable.d.ts +2 -0
- package/dist/src/_internal/util/vs/base/common/observable.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observable.js +24 -0
- package/dist/src/_internal/util/vs/base/common/observable.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/base.d.ts +169 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/base.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/base.js +18 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/base.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.d.ts +45 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.js +76 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.d.ts +3 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.js +15 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.d.ts +6 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.js +24 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.d.ts +21 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.js +64 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.d.ts +34 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.js +112 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.d.ts +16 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.js +57 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/index.d.ts +25 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/index.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/index.js +101 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/index.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts +41 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.js +346 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.d.ts +5 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.js +68 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +44 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +445 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.d.ts +42 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.js +59 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.d.ts +14 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.js +69 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.d.ts +31 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.js +97 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/map.d.ts +19 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/map.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/map.js +65 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/map.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.d.ts +55 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.js +133 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.d.ts +6 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.js +36 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.d.ts +47 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.js +99 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.d.ts +83 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.js +355 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +28 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.js +124 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +34 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.js +118 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.d.ts +12 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.js +45 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +6 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +39 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.d.ts +38 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.js +105 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.d.ts +9 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.js +16 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.d.ts +57 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.js +139 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +53 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.js +212 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/set.d.ts +18 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/set.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/set.js +63 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/set.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.d.ts +28 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.js +116 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.d.ts +76 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.js +113 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.d.ts +8 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.js +59 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.d.ts +44 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.js +256 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +11 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.js +85 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.d.ts +11 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.js +26 -0
- package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/path.d.ts +40 -0
- package/dist/src/_internal/util/vs/base/common/path.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/path.js +1494 -0
- package/dist/src/_internal/util/vs/base/common/path.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/platform.d.ts +100 -0
- package/dist/src/_internal/util/vs/base/common/platform.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/platform.js +254 -0
- package/dist/src/_internal/util/vs/base/common/platform.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/process.d.ts +28 -0
- package/dist/src/_internal/util/vs/base/common/process.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/process.js +69 -0
- package/dist/src/_internal/util/vs/base/common/process.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/resources.d.ts +188 -0
- package/dist/src/_internal/util/vs/base/common/resources.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/resources.js +324 -0
- package/dist/src/_internal/util/vs/base/common/resources.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/sequence.d.ts +20 -0
- package/dist/src/_internal/util/vs/base/common/sequence.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/sequence.js +22 -0
- package/dist/src/_internal/util/vs/base/common/sequence.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/sseParser.d.ts +78 -0
- package/dist/src/_internal/util/vs/base/common/sseParser.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/sseParser.js +175 -0
- package/dist/src/_internal/util/vs/base/common/sseParser.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/stopwatch.d.ts +11 -0
- package/dist/src/_internal/util/vs/base/common/stopwatch.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/stopwatch.js +30 -0
- package/dist/src/_internal/util/vs/base/common/stopwatch.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/stream.d.ts +212 -0
- package/dist/src/_internal/util/vs/base/common/stream.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/stream.js +495 -0
- package/dist/src/_internal/util/vs/base/common/stream.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/strings.d.ts +264 -0
- package/dist/src/_internal/util/vs/base/common/strings.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/strings.js +1162 -0
- package/dist/src/_internal/util/vs/base/common/strings.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/symbols.d.ts +5 -0
- package/dist/src/_internal/util/vs/base/common/symbols.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/symbols.js +13 -0
- package/dist/src/_internal/util/vs/base/common/symbols.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/themables.d.ts +31 -0
- package/dist/src/_internal/util/vs/base/common/themables.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/themables.js +92 -0
- package/dist/src/_internal/util/vs/base/common/themables.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/types.d.ts +184 -0
- package/dist/src/_internal/util/vs/base/common/types.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/types.js +265 -0
- package/dist/src/_internal/util/vs/base/common/types.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/uint.d.ts +32 -0
- package/dist/src/_internal/util/vs/base/common/uint.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/uint.js +24 -0
- package/dist/src/_internal/util/vs/base/common/uint.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/uri.d.ts +172 -0
- package/dist/src/_internal/util/vs/base/common/uri.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/uri.js +653 -0
- package/dist/src/_internal/util/vs/base/common/uri.js.map +1 -0
- package/dist/src/_internal/util/vs/base/common/uuid.d.ts +5 -0
- package/dist/src/_internal/util/vs/base/common/uuid.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/base/common/uuid.js +66 -0
- package/dist/src/_internal/util/vs/base/common/uuid.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/editOperation.d.ts +28 -0
- package/dist/src/_internal/util/vs/editor/common/core/editOperation.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/editOperation.js +35 -0
- package/dist/src/_internal/util/vs/editor/common/core/editOperation.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/edit.d.ts +109 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/edit.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/edit.js +341 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/edit.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.d.ts +53 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.js +322 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.d.ts +135 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.js +437 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.d.ts +50 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.js +348 -0
- package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/position.d.ts +91 -0
- package/dist/src/_internal/util/vs/editor/common/core/position.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/position.js +142 -0
- package/dist/src/_internal/util/vs/editor/common/core/position.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/range.d.ts +195 -0
- package/dist/src/_internal/util/vs/editor/common/core/range.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/range.js +424 -0
- package/dist/src/_internal/util/vs/editor/common/core/range.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.d.ts +108 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.js +357 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.d.ts +79 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.js +242 -0
- package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.d.ts +40 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.js +105 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.d.ts +3 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.js +28 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.d.ts +39 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.js +110 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/textLength.d.ts +34 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/textLength.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/textLength.js +134 -0
- package/dist/src/_internal/util/vs/editor/common/core/text/textLength.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/wordHelper.d.ts +28 -0
- package/dist/src/_internal/util/vs/editor/common/core/wordHelper.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/core/wordHelper.js +137 -0
- package/dist/src/_internal/util/vs/editor/common/core/wordHelper.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +83 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +154 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +9 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +104 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +8 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js +165 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.d.ts +4 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +251 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.d.ts +9 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +213 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +10 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +380 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.d.ts +13 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js +36 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +32 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +208 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.d.ts +23 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.js +64 -0
- package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +70 -0
- package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.js +501 -0
- package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.d.ts +46 -0
- package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.js +33 -0
- package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.d.ts +84 -0
- package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.js +287 -0
- package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.js.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.d.ts +71 -0
- package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.js +234 -0
- package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.js.map +1 -0
- package/dist/src/_internal/util/vs/nls.d.ts +143 -0
- package/dist/src/_internal/util/vs/nls.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/nls.js +84 -0
- package/dist/src/_internal/util/vs/nls.js.map +1 -0
- package/dist/src/_internal/util/vs/nls.messages.d.ts +3 -0
- package/dist/src/_internal/util/vs/nls.messages.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/nls.messages.js +22 -0
- package/dist/src/_internal/util/vs/nls.messages.js.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.d.ts +10 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.js +17 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.js.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/graph.d.ts +26 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/graph.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/graph.js +99 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/graph.js.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.d.ts +70 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.js +48 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.js.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.d.ts +56 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.js +406 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.js.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.d.ts +10 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.js +25 -0
- package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +32 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.js +103 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts +8 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.js +38 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.d.ts +12 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.js +53 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.d.ts +21 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.js +72 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.d.ts +85 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.js +243 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.d.ts +30 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.js +178 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.d.ts +27 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.js +148 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.d.ts +21 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.js +84 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.d.ts +13 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.js +95 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +14 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.js +30 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +46 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.js +82 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.js.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.d.ts +25 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.d.ts.map +1 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.js +93 -0
- package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.js.map +1 -0
- package/dist/src/_internal/vscodeTypes.d.ts +95 -0
- package/dist/src/_internal/vscodeTypes.d.ts.map +1 -0
- package/dist/src/_internal/vscodeTypes.js +133 -0
- package/dist/src/_internal/vscodeTypes.js.map +1 -0
- package/dist/src/main.d.ts +13 -0
- package/dist/src/main.d.ts.map +1 -0
- package/dist/src/main.js +190 -0
- package/dist/src/main.js.map +1 -0
- package/dist/src/package.json +4063 -0
- package/package.json +64 -0
- package/src/_internal/extension/byok/node/openAIEndpoint.ts +171 -0
- package/src/_internal/extension/common/constants.ts +90 -0
- package/src/_internal/extension/inlineEdits/common/delayer.ts +108 -0
- package/src/_internal/extension/inlineEdits/common/editRebase.ts +268 -0
- package/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.tsx +163 -0
- package/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.ts +225 -0
- package/src/_internal/extension/inlineEdits/common/rejectionCollector.ts +164 -0
- package/src/_internal/extension/inlineEdits/node/debugRecorder.ts +205 -0
- package/src/_internal/extension/inlineEdits/node/importFiltering.ts +25 -0
- package/src/_internal/extension/inlineEdits/node/nesConfigs.ts +12 -0
- package/src/_internal/extension/inlineEdits/node/nextEditCache.ts +278 -0
- package/src/_internal/extension/inlineEdits/node/nextEditProvider.ts +778 -0
- package/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.ts +983 -0
- package/src/_internal/extension/inlineEdits/node/nextEditResult.ts +40 -0
- package/src/_internal/extension/prompt/common/importStatement.ts +25 -0
- package/src/_internal/extension/prompt/node/chatMLFetcher.ts +706 -0
- package/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.ts +146 -0
- package/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.ts +527 -0
- package/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.ts +76 -0
- package/src/_internal/extension/prompts/node/inline/visualization.ts +65 -0
- package/src/_internal/extension/vscode.proposed.activeComment.d.ts +23 -0
- package/src/_internal/extension/vscode.proposed.aiRelatedInformation.d.ts +49 -0
- package/src/_internal/extension/vscode.proposed.aiSettingsSearch.d.ts +31 -0
- package/src/_internal/extension/vscode.proposed.aiTextSearchProvider.d.ts +41 -0
- package/src/_internal/extension/vscode.proposed.authLearnMore.d.ts +16 -0
- package/src/_internal/extension/vscode.proposed.chatBinaryReferenceData.d.ts +41 -0
- package/src/_internal/extension/vscode.proposed.chatEditing.d.ts +29 -0
- package/src/_internal/extension/vscode.proposed.chatParticipantAdditions.d.ts +636 -0
- package/src/_internal/extension/vscode.proposed.chatParticipantPrivate.d.ts +276 -0
- package/src/_internal/extension/vscode.proposed.chatProvider.d.ts +62 -0
- package/src/_internal/extension/vscode.proposed.chatReadonlyPromptReference.d.ts +17 -0
- package/src/_internal/extension/vscode.proposed.chatReferenceDiagnostic.d.ts +23 -0
- package/src/_internal/extension/vscode.proposed.chatSessionsProvider.d.ts +218 -0
- package/src/_internal/extension/vscode.proposed.chatStatusItem.d.ts +61 -0
- package/src/_internal/extension/vscode.proposed.codeActionAI.d.ts +16 -0
- package/src/_internal/extension/vscode.proposed.commentReveal.d.ts +32 -0
- package/src/_internal/extension/vscode.proposed.contribCommentThreadAdditionalMenu.d.ts +8 -0
- package/src/_internal/extension/vscode.proposed.contribCommentsViewThreadMenus.d.ts +6 -0
- package/src/_internal/extension/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
- package/src/_internal/extension/vscode.proposed.dataChannels.d.ts +19 -0
- package/src/_internal/extension/vscode.proposed.defaultChatParticipant.d.ts +52 -0
- package/src/_internal/extension/vscode.proposed.documentFiltersExclusive.d.ts +13 -0
- package/src/_internal/extension/vscode.proposed.embeddings.d.ts +33 -0
- package/src/_internal/extension/vscode.proposed.extensionsAny.d.ts +40 -0
- package/src/_internal/extension/vscode.proposed.findFiles2.d.ts +125 -0
- package/src/_internal/extension/vscode.proposed.findTextInFiles.d.ts +104 -0
- package/src/_internal/extension/vscode.proposed.findTextInFiles2.d.ts +144 -0
- package/src/_internal/extension/vscode.proposed.inlineCompletionsAdditions.d.ts +202 -0
- package/src/_internal/extension/vscode.proposed.interactive.d.ts +11 -0
- package/src/_internal/extension/vscode.proposed.languageModelCapabilities.d.ts +25 -0
- package/src/_internal/extension/vscode.proposed.languageModelDataPart.d.ts +163 -0
- package/src/_internal/extension/vscode.proposed.languageModelSystem.d.ts +17 -0
- package/src/_internal/extension/vscode.proposed.languageModelThinkingPart.d.ts +49 -0
- package/src/_internal/extension/vscode.proposed.languageModelToolResultAudience.d.ts +36 -0
- package/src/_internal/extension/vscode.proposed.mappedEditsProvider.d.ts +110 -0
- package/src/_internal/extension/vscode.proposed.newSymbolNamesProvider.d.ts +47 -0
- package/src/_internal/extension/vscode.proposed.readonlyMessage.d.ts +14 -0
- package/src/_internal/extension/vscode.proposed.resolvers.d.ts +475 -0
- package/src/_internal/extension/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
- package/src/_internal/extension/vscode.proposed.taskProblemMatcherStatus.d.ts +42 -0
- package/src/_internal/extension/vscode.proposed.terminalDataWriteEvent.d.ts +32 -0
- package/src/_internal/extension/vscode.proposed.terminalExecuteCommandEvent.d.ts +48 -0
- package/src/_internal/extension/vscode.proposed.terminalQuickFixProvider.d.ts +87 -0
- package/src/_internal/extension/vscode.proposed.terminalSelection.d.ts +16 -0
- package/src/_internal/extension/vscode.proposed.testObserver.d.ts +199 -0
- package/src/_internal/extension/vscode.proposed.textDocumentChangeReason.d.ts +30 -0
- package/src/_internal/extension/vscode.proposed.textSearchProvider.d.ts +281 -0
- package/src/_internal/extension/vscode.proposed.textSearchProvider2.d.ts +297 -0
- package/src/_internal/extension/xtab/common/promptCrafting.ts +670 -0
- package/src/_internal/extension/xtab/node/xtabEndpoint.ts +102 -0
- package/src/_internal/extension/xtab/node/xtabProvider.ts +976 -0
- package/src/_internal/extension/xtab/node/xtabUtils.ts +62 -0
- package/src/_internal/platform/authentication/common/authentication.ts +309 -0
- package/src/_internal/platform/authentication/common/copilotToken.ts +300 -0
- package/src/_internal/platform/authentication/common/copilotTokenManager.ts +59 -0
- package/src/_internal/platform/authentication/common/copilotTokenStore.ts +40 -0
- package/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.ts +96 -0
- package/src/_internal/platform/authentication/node/copilotTokenManager.ts +303 -0
- package/src/_internal/platform/chat/common/chatMLFetcher.ts +124 -0
- package/src/_internal/platform/chat/common/chatQuotaService.ts +63 -0
- package/src/_internal/platform/chat/common/chatQuotaServiceImpl.ts +96 -0
- package/src/_internal/platform/chat/common/commonTypes.ts +353 -0
- package/src/_internal/platform/chat/common/conversationOptions.ts +16 -0
- package/src/_internal/platform/chat/common/globalStringUtils.ts +54 -0
- package/src/_internal/platform/chat/common/interactionService.ts +35 -0
- package/src/_internal/platform/configuration/common/configurationService.ts +803 -0
- package/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.ts +39 -0
- package/src/_internal/platform/configuration/common/jsonSchema.ts +139 -0
- package/src/_internal/platform/configuration/common/validator.ts +242 -0
- package/src/_internal/platform/diff/common/diffService.ts +41 -0
- package/src/_internal/platform/diff/common/diffWorker.ts +83 -0
- package/src/_internal/platform/diff/node/diffServiceImpl.ts +85 -0
- package/src/_internal/platform/editing/common/abstractText.ts +177 -0
- package/src/_internal/platform/editing/common/notebookDocumentSnapshot.ts +122 -0
- package/src/_internal/platform/editing/common/positionOffsetTransformer.ts +202 -0
- package/src/_internal/platform/editing/common/textDocumentSnapshot.ts +274 -0
- package/src/_internal/platform/endpoint/common/capiClient.ts +37 -0
- package/src/_internal/platform/endpoint/common/chatModelCapabilities.ts +115 -0
- package/src/_internal/platform/endpoint/common/domainService.ts +27 -0
- package/src/_internal/platform/endpoint/common/endpointProvider.ts +104 -0
- package/src/_internal/platform/endpoint/common/endpointTypes.ts +12 -0
- package/src/_internal/platform/endpoint/common/licenseAgreement.ts +11 -0
- package/src/_internal/platform/endpoint/common/statefulMarkerContainer.tsx +85 -0
- package/src/_internal/platform/endpoint/common/thinkingDataContainer.tsx +44 -0
- package/src/_internal/platform/endpoint/node/capiClientImpl.ts +18 -0
- package/src/_internal/platform/endpoint/node/chatEndpoint.ts +435 -0
- package/src/_internal/platform/endpoint/node/domainServiceImpl.ts +80 -0
- package/src/_internal/platform/endpoint/node/proxyXtabEndpoint.ts +43 -0
- package/src/_internal/platform/endpoint/node/responsesApi.ts +326 -0
- package/src/_internal/platform/env/common/envService.ts +134 -0
- package/src/_internal/platform/env/common/nullEnvService.ts +68 -0
- package/src/_internal/platform/env/common/packagejson.ts +49 -0
- package/src/_internal/platform/git/common/gitExtensionService.ts +21 -0
- package/src/_internal/platform/git/common/nullGitExtensionService.ts +20 -0
- package/src/_internal/platform/git/vscode/git.d.ts +414 -0
- package/src/_internal/platform/github/common/githubAPI.ts +44 -0
- package/src/_internal/platform/github/common/githubService.ts +87 -0
- package/src/_internal/platform/github/common/nullOctokitServiceImpl.ts +21 -0
- package/src/_internal/platform/ignore/common/ignoreService.ts +72 -0
- package/src/_internal/platform/inlineCompletions/common/api.ts +198 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.ts +32 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/documentId.ts +52 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/edit.ts +165 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.ts +74 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.ts +14 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.ts +107 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/languageId.ts +14 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/permutation.ts +69 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.ts +49 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.ts +74 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.ts +132 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.ts +184 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.ts +32 -0
- package/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.ts +89 -0
- package/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.ts +10 -0
- package/src/_internal/platform/inlineEdits/common/editReason.ts +134 -0
- package/src/_internal/platform/inlineEdits/common/inlineEditLogContext.ts +490 -0
- package/src/_internal/platform/inlineEdits/common/observableGit.ts +49 -0
- package/src/_internal/platform/inlineEdits/common/observableWorkspace.ts +239 -0
- package/src/_internal/platform/inlineEdits/common/responseProcessor.ts +249 -0
- package/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.ts +468 -0
- package/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.ts +59 -0
- package/src/_internal/platform/inlineEdits/common/utils/observable.ts +54 -0
- package/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.ts +29 -0
- package/src/_internal/platform/inlineEdits/common/utils/utils.ts +56 -0
- package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.ts +60 -0
- package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.ts +353 -0
- package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.ts +176 -0
- package/src/_internal/platform/languageContextProvider/common/languageContextProviderService.ts +25 -0
- package/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.ts +38 -0
- package/src/_internal/platform/languageServer/common/languageContextService.ts +186 -0
- package/src/_internal/platform/languages/common/languageDiagnosticsService.ts +67 -0
- package/src/_internal/platform/languages/common/testLanguageDiagnosticsService.ts +28 -0
- package/src/_internal/platform/log/common/logService.ts +232 -0
- package/src/_internal/platform/nesFetch/common/completionsAPI.ts +78 -0
- package/src/_internal/platform/nesFetch/common/completionsFetchService.ts +118 -0
- package/src/_internal/platform/nesFetch/common/responseStream.ts +151 -0
- package/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.ts +236 -0
- package/src/_internal/platform/nesFetch/node/streamTransformer.ts +95 -0
- package/src/_internal/platform/networking/common/fetch.ts +349 -0
- package/src/_internal/platform/networking/common/fetcherService.ts +84 -0
- package/src/_internal/platform/networking/common/networking.ts +442 -0
- package/src/_internal/platform/networking/common/openai.ts +273 -0
- package/src/_internal/platform/networking/node/chatStream.ts +137 -0
- package/src/_internal/platform/networking/node/stream.ts +749 -0
- package/src/_internal/platform/notebook/common/alternativeContent.ts +89 -0
- package/src/_internal/platform/notebook/common/alternativeContentFormat.ts +10 -0
- package/src/_internal/platform/notebook/common/alternativeContentProvider.json.ts +262 -0
- package/src/_internal/platform/notebook/common/alternativeContentProvider.text.ts +243 -0
- package/src/_internal/platform/notebook/common/alternativeContentProvider.ts +41 -0
- package/src/_internal/platform/notebook/common/alternativeContentProvider.xml.ts +205 -0
- package/src/_internal/platform/notebook/common/alternativeNotebookDocument.ts +155 -0
- package/src/_internal/platform/notebook/common/helpers.ts +212 -0
- package/src/_internal/platform/notebook/common/notebookService.ts +43 -0
- package/src/_internal/platform/openai/node/fetch.ts +596 -0
- package/src/_internal/platform/parser/node/nodes.ts +190 -0
- package/src/_internal/platform/requestLogger/node/nullRequestLogger.ts +26 -0
- package/src/_internal/platform/requestLogger/node/requestLogger.ts +383 -0
- package/src/_internal/platform/simulationTestContext/common/simulationTestContext.ts +29 -0
- package/src/_internal/platform/snippy/common/snippyService.ts +25 -0
- package/src/_internal/platform/telemetry/common/nullExperimentationService.ts +64 -0
- package/src/_internal/platform/telemetry/common/nullTelemetryService.ts +53 -0
- package/src/_internal/platform/telemetry/common/telemetry.ts +215 -0
- package/src/_internal/platform/telemetry/common/telemetryData.ts +205 -0
- package/src/_internal/platform/thinking/common/thinking.ts +61 -0
- package/src/_internal/platform/thinking/common/thinkingUtils.ts +57 -0
- package/src/_internal/platform/tokenizer/node/parseTikTokens.ts +23 -0
- package/src/_internal/platform/tokenizer/node/tikTokenizerImpl.ts +74 -0
- package/src/_internal/platform/tokenizer/node/tikTokenizerWorker.ts +24 -0
- package/src/_internal/platform/tokenizer/node/tokenizer.ts +357 -0
- package/src/_internal/platform/workspace/common/workspaceService.ts +226 -0
- package/src/_internal/platform/workspaceRecorder/common/workspaceLog.ts +118 -0
- package/src/_internal/util/common/anomalyDetection.ts +112 -0
- package/src/_internal/util/common/arrays.ts +81 -0
- package/src/_internal/util/common/async.ts +155 -0
- package/src/_internal/util/common/cache.ts +183 -0
- package/src/_internal/util/common/crypto.ts +41 -0
- package/src/_internal/util/common/errors.ts +22 -0
- package/src/_internal/util/common/globals.d.ts +12 -0
- package/src/_internal/util/common/imageUtils.ts +154 -0
- package/src/_internal/util/common/languages.ts +940 -0
- package/src/_internal/util/common/notebooks.ts +286 -0
- package/src/_internal/util/common/result.ts +71 -0
- package/src/_internal/util/common/services.ts +43 -0
- package/src/_internal/util/common/test/shims/chatTypes.ts +448 -0
- package/src/_internal/util/common/test/shims/editing.ts +233 -0
- package/src/_internal/util/common/test/shims/enums.ts +61 -0
- package/src/_internal/util/common/test/shims/l10n.ts +37 -0
- package/src/_internal/util/common/test/shims/newSymbolName.ts +23 -0
- package/src/_internal/util/common/test/shims/terminal.ts +33 -0
- package/src/_internal/util/common/test/shims/vscodeTypesShim.ts +115 -0
- package/src/_internal/util/common/time.ts +31 -0
- package/src/_internal/util/common/tokenizer.ts +30 -0
- package/src/_internal/util/common/tracing.ts +52 -0
- package/src/_internal/util/common/types.ts +33 -0
- package/src/_internal/util/common/variableLengthQuantity.ts +40 -0
- package/src/_internal/util/node/worker.ts +130 -0
- package/src/_internal/util/vs/base/common/arrays.ts +926 -0
- package/src/_internal/util/vs/base/common/arraysFind.ts +206 -0
- package/src/_internal/util/vs/base/common/assert.ts +89 -0
- package/src/_internal/util/vs/base/common/async.ts +2582 -0
- package/src/_internal/util/vs/base/common/buffer.ts +501 -0
- package/src/_internal/util/vs/base/common/cache.ts +122 -0
- package/src/_internal/util/vs/base/common/cancellation.ts +150 -0
- package/src/_internal/util/vs/base/common/charCode.ts +452 -0
- package/src/_internal/util/vs/base/common/codicons.ts +66 -0
- package/src/_internal/util/vs/base/common/codiconsLibrary.ts +618 -0
- package/src/_internal/util/vs/base/common/codiconsUtil.ts +30 -0
- package/src/_internal/util/vs/base/common/collections.ts +156 -0
- package/src/_internal/util/vs/base/common/diff/diff.ts +1317 -0
- package/src/_internal/util/vs/base/common/diff/diffChange.ts +62 -0
- package/src/_internal/util/vs/base/common/equals.ts +148 -0
- package/src/_internal/util/vs/base/common/errors.ts +342 -0
- package/src/_internal/util/vs/base/common/event.ts +1782 -0
- package/src/_internal/util/vs/base/common/extpath.ts +425 -0
- package/src/_internal/util/vs/base/common/filters.ts +928 -0
- package/src/_internal/util/vs/base/common/functional.ts +34 -0
- package/src/_internal/util/vs/base/common/glob.ts +839 -0
- package/src/_internal/util/vs/base/common/hash.ts +326 -0
- package/src/_internal/util/vs/base/common/htmlContent.ts +212 -0
- package/src/_internal/util/vs/base/common/iconLabels.ts +118 -0
- package/src/_internal/util/vs/base/common/iterator.ts +196 -0
- package/src/_internal/util/vs/base/common/lazy.ts +59 -0
- package/src/_internal/util/vs/base/common/lifecycle.ts +845 -0
- package/src/_internal/util/vs/base/common/linkedList.ts +144 -0
- package/src/_internal/util/vs/base/common/map.ts +954 -0
- package/src/_internal/util/vs/base/common/marshallingIds.ts +35 -0
- package/src/_internal/util/vs/base/common/mime.ts +136 -0
- package/src/_internal/util/vs/base/common/naturalLanguage/korean.ts +425 -0
- package/src/_internal/util/vs/base/common/network.ts +429 -0
- package/src/_internal/util/vs/base/common/numbers.ts +166 -0
- package/src/_internal/util/vs/base/common/objects.ts +242 -0
- package/src/_internal/util/vs/base/common/observable.ts +10 -0
- package/src/_internal/util/vs/base/common/observableInternal/base.ts +208 -0
- package/src/_internal/util/vs/base/common/observableInternal/changeTracker.ts +96 -0
- package/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.ts +9 -0
- package/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.ts +12 -0
- package/src/_internal/util/vs/base/common/observableInternal/debugLocation.ts +88 -0
- package/src/_internal/util/vs/base/common/observableInternal/debugName.ts +150 -0
- package/src/_internal/util/vs/base/common/observableInternal/experimental/utils.ts +62 -0
- package/src/_internal/util/vs/base/common/observableInternal/index.ts +61 -0
- package/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.ts +388 -0
- package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerApi.d.ts +154 -0
- package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.ts +80 -0
- package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.ts +485 -0
- package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.ts +103 -0
- package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.ts +69 -0
- package/src/_internal/util/vs/base/common/observableInternal/logging/logging.ts +133 -0
- package/src/_internal/util/vs/base/common/observableInternal/map.ts +81 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.ts +172 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.ts +44 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/derived.ts +190 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.ts +445 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.ts +154 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.ts +174 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.ts +67 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.ts +62 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.ts +131 -0
- package/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.ts +37 -0
- package/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.ts +188 -0
- package/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.ts +256 -0
- package/src/_internal/util/vs/base/common/observableInternal/set.ts +78 -0
- package/src/_internal/util/vs/base/common/observableInternal/transaction.ts +115 -0
- package/src/_internal/util/vs/base/common/observableInternal/utils/promise.ts +129 -0
- package/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.ts +65 -0
- package/src/_internal/util/vs/base/common/observableInternal/utils/utils.ts +281 -0
- package/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.ts +101 -0
- package/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.ts +31 -0
- package/src/_internal/util/vs/base/common/path.ts +1591 -0
- package/src/_internal/util/vs/base/common/platform.ts +282 -0
- package/src/_internal/util/vs/base/common/process.ts +78 -0
- package/src/_internal/util/vs/base/common/resources.ts +446 -0
- package/src/_internal/util/vs/base/common/sequence.ts +36 -0
- package/src/_internal/util/vs/base/common/sseParser.ts +247 -0
- package/src/_internal/util/vs/base/common/stopwatch.ts +43 -0
- package/src/_internal/util/vs/base/common/stream.ts +792 -0
- package/src/_internal/util/vs/base/common/strings.ts +1364 -0
- package/src/_internal/util/vs/base/common/symbols.ts +11 -0
- package/src/_internal/util/vs/base/common/themables.ts +106 -0
- package/src/_internal/util/vs/base/common/types.ts +345 -0
- package/src/_internal/util/vs/base/common/uint.ts +61 -0
- package/src/_internal/util/vs/base/common/uri.ts +752 -0
- package/src/_internal/util/vs/base/common/uuid.ts +72 -0
- package/src/_internal/util/vs/base-common.d.ts +42 -0
- package/src/_internal/util/vs/editor/common/core/editOperation.ts +62 -0
- package/src/_internal/util/vs/editor/common/core/edits/edit.ts +399 -0
- package/src/_internal/util/vs/editor/common/core/edits/lineEdit.ts +414 -0
- package/src/_internal/util/vs/editor/common/core/edits/stringEdit.ts +568 -0
- package/src/_internal/util/vs/editor/common/core/edits/textEdit.ts +411 -0
- package/src/_internal/util/vs/editor/common/core/position.ts +186 -0
- package/src/_internal/util/vs/editor/common/core/range.ts +519 -0
- package/src/_internal/util/vs/editor/common/core/ranges/lineRange.ts +416 -0
- package/src/_internal/util/vs/editor/common/core/ranges/offsetRange.ts +275 -0
- package/src/_internal/util/vs/editor/common/core/text/abstractText.ts +127 -0
- package/src/_internal/util/vs/editor/common/core/text/positionToOffset.ts +26 -0
- package/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.ts +144 -0
- package/src/_internal/util/vs/editor/common/core/text/textLength.ts +150 -0
- package/src/_internal/util/vs/editor/common/core/wordHelper.ts +177 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.ts +210 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.ts +109 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.ts +178 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.ts +331 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.ts +273 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.ts +475 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.ts +47 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.ts +248 -0
- package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.ts +76 -0
- package/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.ts +693 -0
- package/src/_internal/util/vs/editor/common/diff/linesDiffComputer.ts +61 -0
- package/src/_internal/util/vs/editor/common/diff/rangeMapping.ts +418 -0
- package/src/_internal/util/vs/editor/common/model/prefixSumComputer.ts +304 -0
- package/src/_internal/util/vs/nls.messages.ts +21 -0
- package/src/_internal/util/vs/nls.ts +243 -0
- package/src/_internal/util/vs/platform/instantiation/common/descriptors.ts +23 -0
- package/src/_internal/util/vs/platform/instantiation/common/graph.ts +113 -0
- package/src/_internal/util/vs/platform/instantiation/common/instantiation.ts +127 -0
- package/src/_internal/util/vs/platform/instantiation/common/instantiationService.ts +483 -0
- package/src/_internal/util/vs/platform/instantiation/common/serviceCollection.ts +34 -0
- package/src/_internal/util/vs/vscode-globals-nls.d.ts +42 -0
- package/src/_internal/util/vs/vscode-globals-product.d.ts +35 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.ts +109 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.ts +34 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/location.ts +51 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.ts +83 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.ts +296 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/position.ts +195 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/range.ts +167 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.ts +94 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.ts +103 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.ts +44 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.ts +89 -0
- package/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.ts +99 -0
- package/src/_internal/vscodeTypes.ts +100 -0
- package/src/main.ts +207 -0
- package/src/package.json +4063 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { URI } from './uri';
|
|
2
|
+
export declare namespace Schemas {
|
|
3
|
+
/**
|
|
4
|
+
* A schema that is used for models that exist in memory
|
|
5
|
+
* only and that have no correspondence on a server or such.
|
|
6
|
+
*/
|
|
7
|
+
const inMemory = "inmemory";
|
|
8
|
+
/**
|
|
9
|
+
* A schema that is used for setting files
|
|
10
|
+
*/
|
|
11
|
+
const vscode = "vscode";
|
|
12
|
+
/**
|
|
13
|
+
* A schema that is used for internal private files
|
|
14
|
+
*/
|
|
15
|
+
const internal = "private";
|
|
16
|
+
/**
|
|
17
|
+
* A walk-through document.
|
|
18
|
+
*/
|
|
19
|
+
const walkThrough = "walkThrough";
|
|
20
|
+
/**
|
|
21
|
+
* An embedded code snippet.
|
|
22
|
+
*/
|
|
23
|
+
const walkThroughSnippet = "walkThroughSnippet";
|
|
24
|
+
const http = "http";
|
|
25
|
+
const https = "https";
|
|
26
|
+
const file = "file";
|
|
27
|
+
const mailto = "mailto";
|
|
28
|
+
const untitled = "untitled";
|
|
29
|
+
const data = "data";
|
|
30
|
+
const command = "command";
|
|
31
|
+
const vscodeRemote = "vscode-remote";
|
|
32
|
+
const vscodeRemoteResource = "vscode-remote-resource";
|
|
33
|
+
const vscodeManagedRemoteResource = "vscode-managed-remote-resource";
|
|
34
|
+
const vscodeUserData = "vscode-userdata";
|
|
35
|
+
const vscodeCustomEditor = "vscode-custom-editor";
|
|
36
|
+
const vscodeNotebookCell = "vscode-notebook-cell";
|
|
37
|
+
const vscodeNotebookCellMetadata = "vscode-notebook-cell-metadata";
|
|
38
|
+
const vscodeNotebookCellMetadataDiff = "vscode-notebook-cell-metadata-diff";
|
|
39
|
+
const vscodeNotebookCellOutput = "vscode-notebook-cell-output";
|
|
40
|
+
const vscodeNotebookCellOutputDiff = "vscode-notebook-cell-output-diff";
|
|
41
|
+
const vscodeNotebookMetadata = "vscode-notebook-metadata";
|
|
42
|
+
const vscodeInteractiveInput = "vscode-interactive-input";
|
|
43
|
+
const vscodeSettings = "vscode-settings";
|
|
44
|
+
const vscodeWorkspaceTrust = "vscode-workspace-trust";
|
|
45
|
+
const vscodeTerminal = "vscode-terminal";
|
|
46
|
+
/** Scheme used for code blocks in chat. */
|
|
47
|
+
const vscodeChatCodeBlock = "vscode-chat-code-block";
|
|
48
|
+
/** Scheme used for LHS of code compare (aka diff) blocks in chat. */
|
|
49
|
+
const vscodeChatCodeCompareBlock = "vscode-chat-code-compare-block";
|
|
50
|
+
/** Scheme used for the chat input editor. */
|
|
51
|
+
const vscodeChatEditor = "vscode-chat-editor";
|
|
52
|
+
/** Scheme used for the chat input part */
|
|
53
|
+
const vscodeChatInput = "chatSessionInput";
|
|
54
|
+
/** Scheme for chat session content */
|
|
55
|
+
const vscodeChatSession = "vscode-chat-session";
|
|
56
|
+
/**
|
|
57
|
+
* Scheme used internally for webviews that aren't linked to a resource (i.e. not custom editors)
|
|
58
|
+
*/
|
|
59
|
+
const webviewPanel = "webview-panel";
|
|
60
|
+
/**
|
|
61
|
+
* Scheme used for loading the wrapper html and script in webviews.
|
|
62
|
+
*/
|
|
63
|
+
const vscodeWebview = "vscode-webview";
|
|
64
|
+
/**
|
|
65
|
+
* Scheme used for extension pages
|
|
66
|
+
*/
|
|
67
|
+
const extension = "extension";
|
|
68
|
+
/**
|
|
69
|
+
* Scheme used as a replacement of `file` scheme to load
|
|
70
|
+
* files with our custom protocol handler (desktop only).
|
|
71
|
+
*/
|
|
72
|
+
const vscodeFileResource = "vscode-file";
|
|
73
|
+
/**
|
|
74
|
+
* Scheme used for temporary resources
|
|
75
|
+
*/
|
|
76
|
+
const tmp = "tmp";
|
|
77
|
+
/**
|
|
78
|
+
* Scheme used vs live share
|
|
79
|
+
*/
|
|
80
|
+
const vsls = "vsls";
|
|
81
|
+
/**
|
|
82
|
+
* Scheme used for the Source Control commit input's text document
|
|
83
|
+
*/
|
|
84
|
+
const vscodeSourceControl = "vscode-scm";
|
|
85
|
+
/**
|
|
86
|
+
* Scheme used for input box for creating comments.
|
|
87
|
+
*/
|
|
88
|
+
const commentsInput = "comment";
|
|
89
|
+
/**
|
|
90
|
+
* Scheme used for special rendering of settings in the release notes
|
|
91
|
+
*/
|
|
92
|
+
const codeSetting = "code-setting";
|
|
93
|
+
/**
|
|
94
|
+
* Scheme used for output panel resources
|
|
95
|
+
*/
|
|
96
|
+
const outputChannel = "output";
|
|
97
|
+
/**
|
|
98
|
+
* Scheme used for the accessible view
|
|
99
|
+
*/
|
|
100
|
+
const accessibleView = "accessible-view";
|
|
101
|
+
/**
|
|
102
|
+
* Used for snapshots of chat edits
|
|
103
|
+
*/
|
|
104
|
+
const chatEditingSnapshotScheme = "chat-editing-snapshot-text-model";
|
|
105
|
+
const chatEditingModel = "chat-editing-text-model";
|
|
106
|
+
}
|
|
107
|
+
export declare function matchesScheme(target: URI | string, scheme: string): boolean;
|
|
108
|
+
export declare function matchesSomeScheme(target: URI | string, ...schemes: string[]): boolean;
|
|
109
|
+
export declare const connectionTokenCookieName = "vscode-tkn";
|
|
110
|
+
export declare const connectionTokenQueryName = "tkn";
|
|
111
|
+
declare class RemoteAuthoritiesImpl {
|
|
112
|
+
private readonly _hosts;
|
|
113
|
+
private readonly _ports;
|
|
114
|
+
private readonly _connectionTokens;
|
|
115
|
+
private _preferredWebSchema;
|
|
116
|
+
private _delegate;
|
|
117
|
+
private _serverRootPath;
|
|
118
|
+
setPreferredWebSchema(schema: 'http' | 'https'): void;
|
|
119
|
+
setDelegate(delegate: (uri: URI) => URI): void;
|
|
120
|
+
setServerRootPath(product: {
|
|
121
|
+
quality?: string;
|
|
122
|
+
commit?: string;
|
|
123
|
+
}, serverBasePath: string | undefined): void;
|
|
124
|
+
getServerRootPath(): string;
|
|
125
|
+
private get _remoteResourcesPath();
|
|
126
|
+
set(authority: string, host: string, port: number): void;
|
|
127
|
+
setConnectionToken(authority: string, connectionToken: string): void;
|
|
128
|
+
getPreferredWebSchema(): 'http' | 'https';
|
|
129
|
+
rewrite(uri: URI): URI;
|
|
130
|
+
}
|
|
131
|
+
export declare const RemoteAuthorities: RemoteAuthoritiesImpl;
|
|
132
|
+
export declare function getServerProductSegment(product: {
|
|
133
|
+
quality?: string;
|
|
134
|
+
commit?: string;
|
|
135
|
+
}): string;
|
|
136
|
+
/**
|
|
137
|
+
* A string pointing to a path inside the app. It should not begin with ./ or ../
|
|
138
|
+
*/
|
|
139
|
+
export type AppResourcePath = (`a${string}` | `b${string}` | `c${string}` | `d${string}` | `e${string}` | `f${string}` | `g${string}` | `h${string}` | `i${string}` | `j${string}` | `k${string}` | `l${string}` | `m${string}` | `n${string}` | `o${string}` | `p${string}` | `q${string}` | `r${string}` | `s${string}` | `t${string}` | `u${string}` | `v${string}` | `w${string}` | `x${string}` | `y${string}` | `z${string}`);
|
|
140
|
+
export declare const builtinExtensionsPath: AppResourcePath;
|
|
141
|
+
export declare const nodeModulesPath: AppResourcePath;
|
|
142
|
+
export declare const nodeModulesAsarPath: AppResourcePath;
|
|
143
|
+
export declare const nodeModulesAsarUnpackedPath: AppResourcePath;
|
|
144
|
+
export declare const VSCODE_AUTHORITY = "vscode-app";
|
|
145
|
+
declare class FileAccessImpl {
|
|
146
|
+
private static readonly FALLBACK_AUTHORITY;
|
|
147
|
+
/**
|
|
148
|
+
* Returns a URI to use in contexts where the browser is responsible
|
|
149
|
+
* for loading (e.g. fetch()) or when used within the DOM.
|
|
150
|
+
*
|
|
151
|
+
* **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context.
|
|
152
|
+
*/
|
|
153
|
+
asBrowserUri(resourcePath: AppResourcePath | ''): URI;
|
|
154
|
+
/**
|
|
155
|
+
* Returns a URI to use in contexts where the browser is responsible
|
|
156
|
+
* for loading (e.g. fetch()) or when used within the DOM.
|
|
157
|
+
*
|
|
158
|
+
* **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context.
|
|
159
|
+
*/
|
|
160
|
+
uriToBrowserUri(uri: URI): URI;
|
|
161
|
+
/**
|
|
162
|
+
* Returns the `file` URI to use in contexts where node.js
|
|
163
|
+
* is responsible for loading.
|
|
164
|
+
*/
|
|
165
|
+
asFileUri(resourcePath: AppResourcePath | ''): URI;
|
|
166
|
+
/**
|
|
167
|
+
* Returns the `file` URI to use in contexts where node.js
|
|
168
|
+
* is responsible for loading.
|
|
169
|
+
*/
|
|
170
|
+
uriToFileUri(uri: URI): URI;
|
|
171
|
+
private toUri;
|
|
172
|
+
}
|
|
173
|
+
export declare const FileAccess: FileAccessImpl;
|
|
174
|
+
export declare const CacheControlheaders: Record<string, string>;
|
|
175
|
+
export declare const DocumentPolicyheaders: Record<string, string>;
|
|
176
|
+
export declare namespace COI {
|
|
177
|
+
const CoopAndCoep: Readonly<Record<string, string> | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* Extract desired headers from `vscode-coi` invocation
|
|
180
|
+
*/
|
|
181
|
+
function getHeadersFromQuery(url: string | URI | URL): Record<string, string> | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Add the `vscode-coi` query attribute based on wanting `COOP` and `COEP`. Will be a noop when `crossOriginIsolated`
|
|
184
|
+
* isn't enabled the current context
|
|
185
|
+
*/
|
|
186
|
+
function addSearchParam(urlOrSearch: URLSearchParams | Record<string, string>, coop: boolean, coep: boolean): void;
|
|
187
|
+
}
|
|
188
|
+
export {};
|
|
189
|
+
//# sourceMappingURL=network.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../../../../../../src/_internal/util/vs/base/common/network.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5B,yBAAiB,OAAO,CAAC;IAExB;;;OAGG;IACI,MAAM,QAAQ,aAAa,CAAC;IAEnC;;OAEG;IACI,MAAM,MAAM,WAAW,CAAC;IAE/B;;OAEG;IACI,MAAM,QAAQ,YAAY,CAAC;IAElC;;OAEG;IACI,MAAM,WAAW,gBAAgB,CAAC;IAEzC;;OAEG;IACI,MAAM,kBAAkB,uBAAuB,CAAC;IAEhD,MAAM,IAAI,SAAS,CAAC;IAEpB,MAAM,KAAK,UAAU,CAAC;IAEtB,MAAM,IAAI,SAAS,CAAC;IAEpB,MAAM,MAAM,WAAW,CAAC;IAExB,MAAM,QAAQ,aAAa,CAAC;IAE5B,MAAM,IAAI,SAAS,CAAC;IAEpB,MAAM,OAAO,YAAY,CAAC;IAE1B,MAAM,YAAY,kBAAkB,CAAC;IAErC,MAAM,oBAAoB,2BAA2B,CAAC;IAEtD,MAAM,2BAA2B,mCAAmC,CAAC;IAErE,MAAM,cAAc,oBAAoB,CAAC;IAEzC,MAAM,kBAAkB,yBAAyB,CAAC;IAElD,MAAM,kBAAkB,yBAAyB,CAAC;IAClD,MAAM,0BAA0B,kCAAkC,CAAC;IACnE,MAAM,8BAA8B,uCAAuC,CAAC;IAC5E,MAAM,wBAAwB,gCAAgC,CAAC;IAC/D,MAAM,4BAA4B,qCAAqC,CAAC;IACxE,MAAM,sBAAsB,6BAA6B,CAAC;IAC1D,MAAM,sBAAsB,6BAA6B,CAAC;IAE1D,MAAM,cAAc,oBAAoB,CAAC;IAEzC,MAAM,oBAAoB,2BAA2B,CAAC;IAEtD,MAAM,cAAc,oBAAoB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,WAAW,8CAAqC,CAAC;IAI9D;;OAEG;IACH,SAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAc/F;IAED;;;OAGG;IACH,SAAgB,cAAc,CAAC,WAAW,EAAE,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,CAWxH;CACD"}
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//!!! DO NOT modify, this file was COPIED from 'microsoft/vscode'
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.COI = exports.DocumentPolicyheaders = exports.CacheControlheaders = exports.FileAccess = exports.VSCODE_AUTHORITY = exports.nodeModulesAsarUnpackedPath = exports.nodeModulesAsarPath = exports.nodeModulesPath = exports.builtinExtensionsPath = exports.RemoteAuthorities = exports.connectionTokenQueryName = exports.connectionTokenCookieName = exports.Schemas = void 0;
|
|
38
|
+
exports.matchesScheme = matchesScheme;
|
|
39
|
+
exports.matchesSomeScheme = matchesSomeScheme;
|
|
40
|
+
exports.getServerProductSegment = getServerProductSegment;
|
|
41
|
+
/*---------------------------------------------------------------------------------------------
|
|
42
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
43
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
44
|
+
*--------------------------------------------------------------------------------------------*/
|
|
45
|
+
const errors = __importStar(require("./errors"));
|
|
46
|
+
const platform = __importStar(require("./platform"));
|
|
47
|
+
const strings_1 = require("./strings");
|
|
48
|
+
const uri_1 = require("./uri");
|
|
49
|
+
const paths = __importStar(require("./path"));
|
|
50
|
+
var Schemas;
|
|
51
|
+
(function (Schemas) {
|
|
52
|
+
/**
|
|
53
|
+
* A schema that is used for models that exist in memory
|
|
54
|
+
* only and that have no correspondence on a server or such.
|
|
55
|
+
*/
|
|
56
|
+
Schemas.inMemory = 'inmemory';
|
|
57
|
+
/**
|
|
58
|
+
* A schema that is used for setting files
|
|
59
|
+
*/
|
|
60
|
+
Schemas.vscode = 'vscode';
|
|
61
|
+
/**
|
|
62
|
+
* A schema that is used for internal private files
|
|
63
|
+
*/
|
|
64
|
+
Schemas.internal = 'private';
|
|
65
|
+
/**
|
|
66
|
+
* A walk-through document.
|
|
67
|
+
*/
|
|
68
|
+
Schemas.walkThrough = 'walkThrough';
|
|
69
|
+
/**
|
|
70
|
+
* An embedded code snippet.
|
|
71
|
+
*/
|
|
72
|
+
Schemas.walkThroughSnippet = 'walkThroughSnippet';
|
|
73
|
+
Schemas.http = 'http';
|
|
74
|
+
Schemas.https = 'https';
|
|
75
|
+
Schemas.file = 'file';
|
|
76
|
+
Schemas.mailto = 'mailto';
|
|
77
|
+
Schemas.untitled = 'untitled';
|
|
78
|
+
Schemas.data = 'data';
|
|
79
|
+
Schemas.command = 'command';
|
|
80
|
+
Schemas.vscodeRemote = 'vscode-remote';
|
|
81
|
+
Schemas.vscodeRemoteResource = 'vscode-remote-resource';
|
|
82
|
+
Schemas.vscodeManagedRemoteResource = 'vscode-managed-remote-resource';
|
|
83
|
+
Schemas.vscodeUserData = 'vscode-userdata';
|
|
84
|
+
Schemas.vscodeCustomEditor = 'vscode-custom-editor';
|
|
85
|
+
Schemas.vscodeNotebookCell = 'vscode-notebook-cell';
|
|
86
|
+
Schemas.vscodeNotebookCellMetadata = 'vscode-notebook-cell-metadata';
|
|
87
|
+
Schemas.vscodeNotebookCellMetadataDiff = 'vscode-notebook-cell-metadata-diff';
|
|
88
|
+
Schemas.vscodeNotebookCellOutput = 'vscode-notebook-cell-output';
|
|
89
|
+
Schemas.vscodeNotebookCellOutputDiff = 'vscode-notebook-cell-output-diff';
|
|
90
|
+
Schemas.vscodeNotebookMetadata = 'vscode-notebook-metadata';
|
|
91
|
+
Schemas.vscodeInteractiveInput = 'vscode-interactive-input';
|
|
92
|
+
Schemas.vscodeSettings = 'vscode-settings';
|
|
93
|
+
Schemas.vscodeWorkspaceTrust = 'vscode-workspace-trust';
|
|
94
|
+
Schemas.vscodeTerminal = 'vscode-terminal';
|
|
95
|
+
/** Scheme used for code blocks in chat. */
|
|
96
|
+
Schemas.vscodeChatCodeBlock = 'vscode-chat-code-block';
|
|
97
|
+
/** Scheme used for LHS of code compare (aka diff) blocks in chat. */
|
|
98
|
+
Schemas.vscodeChatCodeCompareBlock = 'vscode-chat-code-compare-block';
|
|
99
|
+
/** Scheme used for the chat input editor. */
|
|
100
|
+
Schemas.vscodeChatEditor = 'vscode-chat-editor';
|
|
101
|
+
/** Scheme used for the chat input part */
|
|
102
|
+
Schemas.vscodeChatInput = 'chatSessionInput';
|
|
103
|
+
/** Scheme for chat session content */
|
|
104
|
+
Schemas.vscodeChatSession = 'vscode-chat-session';
|
|
105
|
+
/**
|
|
106
|
+
* Scheme used internally for webviews that aren't linked to a resource (i.e. not custom editors)
|
|
107
|
+
*/
|
|
108
|
+
Schemas.webviewPanel = 'webview-panel';
|
|
109
|
+
/**
|
|
110
|
+
* Scheme used for loading the wrapper html and script in webviews.
|
|
111
|
+
*/
|
|
112
|
+
Schemas.vscodeWebview = 'vscode-webview';
|
|
113
|
+
/**
|
|
114
|
+
* Scheme used for extension pages
|
|
115
|
+
*/
|
|
116
|
+
Schemas.extension = 'extension';
|
|
117
|
+
/**
|
|
118
|
+
* Scheme used as a replacement of `file` scheme to load
|
|
119
|
+
* files with our custom protocol handler (desktop only).
|
|
120
|
+
*/
|
|
121
|
+
Schemas.vscodeFileResource = 'vscode-file';
|
|
122
|
+
/**
|
|
123
|
+
* Scheme used for temporary resources
|
|
124
|
+
*/
|
|
125
|
+
Schemas.tmp = 'tmp';
|
|
126
|
+
/**
|
|
127
|
+
* Scheme used vs live share
|
|
128
|
+
*/
|
|
129
|
+
Schemas.vsls = 'vsls';
|
|
130
|
+
/**
|
|
131
|
+
* Scheme used for the Source Control commit input's text document
|
|
132
|
+
*/
|
|
133
|
+
Schemas.vscodeSourceControl = 'vscode-scm';
|
|
134
|
+
/**
|
|
135
|
+
* Scheme used for input box for creating comments.
|
|
136
|
+
*/
|
|
137
|
+
Schemas.commentsInput = 'comment';
|
|
138
|
+
/**
|
|
139
|
+
* Scheme used for special rendering of settings in the release notes
|
|
140
|
+
*/
|
|
141
|
+
Schemas.codeSetting = 'code-setting';
|
|
142
|
+
/**
|
|
143
|
+
* Scheme used for output panel resources
|
|
144
|
+
*/
|
|
145
|
+
Schemas.outputChannel = 'output';
|
|
146
|
+
/**
|
|
147
|
+
* Scheme used for the accessible view
|
|
148
|
+
*/
|
|
149
|
+
Schemas.accessibleView = 'accessible-view';
|
|
150
|
+
/**
|
|
151
|
+
* Used for snapshots of chat edits
|
|
152
|
+
*/
|
|
153
|
+
Schemas.chatEditingSnapshotScheme = 'chat-editing-snapshot-text-model';
|
|
154
|
+
Schemas.chatEditingModel = 'chat-editing-text-model';
|
|
155
|
+
})(Schemas || (exports.Schemas = Schemas = {}));
|
|
156
|
+
function matchesScheme(target, scheme) {
|
|
157
|
+
if (uri_1.URI.isUri(target)) {
|
|
158
|
+
return (0, strings_1.equalsIgnoreCase)(target.scheme, scheme);
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
return (0, strings_1.startsWithIgnoreCase)(target, scheme + ':');
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
function matchesSomeScheme(target, ...schemes) {
|
|
165
|
+
return schemes.some(scheme => matchesScheme(target, scheme));
|
|
166
|
+
}
|
|
167
|
+
exports.connectionTokenCookieName = 'vscode-tkn';
|
|
168
|
+
exports.connectionTokenQueryName = 'tkn';
|
|
169
|
+
class RemoteAuthoritiesImpl {
|
|
170
|
+
constructor() {
|
|
171
|
+
this._hosts = Object.create(null);
|
|
172
|
+
this._ports = Object.create(null);
|
|
173
|
+
this._connectionTokens = Object.create(null);
|
|
174
|
+
this._preferredWebSchema = 'http';
|
|
175
|
+
this._delegate = null;
|
|
176
|
+
this._serverRootPath = '/';
|
|
177
|
+
}
|
|
178
|
+
setPreferredWebSchema(schema) {
|
|
179
|
+
this._preferredWebSchema = schema;
|
|
180
|
+
}
|
|
181
|
+
setDelegate(delegate) {
|
|
182
|
+
this._delegate = delegate;
|
|
183
|
+
}
|
|
184
|
+
setServerRootPath(product, serverBasePath) {
|
|
185
|
+
this._serverRootPath = paths.posix.join(serverBasePath ?? '/', getServerProductSegment(product));
|
|
186
|
+
}
|
|
187
|
+
getServerRootPath() {
|
|
188
|
+
return this._serverRootPath;
|
|
189
|
+
}
|
|
190
|
+
get _remoteResourcesPath() {
|
|
191
|
+
return paths.posix.join(this._serverRootPath, Schemas.vscodeRemoteResource);
|
|
192
|
+
}
|
|
193
|
+
set(authority, host, port) {
|
|
194
|
+
this._hosts[authority] = host;
|
|
195
|
+
this._ports[authority] = port;
|
|
196
|
+
}
|
|
197
|
+
setConnectionToken(authority, connectionToken) {
|
|
198
|
+
this._connectionTokens[authority] = connectionToken;
|
|
199
|
+
}
|
|
200
|
+
getPreferredWebSchema() {
|
|
201
|
+
return this._preferredWebSchema;
|
|
202
|
+
}
|
|
203
|
+
rewrite(uri) {
|
|
204
|
+
if (this._delegate) {
|
|
205
|
+
try {
|
|
206
|
+
return this._delegate(uri);
|
|
207
|
+
}
|
|
208
|
+
catch (err) {
|
|
209
|
+
errors.onUnexpectedError(err);
|
|
210
|
+
return uri;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
const authority = uri.authority;
|
|
214
|
+
let host = this._hosts[authority];
|
|
215
|
+
if (host && host.indexOf(':') !== -1 && host.indexOf('[') === -1) {
|
|
216
|
+
host = `[${host}]`;
|
|
217
|
+
}
|
|
218
|
+
const port = this._ports[authority];
|
|
219
|
+
const connectionToken = this._connectionTokens[authority];
|
|
220
|
+
let query = `path=${encodeURIComponent(uri.path)}`;
|
|
221
|
+
if (typeof connectionToken === 'string') {
|
|
222
|
+
query += `&${exports.connectionTokenQueryName}=${encodeURIComponent(connectionToken)}`;
|
|
223
|
+
}
|
|
224
|
+
return uri_1.URI.from({
|
|
225
|
+
scheme: platform.isWeb ? this._preferredWebSchema : Schemas.vscodeRemoteResource,
|
|
226
|
+
authority: `${host}:${port}`,
|
|
227
|
+
path: this._remoteResourcesPath,
|
|
228
|
+
query
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
exports.RemoteAuthorities = new RemoteAuthoritiesImpl();
|
|
233
|
+
function getServerProductSegment(product) {
|
|
234
|
+
return `${product.quality ?? 'oss'}-${product.commit ?? 'dev'}`;
|
|
235
|
+
}
|
|
236
|
+
exports.builtinExtensionsPath = 'vs/../../extensions';
|
|
237
|
+
exports.nodeModulesPath = 'vs/../../node_modules';
|
|
238
|
+
exports.nodeModulesAsarPath = 'vs/../../node_modules.asar';
|
|
239
|
+
exports.nodeModulesAsarUnpackedPath = 'vs/../../node_modules.asar.unpacked';
|
|
240
|
+
exports.VSCODE_AUTHORITY = 'vscode-app';
|
|
241
|
+
class FileAccessImpl {
|
|
242
|
+
static { this.FALLBACK_AUTHORITY = exports.VSCODE_AUTHORITY; }
|
|
243
|
+
/**
|
|
244
|
+
* Returns a URI to use in contexts where the browser is responsible
|
|
245
|
+
* for loading (e.g. fetch()) or when used within the DOM.
|
|
246
|
+
*
|
|
247
|
+
* **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context.
|
|
248
|
+
*/
|
|
249
|
+
asBrowserUri(resourcePath) {
|
|
250
|
+
const uri = this.toUri(resourcePath);
|
|
251
|
+
return this.uriToBrowserUri(uri);
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Returns a URI to use in contexts where the browser is responsible
|
|
255
|
+
* for loading (e.g. fetch()) or when used within the DOM.
|
|
256
|
+
*
|
|
257
|
+
* **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context.
|
|
258
|
+
*/
|
|
259
|
+
uriToBrowserUri(uri) {
|
|
260
|
+
// Handle remote URIs via `RemoteAuthorities`
|
|
261
|
+
if (uri.scheme === Schemas.vscodeRemote) {
|
|
262
|
+
return exports.RemoteAuthorities.rewrite(uri);
|
|
263
|
+
}
|
|
264
|
+
// Convert to `vscode-file` resource..
|
|
265
|
+
if (
|
|
266
|
+
// ...only ever for `file` resources
|
|
267
|
+
uri.scheme === Schemas.file &&
|
|
268
|
+
(
|
|
269
|
+
// ...and we run in native environments
|
|
270
|
+
platform.isNative ||
|
|
271
|
+
// ...or web worker extensions on desktop
|
|
272
|
+
(platform.webWorkerOrigin === `${Schemas.vscodeFileResource}://${FileAccessImpl.FALLBACK_AUTHORITY}`))) {
|
|
273
|
+
return uri.with({
|
|
274
|
+
scheme: Schemas.vscodeFileResource,
|
|
275
|
+
// We need to provide an authority here so that it can serve
|
|
276
|
+
// as origin for network and loading matters in chromium.
|
|
277
|
+
// If the URI is not coming with an authority already, we
|
|
278
|
+
// add our own
|
|
279
|
+
authority: uri.authority || FileAccessImpl.FALLBACK_AUTHORITY,
|
|
280
|
+
query: null,
|
|
281
|
+
fragment: null
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
return uri;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Returns the `file` URI to use in contexts where node.js
|
|
288
|
+
* is responsible for loading.
|
|
289
|
+
*/
|
|
290
|
+
asFileUri(resourcePath) {
|
|
291
|
+
const uri = this.toUri(resourcePath);
|
|
292
|
+
return this.uriToFileUri(uri);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Returns the `file` URI to use in contexts where node.js
|
|
296
|
+
* is responsible for loading.
|
|
297
|
+
*/
|
|
298
|
+
uriToFileUri(uri) {
|
|
299
|
+
// Only convert the URI if it is `vscode-file:` scheme
|
|
300
|
+
if (uri.scheme === Schemas.vscodeFileResource) {
|
|
301
|
+
return uri.with({
|
|
302
|
+
scheme: Schemas.file,
|
|
303
|
+
// Only preserve the `authority` if it is different from
|
|
304
|
+
// our fallback authority. This ensures we properly preserve
|
|
305
|
+
// Windows UNC paths that come with their own authority.
|
|
306
|
+
authority: uri.authority !== FileAccessImpl.FALLBACK_AUTHORITY ? uri.authority : null,
|
|
307
|
+
query: null,
|
|
308
|
+
fragment: null
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
return uri;
|
|
312
|
+
}
|
|
313
|
+
toUri(uriOrModule) {
|
|
314
|
+
if (uri_1.URI.isUri(uriOrModule)) {
|
|
315
|
+
return uriOrModule;
|
|
316
|
+
}
|
|
317
|
+
if (globalThis._VSCODE_FILE_ROOT) {
|
|
318
|
+
const rootUriOrPath = globalThis._VSCODE_FILE_ROOT;
|
|
319
|
+
// File URL (with scheme)
|
|
320
|
+
if (/^\w[\w\d+.-]*:\/\//.test(rootUriOrPath)) {
|
|
321
|
+
return uri_1.URI.joinPath(uri_1.URI.parse(rootUriOrPath, true), uriOrModule);
|
|
322
|
+
}
|
|
323
|
+
// File Path (no scheme)
|
|
324
|
+
const modulePath = paths.join(rootUriOrPath, uriOrModule);
|
|
325
|
+
return uri_1.URI.file(modulePath);
|
|
326
|
+
}
|
|
327
|
+
throw new Error('Cannot determine URI for module id!');
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
exports.FileAccess = new FileAccessImpl();
|
|
331
|
+
exports.CacheControlheaders = Object.freeze({
|
|
332
|
+
'Cache-Control': 'no-cache, no-store'
|
|
333
|
+
});
|
|
334
|
+
exports.DocumentPolicyheaders = Object.freeze({
|
|
335
|
+
'Document-Policy': 'include-js-call-stacks-in-crash-reports'
|
|
336
|
+
});
|
|
337
|
+
var COI;
|
|
338
|
+
(function (COI) {
|
|
339
|
+
const coiHeaders = new Map([
|
|
340
|
+
['1', { 'Cross-Origin-Opener-Policy': 'same-origin' }],
|
|
341
|
+
['2', { 'Cross-Origin-Embedder-Policy': 'require-corp' }],
|
|
342
|
+
['3', { 'Cross-Origin-Opener-Policy': 'same-origin', 'Cross-Origin-Embedder-Policy': 'require-corp' }],
|
|
343
|
+
]);
|
|
344
|
+
COI.CoopAndCoep = Object.freeze(coiHeaders.get('3'));
|
|
345
|
+
const coiSearchParamName = 'vscode-coi';
|
|
346
|
+
/**
|
|
347
|
+
* Extract desired headers from `vscode-coi` invocation
|
|
348
|
+
*/
|
|
349
|
+
function getHeadersFromQuery(url) {
|
|
350
|
+
let params;
|
|
351
|
+
if (typeof url === 'string') {
|
|
352
|
+
params = new URL(url).searchParams;
|
|
353
|
+
}
|
|
354
|
+
else if (url instanceof URL) {
|
|
355
|
+
params = url.searchParams;
|
|
356
|
+
}
|
|
357
|
+
else if (uri_1.URI.isUri(url)) {
|
|
358
|
+
params = new URL(url.toString(true)).searchParams;
|
|
359
|
+
}
|
|
360
|
+
const value = params?.get(coiSearchParamName);
|
|
361
|
+
if (!value) {
|
|
362
|
+
return undefined;
|
|
363
|
+
}
|
|
364
|
+
return coiHeaders.get(value);
|
|
365
|
+
}
|
|
366
|
+
COI.getHeadersFromQuery = getHeadersFromQuery;
|
|
367
|
+
/**
|
|
368
|
+
* Add the `vscode-coi` query attribute based on wanting `COOP` and `COEP`. Will be a noop when `crossOriginIsolated`
|
|
369
|
+
* isn't enabled the current context
|
|
370
|
+
*/
|
|
371
|
+
function addSearchParam(urlOrSearch, coop, coep) {
|
|
372
|
+
if (!globalThis.crossOriginIsolated) {
|
|
373
|
+
// depends on the current context being COI
|
|
374
|
+
return;
|
|
375
|
+
}
|
|
376
|
+
const value = coop && coep ? '3' : coep ? '2' : '1';
|
|
377
|
+
if (urlOrSearch instanceof URLSearchParams) {
|
|
378
|
+
urlOrSearch.set(coiSearchParamName, value);
|
|
379
|
+
}
|
|
380
|
+
else {
|
|
381
|
+
urlOrSearch[coiSearchParamName] = value;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
COI.addSearchParam = addSearchParam;
|
|
385
|
+
})(COI || (exports.COI = COI = {}));
|
|
386
|
+
//# sourceMappingURL=network.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../../../../../../src/_internal/util/vs/base/common/network.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6JjE,sCAMC;AAED,8CAEC;AA6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QACpC,CAAC;aAAM,IAAI,GAAG,YAAY,GAAG,EAAE,CAAC;YAC/B,MAAM,GAAG,GAAG,CAAC,YAAY,CAAC;QAC3B,CAAC;aAAM,IAAI,SAAG,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,MAAM,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;QACnD,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAC9C,IAAI,CAAC,KAAK,EAAE,CAAC;YACZ,OAAO,SAAS,CAAC;QAClB,CAAC;QACD,OAAO,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAde,uBAAmB,sBAclC,CAAA;IAED;;;OAGG;IACH,SAAgB,cAAc,CAAC,WAAqD,EAAE,IAAa,EAAE,IAAa;QACjH,IAAI,CAAO,UAAW,CAAC,mBAAmB,EAAE,CAAC;YAC5C,2CAA2C;YAC3C,OAAO;QACR,CAAC;QACD,MAAM,KAAK,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;QACpD,IAAI,WAAW,YAAY,eAAe,EAAE,CAAC;YAC5C,WAAW,CAAC,GAAG,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;QAC5C,CAAC;aAAM,CAAC;YACkB,WAAY,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC;QACnE,CAAC;IACF,CAAC;IAXe,kBAAc,iBAW7B,CAAA;AACF,CAAC,EA/CgB,GAAG,mBAAH,GAAG,QA+CnB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare function clamp(value: number, min: number, max: number): number;
|
|
2
|
+
export declare function rot(index: number, modulo: number): number;
|
|
3
|
+
export declare class Counter {
|
|
4
|
+
private _next;
|
|
5
|
+
getNext(): number;
|
|
6
|
+
}
|
|
7
|
+
export declare class MovingAverage {
|
|
8
|
+
private _n;
|
|
9
|
+
private _val;
|
|
10
|
+
update(value: number): number;
|
|
11
|
+
get value(): number;
|
|
12
|
+
}
|
|
13
|
+
export declare class SlidingWindowAverage {
|
|
14
|
+
private _n;
|
|
15
|
+
private _val;
|
|
16
|
+
private readonly _values;
|
|
17
|
+
private _index;
|
|
18
|
+
private _sum;
|
|
19
|
+
constructor(size: number);
|
|
20
|
+
update(value: number): number;
|
|
21
|
+
get value(): number;
|
|
22
|
+
}
|
|
23
|
+
/** Returns whether the point is within the triangle formed by the following 6 x/y point pairs */
|
|
24
|
+
export declare function isPointWithinTriangle(x: number, y: number, ax: number, ay: number, bx: number, by: number, cx: number, cy: number): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Function to get a (pseudo)random integer from a provided `max`...[`min`] range.
|
|
27
|
+
* Both `min` and `max` values are inclusive. The `min` value is optional (defaults to `0`).
|
|
28
|
+
*
|
|
29
|
+
* @throws in the next cases:
|
|
30
|
+
* - if provided `min` or `max` is not a number
|
|
31
|
+
* - if provided `min` or `max` is not finite
|
|
32
|
+
* - if provided `min` is larger than `max` value
|
|
33
|
+
*
|
|
34
|
+
* ## Examples
|
|
35
|
+
*
|
|
36
|
+
* Specifying a `max` value only uses `0` as the `min` value by default:
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* // get a random integer between 0 and 10
|
|
40
|
+
* const randomInt = randomInt(10);
|
|
41
|
+
*
|
|
42
|
+
* assert(
|
|
43
|
+
* randomInt >= 0,
|
|
44
|
+
* 'Should be greater than or equal to 0.',
|
|
45
|
+
* );
|
|
46
|
+
*
|
|
47
|
+
* assert(
|
|
48
|
+
* randomInt <= 10,
|
|
49
|
+
* 'Should be less than or equal to 10.',
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
* * Specifying both `max` and `min` values:
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* // get a random integer between 5 and 8
|
|
56
|
+
* const randomInt = randomInt(8, 5);
|
|
57
|
+
*
|
|
58
|
+
* assert(
|
|
59
|
+
* randomInt >= 5,
|
|
60
|
+
* 'Should be greater than or equal to 5.',
|
|
61
|
+
* );
|
|
62
|
+
*
|
|
63
|
+
* assert(
|
|
64
|
+
* randomInt <= 8,
|
|
65
|
+
* 'Should be less than or equal to 8.',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function randomInt(max: number, min?: number): number;
|
|
70
|
+
export declare function randomChance(p: number): boolean;
|
|
71
|
+
//# sourceMappingURL=numbers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numbers.d.ts","sourceRoot":"","sources":["../../../../../../../src/_internal/util/vs/base/common/numbers.ts"],"names":[],"mappings":"AASA,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzD;AAED,qBAAa,OAAO;IACnB,OAAO,CAAC,KAAK,CAAK;IAElB,OAAO,IAAI,MAAM;CAGjB;AAED,qBAAa,aAAa;IAEzB,OAAO,CAAC,EAAE,CAAK;IACf,OAAO,CAAC,IAAI,CAAK;IAEjB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAM7B,IAAI,KAAK,IAAI,MAAM,CAElB;CACD;AAED,qBAAa,oBAAoB;IAEhC,OAAO,CAAC,EAAE,CAAa;IACvB,OAAO,CAAC,IAAI,CAAK;IAEjB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgB;IACxC,OAAO,CAAC,MAAM,CAAa;IAC3B,OAAO,CAAC,IAAI,CAAK;gBAEL,IAAI,EAAE,MAAM;IAKxB,MAAM,CAA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