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 { URI } from '../../../../../base/common/uri.js';
import {
CustomizationType,
ResponsePartKind,
ToolCallContributorKind,
ToolCallStatus,
getInlineToolInput,
type ChildCustomization,
type Customization,
type ToolCallState,
type Turn,
} from '../../../../../platform/agentHost/common/state/sessionState.js';
import { ISessionChatCustomization, SessionCustomizationKind } from '../../../../services/sessions/common/session.js';
/**
* A reference to a customization extracted from a chat's output stream.
*
* References are deliberately resolved **against nothing**: they capture only
* what the turn said, so a completed turn can be parsed once and cached even
* though the session's customization tree keeps changing underneath.
*/
export CustomizationRefKind
Mcp
Path
Skill
kind CustomizationRefKind
value
a ICustomizationRef b ICustomizationRef
a b alength blength aref i refkind bikind refvalue bivalue
a ISessionChatCustomization b ISessionChatCustomization
a b alength blength acustomization i customizationid biid
customizationkind bikind
customizationname biname
customizationuri biuri
skillToolNames ReadonlySet
skillNameFields
pathTokenPattern
input
parsed
parsed input
input
parsed parsed
parsed parsed
record parsed Record
field skillNameFields
value recordfield
value valuelength
value
refs ICustomizationRef seen Set kind CustomizationRefKind value
key
seenkey
seenkey
refs kind value
toolCall ToolCallState refs ICustomizationRef seen Set
toolCallcontributorkind ToolCallContributorKind
refs seen CustomizationRefKindMcp toolCallcontributorcustomizationId
toolCallstatus ToolCallStatusStreaming
input toolCalltoolInput
input
skillToolNamestoolCalltoolName
name input
name
refs seen CustomizationRefKindSkill name
match inputpathTokenPattern
refs seen CustomizationRefKindPath match
responseParts Turn ICustomizationRef
refs ICustomizationRef
seen
part responseParts
partkind ResponsePartKindToolCall
parttoolCall refs seen
refs
turns id responseParts Turn
activeTurn responseParts Turn
parseTurn responseParts Turn ICustomizationRef parseTurnCustomizationRefs
chatState ICustomizationRefChatState ICustomizationRef
completedTurnCache
chatState ICustomizationRefChatState ICustomizationRef
turns chatStateturns
completedIds turnsturn turnid
id completedTurnCache
completedIdsid
completedTurnCacheid
refs ICustomizationRef
seen
append parsed ICustomizationRef
ref parsed
key
seenkey
seenkey
refsref
turn turns
parsed completedTurnCacheturnid
parsed
parsed turnresponseParts
completedTurnCacheturnid parsed
parsed
chatStateactiveTurn
chatStateactiveTurnresponseParts
refs
kindByType ReadonlyMapCustomizationType SessionCustomizationKind
CustomizationTypeAgent SessionCustomizationKindAgent
CustomizationTypeSkill SessionCustomizationKindSkill
CustomizationTypeRule SessionCustomizationKindInstruction
CustomizationTypeHook SessionCustomizationKindHook
CustomizationTypePrompt SessionCustomizationKindPrompt
CustomizationTypeMcpServer SessionCustomizationKindMcpServer
CustomizationTypePlugin SessionCustomizationKindPlugin
path
path
uri
parsed uri
parsedscheme parsedpath
_byId
_byPath
_byContainerPath
_bySkillName
_roots
customizations Customization workspaceRoots
_roots workspaceRootsroot rootpath
customization customizations
customization
child customization children ChildCustomization children
child
_byIdsize
customization Customization ChildCustomization
kind kindByTypecustomizationtype
kind
uri customizationuri customizationuri
entry ISessionChatCustomization id customizationid kind name customizationname uri uri
_byIdcustomizationid entry
kind SessionCustomizationKindSkill
_bySkillNamecustomizationname entry
path customizationuri customizationuri
path
_byPathpath entry
kind SessionCustomizationKindPlugin
_byContainerPathpath entry
kind SessionCustomizationKindSkill
container path path
container
_byContainerPathcontainer entry
token ISessionChatCustomization
candidates
normalized token token token token
normalized
candidatesnormalized normalized
root _roots
candidates
candidate candidates
direct _byPathcandidate
direct
direct
parent candidate parent parent parent parent
container _byContainerPathparent
container
container
ref ICustomizationRef ISessionChatCustomization
refkind
CustomizationRefKindMcp
_byIdrefvalue
CustomizationRefKindSkill
_bySkillNamerefvalue
CustomizationRefKindPath
refvalue
refs ICustomizationRef index CustomizationIndex ISessionChatCustomization
indexisEmpty refslength
resolved ISessionChatCustomization
seen
ref refs
customization indexref
customization seencustomizationid
seencustomizationid
resolvedcustomization
resolved