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 * as crypto from 'crypto';
import * as fs from 'fs';
import * as path from 'path';
import * as cp from 'child_process';
import { env, LogOutputChannel } from 'vscode';
/**
* Manages content-addressed copies of askpass scripts in a user-controlled folder.
*
* This solves the problem on Windows user/system setups where environment variables
* like GIT_ASKPASS point to scripts inside the VS Code installation directory, which
* changes on each update. By copying the scripts to a content-addressed location in
* user storage, the paths remain stable across updates (as long as the script contents
* don't change).
*
* This feature is only enabled on Windows user and system setups (not archive or portable)
* because those are the only configurations where the installation path changes on each update.
*
* Security considerations:
* - Scripts are placed in user-controlled storage (not TEMP to avoid TOCTOU attacks)
* - On Windows, ACLs are set to allow only the current user to modify the files
*/
/**
* Checks if the current VS Code installation is a Windows user or system setup.
* Returns false for archive, portable, or non-Windows installations.
*/
processplatform
productJsonPath pathenvappRoot
productJson fsproductJsonPath
target productJsontarget
target target
askpass
askpassMain
sshAskpass
askpassEmpty
sshAskpassEmpty
sourcePaths SourceAskpassPaths
hash crypto
files
sourcePathsaskpass
sourcePathsaskpassMain
sourcePathssshAskpass
sourcePathsaskpassEmpty
sourcePathssshAskpassEmpty
file files
content fsfile
hashcontent
hashpathfile
hash
filePath logger LogOutputChannel
username processenv
username
logger
resolve
args filePath
cp args error _stdout stderr
error
logger
stderr
logger
logger
source
dest
logger LogOutputChannel
content fspromisessource
fspromisesdest content
dest logger
dirPath logger LogOutputChannel
now
fspromisesdirPath now now
logger
err
logger
askpassBaseDir
currentHash
logger LogOutputChannel
fspromisesaskpassBaseDir
entries fspromisesaskpassBaseDir
sevenDaysAgo Date
entry entries
entry currentHash
entryPath pathaskpassBaseDir entry
stat fspromisesentryPath
stat
statmtime sevenDaysAgo
logger
fspromisesentryPath recursive force
logger
err
logger
err
logger
askpass
askpassMain
sshAskpass
askpassEmpty
sshAskpassEmpty
sourceDir
storageDir
logger LogOutputChannel
AskpassPaths
sourcePaths SourceAskpassPaths
askpass pathsourceDir
askpassMain pathsourceDir
sshAskpass pathsourceDir
askpassEmpty pathsourceDir
sshAskpassEmpty pathsourceDir
contentHash sourcePaths
logger
askpassBaseDir pathstorageDir
askpassDir pathaskpassBaseDir contentHash
destPaths AskpassPaths
askpass pathaskpassDir
askpassMain pathaskpassDir
sshAskpass pathaskpassDir
askpassEmpty pathaskpassDir
sshAskpassEmpty pathaskpassDir
stat fspromisesdestPathsaskpass
stat
logger
askpassDir logger
destPaths
logger
fspromisesaskpassDir recursive
askpassDir logger
sourcePathsaskpass destPathsaskpass logger
sourcePathsaskpassMain destPathsaskpassMain logger
sourcePathssshAskpass destPathssshAskpass logger
sourcePathsaskpassEmpty destPathsaskpassEmpty logger
sourcePathssshAskpassEmpty destPathssshAskpassEmpty logger
logger
askpassDir logger
askpassBaseDir contentHash logger
destPaths
sourceDir
storagePath
logger LogOutputChannel
AskpassPaths
storagePath
sourceDir storagePath logger
err
logger
askpass pathsourceDir
askpassMain pathsourceDir
sshAskpass pathsourceDir
askpassEmpty pathsourceDir
sshAskpassEmpty pathsourceDir