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 { ExecOptionsWithStringEncoding } from 'child_process';
import * as fs from 'fs';
import { basename, delimiter } from 'path';
import * as vscode from 'vscode';
import azdSpec from './completions/azd';
import cdSpec from './completions/cd';
import codeCompletionSpec from './completions/code';
import codeInsidersCompletionSpec from './completions/code-insiders';
import codeTunnelCompletionSpec from './completions/code-tunnel';
import codeTunnelInsidersCompletionSpec
copilotSpec
gitCompletionSpec
ghCompletionSpec
npmCompletionSpec
npxCompletionSpec
pnpmCompletionSpec
setLocationSpec
yarnCompletionSpec
upstreamSpecs
ITerminalEnvironment PathExecutableCache
executeCommand executeCommandTimeout IFigExecuteExternals
getFigSuggestions
createCompletionItem
osIsWindows
createTimeoutPromise
getFriendlyResourcePath
getBashGlobals
getFishGlobals
getPwshGlobals
getZshGlobals
defaultShellTypeResetChars getTokenType shellTypeResetChars TokenType
ICompletionResource
TerminalShellType
isWindows
commands ICompletionResource
existingCommands
ShellGlobalsCacheEntry timestamp
cachedGlobals Map ShellGlobalsCacheEntryWithMeta
inflightRequests Map ICompletionResource
pathExecutableCache PathExecutableCache
globalStorageUri vscodeUri
machineId remoteAuthority shellType TerminalShellType
availableSpecs FigSpec
azdSpec
cdSpec
codeInsidersCompletionSpec
codeCompletionSpec
codeTunnelCompletionSpec
codeTunnelInsidersCompletionSpec
copilotSpec
gitCompletionSpec
ghCompletionSpec
npmCompletionSpec
npxCompletionSpec
pnpmCompletionSpec
setLocationSpec
yarnCompletionSpec
ObjectupstreamSpecs
getShellSpecificGlobals MapTerminalShellType options ExecOptionsWithStringEncoding existingCommands Set ICompletionResource
TerminalShellTypeBash getBashGlobals
TerminalShellTypeZsh getZshGlobals
TerminalShellTypeGitBash getBashGlobals
TerminalShellTypeFish getFishGlobals
TerminalShellTypePowerShell getPwshGlobals
TerminalShellTypeWindowsPowerShell getPwshGlobals
shellType TerminalShellType
existingCommands Set
machineId
remoteAuthority
ICompletionResource
machineId
shellType existingCommands
cacheKey machineId remoteAuthority shellType
cached cachedGlobalscacheKey
now Date
existingCommandsArr existingCommands existingCommands
shouldRefresh
cached
now cachedtimestamp
cachedGlobalscacheKey
existingCommandsArr cachedexistingCommands
existingCommandsArrlength cachedexistingCommandslength
shouldRefresh
existingCommandsArr cachedexistingCommands
shouldRefresh
shouldRefresh cachedcommands
cachedcommands
shellType existingCommands machineId remoteAuthority
shellType TerminalShellType
existingCommands Set
machineId
remoteAuthority
background
ICompletionResource
cacheKey machineId remoteAuthority shellType
cached cachedGlobalscacheKey
cached
cachedcommands
existingRequest inflightRequestscacheKey
existingRequest
existingRequest
requestPromise
execShellType shellType
shellType TerminalShellTypeGitBash
execShellType TerminalShellTypeBash
options ExecOptionsWithStringEncoding encoding shell execShellType windowsHide
mixedCommands ICompletionResource getShellSpecificGlobalsshellTypeoptions existingCommands
normalizedCommands mixedCommandscommand command label command command
machineId
cacheKey machineId remoteAuthority shellType
cachedGlobalscacheKey
commands normalizedCommands
existingCommands existingCommands existingCommands
timestamp Date
normalizedCommands
error
background
error
inflightRequestscacheKey
inflightRequestscacheKey requestPromise
requestPromise
globalStorageUri
now Date
key value cachedGlobals
now valuetimestamp
cachedGlobalskey
obj Record ShellGlobalsCacheEntryWithMeta
key value cachedGlobals
objkey value
terminalSuggestDir vscodeUriglobalStorageUri
vscodeworkspacefsterminalSuggestDir
cacheFile vscodeUriterminalSuggestDir
data Bufferobj
vscodeworkspacefscacheFile data
err
err
globalStorageUri
terminalSuggestDir vscodeUriglobalStorageUri
cacheFile vscodeUriterminalSuggestDir
data vscodeworkspacefscacheFile
obj data Record ShellGlobalsCacheEntryWithMeta
obj
key Objectobj
cachedGlobalskey objkey
err
err FileSystemError errcode
err
context vscodeExtensionContext
pathExecutableCache
contextsubscriptionspathExecutableCache
currentTerminalEnv ITerminalEnvironment processenv
globalStorageUri contextglobalStorageUri
machineId vscodeenvmachineId
remoteAuthority vscodeenvremoteName
contextsubscriptionsvscodewindow
terminal vscodeTerminal terminalContext vscodeTerminalCompletionContext token vscodeCancellationToken vscodeTerminalCompletionItem vscodeTerminalCompletionList
currentTerminalEnv terminalshellIntegrationenvvalue processenv
tokenisCancellationRequested
shellType Objectterminalstate terminalstateshell
terminalShellType shellType
terminalShellType
commandsInPath pathExecutableCacheterminalshellIntegrationenvvalue terminalShellType
shellGlobals terminalShellType commandsInPathlabels machineId remoteAuthority
commandsInPathcompletionResources
commands shellGlobals commandsInPathcompletionResources
currentCommandString terminalContextcommandLine terminalContextcursorIndex terminalShellType
pathSeparator isWindows
tokenType terminalContext terminalShellType
result
availableSpecs
terminalContext
commands
currentCommandString
tokenType
terminalshellIntegrationcwd
currentTerminalEnv
terminalname
token
result
terminalshellIntegrationenv
homeDirCompletion resultitemsi ilabel
homeDirCompletion terminalshellIntegrationenvvalue
homeDirCompletiondocumentation vscodeUriterminalshellIntegrationenvvalue pathSeparator vscodeTerminalCompletionItemKindFolder
homeDirCompletionkind vscodeTerminalCompletionItemKindFolder
cwd resultcwd terminalshellIntegrationcwd
cwd resultshowFiles resultshowDirectories
globPattern resultfileExtensions
resultitems
showFiles resultshowFiles
showDirectories resultshowDirectories
globPattern
cwd
resultitems
context currentTerminalEnv pathExecutableCache
contextsubscriptionsvscodecommands
cachedGlobals
context vscodeExtensionContext env ITerminalEnvironment pathExecutableCache PathExecutableCache
pathDirectories
envPath env
envPath
envPathdelimiterp pathDirectoriesp
activeWatchers
debounceTimer NodeJSTimeout
debounceTimer
debounceTimer
debounceTimer
pathExecutableCache
debounceTimer
dir pathDirectories
activeWatchersdir
stat fspromisesdir
stat
watcher vscodeworkspace vscodeUridir
contextsubscriptions
watcher
watcher
watcher
watcher
activeWatchersdir
currentCommandString currentCwd vscodeUri vscodeUri
prefix currentCommandString
currentCwd
lastSlashIndex
isWindows
lastSlashIndex prefix
lastSlashIndex
lastSlashIndex prefix
lastSlashIndex prefix
relativeFolder lastSlashIndex prefix lastSlashIndex
relativeFolder
resolvedUri vscodeUricurrentCwd relativeFolder
stat vscodeworkspacefsresolvedUri
stattype vscodeFileTypeDirectory
resolvedUri
commandLine cursorIndex shellType TerminalShellType
commandLine
cursorIndex commandLinelength commandLinecursorIndex
beforeCursor commandLine cursorIndex
resetChars shellType shellTypeResetCharsshellType defaultShellTypeResetChars defaultShellTypeResetChars
lastResetIndex
char resetChars
idx beforeCursorchar
idx lastResetIndex
lastResetIndex idx
currentCommandStart lastResetIndex
currentCommandString beforeCursorcurrentCommandStart
currentCommandString
x
x
x
x x x
specs FigSpec
terminalContext vscodeTerminalCompletionContext
availableCommands ICompletionResource
currentCommandString
tokenType TokenType
shellIntegrationCwd vscodeUri
env Record
name
token vscodeCancellationToken
executeExternals IFigExecuteExternals
items vscodeTerminalCompletionItem showFiles showDirectories fileExtensions cwd vscodeUri
items vscodeTerminalCompletionItem
showFiles
showDirectories
hasCurrentArg
fileExtensions
isWindows
spaceIndex currentCommandString
commandEndIndex spaceIndex currentCommandStringlength spaceIndex
lastDotIndex currentCommandString commandEndIndex
lastDotIndex
currentCommandString currentCommandString lastDotIndex currentCommandStringspaceIndex
executeExternalsFallbackCwd shellIntegrationCwdfsPath
executeExternalsFallbackCwd
executeExternalsFallbackCwd process
executeExternalsFallbacks
cwd
env Record
cwd executeExternalsFallbackCwd
env
executeExternalsWithFallback executeExternals
executeCommand executeCommand executeExternalsFallbacks
executeCommandTimeout executeCommandTimeout executeExternalsFallbacks
result specs terminalContext availableCommands currentCommandString tokenType shellIntegrationCwd env name executeExternalsWithFallback token
result
hasCurrentArg resulthasCurrentArg
showFiles resultshowFiles
showDirectories resultshowDirectories
fileExtensions resultfileExtensions
resultitems
items itemsresultitems
tokenType TokenTypeCommand
labels itemsi ilabel ilabel ilabellabel
command availableCommands
commandTextLabel commandlabel commandlabel commandlabellabel
labelWithoutExtension isWindows commandTextLabel commandTextLabel
labelslabelWithoutExtension
items
terminalContextcursorIndex
currentCommandString
command
commanddetail
commanddocumentation
vscodeTerminalCompletionItemKindMethod
labelscommandTextLabel
existingItem itemsi ilabel ilabel ilabellabel commandTextLabel
existingItem
existingItemdocumentation commanddocumentation
existingItemdetail commanddetail
showFiles
showDirectories
itemslength showFiles showDirectories hasCurrentArg
showFiles
showDirectories
cwd vscodeUri
shellIntegrationCwd showFiles showDirectories
cwd currentCommandString shellIntegrationCwd
items showFiles showDirectories fileExtensions cwd
shellIntegrationEnv ITerminalEnvironment Record
env Record
key value ObjectshellIntegrationEnv processenv
value
envkey value
shellIntegrationEnv
env
env
shellType TerminalShellType
shellType
TerminalShellTypeBash
TerminalShellTypeGitBash
TerminalShellTypeZsh
vscodeenvshell TerminalShellTypeWindowsPowerShell TerminalShellTypePowerShell
TerminalShellTypeFish
env Record preserve
set preserveset key
key
set
keysToRemove
envKeys Objectenv
envKeys
key key
envKey
i i keysToRemovelength i
envKeykeysToRemovei
envenvKey
fileExtensions
fileExtensions fileExtensionslength
exts fileExtensionsext ext ext ext
extslength