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 fs from 'fs';
import path from 'path';
import crypto from 'crypto';
import * as utils from './utils.ts';
import colors from 'ansi-colors';
import ts from 'typescript';
import Vinyl from 'vinyl';
import { type RawSourceMap, SourceMapConsumer, SourceMapGenerator } from 'source-map';
export interface IConfiguration {
logFn: (topic: message
_emitWithoutBasePath
CancellationToken
None CancellationToken
file Vinyl err tsDiagnostic token CancellationToken
file Vinyl
languageService tsLanguageService
path
path
config IConfiguration projectFile cmd tsParsedCommandLine ITypeScriptBuilder
_log configlogFn
host cmd projectFile _log
outHost cmd options cmdoptions sourceRoot cmdoptionsoutDir cmdoptionsoutDir _log
toBeCheckedForCycles
service tshost ts
lastBuildVersion path Object
lastDtsHash path Object
userWantsDeclarations cmdoptionsdeclaration
oldErrors path tsDiagnostic Object
headUsed processheapUsed
emitSourceMapsInStream
hostdeclaration
file Vinyl
filesourceMap
emitSourceMapsInStream
filecontents
hostfilepath
lastBuildVersionfilepath
hostfilepath file
snapshot ScriptSnapshot
snapshot
cmdoptionsoutDir snapshot
sourceFile tsSourceFile
SourceFile
externalModuleIndicator
sourceFile SourceFileWithModuleIndicatorexternalModuleIndicator
sourceFile
file Vinyl err token CancellationTokenNone
fileName tsDiagnostic
resolve
process
hostfileName
servicefileName
fileName tsDiagnostic
resolve
process
hostfileName
servicefileName
fileName fileName signature files Vinyl
resolve
process
fileName
snapshot hostfileName
signature crypto
snapshot snapshot
fileName
signature
files
output servicefileName
files Vinyl
signature
file outputoutputFiles
emitSourceMapsInStream filename
filename
signature crypto
filetext
userWantsDeclarations
vinyl
path filename
contents Bufferfiletext
base config_emitWithoutBasePath hostfileName
emitSourceMapsInStream filename
sourcemapFile outputoutputFilesf fname
sourcemapFile
extname pathvinylrelative
basename pathvinylrelative extname
dirname pathvinylrelative
tsname dirname dirname basename
sourceMap sourcemapFiletext RawSourceMap
sourceMapsources tsname
snapshot hostfileName
snapshot snapshotsourceMap
inputSMC snapshotsourceMap
tsSMC sourceMap
didChange
smg
file sourceMapfile
sourceRoot sourceMapsourceRoot
lineEdits
inputSMCm
moriginalLine mgeneratedLine
array lineEditsmoriginalLine
array
array
lineEditsmoriginalLine array
arraymoriginalColumn mgeneratedColumn
tsSMCm
didChange
edits lineEditsmoriginalLine
originalColumnDelta
edits
from to edits
to moriginalColumn
originalColumnDelta from to
smg
source msource
name mname
generated line mgeneratedLine column mgeneratedColumn
original line moriginalLine column moriginalColumn originalColumnDelta
didChange
_sources source
tsSMC inputSMCconsumer
consumer SourceMapConsumer sources sourcessourceFile
smg SourceMapGeneratorWithSources_sourcessourceFile
sourceContent consumersourceFile
sourceContent
smgsourceFile sourceContent
sourceMap smg
vinyl Vinyl sourceMap RawSourceMap sourceMap sourceMap
filesvinyl
fileName
signature
files
newErrors path tsDiagnostic Object
t1 Date
toBeEmitted
toBeCheckedSyntactically
toBeCheckedSemantically
filesWithChangedSignature
dependentFiles
newLastBuildVersion
fileName host
lastBuildVersionfileName hostfileName
toBeEmittedfileName
toBeCheckedSyntacticallyfileName
toBeCheckedSemanticallyfileName
resolve
semanticCheckInfo
seenAsDependentFile
promise
token
newLastBuildVersion
toBeEmittedlength
fileName toBeEmitted
promise fileNamevalue
file valuefiles
filepath
file
newLastBuildVersionfileName hostfileName
valuesignature lastDtsHashfileName valuesignature
lastDtsHashfileName valuesignature
filesWithChangedSignaturefileName
jsValue valuefilescandidate candidatebasename
jsValue
outHostjsValuepath jsValuecontents
toBeCheckedForCyclesjsValuepath
e
host
hoste
toBeCheckedSyntacticallylength
fileName toBeCheckedSyntactically
fileName
promise fileNamediagnostics
oldErrorsfileName
diagnosticslength
diagnosticsd d
newErrorsfileName diagnostics
toBeCheckedSyntacticallylength
toBeCheckedSemanticallylength
filesWithChangedSignaturelength
toBeCheckedSemanticallylength
fileName toBeCheckedSemantically
fileName semanticCheckInfofileName
fileName toBeCheckedSemantically
fileName
fileName
promise fileNamediagnostics
oldErrorsfileName
semanticCheckInfofileName diagnosticslength
diagnosticslength
diagnosticsd d
newErrorsfileName diagnostics
filesWithChangedSignaturelength
filesWithChangedSignaturelength
fileName filesWithChangedSignature
servicefileName
fileName
toBeCheckedSemanticallyhost
filesWithChangedSignaturelength
dependentFileslength
hostfileName dependentFiles
dependentFileslength
fileName dependentFiles
fileName seenAsDependentFilefileName
fileName dependentFiles
fileName
seenAsDependentFilefileName
value semanticCheckInfofileName
value
hostfileName dependentFiles
value
dependentFilesfileName
toBeCheckedSemanticallyfileName
promise
promise
promise
processworkOnNext
err
err
cycles outHosttoBeCheckedForCycles
toBeCheckedForCycleslength
filename error cycles
cyclicDepErrors tsDiagnostic
error
cyclicDepErrors
category tsDiagnosticCategoryError
code
file
start
length
messageText
oldErrorsfilename
newErrorsfilename cyclicDepErrors
cyclicDepErrorsd d
newLastBuildVersionvalue key
lastBuildVersionkey value
key value ObjectoldErrors
valuediag diag
newErrorskey value
oldErrors newErrors
headNow processheapUsed
headUsed headNow
file
build
languageService service
IScriptSnapshot
_text
_mtime Date
text mtime Date
_text text
_mtime mtime
_mtime
start end
_textstart end
_textlength
_oldSnapshot tsIScriptSnapshot tsTextChangeRange
_base
sourceMap RawSourceMap
file Vinyl sourceMap RawSourceMap
filecontents filestatmtime
_base filebase
sourceMap filesourceMap
_base
LanguageServiceHost
_snapshots path ScriptSnapshot
_filesInProject Set
_filesAdded Set
_dependencies InstanceType utilsgraphGraph
_dependenciesRecomputeList
_fileNameToDeclaredModule path
_projectVersion
_cmdLine tsParsedCommandLine
_projectPath
topic message
cmdLine tsParsedCommandLine
projectPath
topic message
_cmdLine cmdLine
_projectPath projectPath
_log log
_snapshots Object
_filesInProject _cmdLinefileNames
_filesAdded
_dependencies graph
_dependenciesRecomputeList
_fileNameToDeclaredModule Object
_projectVersion
_s
_s
s
s
tsCompilerOptions
_cmdLineoptions
_projectVersion
res Object_snapshotspath _filesInProjectpath _filesAddedpath
res
filename
filename filename
result _snapshotsfilename
result
result
Math
filename resolve ScriptSnapshot
filename filename
result _snapshotsfilename
result resolve
result
path filename
contents fsfilename
base outDir
stat fsfilename
filename result
e
result
_declareModule
filename snapshot ScriptSnapshot ScriptSnapshot
_projectVersion
filename filename
old _snapshotsfilename
old _filesInProjectfilename filename
_filesAddedfilename
old old snapshot
_dependenciesRecomputeListfilename
LanguageServiceHost_declareModulelastIndex
match RegExpExecArray
match LanguageServiceHost_declareModulesnapshot snapshot
declaredModules _fileNameToDeclaredModulefilename
declaredModules
_fileNameToDeclaredModulefilename declaredModules
declaredModulesmatch
_snapshotsfilename snapshot
old
filename
filename filename
filename
_filesInProjectfilename
_filesAddedfilename
_projectVersion
_fileNameToDeclaredModulefilename
_snapshotsfilename
path_projectPath
options tsCompilerOptions
tsoptions
directoryExists tssysdirectoryExists
getDirectories tssysgetDirectories
fileExists tssysfileExists
readFile tssysreadFile
readDirectory tssysreadDirectory
filename target
_dependenciesRecomputeListlength
_dependenciesRecomputeList
filename filename
node _dependenciesfilename
node
nodeincomingentry targetentrydata
filenames Map
_dependenciesRecomputeListlength
_dependenciesRecomputeList
cycles _dependenciesfilenamesa b ab
result
key value cycles
resultkey value
result
filename
filename
filename filename
snapshot filename
snapshot
info tssnapshot snapshot
_dependenciesfilename
inforeferencedFilesref
resolvedPath pathpathfilename reffileName
normalizedPath resolvedPath
_dependenciesfilename normalizedPath
infoimportedFilesref
reffileName
reffileName
stopDirname
dirname filename
found
found dirnamestopDirname
dirname pathdirname
resolvedPath pathdirname reffileName
resolvedPath
resolvedPath resolvedPath
normalizedPath resolvedPath
normalizedPath
_dependenciesfilename normalizedPath
found
normalizedPath
_dependenciesfilename normalizedPath
found
normalizedPath
_dependenciesfilename normalizedPath
found
found
key _fileNameToDeclaredModule
_fileNameToDeclaredModulekey _fileNameToDeclaredModulekeyreffileName
_dependenciesfilename key