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 { generateUuid } from '../../../../base/common/uuid.js';
import { toAgentMessageDelegationMeta } from '../../common/meta/agentMessageDelegationMeta.js';
import { toToolCallMeta } from '../../common/meta/agentToolCallMeta.js';
import { SessionServerToolName } from '../../common/serverToolNames.js';
import {
MessageKind,
ResponsePartKind,
ToolCallConfirmationReason,
ToolCallStatus,
ToolResultContentType,
type ResponsePart,
type ToolCallResponsePart,
type ToolResultContent,
type Turn,
type ModelSelection
describeFileChange
describeWebSearch
codexCompactionLabels
codexImageGenerationLabels
fileChangeOutput
mapCodexTurnError
turnStateFromStatus
webSearchInvocationMessage
webSearchPastTenseMessage
unwrapShellInvocation
parseCodexDelegation
buildCodexThreadOpenLink extractCodexCreatedThreadDirectives getCodexThreadCoordinationCall
getServerToolDisplay
Thread
ThreadItem
Turn CodexTurn
thread Thread
modelsByTurnId ReadonlyMap ModelSelection
_threadCoordinationByTurnId ReadonlyMap ICodexThreadCoordinationCall
Turn
turns Turn
codexTurn threadturns
turn
codexTurn
modelsByTurnIdcodexTurnid
_threadCoordinationByTurnIdcodexTurnid
turn
turnsturn
turns
ExtractThreadItem type
codexTurn CodexTurn model ModelSelection rolloutCoordination ICodexThreadCoordinationCall Turn
userText
parts ResponsePart
linkedCreatedThreadIds
remainingRolloutCoordination
coordination rolloutCoordination
key coordination
remainingRolloutCoordinationkey remainingRolloutCoordinationkey
coordinationtoolName SessionServerToolNameCreateSession
linkedCreatedThreadIdscoordinationtargetThreadId
partscoordination
agentMessageCount
pendingPreflight command item CommandExecutionItem
pendingPreflight
partspendingPreflightitem pendingPreflightcommand
pendingPreflight
item codexTurnitems
itemtype
command itemcommand
pendingPreflight pendingPreflightcommand command
pendingPreflight
partsitem command
success itemstatus itemexitCode itemexitCode
output itemaggregatedOutput
success output
pendingPreflight command item
partsitem command
itemtype
collected
c itemcontent
ctype
collectedctext
collectedlength
userText collected
itemtype
message itemtext
messagetextlength
separator agentMessageCount
agentMessageCount
parts
kind ResponsePartKindMarkdown
id
content separator messagetext
threadId messagethreadIds
linkedCreatedThreadIdsthreadId
linkedCreatedThreadIdsthreadId
parts
toolName SessionServerToolNameCreateSession
targetThreadId threadId
openLink threadId
toolInput prompt SessionServerToolNameCreateSession
itemtype
partsitem
itemtype
partsitem
itemtype
partsitem
itemtype
coordination item
coordination
key coordination
duplicateCount remainingRolloutCoordinationkey
duplicateCount
remainingRolloutCoordinationkey duplicateCount
coordinationtoolName SessionServerToolNameCreateSession
linkedCreatedThreadIdscoordinationtargetThreadId
partscoordination
itemtype
userText
userText
parts
delegation userText
userText partslength
codexTurnstatus codexTurnerror
parts kind ResponsePartKindError error codexTurnerror
id codexTurnid
codexTurn
message
text delegationinput userText
origin kind MessageKindUser
model model
delegation _meta sourceThreadId delegationsourceThreadId
responseParts parts
usage model model modelid
state codexTurnstatus
coordination ICodexThreadCoordinationCall ToolCallResponsePart
display coordinationtoolName coordinationtoolInput text coordinationopenLink success
kind ResponsePartKindToolCall
toolCall
status ToolCallStatusCompleted
toolCallId
toolName coordinationtoolName
displayName displaydisplayName coordinationtoolName
invocationMessage displayinvocationMessage coordinationtoolName
toolInput coordinationtoolInput
confirmed ToolCallConfirmationReasonNotNeeded
success
pastTenseMessage displaypastTenseMessage coordinationtoolName
content type ToolResultContentTypeText text coordinationopenLink
coordination ICodexThreadCoordinationCall
toolName SessionServerToolNameCreateSession
pastTenseMessage toolName pastTenseMessage
pastTenseMessage pastTenseMessage pastTenseMessagemarkdown toolName
codexTurn CodexTurn startedAt duration
startedAtSeconds codexTurnstartedAt
startedAtSeconds NumberstartedAtSeconds
duration codexTurndurationMs NumbercodexTurndurationMs codexTurndurationMs
codexTurndurationMs
codexTurncompletedAt NumbercodexTurncompletedAt
Math codexTurncompletedAt startedAtSeconds
startedAt startedAtSeconds
duration duration
output ToolResultContent
output type ToolResultContentTypeText text output
item CommandExecutionItem command ToolCallResponsePart
success itemstatus itemexitCode itemexitCode
output itemaggregatedOutput
exit itemexitCode
pastTense success
exit
kind ResponsePartKindToolCall
toolCall
status ToolCallStatusCompleted
toolCallId
toolName
displayName
_meta toolKind
invocationMessage command
toolInput command
confirmed ToolCallConfirmationReasonNotNeeded
success
pastTenseMessage pastTense
content output
error success message exit
item ExtractThreadItem type ToolCallResponsePart
query itemquery itemaction
kind ResponsePartKindToolCall
toolCall
status ToolCallStatusCompleted
toolCallId
toolName
displayName
_meta toolKind
invocationMessage query
toolInput query
confirmed ToolCallConfirmationReasonNotNeeded
success
pastTenseMessage query
item ExtractThreadItem type ToolCallResponsePart
success itemstatus itemresultlength
labels itemstatus
kind ResponsePartKindToolCall
toolCall
status ToolCallStatusCompleted
toolCallId
toolName
displayName labelsdisplayName
invocationMessage labelsinvocationMessage
toolInput prompt itemrevisedPrompt labelsdisplayName
confirmed ToolCallConfirmationReasonNotNeeded
success
pastTenseMessage success labelspastTenseMessage labelsfailedMessage
content success type ToolResultContentTypeEmbeddedResource data itemresult contentType
error success message labelserrorMessage
item ExtractThreadItem type ToolCallResponsePart
success itemstatus
summary itemchanges
output itemchanges
kind ResponsePartKindToolCall
toolCall
status ToolCallStatusCompleted
toolCallId
toolName
displayName
invocationMessage summary
confirmed ToolCallConfirmationReasonNotNeeded
success
pastTenseMessage success summary
content output
error success message
ToolCallResponsePart
labels
kind ResponsePartKindToolCall
toolCall
status ToolCallStatusCompleted
toolCallId
toolName
displayName labelsdisplayName
invocationMessage labelsinvocationMessage
confirmed ToolCallConfirmationReasonNotNeeded
success
pastTenseMessage labelspastTenseMessage