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 { CancellationToken } from '../../../../../base/common/cancellation.js';
import { match, splitGlobAware } from '../../../../../base/common/glob.js';
import { ResourceMap, ResourceSet } from '../../../../../base/common/map.js';
import { Schemas } from '../../../../../base/common/network.js';
import { OperatingSystem } from '../../../../../base/common/platform.js';
import { basename, dirname } from '../../../../../base/common/resources.js';
import { escape as escapeXml } from '../../../../../base/common/strings.js'
localize
IConfigurationService
IFileService
ILabelService
ILogService
IRemoteAgentService
ITelemetryService
IWorkspaceContextService
ChatRequestVariableSet IChatRequestVariableEntry isPromptFileVariableEntry toPromptFileVariableEntry toPromptTextVariableEntry PromptFileVariableKind IPromptTextVariableEntry ChatRequestToolReferenceEntry toToolVariableEntry
ILanguageModelToolsService IToolData VSCodeToolReference
PromptsConfig
isInClaudeAgentsFolder isInClaudeRulesFolder isPromptOrInstructionsFile
ParsedPromptFile
AgentInstructionFileType IAgentSkill ICustomAgent IInstructionFile IPromptsService matchesSessionType newInstructionsCollectionEvent newInstructionsCollectionDebugInfo
InstructionsCollectionEvent InstructionsCollectionDebugInfo
newInstructionsCollectionEvent newInstructionsCollectionDebugInfo
OffsetRange
ChatModeKind
UserSelectedTools
hash
IAgentPlugin IAgentPluginService
telemetryEvent InstructionsCollectionEvent
debugInfo InstructionsCollectionDebugInfo
lastInstructionsCollectionResult InstructionsCollectionResult
applyingInstructionsCount classification purpose isMeasurement comment
referencedInstructionsCount classification purpose isMeasurement comment
agentInstructionsCount classification purpose isMeasurement comment
listedInstructionsCount classification purpose isMeasurement comment
totalInstructionsCount classification purpose isMeasurement comment
claudeRulesCount classification purpose isMeasurement comment
claudeMdCount classification purpose isMeasurement comment
claudeAgentsCount classification purpose isMeasurement comment
owner
comment
_parseResults ResourceMapParsedPromptFile
_modeKind ChatModeKind
_enabledTools UserSelectedTools
_enabledSubagents
_currentSessionType
_promptsService IPromptsService
_logService ILogService
_labelService ILabelService
_configurationService IConfigurationService
_workspaceService IWorkspaceContextService
_fileService IFileService
_remoteAgentService IRemoteAgentService
_telemetryService ITelemetryService
_languageModelToolsService ILanguageModelToolsService
_agentPluginService IAgentPluginService
uri token CancellationToken ParsedPromptFile
_parseResultsuri
_parseResultsuri
result _promptsServiceuri token
_parseResultsuri result
result
error
_logService error
variables ChatRequestVariableSet token CancellationToken
startTime performance
instructionFiles _promptsServicetoken
_logService
telemetryEvent InstructionsCollectionEvent
debugInfo InstructionsCollectionDebugInfo
context variables
instructionFiles context variables telemetryEvent debugInfo token
variables telemetryEvent debugInfo token
variables telemetryEvent debugInfo token
customizationsIndexVariable instructionFiles variables telemetryEvent debugInfo token
customizationsIndexVariable
variablescustomizationsIndexVariable
telemetryEventlistedInstructionsCount
debugInfodurationInMillis performance startTime
telemetryEvent
lastInstructionsCollectionResult telemetryEvent debugInfo
telemetryEvent InstructionsCollectionEvent
telemetryEventtotalInstructionsCount telemetryEventagentInstructionsCount telemetryEventreferencedInstructionsCount telemetryEventapplyingInstructionsCount telemetryEventlistedInstructionsCount
_telemetryService telemetryEvent
skills IAgentSkill
skillNameHash
skillStorage
extensionIdHash
extensionVersion
pluginNameHash
pluginVersion
skillNameHash classification purpose comment
skillStorage classification purpose comment
extensionIdHash classification purpose comment
extensionVersion classification purpose comment
pluginNameHash classification purpose comment
pluginVersion classification purpose comment
owner
comment
pluginByUri
allPlugins _agentPluginServiceplugins
plugin allPlugins
pluginByUripluginuri plugin
value
value value
skill skills
skillPlugin skillpluginUri pluginByUriskillpluginUri
_telemetryService
skillNameHash skillname
skillStorage skillstorage
extensionIdHash skillextensionidentifiervalue
extensionVersion skillextensionversion
pluginNameHash skillPluginlabel
pluginVersion skillPluginfromMarketplaceversion
err
_logService err
instructionFiles IInstructionFile context files ResourceSet instructions ResourceSet variables ChatRequestVariableSet telemetryEvent InstructionsCollectionEvent debugInfo InstructionsCollectionDebugInfo token CancellationToken
includeApplyingInstructions _configurationServicePromptsConfig
includeApplyingInstructions _modeKind ChatModeKindEdit
_logService
currentSessionType _currentSessionType
instructionFile instructionFiles
tokenisCancellationRequested
uri pattern instructionFile
instructionFilesessionTypes currentSessionType
pattern
_logService
debugInfodebugDetails category name uri uri reason
isClaudeRules uri
contextinstructionsuri
_logService
debugInfodebugDetails category name uri uri reason
match contextfiles pattern
match
_logService
reason matchfile
pattern _labelServicematchfile relative
variablesuri PromptFileVariableKindInstruction reason
telemetryEventapplyingInstructionsCount
debugInfodebugDetails category name uri uri reason
isClaudeRules
telemetryEventclaudeRulesCount
_logService
debugInfodebugDetails category name uri uri reason pattern
attachedContext ChatRequestVariableSet files ResourceSet instructions ResourceSet
files
instructions
variable attachedContext
variable
instructionsvariablevalue
uri IChatRequestVariableEntryvariable
uri
filesuri
files instructions
variables ChatRequestVariableSet telemetryEvent InstructionsCollectionEvent debugInfo InstructionsCollectionDebugInfo token CancellationToken
logger
message _logService
allCandidates _promptsServicetoken logger
entries ChatRequestVariableSet
copilotEntries ChatRequestVariableSet
uri type allCandidates
varEntry uri PromptFileVariableKindInstruction
entriesvarEntry
type AgentInstructionFileTypecopilotInstructionsMd
copilotEntriesvarEntry
telemetryEventagentInstructionsCount
type AgentInstructionFileTypeclaudeMd
telemetryEventclaudeMdCount
debugInfodebugDetails category name uri uri reason
logger
copilotEntrieslength
copilotEntries telemetryEvent debugInfo token
entry copilotEntries
variablesentry
entry entries
variablesentry
files ResourceSet applyToPattern pattern file
patterns applyToPattern
patterMatches pattern pattern file
pattern pattern
patternlength
pattern pattern pattern
pattern
pattern pattern
pattern pattern
file files
pattern filepath ignoreCase
pattern file
pattern patterns
matchResult pattern
matchResult
matchResult
referenceName tool IToolData variable
_enabledTools
tool _languageModelToolsServicereferenceName
tool _enabledToolstoolid
tool variable
instructionFiles IInstructionFile _existingVariables ChatRequestVariableSet telemetryEvent InstructionsCollectionEvent debugInfo InstructionsCollectionDebugInfo token CancellationToken IPromptTextVariableEntry
readTool
runInTerminalTool
fileReadTool readTool runInTerminalTool
runSubagentTool VSCodeToolReferencerunSubagent
skillTool
currentSessionType _currentSessionType
remoteEnv _remoteAgentService
remoteOS remoteEnvos
isRemote _remoteAgentService
uri uri remoteOS isRemote
entries
fileReadTool
searchNestedAgentMd _configurationServicePromptsConfig
agentsMdPromise searchNestedAgentMd _promptsServicetoken
entries
entries
entries
entries
entries
entries
entries
hasContent
instruction instructionFiles
instructionsessionTypes currentSessionType
entries
entries
instructiondescription
entries
instructionpattern
entries
entries
hasContent
agentsMdFiles agentsMdPromise
uri agentsMdFiles
folderName _labelServiceuri relative
description folderNamelength folderName
entries
entries
entries
entries
hasContent
hasContent
entrieslength
entries
agentSkills _promptsServicetoken
isFileLoggingEnabled _configurationService
modelInvocableSkills agentSkillsskill
skilldescription
debugInfodebugDetails category name skillname uri skilluri reason
skilldisableModelInvocation
debugInfodebugDetails category name skillname uri skilluri reason
skillsessionTypes currentSessionType
debugInfodebugDetails category name skillname uri skilluri reason
isFileLoggingEnabled skilluripath
debugInfodebugDetails category name skillname uri skilluri reason
modelInvocableSkills modelInvocableSkillslength
modelInvocableSkills
skill modelInvocableSkills
debugInfodebugDetails category name skillname uri skilluri reason skillstorage
useSkillAdherencePrompt _configurationServicePromptsConfig
skillLoadTool skillTool fileReadTool
entries
useSkillAdherencePrompt
entries
skillTool
entries
entries
entries
entries
entries
entries
entries
entries
entries
entries
entries
entries
skillTool
entries
entries
entries
entries
entries
skillCharCount
truncatedAtIndex modelInvocableSkillslength
i i modelInvocableSkillslength i
skill modelInvocableSkillsi
skillEntry
skilldescription
skillEntry
skillEntry
skillEntry
entryLength skillEntrylength
skillTool skillCharCount entryLength
truncatedAtIndex i
skillCharCount entryLength
entriesskillEntry
truncatedAtIndex modelInvocableSkillslength
truncatedSkills modelInvocableSkillstruncatedAtIndex
names
nameListLength
skill truncatedSkills
escapedName skillname
addition nameslength escapedNamelength
nameListLength addition
nameListLength addition
namesescapedName
remaining truncatedSkillslength nameslength
nameList names
entriesremaining
entries
runSubagentTool
canUseAgent
_enabledSubagents _enabledSubagents
agent ICustomAgent agentvisibilityagentInvocable agentsessionTypes currentSessionType
subagents _enabledSubagents
agent ICustomAgent subagentsagentname agentsessionTypes currentSessionType
agents _promptsServicetokena aenabled
agentslength
entries
entries
entries
entries
agent agents
agent
entries
entries
agentdescription
entries
agentargumentHint
entries
entries
debugInfodebugDetails category name agentname uri agenturi
agenturi
telemetryEventclaudeAgentsCount
debugInfodebugDetails category name agentname uri agenturi reason
entries
entrieslength
content entries
toolReferences ChatRequestToolReferenceEntry
tool tool IToolData variable
tool
offset contenttoolvariable
offset
toolReferencestooltool offset offset toolvariablelength
offset contenttoolvariable offset
fileReadTool
runSubagentTool
skillTool
content toolReferences
attachedContext ChatRequestVariableSet telemetryEvent InstructionsCollectionEvent debugInfo InstructionsCollectionDebugInfo token CancellationToken
includeReferencedInstructions _configurationServicePromptsConfig
includeReferencedInstructions _modeKind ChatModeKindEdit
_logService
seen
todo
variable attachedContext
variable
seenvariablevalue
todovariablevalue
seenvariablevalue
next todo
next
result next token
result resultbody
refsToCheck resource
ref resultbodyfileReferences
url resultbodyrefcontent
url seenurl url _workspaceServiceurl
refsToCheck resource url
seenurl
refsToChecklength
stats _fileServicerefsToCheck
i i statslength i
stat statsi
uri refsToCheckiresource
statsuccess statstatisFile
uri
todouri
reason next
attachedContexturi PromptFileVariableKindInstructionReference reason
telemetryEventreferencedInstructionsCount
debugInfodebugDetails category name uri uri reason
_logService
next todo
uri remoteOS OperatingSystem isRemote
isRemote urischeme Schemasfile
uri scheme
urischeme Schemasfile urischeme SchemasvscodeRemote
fsPath urifsPath
remoteOS
remoteOS OperatingSystemWindows
fsPath
fsPath
fsPath
uri