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 { isEqualOrParent } from '../../../base/common/resources.js';
import { URI } from '../../../base/common/uri.js';
import { isCustomizationEnabled } from './customizationEnablement.js';
import { CustomizationType, type AgentCustomization, type ClientPluginCustomization, type Customization } from './state/protocol/state.js';
/**
* Computes the effective set of selectable custom agents for a session.
*
* Custom agents live as {@link CustomizationType.Agent | `Agent`} entries
* in each container customization's {@link Customization.children | `children`}
* array. Only the agent host populates `children` (after parsing the
* container). Disabled containers are skipped; containers with an absent
* `children` field are treated as "unknown" (e.g. the host has not finished
* parsing yet) and skipped, while an empty array means "no children
* contributed" and is respected.
*
* The picker is keyed on the agent's stable AgentCustomization.uri;
* duplicates within the session's customization list are coalesced.
*/
sessionCustomizations Customization
AgentCustomization
seen
sessionCustomizations
container sessionCustomizations
containertype CustomizationTypeMcpServer
containertype CustomizationTypePlugin container containertype CustomizationTypeDirectory containerenabled containerchildren
child containerchildren
childtype CustomizationTypeAgent
key childuri
seenkey
seenkey child
result seen
resulta b anamebname auriburi
result
clientCustomizations ClientPluginCustomization
clientAgents AgentCustomization
AgentCustomization
clientCustomizations clientCustomizationslength
clientAgents
clientAgentsagent
agentUri agenturi
plugin clientCustomizationscandidate agentUri candidateuri
plugin plugin
resourceScheme
agents AgentCustomization
sessionAgentUri
storedAgentUri
AgentCustomization
sessionAgentUri
sessionStr sessionAgentUri sessionAgentUri sessionAgentUri
match agentsa auri sessionStr
match
match
storedAgentUri agentsa auri storedAgentUri