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 { IPosition, Position } from '../../../../../editor/common/core/position.js';
import { Range } from '../../../../../editor/common/core/range.js';
import { OffsetRange } from '../../../../../editor/common/core/ranges/offsetRange.js';
import { IChatVariablesService, IDynamicVariable } from '../attachments/chatVariables.js';
import { ChatAgentLocation, ChatModeKind } from '../constants.js';
import { getChatSessionType } from '../model/chatUri.js'
IChatAgentAttachmentCapabilities IChatAgentData IChatAgentService
IChatSlashCommandService
IPromptsService matchesSessionType
ToolAndToolSetEnablementMap IToolData IToolSet isToolSet
ChatRequestAgentPart ChatRequestAgentSubcommandPart ChatRequestDynamicVariablePart ChatRequestSlashCommandPart ChatRequestSlashPromptPart ChatRequestTextPart ChatRequestToolPart ChatRequestToolSetPart IParsedChatRequest IParsedChatRequestPart chatAgentLeader chatSubcommandLeader chatVariableLeader
agentReg
variableReg
slashReg
selectedAgent IChatAgentData
mode ChatModeKind
forcedAgent IChatAgentData
attachmentCapabilities IChatAgentAttachmentCapabilities
sessionType
agentService IChatAgentService
variableService IChatVariablesService
slashCommandService IChatSlashCommandService
promptsService IPromptsService
sessionResource message location ChatAgentLocation ChatAgentLocationChat context IChatParserContext IParsedChatRequest
references variableServicesessionResource
selectedToolAndToolSets variableServicesessionResource
contextsessionType
context context sessionType sessionResource
references selectedToolAndToolSets message location context
references ReadonlyArrayIDynamicVariable selectedToolAndToolSets ToolAndToolSetEnablementMap message location ChatAgentLocation ChatAgentLocationChat context IChatParserContext IParsedChatRequest
parts IParsedChatRequestPart
toolsByName
toolSetsByName
entry enabled selectedToolAndToolSets
enabled
entry
toolSetsByNameentryreferenceName entry
toolsByNameentrytoolReferenceName entrydisplayName entry
lineNumber
column
i i messagelength i
previousChar messagei
char messagei
newPart IParsedChatRequestPart
previousChar i
char chatVariableLeader
newPart messagei i lineNumber column parts toolsByName toolSetsByName
char chatAgentLeader
newPart messagei message i lineNumber column parts location context
char chatSubcommandLeader
newPart messagei message i lineNumber column parts location context
newPart
newPart messagei i lineNumber column references
newPart
i
previousPart parts
previousPartEnd previousPartrangeendExclusive
previousPartEditorRangeEndLine previousParteditorRangeendLineNumber
previousPartEditorRangeEndCol previousParteditorRangeendColumn
parts
previousPartEnd i
previousPartEditorRangeEndLine previousPartEditorRangeEndCol lineNumber column
messagepreviousPartEnd i
partsnewPart
char
lineNumber
column
column
lastPart parts
lastPartEnd lastPartrangeendExclusive
lastPartEnd messagelength
parts
lastPartEnd messagelength
lastParteditorRangeendLineNumber lastParteditorRangeendColumn lineNumber column
messagelastPartEnd messagelength
parts
text message
message fullMessage offset position IPosition parts IParsedChatRequestPart location ChatAgentLocation context IChatParserContext ChatRequestAgentPart
nextAgentMatch messageagentReg
nextAgentMatch
full name nextAgentMatch
agentRange offset offset fulllength
agentEditorRange positionlineNumber positioncolumn positionlineNumber positioncolumn fulllength
agents agentServicename
agentslength
fqAgent agentServicename
fqAgent
agents fqAgent
agent agentslength contextselectedAgent
contextselectedAgent
agentsa alocationslocation
agent
contextmode agentmodescontextmode
partsp p
partsp p ptext p
previousPart parts
previousPartEnd previousPartrangeendExclusive
textSincePreviousPart fullMessagepreviousPartEnd offset
textSincePreviousPart
agentRange agentEditorRange agent
message offset position IPosition parts ReadonlyArrayIParsedChatRequestPart toolsByName ReadonlyMap IToolData toolSetsByName ReadonlyMap IToolSet ChatRequestToolPart ChatRequestToolSetPart
nextVariableMatch messagevariableReg
nextVariableMatch
full name nextVariableMatch
varRange offset offset fulllength
varEditorRange positionlineNumber positioncolumn positionlineNumber positioncolumn fulllength
tool toolsByNamename
tool
varRange varEditorRange name toolid tooldisplayName toolicon
toolset toolSetsByNamename
toolset
value toolsett varRange varEditorRange ttoolReferenceName tdisplayName tid tdisplayName ticon
varRange varEditorRange toolsetid toolsetreferenceName toolseticon value
remainingMessage fullMessage offset position IPosition parts ReadonlyArrayIParsedChatRequestPart location ChatAgentLocation context IChatParserContext ChatRequestSlashCommandPart ChatRequestAgentSubcommandPart ChatRequestSlashPromptPart
nextSlashMatch remainingMessageslashReg
nextSlashMatch
partsp p p ptext
previousPart parts
previousPartEnd previousPartrangeendExclusive
textSincePreviousPart fullMessagepreviousPartEnd offset
textSincePreviousPart
full command nextSlashMatch
slashRange offset offset fulllength
slashEditorRange positionlineNumber positioncolumn positionlineNumber positioncolumn fulllength
usedAgent partsp p ChatRequestAgentPart p agent
contextforcedAgent contextforcedAgent
usedAgent
subCommand usedAgentslashCommandsc cname command
subCommand
slashRange slashEditorRange subCommand
capabilities contextattachmentCapabilities usedAgentcapabilities
slashCommands slashCommandServicelocation contextmode ChatModeKindAsk
slashCommand slashCommandsc ccommand command csessionTypes contextsessionType
usedAgent slashCommandsilent capabilitiessupportsPromptAttachments
slashCommand
slashRange slashEditorRange slashCommand
usedAgent
defaultAgent agentServicelocation contextmode
subCommand defaultAgentslashCommandsc cname command
subCommand
slashRange slashEditorRange subCommand
afterSlash remainingMessagefulllength
subMatch afterSlash
subMatch
candidate
promptsServicecandidate
consumedLength fulllength subMatchlength
extendedRange offset offset consumedLength
extendedEditorRange positionlineNumber positioncolumn positionlineNumber positioncolumn consumedLength
displayText remainingMessage consumedLength
extendedRange extendedEditorRange candidate displayText
promptsServicecommand
slashRange slashEditorRange command
message offset position IPosition references ReadonlyArrayIDynamicVariable ChatRequestDynamicVariablePart
refAtThisPosition referencesr
rrangestartLineNumber positionlineNumber
rrangestartColumn positioncolumn
refAtThisPosition
length refAtThisPositionrangeendColumn refAtThisPositionrangestartColumn
text message length
range offset offset length
range refAtThisPositionrange text refAtThisPositionid refAtThisPositionmodelDescription refAtThisPositiondata refAtThisPositionfullName refAtThisPositionicon refAtThisPositionisFile refAtThisPositionisDirectory refAtThisPosition_meta refAtThisPositionisAttachmentReference