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 { IJSONSchema } from '../../../../../base/common/jsonSchema.js';
import * as nls from '../../../../../nls.js';
import { URI } from '../../../../../base/common/uri.js';
import { joinPath } from '../../../../../base/common/resources.js';
import { isAbsolute } from '../../../../../base/common/path.js';
import { untildify } from '../../../../../base/common/labels.js';
import { OperatingSystem } from '../../../../../base/common/platform.js';
import { IParsedHookCommand }
HookType
Target
IValue IMapValue
type
windowsSource
linuxSource
osxSource
HookType IParsedHookCommand
ChatRequestHooks
a ChatRequestHooks b ChatRequestHooks
a b
a b
hookType ObjectHookType
aArr ahookType
bArr bhookType
aArrlength bArrlength
aArr bArr
i i aArrlength i
IParsedHookCommandaArri bArri
base ChatRequestHooks additional ChatRequestHooks ChatRequestHooks
base
additional
result PartialRecordHookType IParsedHookCommand base
hookType ObjectHookType
baseArr basehookType
additionalArr additionalhookType
additionalArr additionalArrlength
resulthookType baseArr baseArr additionalArr additionalArr
result ChatRequestHooks
Record
type nls
command nls
windows nls
linux nls
osx nls
bash nls
powershell nls
cwd nls
env nls
timeout nls
timeoutSec nls
vscodeHookCommandSchema IJSONSchema
type
additionalProperties
required
anyOf
required
required
required
required
required
required
errorMessage nls
properties
type
type
description type
command
type
description command
windows
type
description windows
linux
type
description linux
osx
type
description osx
cwd
type
description cwd
env
type
additionalProperties type
description env
timeout
type
description timeout
hookArraySchema IJSONSchema
type
items vscodeHookCommandSchema
target Target arraySchema IJSONSchema Record IJSONSchema
Object
Objecttargetkey hookType
key
arraySchema description hookTypedescription
vscodeHookProperties Record IJSONSchema TargetVSCode hookArraySchema
copilotCliHookCommandSchema IJSONSchema
type
additionalProperties
required
anyOf
required
required
errorMessage nls
properties
type
type
description type
bash
type
description bash
powershell
type
description powershell
cwd
type
description cwd
env
type
additionalProperties type
description env
timeoutSec
type
description timeoutSec
copilotCliHookArraySchema IJSONSchema
type
items copilotCliHookCommandSchema
copilotCliHookProperties Record IJSONSchema TargetGitHubCopilot copilotCliHookArraySchema
hookFileSchema IJSONSchema
$schema
type
description nls
additionalProperties
required
properties
hooks
type
description nls
additionalProperties
required
properties
version type
then
properties
version
type
description nls
hooks
properties copilotCliHookProperties
properties
hooks
properties vscodeHookProperties
defaultSnippets
label nls
description nls
body
hooks
SessionStart
type
command
PreToolUse
type
command
timeout
rawHookTypeId HookType
ObjectHookTyperawHookTypeId HookType
rawHookTypeId HookType
raw Record command windows linux osx windowsSource linuxSource osxSource cwd env Record timeout
rawtype
hasCommand rawcommand rawcommandlength
hasBash rawbash rawbash length
hasPowerShell rawpowershell rawpowershell length
hasWindows rawwindows rawwindows length
hasLinux rawlinux rawlinux length
hasOsx rawosx rawosx length
windows hasWindows rawwindows hasPowerShell rawpowershell
linux hasLinux rawlinux hasBash rawbash
osx hasOsx rawosx hasBash rawbash
windowsSource hasWindows hasPowerShell
linuxSource hasLinux hasBash
osxSource hasOsx hasBash
hasCommand command rawcommand
windows windows
linux linux
osx osx
windowsSource windowsSource
linuxSource linuxSource
osxSource osxSource
rawcwd cwd rawcwd
rawenv rawenv env rawenv Record
rawtimeout rawtimeoutSec timeout rawtimeoutSec
rawtimeout timeout rawtimeout
os OperatingSystem
os OperatingSystemWindows
os OperatingSystemMacintosh
os OperatingSystemLinux
hook IParsedHookCommand os OperatingSystem
os OperatingSystemWindows hookwindows
hookwindows
os OperatingSystemMacintosh hookosx
hookosx
os OperatingSystemLinux hooklinux
hooklinux
hookcommand
hook IParsedHookCommand os OperatingSystem
os OperatingSystemWindows hookwindows
os OperatingSystemMacintosh hookosx
os OperatingSystemLinux hooklinux
hook IHookCommand os OperatingSystem
os OperatingSystemWindows hookwindows hookwindowsSource
os OperatingSystemMacintosh hookosx hookosxSource
os OperatingSystemLinux hooklinux hooklinuxSource
hook IHookCommand IParsedHookCommand os OperatingSystem
h hook PartialIHookCommand
os OperatingSystemWindows hookwindows
hwindowsSource
os OperatingSystemMacintosh hookosx
hosxSource
os OperatingSystemLinux hooklinux
hlinuxSource
hook IParsedHookCommand os OperatingSystem
command hook os
command
command
raw Record workspaceRootUri userHome IHookCommand
normalized raw
normalized
cwdUri
normalizedcwd
expandedCwd normalizedcwd userHome
expandedCwd
cwdUri expandedCwd
workspaceRootUri
cwdUri workspaceRootUri expandedCwd
cwdUri workspaceRootUri
type
normalizedcommand command normalizedcommand
normalizedwindows windows normalizedwindows
normalizedlinux linux normalizedlinux
normalizedosx osx normalizedosx
normalizedwindowsSource windowsSource normalizedwindowsSource
normalizedlinuxSource linuxSource normalizedlinuxSource
normalizedosxSource osxSource normalizedosxSource
cwdUri cwd cwdUri
normalizedenv env normalizedenv
normalizedtimeout timeout normalizedtimeout
item
workspaceRootUri
userHome
IHookCommand
item item
itemObj item Record
commands IHookCommand
nestedHooks itemObjhooks
nestedHooks nestedHooks
nestedHook nestedHooks
nestedHook nestedHook
normalized nestedHook Record
resolved normalized workspaceRootUri userHome
resolved
commandsresolved
normalized itemObj
resolved normalized workspaceRootUri userHome
resolved
commandsresolved
commands
raw Record Record
rawtype rawtype
raw type
raw
value IValue
valuetype
valuevalue
valueitemsyamlValueToPlain
obj Record
prop valueproperties
objpropkeyvalue propvalue
obj
hooksMap IMapValue
workspaceRootUri
userHome
target Target TargetUndefined
ChatRequestHooks
result Record IHookCommand
targetHookMap target TargetUndefined
prop hooksMapproperties
hookTypeName propkeyvalue
hookType targetHookMaphookTypeName hookTypeName
hookType
propvaluetype
commands IHookCommand
item propvalueitems
plainItem item
extracted plainItem workspaceRootUri userHome
commandsextracted
commandslength
resulthookType
resulthookType
resulthookTypecommands
result ChatRequestHooks