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 assert from 'assert';
import { DeferredPromise } from '../../../../../base/common/async.js';
import { Emitter } from '../../../../../base/common/event.js';
import { DisposableStore } from '../../../../../base/common/lifecycle.js';
import { URI } from '../../../../../base/common/uri.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import { NullLogService } from '../../../../../platform/log/common/log.js';
import { AgentChatMigrationDeferred, AgentSession,
CustomizationEnablementKind CustomizationType McpServerStatus
buildDefaultChatUri parseRequiredSessionUriFromChatUri
AgentHostStateManager
getCustomizationEnablementKey
CodexAgent
CodexClientCustomizationStore
ICodexMcpServerConfigJson ICodexMcpServerEntry
targetForMcpServer
McpCustomizationController
createGitHubMcpServerConfiguration getGitHubMcpTools
id AgentProvider
_sessionIdByChatUri Map
sessionId
sessionUri
configurationResource
chatChannel
clientCustomizations CodexClientCustomizationStore
mcpController McpCustomizationController
id AgentProvider
_instantiationService
ctor McpCustomizationController options IMcpCustomizationControllerOptions McpCustomizationController
_customizationEnablementService
session target ICustomizationEnablementTarget CustomizationEnablementResolution
args
configurationResource ICodexMcpControllerSession
session ICodexMcpControllerSession
_sessionIdByChatUri Map
_sessions Map chatChannel threadId
_mcpInventory
threadId ReadonlyMap ICodexMcpServerEntry
session
sessionId
workingDirectory
Record ICodexMcpServerConfigJson
resource token
harness ICodexConversationResolverHarness address context IAgentChatContext
resolver CodexAgentprototype
ICodexConversationResolverHarness address context IAgentChatContext
_resolveConversationSession
harness address context
harness ICodexMcpControllerHarness session ICodexMcpControllerSession McpCustomizationController
getOrCreate CodexAgentprototype
ICodexMcpControllerHarness session ICodexMcpControllerSession McpCustomizationController
_getOrCreateMcpController
harness session
harness ICodexMcpRequestHarness chat
handler CodexAgentprototype
ICodexMcpRequestHarness chat serverName method params
handleMcpRequest
harness chat
ICodexConversationResolverHarness
id _sessionIdByChatUri
createHarness enabled customizationEnabled token ICodexGitHubMcpHarness ObjectObjectCodexAgentprototype
_configurationService
_sessionMcpDiscoveries
_mcpAuthTokens
_githubMcpServerEnabled enabled
_githubToken token
_gitHubMcpServerConfiguration token
_session name name customizationEnabled
enabledServers sessionId workingDirectory
customizationDisabledServers sessionId workingDirectory
settingDisabledServers sessionId workingDirectory
unauthenticatedServers sessionId workingDirectory
assert
enabled enabledServers
customizationDisabled customizationDisabledServers
settingDisabled settingDisabledServers
unauthenticated unauthenticatedServers
enabled
url
http_headers
customizationDisabled
settingDisabled
unauthenticated
aliasedServers ObjectObjectCodexAgentprototype
_configurationService alias type url
_sessionMcpDiscoveries
_mcpAuthTokens
_githubMcpServerEnabled
_githubToken
_gitHubMcpServerConfiguration
ICodexGitHubMcpHarness
assertaliasedServers sessionId workingDirectory
alias url
proxyTokens
modelRefreshes
reconciliations
harness ObjectObjectCodexAgentprototype
_githubToken
_gitHubMcpServerConfiguration
_connection kind proxyHandle token proxyTokenstoken
modelRefreshes
_sessions
reconciliations
ICodexGitHubEndpointChangeHarness _githubToken _gitHubMcpServerConfiguration object
harness
assert
token harness_githubToken
configuration harness_gitHubMcpServerConfiguration
proxyTokens
modelRefreshes
reconciliations
token
configuration
proxyTokens
modelRefreshes
reconciliations
resolution
proxyTokens
reconciliations
copilotResource resource
harness ObjectObjectCodexAgentprototype
_gitHubEndpointService copilotResource resource
_githubAuthenticationGeneration
_githubToken
_gitHubMcpServerConfiguration
resolutionp
_connection kind proxyHandle token proxyTokenstoken
_sessions
reconciliations
_logService
ICodexAuthenticateHarness ICodexGitHubEndpointChangeHarness _githubToken _gitHubMcpServerConfiguration object
authenticating harnesscopilotResourceresource
harness
resolution
authenticating
assert
token harness_githubToken
configuration harness_gitHubMcpServerConfiguration
proxyTokens
reconciliations
token
configuration
proxyTokens
reconciliations
session AgentSession
result
resource
configurationResource session
assertresult
session AgentSession
chat
harness ICodexConversationResolverHarness
id
_sessionIdByChatUri chat
result harness chat
assertresult session
session AgentSession
defaultChat session
assert
unboundSessionUri session
unboundDefaultChat defaultChat
withHostContext defaultChat configurationResource session resource defaultChat
foreignUri
unboundSessionUri
unboundDefaultChat
withHostContext
foreignUri
store
stateManager store
customizations
session ICodexMcpControllerSession
sessionId
sessionUri AgentSession
configurationResource AgentSession
chatChannel
clientCustomizations customizations
mcpController
pluginUri
harness ICodexMcpControllerHarness
id
_instantiationService
_ctor options store options stateManager
_customizationEnablementService
_session target
kind
enablement targetowningPluginSource pluginUri
kind CustomizationEnablementKindGlobal enabled
enabled
workingDirectory kind
session
beforeChatBinding harness session
sessionchatChannel sessionsessionUri
controller harness session
assertcontroller
plugin
synced customization id uri pluginUri
parsed mcpServers name
ICodexClientPlugin
customizations plugin
customizations
topLevel McpServerCustomization
type CustomizationTypeMcpServer
id
uri
name
state kind McpServerStatusStarting
nested McpServerCustomization
topLevel
id
uri
owner controllerpluginMcpServerSources
controller name state kind McpServerStatusStarting
topLevelEnablement controllerenablement
assert
beforeChatBinding
owner
topLevelKey topLevel owner CustomizationEnablementKindGlobal
nestedKey nested pluginUri CustomizationEnablementKindGlobal
topLevelEnablement
beforeChatBinding
owner pluginUri
topLevelKey
nestedKey
topLevelEnablement kind CustomizationEnablementKindGlobal enabled
store
session AgentSession
boundChat session
staleChat AgentSession
harness ICodexMcpRequestHarness
_sessionIdByChatUri
boundChat
staleChat
_sessions chatChannel boundChat
_mcpInventory
state kind McpServerStatusReady
tools
resources
resourceTemplates
assert
result harness boundChat
staleRejected harness staleChat
error error errormessage
result tools
staleRejected
onDidDiscoverChats
discoveredChats
listener onDidDiscoverChatschats discoveredChatschatslength
_activated
_isShuttingDown
_store isDisposed
_codexChatDiscovery
_logService message message
discovery CodexAgentprototype
DiscoveryHarness
DiscoveryHarness
sdkIsLocal
harness DiscoveryHarness
_activated
_isShuttingDown
_store isDisposed
_logService
_codexChatDiscovery
sdkIsLocal
discoveryharness
onDidDiscoverChats
chat
startTime
modifiedTime
external
discoveryharness
cold discoveredChats
sdkIsLocal
discoveryharness
harness_codexChatDiscovery
assert cold after discoveredChats cold after
listener
onDidDiscoverChats
knownInternal AgentSession
knownExternal AgentSession
unknownExternal AgentSession
chats
chat knownInternal startTime modifiedTime
chat knownExternal startTime modifiedTime
chat unknownExternal startTime modifiedTime
listChatsToMigrate CodexAgentprototype
_activated
chats
chat chats
_logService message
chats AgentChatMigrationDeferred
listChatsToMigrate
sdkIsLocal
harness
_activated
_logService
sdkIsLocal
chats
chat chats
id AgentSessionchatchat
id
inactive harness _activated
cold harness
sdkIsLocal
result harness
empty harness
unavailable harness
assert inactive cold result empty unavailable
inactive
cold AgentChatMigrationDeferred
result chats
empty
unavailable
knownInternal AgentSession
knownExternal AgentSession
unknownExternal AgentSession
chats
chat knownInternal startTime modifiedTime
chat knownExternal startTime modifiedTime
chat unknownExternal startTime modifiedTime
emitted
emitCodexChats CodexAgentprototype
_isShuttingDown
_store isDisposed
chats
chat chats
_onDidDiscoverChats chats
_logService message
_emitCodexChats
_isShuttingDown
_store isDisposed
chats
chat
id AgentSessionchatchat
id
_onDidDiscoverChats chats emittedchats
_logService
assertemitted
chats external
chats external
chats external