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 * as fsp from 'fs/promises';
import * as path from 'path';
import type { CloudSessionIds } from '../common/cloudSessionTypes';
const FILE_NAME = 'cloudSessions.json';
/**
* JSON-backed store for cloud session ID mappings.
*
* Persists `{ localSessionId → { cloudSessionId, cloudTaskId } }` to a JSON
* file in globalStorageUri so that mappings survive across VS Code restarts.
* This store is always available regardless of the `chat.localIndex.enabled`
* setting (unlike the SQLite session store).
*
* All writes are fire-and-forget — disk errors are silently swallowed.
* Reads are cached in an in-memory Map for fast lookup.
*/
export class CloudSessionIdStore {
private readonly _filePath: string;
private readonly _map
_loaded
_persistScheduled
_dirEnsured
globalStoragePath
_filePath pathglobalStoragePath
_loaded
_loaded
raw fsp_filePath
parsed raw Record CloudSessionIds
key value Objectparsed
value valuecloudSessionId valuecloudTaskId
_mapkey value
_mapsize
sessionId
_mapsessionId
sessionId CloudSessionIds
_mapsessionId
IterableIterator
_map
sessionId ids CloudSessionIds
_mapsessionId ids
sessionId
existed _mapsessionId
existed
existed
_map
entries id task_id agent_task_id
changed
entry entries
entryagent_task_id
existing _mapentryagent_task_id
existing
_mapentryagent_task_id
cloudSessionId entryid
cloudTaskId entrytask_id entryagent_task_id
changed
entrytask_id existingcloudTaskId entrytask_id
_mapentryagent_task_id
cloudSessionId existingcloudSessionId
cloudTaskId entrytask_id
changed
changed
_persistScheduled
_persistScheduled
_persistScheduled
_dirEnsured
dir path_filePath
fspdir recursive
_dirEnsured
data Record CloudSessionIds
key value _map
datakey value
fsp_filePath data