ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IConfigurationService } from '../../../platform/configuration/common/configurationService';
import picomatch from 'picomatch';
/**
* Session indexing levels for cloud sync.
* - 'local': keep on device only, no remote export
* - 'user': sync to cloud, visible only to the user
* - 'repo_and_user': sync to cloud, visible to repo collaborators
*/
export type SessionIndexingLevel = 'local' | 'user' | 'repo_and_user';
/**
* Manages user preferences for session indexing via VS Code settings.
*
* Two settings control behavior:
* - `chat.localIndex.enabled` (ExP) — enables local
* SQLite tracking and /chronicle commands
* - `chat.sessionSync.enabled` (core setting with enterprise policy) — enables
* cloud upload
*/
export class SessionIndexingPreference {
constructor(
private readonly _configService: IConfigurationService,
) { }
/**
* Get the effective storage level for a given repo.
* - If cloud sync is enabled and repo is not excluded → 'user'
* - Otherwise → 'local'
*/
repoNwo SessionIndexingLevel
repoNwo
repoNwo
_configService
repoNwo
excludePatterns _configService
excludePatterns excludePatternslength
pattern excludePatterns
pattern repoNwo picomatchrepoNwo pattern