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 type { JsonValue, SessionEvent } from '@github/copilot-sdk';
import { isObject } from '../../../../base/common/types.js';
import { generateUuid, isUUID } from '../../../../base/common/uuid.js';
import { getInlineToolInput, ResponsePartKind, ToolCallStatus, ToolResultContentType, TurnState, type ToolCallCompletedState, type ToolResultContent, type ToolResultSubagentContent, type Turn } from '../../common/state/sessionState.js';
/**
* Default schema version stamped on the synthesized `session.start` event.
*
* The Copilot SDK owns the authoritative event-format schema version; this
* value is only meaningful when the resulting `events.jsonl` is actually
* resumed by a CLI. It is irrelevant to the reconstruction performed by
* mapSessionEvents (which ignores it), so unit tests can rely on the
* default. Callers that write a log for real resume SHOULD pass the version the
* target CLI expects.
*/
sessionId
workingDirectory
model
copilotVersion
schemaVersion
startTime Date
turns Turn options IBuildSessionEventsOptions SessionEvent
events SessionEvent
parentId
clock optionsstartTime
nextTimestamp clock
push event SessionEvent
eventsevent
parentId eventid
pushCompletedToolCall tc ToolCallCompletedState
parsedToolInput Record JsonValue
toolInput tctoolInput
toolInput
parsed toolInput
parsed
parsedToolInput parsed Record JsonValue
subagent tccontentc c ToolResultSubagentContent ctype ToolResultContentTypeSubagent
subagent
id
parentId
timestamp
type
data
toolCallId tctoolCallId
agentName subagentagentName subagenttitle
agentDisplayName subagenttitle
agentDescription subagentdescription
id
parentId
timestamp
type
data
toolCallId tctoolCallId
toolName tctoolName
parsedToolInput arguments parsedToolInput
resultText tccontent
id
parentId
timestamp
type
data
toolCallId tctoolCallId
success tcsuccess
tcsuccess result content resultText
tcerror error message tcerrormessage tcerrorcode code tcerrorcode
id
parentId
timestamp
type
data
sessionId optionssessionId
copilotVersion optionscopilotVersion
producer
startTime
version optionsschemaVersion
optionsmodel selectedModel optionsmodel
optionsworkingDirectory context cwd optionsworkingDirectory
turn turns
id turnid turnid
parentId
timestamp
type
data
content turnmessagetext
source
markdown
reasoning
flushAssistantMessage
markdown reasoning
id
parentId
timestamp
type
data
content markdown
messageId
reasoning reasoningText reasoning
optionsmodel model optionsmodel
markdown
reasoning
part turnresponseParts
partkind ResponsePartKindMarkdown
reasoning
markdown partcontent
partkind ResponsePartKindReasoning
markdown
reasoning partcontent
partkind ResponsePartKindToolCall parttoolCallstatus ToolCallStatusCompleted
parttoolCall
turnstate TurnStateCancelled
id
parentId
timestamp
type
data reason
events
content ToolResultContent
content
text
item content
itemtype ToolResultContentTypeText
text itemtext
text
events SessionEvent
eventslength
eventsevent event
turns Turn options IBuildSessionEventsOptions
turns options