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 { findNodeAtLocation, Node, parse as parseJSONC, parseTree } from '../../../../../base/common/json.js';
import { ITextEditorSelection } from '../../../../../platform/editor/common/editor.js';
import { URI } from '../../../../../base/common/uri.js';
import { IPromptsService, PromptsStorage } from '../../common/promptSyntax/service/promptsService.js';
import { PromptsType } from '../../common/promptSyntax/promptTypes.js';
import { IFileService } from '../../../../../platform/files/common/files.js';
import { CancellationToken
formatHookCommandLabel
HookType
parseHooksFromFile parseHooksIgnoringDisableAll
nls
ILabelService
OperatingSystem
content offset line column
line
column
i i offset i contentlength i
contenti
line
column
column
line column
tree Node hookType targetIndex fieldName Node
hookTypeArray tree hookType
hookTypeArray hookTypeArraytype hookTypeArraychildren
currentIndex
i i hookTypeArraychildrenlength i
item hookTypeArraychildreni
itemtype
nestedHooksNode tree hookType i
nestedHooksNode nestedHooksNodetype nestedHooksNodechildren
j j nestedHooksNodechildrenlength j
currentIndex targetIndex
tree hookType i j fieldName
currentIndex
currentIndex targetIndex
tree hookType i fieldName
currentIndex
content hookType index fieldName ITextEditorSelection
tree content
tree
node tree hookType index fieldName
node nodetype
valueStart nodeoffset
valueEnd nodeoffset nodelength
start content valueStart
end content valueEnd
startLineNumber startline
startColumn startcolumn
endLineNumber endline
endColumn endcolumn
content commandText ITextEditorSelection
commandFieldKeys
lines content
i i lineslength i
line linesi
trimmed line
matchedKey commandFieldKeyskey
trimmed trimmed
matchedKey
colonIdx line
idx linecommandText colonIdx
idx
afterIdx idx commandTextlength
charAfter afterIdx linelength lineafterIdx
charAfter charAfter charAfter charAfter charAfter
startLineNumber i
startColumn idx
endLineNumber i
endColumn idx commandTextlength
hookType HookType
hookTypeLabel
command IParsedHookCommand
commandLabel
fileUri
filePath
index
originalHookTypeId
disabled
agentName
additionalDisabledFileUris
includeAgentHooks
preferredStorage PromptsStorage
promptsService IPromptsService
fileService IFileService
labelService ILabelService
workspaceRootUri
userHome
os OperatingSystem
token CancellationToken
options IParseAllHookFilesOptions
IParsedHook
hookFiles optionspreferredStorage
promptsServicePromptsTypehook optionspreferredStorage token
promptsServicePromptsTypehook token
parsedHooks IParsedHook
hookFile hookFiles
content fileServicehookFileuri
json contentvalue
hooks hookFileuri json workspaceRootUri userHome
hookType hooks commands originalId hooks
hookTypeMeta hookType
hookTypeMeta
i i commandslength i
command commandsi
commandLabel command os nls
parsedHooks
hookType
hookTypeLabel hookTypeMetalabel
command
commandLabel
fileUri hookFileuri
filePath labelServicehookFileuri relative
index i
originalHookTypeId originalId
error
hookFileuri error
optionsadditionalDisabledFileUris
uri optionsadditionalDisabledFileUris
content fileServiceuri
json contentvalue
hooks uri json workspaceRootUri userHome
hookType hooks commands originalId hooks
hookTypeMeta hookType
hookTypeMeta
i i commandslength i
command commandsi
commandLabel command os nls
parsedHooks
hookType
hookTypeLabel hookTypeMetalabel
command
commandLabel
fileUri uri
filePath labelServiceuri relative
index i
originalHookTypeId originalId
disabled
error
uri error
optionsincludeAgentHooks
agents promptsServicetoken
agent agents
agenthooks agentenabled optionspreferredStorage agentsourcestorage optionspreferredStorage
hookTypeValue ObjectHookType
commands agenthookshookTypeValue
commands commandslength
hookTypeMeta hookTypeValue
hookTypeMeta
i i commandslength i
command commandsi
commandLabel command os nls
parsedHooks
hookType hookTypeValue
hookTypeLabel hookTypeMetalabel
command
commandLabel
fileUri agenturi
filePath labelServiceagenturi relative
index i
originalHookTypeId hookTypeValue
agentName agentname
parsedHooks