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 { McpServerType, type IMcpServerConfiguration } from '../../../mcp/common/mcpPlatformTypes.js';
import type { URI } from '../../../../base/common/uri.js';
import { NKeyMap } from '../../../../base/common/map.js';
import { McpServerStatus, type McpServerState } from '../../common/state/protocol/channels-session/state.js';
import type { ISdkMcpServer } from '../shared/mcpCustomizationController.js';
import { resolveMcpServerWorkingDirectory } from '../shared/mcpServerWorkingDirectory.js';
McpServerStartupState
McpServerStatus CodexMcpServerStatus
Resource
ResourceTemplate
Tool
state McpServerState
tools Tool
resources Resource
resourceTemplates ResourceTemplate
name
entry ICodexMcpServerEntry
_global
_byThread
threadId Map ICodexMcpServerEntry
result _global
threadId
scoped _byThreadthreadId
resultscopedname scopedentry
result
threadId Map ICodexMcpServerEntry
threadId
_global
result
scoped _byThreadthreadId
resultscopedname scopedentry
result
threadId entries ReadonlyMap ICodexMcpServerEntry
threadId
_global
name entry entries
_globalname entry
_byThreadthreadId
name entry entries
_byThread name entry threadId name
threadId name state McpServerState
previous threadId
_globalname
_byThreadthreadId nameentry _globalname
entry ICodexMcpServerEntry
state
tools previoustools
resources previousresources
resourceTemplates previousresourceTemplates
threadId
_globalname entry
_byThread name entry threadId name
threadId name
_byThreadthreadId name
threadId
_byThreadthreadId
_global
_byThread
status McpServerStartupState error McpServerState
status
kind McpServerStatusReady
kind McpServerStatusStarting
kind McpServerStatusError
error errorType message error
kind McpServerStatusStopped
kind McpServerStatusStopped
tools CodexMcpServerStatus Tool
out Tool
key Objecttools
tool toolskey
tool
outtool
outa b anamebname
out
status CodexMcpServerStatus ICodexMcpServerEntry
state kind McpServerStatusReady
tools statustools
resources statusresources
resourceTemplates statusresourceTemplates
data CodexMcpServerStatus Map ICodexMcpServerEntry
inventory
status data
inventorystatusname status
inventory
inventory ReadonlyMap ICodexMcpServerEntry ISdkMcpServer
out ISdkMcpServer
name entry inventory
out name state entrystate
out
method entry ICodexMcpServerEntry handled result handled
method
handled result tools entrytools
handled result resources entryresources
handled result resourceTemplates entryresourceTemplates
handled
previous ICodexMcpServerEntry next ICodexMcpServerEntry
a previoustools t tname
b nexttools t tname
alength blength
aname i name bi
command
args
env Record
cwd
url
http_headers Record
value value IMcpServerConfiguration
value value
candidate value type command url
candidatetype McpServerType
candidatecommand
candidatetype McpServerType
candidateurl
record Record Record
result Record
record
result
key value Objectrecord
value value
resultkey value
result
values
values
valuesv v v v v
config IMcpServerConfiguration defaultCwd ICodexMcpServerConfigJson
configtype McpServerType
out ICodexMcpServerConfigJson command configcommand
args configargs
argslength
outargs args
env configenv
Objectenvlength
outenv env
configcwd defaultCwd
outcwd configcwd defaultCwd
out
out ICodexMcpServerConfigJson url configurl
headers configheaders
Objectheaderslength
outhttp_headers headers
out
servers Record Record ICodexMcpServerConfigJson
out Record ICodexMcpServerConfigJson
name config Objectservers
config
outname config
out
value
value
url value
urlhash
urlpathname urlpathname
urlhref
error
error
error
servers Record ICodexMcpServerConfigJson
tokensByNormalizedUrl ReadonlyMap
Record ICodexMcpServerConfigJson
tokensByNormalizedUrlsize
servers
out Record ICodexMcpServerConfigJson
name server Objectservers
normalized serverurl serverurl
token normalized tokensByNormalizedUrlnormalized
outname token
server http_headers serverhttp_headers Authorization
server
out
headers Record Record
out Record
headers
key value Objectheaders
key
outkey value
out