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 { spawn } from 'child_process';
import type { CustomAgentConfig, MCPServerConfig, SessionHooks } from '@github/copilot-sdk';
import { Schemas } from '../../../../base/common/network.js';
import { dirname } from '../../../../base/common/path.js';
import { OperatingSystem, OS } from '../../../../base/common/platform.js';
import { URI } from '../../../../base/common/uri.js';
import { parseFrontMatter } from '../../../../base/common/yaml.js'
IFileService
McpServerType
IMcpServerDefinition INamedPluginResource IParsedAgent IParsedHookCommand IParsedHookGroup IParsedPlugin
resolveMcpServerWorkingDirectory
ParametersNonNullableSessionHooks
ParametersNonNullableSessionHooks
ParametersNonNullableSessionHooks
ParametersNonNullableSessionHooks
ParametersNonNullableSessionHooks
ParametersNonNullableSessionHooks
defs IMcpServerDefinition Record MCPServerConfig
result Record MCPServerConfig
def defs
resultdefname defname defconfiguration defdefaultCwd
result
servers Record Record MCPServerConfig
result Record MCPServerConfig
name config Objectservers
config
resultname name config
result
value value IMcpServerConfiguration
value value
candidate value type command url
candidatetype McpServerType
candidatecommand
candidatetype McpServerType
candidateurl
_name config IMcpServerConfiguration defaultCwd MCPServerConfig
configtype McpServerType
effectiveCwd configcwd defaultCwd
type
command configcommand
args configargs configargs
tools
configenv env configenv
effectiveCwd cwd effectiveCwd
type configtransport
url configurl
tools
configheaders headers configheaders
env Record Record
result Record
key value Objectenv
value
resultkey value
result
customAgentReasoningEfforts satisfies NonNullableCustomAgentConfig
customAgentReasoningEfforts
value value CustomAgentReasoningEffort
customAgentReasoningEffortsreasoningEffort reasoningEffort value
agents INamedPluginResource fileService IFileService CustomAgentConfig
configs CustomAgentConfig
agent agents
content fileServiceagenturi
raw contentvalue
md raw
md
configs
name agentname
prompt raw
name md agentname
description md
tools md
skills md
reasoningEffort md
infer md
disableModelInvocation md
infer disableModelInvocation
infer
prompt mdbody raw
model md
models md
model models models modelslength
model models
configs
name
description description
model model
reasoningEffort reasoningEffort
tools tools toolslength tools
skills skills
infer infer
prompt
configs
pluginDir
agents INamedPluginResource
plugins IPluginAgentsForSdk
resolvedAgentName
fileService IFileService
CustomAgentConfig
pluginsWithoutDirs pluginsp ppluginDir ppluginDirscheme Schemasfile
customAgents pluginsWithoutDirsp pagents fileService
resolvedAgentName customAgentsagent agentname resolvedAgentName
selectedAgents pluginsp pagentsagent agentname resolvedAgentName
config selectedAgents fileService
customAgentsagent agentname configname
customAgentsconfig
customAgents
agents IParsedAgent AgentCustomization
agentsa acustomization
plugins IParsedPlugin ChildCustomization
byId
c ChildCustomization
byIdcid
byIdcid c
plugin plugins
a pluginagents acustomization
s pluginskills scustomization
r plugininstructions rcustomization
h pluginhooks hcustomization
m pluginmcpServers mcustomization
byId
skills INamedPluginResource
skills
instructions INamedPluginResource
instructions
resources INamedPluginResource
seen
result
resource resources
dir resourceurifsPath
seendir
seendir
resultdir
result
hook IParsedHookCommand os OperatingSystem
os OperatingSystemWindows hookwindows
hookwindows
os OperatingSystemMacintosh hookosx
hookosx
os OperatingSystemLinux hooklinux
hooklinux
hookcommand
hook IParsedHookCommand stdin
command hook
command
timeout hooktimeout
cwd hookcwdfsPath
resolve reject
isWindows OperatingSystemWindows
shell isWindows
shellArgs isWindows command command
child shell shellArgs
cwd
env processenv hookenv
stdio
timeout
stdout
stderr
childstdout data Buffer stdout data
childstderr data Buffer stderr data
stdin
childstdinstdin
childstdin
childstdin
child reject
child code
code
stdout
commands IParsedHookCommand input object
commands
stdin input
cmd commands
output cmd stdin
output
parsed output
parsed parsed
parsed
Record SessionHooks
hookGroups IParsedHookGroup
editTrackingHooks
input PreToolUseHookInput
input PostToolUseHookInput
onUserPromptSubmitted additionalContext
SessionHooks
commandsByKey
group hookGroups
sdkKey grouptype
sdkKey
existing commandsByKeysdkKey
existinggroupcommands
commandsByKeysdkKey existing
hooks SessionHooks
preToolCommands commandsByKey
preToolCommandslength editTrackingHooks
hooks input PreToolUseHookInput
editTrackingHooksinput
preToolCommands input
postToolCommands commandsByKey
postToolCommandslength editTrackingHooks
hooks input PostToolUseHookInput
editTrackingHooksinput
postToolCommands input
promptCommands commandsByKey
promptCommandslength editTrackingHooksonUserPromptSubmitted
hooks input UserPromptSubmittedHookInput
stdin input
cmd promptCommands
cmd stdin
editTrackingHooksonUserPromptSubmitted
startCommands commandsByKey
startCommandslength
hooks input SessionStartHookInput
stdin input
cmd startCommands
cmd stdin
endCommands commandsByKey
endCommandslength
hooks input SessionEndHookInput
stdin input
cmd endCommands
cmd stdin
errorCommands commandsByKey
errorCommandslength
hooks input ErrorOccurredHookInput
stdin input
cmd errorCommands
cmd stdin
hooks
a IParsedPlugin b IParsedPlugin
plugins IParsedPlugin
pluginsp
format pformat
hooks phooksh type htype commands hcommandsc command ccommand windows cwindows linux clinux osx cosx cwd ccwd env cenv timeout ctimeout
mcpServers pmcpServersm name mname configuration mconfiguration defaultCwd mdefaultCwd
skills pskillss uri suri name sname
agents pagentsa uri auri name aname
instructions pinstructionsi uri iuri name iname
a b