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 { parse as parseJSONC } from '../../../../../base/common/jsonc.js';
import { setProperty, applyEdits } from '../../../../../base/common/jsonEdit.js';
import { FormattingOptions } from '../../../../../base/common/jsonFormatter.js';
import { isEqual } from '../../../../../base/common/resources.js';
import { URI } from '../../../../../base/common/uri.js';
import { VSBuffer } from '../../../../../base/common/buffer.js';
import { DisposableStore } from '../../../../../base/common/lifecycle.js';
localize localize2
ChatContextKeys
ServicesAccessor
Action2 registerAction2
Codicon
IPromptsService PromptsStorage
PromptsType Target getSourceDescription
CancellationToken
IQuickInputButton IQuickInputService IQuickPick IQuickPickItem IQuickPickSeparator
IFileService
HookType IHookTypeMeta
formatHookCommandLabel getEffectiveCommandFieldKey
getCopilotCliHookTypeName resolveCopilotCliHookType
getHookSourceFormat HookSourceFormat buildNewHookEntry
getClaudeHookTypeName resolveClaudeHookType
ILabelService
IEditorService
ITextEditorSelection
findHookCommandSelection findHookCommandInYaml parseAllHookFiles IParsedHook
IWorkspaceContextService
IPathService
INotificationService
IBulkEditService ResourceTextEdit
Range
getCodeEditor
IRemoteAgentService
OperatingSystem
hookType HookType
hookTypeMeta IHookTypeMeta
hookEntry IParsedHook
isAddNewHook
fileUri
isCreateNewFile
hooksObj Record
key ObjecthooksObj
key
hookTypeId HookType useCopilotCliNamingConvention
useCopilotCliNamingConvention
copilotCliName hookTypeId
copilotCliName
copilotCliName
hookTypeId
hookFileUri
hookTypeId HookType
fileService IFileService
editorService IEditorService
notificationService INotificationService
bulkEditService IBulkEditService
openEditorOverride resource options selection ITextEditorSelection
hooksContent hooks Record
fileExists fileServicehookFileUri
fileExists
existingContent fileServicehookFileUri
hooksContent existingContentvalue
hooksContenthooks
hooksContenthooks
notificationService
editorService resource hookFileUri
hooksContent hooks
sourceFormat hookFileUri
isClaude sourceFormat HookSourceFormatClaude
useCopilotCliNamingConvention isClaude hooksContenthooks
hookTypeKeyName isClaude
hookTypeId hookTypeId
hookTypeId useCopilotCliNamingConvention
existingKeyForType
key ObjecthooksContenthooks
resolvedType isClaude
key
key
resolvedType hookTypeId key hookTypeId
existingKeyForType key
keyToUse existingKeyForType hookTypeKeyName
newHookEntry sourceFormat
existingHooks hooksContenthookskeyToUse
newHookIndex existingHooks existingHookslength
jsonContent
fileExists
originalText fileServicehookFileUrivalue
detectedEol originalText
formattingOptions FormattingOptions tabSize insertSpaces eol detectedEol
edits originalText keyToUse newHookIndex newHookEntry formattingOptions
jsonContent originalText edits
newContent hooks keyToUse newHookEntry
jsonContent newContent
existingEditor editorServiceeditorse eresource hookFileUri
existingEditor
editorService
resource hookFileUri
options
pinned
editor editorServiceactiveTextEditorControl
editor editor editoruri hookFileUri
model editor
model
range model
text jsonContent
selection jsonContent keyToUse newHookIndex
selection selectionendLineNumber selectionendColumn
editor
startLineNumber selectionstartLineNumber
startColumn selectionstartColumn
endLineNumber selectionendLineNumber
endColumn selectionendColumn
editorselectionstartLineNumber
hookFileUri range Number text jsonContent
label
selection jsonContent keyToUse newHookIndex
editorService
resource hookFileUri
options
selection
pinned
fileExists
fileServicehookFileUri VSBufferjsonContent
editorService
resource hookFileUri
options pinned
hookFileUri range Number text jsonContent
label
selection jsonContent keyToUse newHookIndex
openEditorOverride
hookFileUri selection
editorService
resource hookFileUri
options
selection
pinned
picker IQuickPickIQuickPickItem useSeparators
backButton IQuickInputButton
resolve
resolved
done value
resolved
resolved
disposables
value
disposables
disposablespicker
pickeractiveItems
disposablespickerbutton
button backButton
disposablespicker
Step
SelectHookType
SelectHook
SelectFile
SelectFolder
EnterFilename
openEditor resource options selection ITextEditorSelection
onHookFileCreated uri
target Target
preferredStorage PromptsStorage
accessor ServicesAccessor
options IHookQuickPickOptions
promptsService accessorIPromptsService
quickInputService accessorIQuickInputService
fileService accessorIFileService
labelService accessorILabelService
editorService accessorIEditorService
workspaceService accessorIWorkspaceContextService
pathService accessorIPathService
notificationService accessorINotificationService
bulkEditService accessorIBulkEditService
remoteAgentService accessorIRemoteAgentService
remoteEnv remoteAgentService
targetOS remoteEnvos
workspaceFolder workspaceServicefolders
workspaceRootUri workspaceFolderuri
userHomeUri pathService
userHome userHomeUrifsPath userHomeUripath
hookEntries
promptsService
fileService
labelService
workspaceRootUri
userHome
targetOS
CancellationTokenNone
includeAgentHooks preferredStorage optionspreferredStorage
hookCountByType
entry hookEntries
hookCountByTypeentryhookType hookCountByTypeentryhookType
store
picker storequickInputService useSeparators
backButton quickInputServicebackButton
picker
step StepSelectHookType
selectedHookType IHookTypeQuickPickItem
selectedHook IHookQuickPickItem
selectedFile IHookFileQuickPickItem
selectedFolder uri
stepHistory Step
goBack Step stepHistory
step
StepSelectHookType
makeItem hookType meta HookType IHookTypeMeta IHookTypeQuickPickItem
count hookCountByTypehookType
countLabel count
label
description metadescription
hookType
hookTypeMeta meta
pickerItems IHookTypeQuickPickItem IQuickPickSeparator
optionstarget
targetHookTypes Objectoptionstarget
pickerItems Object HookType IHookTypeMeta
hookType targetHookTypeshookType
makeItem
vscodeTypes ObjectTargetVSCode
copilotTypes ObjectTargetGitHubCopilot
allEntries Object HookType IHookTypeMeta
shared allEntriesh vscodeTypesh copilotTypesh
vscodeOnly allEntriesh vscodeTypesh copilotTypesh
copilotOnly allEntriesh vscodeTypesh copilotTypesh
pickerItems
sharedlength
pickerItems type label
pickerItemssharedmakeItem
vscodeOnlylength
pickerItems type label
pickerItemsvscodeOnlymakeItem
copilotOnlylength
pickerItems type label
pickerItemscopilotOnlymakeItem
pickeritems pickerItems
pickervalue
pickerplaceholder
pickertitle
pickerbuttons
result picker backButton
result result
selectedHookType result
stepHistoryStepSelectHookType
step StepSelectHook
StepSelectHook
hooksOfType hookEntriesh hhookType selectedHookTypehookType
fileHooks hooksOfTypeh hagentName
agentHooks hooksOfTypeh hagentName
hookItems IHookQuickPickItem IQuickPickSeparator
hookItems
label
isAddNewHook
alwaysShow
fileHookslength
hookItems
type
label
entry fileHooks
description labelServiceentryfileUri relative
hookItems
label entrycommandLabel
description
hookEntry entry
agentHookslength
agentNames agentHooksh hagentName
agentName agentNames
hookItems
type
label agentName
entry agentHooksh hagentName agentName
description labelServiceentryfileUri relative
hookItems
label entrycommandLabel
description
hookEntry entry
hooksOfTypelength
selectedHook hookItems IHookQuickPickItem
pickeritems hookItems
pickervalue
pickerplaceholder
pickertitle selectedHookTypehookTypeMetalabel
pickerbuttons backButton
result picker backButton
result
step StepSelectHookType
result
selectedHook result
stepHistoryStepSelectHook
selectedHookhookEntry
entry selectedHookhookEntry
selection ITextEditorSelection
entryagentName
content fileServiceentryfileUri
commandText entrycommand targetOS
commandText
selection contentvalue commandText
commandFieldName entrycommand targetOS
commandFieldName
content fileServiceentryfileUri
selection
contentvalue
entryoriginalHookTypeId
entryindex
commandFieldName
optionsopenEditor
optionsentryfileUri selection
editorService
resource entryfileUri
options
selection
pinned
step StepSelectFile
StepSelectFile
hookStorage optionspreferredStorage PromptsStoragelocal
hookFiles promptsServicePromptsTypehook hookStorage CancellationTokenNone
fileItems IHookFileQuickPickItem IQuickPickSeparator
fileItems
label
isCreateNewFile
alwaysShow
hookFileslength
fileItems
type
label
hookFile hookFiles
relativePath labelServicehookFileuri relative
fileItems
label relativePath
fileUri hookFileuri
hookFileslength
selectedFile fileItems IHookFileQuickPickItem
pickeritems fileItems
pickervalue
pickerplaceholder
pickertitle
pickerbuttons backButton
result picker backButton
result
step StepSelectHook
result
selectedFile result
stepHistoryStepSelectFile
selectedFilefileUri
selectedFilefileUri
selectedHookTypehookType
fileService
editorService
notificationService
bulkEditService
optionsopenEditor
step StepSelectFolder
StepSelectFolder
allFolders promptsServicePromptsTypehook
folder optionspreferredStorage folderstorage optionspreferredStorage
allFolderslength
notificationServiceoptionspreferredStorage PromptsStorageuser
selectedFolder allFolders
allFolderslength
folderItems allFoldersfolder index
basePath labelServicefolderuri relative folderstorage PromptsStoragelocal
label index basePath basePath
label
description foldersource foldersource
folder
pickeritems folderItems
pickervalue
pickerplaceholder
pickertitle
pickerbuttons backButton
result picker backButton
result
step StepSelectFile
result
selectedFolder resultfolder
stepHistoryStepSelectFolder
step StepEnterFilename
StepEnterFilename
picker
fileNameResult resolve
resolved
done value
resolved
resolved
inputDisposables
value
inputDisposables
inputBox inputDisposablesquickInputService
inputBoxprompt
inputBoxplaceholder
inputBoxtitle
inputBoxbuttons backButton
inputBoxignoreFocusOut
inputDisposablesinputBox
value inputBoxvalue
value value
inputBoxvalidationMessage
name value
name
inputBoxvalidationMessage
name
inputDisposablesinputBox
inputBoxvalidationMessage
inputDisposablesinputBoxbutton
button backButton
inputDisposablesinputBox
inputBox
fileNameResult
picker
step StepSelectFolder
fileNameResult
fileServiceselectedFolderuri
hookFileName fileNameResult fileNameResult
hookFileUri selectedFolderuri hookFileName
fileServicehookFileUri
hookFileUri
selectedHookTypehookType
fileService
editorService
notificationService
bulkEditService
optionsopenEditor
newFileFormat hookFileUri
isClaudeNewFile newFileFormat HookSourceFormatClaude
isCopilotCliOnly isClaudeNewFile
ObjectTargetVSCodeselectedHookTypehookType
ObjectTargetGitHubCopilotselectedHookTypehookType
hookTypeKey isClaudeNewFile
selectedHookTypehookType selectedHookTypehookType
isCopilotCliOnly
selectedHookTypehookType selectedHookTypehookType
selectedHookTypehookType
newFileHookEntry isCopilotCliOnly
type targetOS OperatingSystemWindows
newFileFormat
commandFieldKey isCopilotCliOnly
targetOS OperatingSystemWindows
hooksContent Record
isCopilotCliOnly version
hooks
hookTypeKey
newFileHookEntry
jsonContent hooksContent
fileServicehookFileUri VSBufferjsonContent
optionsonHookFileCreatedhookFileUri
selection jsonContent hookTypeKey commandFieldKey
optionsopenEditor
optionshookFileUri selection
editorService
resource hookFileUri
options
selection
pinned
store
id
title
shortTitle
icon Codiconzap
f1
precondition ChatContextKeysenabled
category
override
accessor ServicesAccessor
accessor
ManageHooksAction