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 { AgentSession, type IAgentSessionMetadata } from '../../../../../platform/agentHost/common/agent.js';
import type { ISession } from '../../../../services/sessions/common/session.js';
import { RemoteAgentHostSessionsProvider } from './remoteAgentHostSessionsProvider.js';
/**
* Sessions provider for a Copilot cloud sandbox.
*
* Adds the handling for sessions this client provisioned but the host has not materialized yet:
* Mission Control mints the session id and returns it before the sandbox is even awake, so such a
* session is real, addressable, and unknown to the host all at once.
*/
export class CloudSandboxSessionsProvider extends RemoteAgentHostSessionsProvider {
/**
* Provisional sessions kept out of {@link getSessions} because the caller is still showing a
* placeholder row for them. They stay reachable by resource, so opening one still works.
*/
private readonly _withheldSessions =
_provisionalSessions
rawMeta IAgentSessionMetadata
meta rawMeta
rawId AgentSessionmetasession
_sessionCacherawId
_sessionCacherawId meta
_withheldSessionsrawId
_provisionalSessionsrawId
rawId options announce
_withheldSessionsrawId
session _sessionCacherawId
session optionsannounce
_onDidChangeSessions added session removed changed
rawId ISession
_sessionCacherawId
override ISession
sessions
_withheldSessionssize
sessions
sessionssession _withheldSessionsAgentSessionsessionresource
override rawId
_provisionalSessionsrawId
deadline _provisionalSessionsrawId
deadline Date deadline
_provisionalSessionsrawId
override rawIds ReadonlySet
_provisionalSessionssize
rawId deadline _provisionalSessions
rawIdsrawId
_provisionalSessionsrawId
deadline
_provisionalSessionsrawId Date CloudSandboxSessionsProvider