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 { dirname } from '../../../../base/common/path.js';
import { basename, extUri, joinPath, relativePath } from '../../../../base/common/resources.js';
import { URI } from '../../../../base/common/uri.js';
import { parseFrontMatter } from '../../../../base/common/yaml.js';
import { SYNCED_CUSTOMIZATION_SCHEME } from '../../common/agentHostFileSystemService.js';
import { IFileService } from '../../../files/common/files.js';
import { parseRuleFile, resolveAgentDisableModelInvocation,
ISyncedCustomization
CustomizationEnablementKind
CustomizationType
readClientPluginMcpDefaultCwd
isCustomizationEnabled
toCodexMcpServerJson
synced ISyncedCustomization
parsed IParsedPlugin
input ClientPluginCustomization
customization PluginCustomization
name
description
instructions
model
agentRoles ICodexAgentRoleSource
developerInstructions
_byClient
_enablement
clientId plugins ICodexClientPlugin
_byClientclientId plugins
clientId
_byClientclientId
id enabled
current _enablementid
current enabled
_enablementid enabled
id
p psyncedcustomizationid id
length
ICodexClientPlugin
seen
out ICodexClientPlugin
plugins _byClient
plugin plugins
id pluginsyncedcustomizationid
seenid
seenid
outplugin
out
plugin ICodexClientPlugin
_enablementpluginsyncedcustomizationid plugincustomization pluginsyncedcustomization
ICodexClientPlugin
plugin ICodexClientPlugin
plugin
ICodexClientPlugin
p pparsed p
PluginCustomization
plugin
base plugincustomization pluginsyncedcustomization
children basechildren pluginparsed pluginparsed
base
_enablementbaseid enablement kind CustomizationEnablementKindSession enabled _enablementbaseid
children children
parsed IParsedPlugin ChildCustomization
byId
c ChildCustomization byIdcid byIdcid c
a parsedagents acustomization
s parsedskills scustomization
r parsedinstructions rcustomization
h parsedhooks hcustomization
m parsedmcpServers mcustomization
byId
plugins ICodexClientPlugin primaryCwd Record ICodexMcpServerConfigJson
out Record ICodexMcpServerConfigJson
plugin plugins
def pluginparsedmcpServers emptyMcpDefs
child plugincustomizationchildrencandidate candidate McpServerCustomization candidatetype CustomizationTypeMcpServer candidatename defname
child child
Objectprototypeout defname
defaultCwd pluginsyncedcustomization defname primaryCwd defdefaultCwd
outdefname defconfiguration defaultCwd
out
plugins ICodexClientPlugin ReadonlyMap
sources
plugin plugins
server pluginparsedmcpServers emptyMcpDefs
sourcesservername
sourcesservername pluginsyncedcustomizationuri
sources
emptyMcpDefs IMcpServerDefinition
definitions IMcpServerDefinition Record ICodexMcpServerConfigJson
out Record ICodexMcpServerConfigJson
definition definitions
Objectout definitionname
outdefinitionname definitionconfiguration definitiondefaultCwd
out
plugins ICodexClientPlugin
roots
plugin plugins
skill pluginparsedskills
rootsskillurifsPath
roots
workspaceAgents IParsedAgent
plugins ICodexClientPlugin
selectedAgent AgentSelection
fileService IFileService
ICodexCustomizationConfig
agentRoles
pluginInstructions
selectedAgentInstructions
selectedAgentMatch SelectedAgentMatchNone
selectedAgentUri selectedAgenturi
addAgent agent IParsedAgent match SelectedAgentMatch
content fileServiceagenturivalue
frontmatter content
name frontmatter agentname
description frontmatter agentdescription name
instructions frontmatterbody content
model frontmattervalue valueBoolean agentmodel
infer frontmatter
disableModelInvocation infer frontmatter agentdisableModelInvocation
disableModelInvocation agentRolesname
agentRolesname
name
description
instructions
model model
match selectedAgentMatch
selectedAgentInstructions instructions
selectedAgentMatch match
agent workspaceAgents
match selectedAgentUri extUriagenturi selectedAgentUri
SelectedAgentMatchExact
SelectedAgentMatchNone
agent match
plugin plugins
agent pluginparsedagents
match selectedAgentUri plugin agenturi selectedAgentUri SelectedAgentMatchNone
agent match
instruction pluginparsedinstructions
rule instructionuri fileService
ruleglobs rulealwaysApply
content fileServiceinstructionurivalue
frontmatter content
body frontmatterbody content
body
pluginInstructionsbody
developerInstructions
pluginInstructions
selectedAgentInstructions selectedAgentInstructions
Boolean
agentRoles agentRoles
developerInstructions developerInstructions
globs alwaysApply
globslength
alwaysApply
globsglob glob glob
SelectedAgentMatch
None
SyntheticBundleSource
Exact
plugin ICodexClientPlugin agentUri selectedAgentUri SelectedAgentMatch
selectedUri selectedAgentUri
extUriagentUri selectedUri
SelectedAgentMatchExact
pluginDir pluginsyncedpluginDir
pluginDir
SelectedAgentMatchNone
relativeAgentPath pluginDir agentUri
relativeAgentPath
SelectedAgentMatchNone
sourcePluginUri pluginsyncedcustomizationuri
sourceAgentUri relativeAgentPath sourcePluginUri relativeAgentPath sourcePluginUri
extUrisourceAgentUri selectedUri
SelectedAgentMatchExact
sourcePluginUrischeme
relativeAgentPath
agentUri selectedUri
SelectedAgentMatchSyntheticBundleSource
SelectedAgentMatchNone
role ICodexAgentRoleSource
rolemodel
plugins ICodexClientPlugin
pluginspath path