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.
*--------------------------------------------------------------------------------------------*/
// Load env
import * as dotenv from 'dotenv';
dotenv.config();
// Needed for better stack traces as captureLocation parses the stack trace to find stests
import 'source-map-support/register';
// Load other imports
import { Raw } from '@vscode/prompt-tsx';
import * as fs from 'fs';
import minimist from 'minimist';
import { createConnection } from 'net';
import * as path from 'path';
import * as v8
vscodeType
SimpleRPC
ChatMLFetcherImpl
ISimulationModelConfig createExtensionUnitTestingServices
IChatMLFetcher
ChatFetchResponseType ChatLocation
toTextParts
IEndpointProvider ModelSupportedEndpoint
createProxyXtabEndpoint
IModelConfig
fileSystemServiceReadAsJSON
LogLevel
IChatEndpoint
ParserWithCaching
structureComputer
NullTelemetryService
TokenizerProvider
assert
CancellationToken
DisposableStore
SyncDescriptor
IInstantiationService
Cache
IChatMLCache
usedResourceCaches
ChatMLSQLiteCache
CompletionsSQLiteCache ICompletionsCache
usedEmbeddingsCaches
TestingCacheSalts
ICompleteBaselineComparison IModifiedScenario SimulationBaseline
CacheMode CurrentTestRunInfo SimulationServicesOptions createSimulationChatModelThrottlingTaskLaunchers loadConfigFile
ProxiedSimulationEndpointHealth SimulationEndpointHealthImpl
SimulationOptions
ProxiedSimulationOutcome SimulationOutcomeImpl
drainStdoutAndExit
SimulationSuite SimulationTest SimulationTestsRegistry createSimulationTestFilter
CollectingJSONOutputPrinter ConsoleJSONOutputPrinter IJSONOutputPrinter ProxiedSONOutputPrinter
green orange red violet yellow
runInputPipeline runInputPipelineParallel
ITestDiscoveryOptions discoverTests
discoverCoffeTests
discoverNesTests
AdhocResponseOutput AdhocResponseType IAdhocRequest OutputType generateOutputFolderName
logger
IInitParams IInitResult IRunTestParams IRunTestResult
GroupedScores ITestResult SimulationTestContext executeTestOnce executeTests
createScoreRenderer fileExists printTime
dotSimulationPath path__dirname
errors
processenv
process reason promise
promise reason
errors reason
processenv
opts SimulationOptions
result opts
result
errorsresulterrors
err
errorserrstack errmessage err
errorslength
i i errorslength i
idx
errorslength
errors
opts SimulationOptions RunResult
jsonOutputPrinter IJSONOutputPrinter optsjsonOutput
optsexternalCacheLayersPath
processenv optsexternalCacheLayersPath
optshelp optssubcommand
opts
optshelp
opts
optsadhocRequestFile
optsadhocRequestFile
optslistModels
optsmodelCacheMode CacheModeDisable
optsnesDatagen
optsparallelism optsnesDatagenworkerMode
opts
opts
optslistSuites
optslistTests
allSuites opts
optslistSuites
allSuites opts jsonOutputPrinter
optslistTests
allSuites opts jsonOutputPrinter
opts jsonOutputPrinter
nodeOptions processenv
nodeOptions
regex
parsed nodeOptionsregex match
arg match
arg arg arg arg
arg arg arg
arg
parsed
reqPaths parsed parsed parsed
logger
reqPathsr r
port processenv
rpc resolve reject
socket host port
socket socket
socket reject
vscode vscodeType
folder vscodeworkspaceworkspaceFolders
CacheInstance url
rpc url
rpc params IRunTestParams IRunTestResult
simulationTestContext tests allTests
simulationTestContextbaseline
simulationTestContextsimulationEndpointHealthfailures simulationTestContextsimulationEndpointHealthfailureslength
test testsparamstestName
test
result
simulationTestContext
paramsoutcomeDirectory
test
paramsrunNumber
result
allTests rpc folder folderurifsPath satisfies IInitParams res IInitResult
opts SimulationOptionsresargv
testsToRun opts
simulationTestContext opts rpc rpc
opts tests testsToRunt tfullName t simulationTestContext
resolve
rpc
opts SimulationOptions jsonOutputPrinter IJSONOutputPrinter rpcInExtensionHost SimpleRPC
optsverbose
loggerLogLevelTrace
optsparallelism
ParserWithCaching Math optsparallelism
structureComputerMath optsparallelism
fileSystemServiceReadAsJSON
allSuites testsToRun externalScenariosPath opts
outputPath optsoutput
outputPath
outputPath pathdotSimulationPath
pathoutputPath
outputPath pathprocess outputPath
rpcInExtensionHost
outputPath
jsonOutputPrinter
type OutputTypeinitialTestSummary
runOutputFolderName pathoutputPath
testsToRun testsToRunt tfullName
nRuns optsnRuns
allTests allSuitescur curtests
hasFilteredTests testsToRunlength allTestslength
optsjsonOutput
hasFilteredTests
optsheapSnapshots
canUseBaseline optsnRuns
runningAllTests optsgrep optsomitGrep
baselinePath optsexternalBaseline
optsexternalScenarios
pathoptsexternalScenarios
SimulationBaseline
baseline SimulationBaselinebaselinePath runningAllTests
canUseBaseline
fspromisesbaselinebaselinePath pathoutputPath
configs optsconfigFile optsconfigFile
opts runningAllTests baseline canUseBaseline jsonOutputPrinter outputPath externalScenariosPath rpcInExtensionHost configs
testsToRun
baseline
canUseBaseline
outputPath
runningAllTests
hasFilteredTests
opts SimulationOptions jsonOutputPrinter IJSONOutputPrinter RunResult
errors
CacheInstance url
optsjsonOutput
jsonOutputPrinter type OutputTypedeviceCodeCallback url
simulationEndpointHealth simulationOutcome simulationTestContext testsToRun baseline canUseBaseline outputPath runningAllTests hasFilteredTests opts jsonOutputPrinter
optsgc
optsgc optsexternalCacheLayersPath
CacheInstance
totalStartTime Date
testResultsPromises getGroupedScores simulationTestContext testsToRun
testResults testResultsPromises
optsheapSnapshots
totalTime Date totalStartTime
optsgc
CacheInstance
result testResults
idx o resultoutcomes
okind ocritical
errors oerror
optsstageCacheEntries optsexternalScenarios
groupedScores
groupedScores testsToRun baseline opts canUseBaseline runningAllTests testResults totalTime
tableData groupedScores
suiteScoreCard pathoutputPath
fspromisessuiteScoreCard tableData
simulationOutcome
optsnoCachePointer
simulationOutcome
optsexternalScenarios hasFilteredTests
simulationOutcome
canUseBaseline
baselinepathoutputPath
optsisUpdateBaseline
canUseBaseline
baseline
errors
jsonOutputPrinterflushoutputPath
filePath pathoutputPath
fspromisesfilePath testResults
optslabel
runMetadata pathoutputPath
fspromisesrunMetadata label optslabel
writeUsedOtherCaches
writeUsedOtherCaches
fspromises
usedEmbeddingsCaches
usedResourceCaches
optsci optsisUpdateBaseline
changeStats baseline
error changeStats
error
errors
simulationEndpointHealthfailureslength
rateLimitedCount simulationEndpointHealthfailuresf frequesttype length
failedCount simulationEndpointHealthfailuresf frequesttype length
optsci optsisUpdateBaseline
errors
simulationEndpointHealthfailuresf
errors
opts SimulationOptions
allSuites SimulationSuite
testsToRun SimulationTest
externalScenariosPath optsexternalScenarios
externalScenariosPath
usageError
optsinline optssidebar optsnes
usageError
optsinline optssidebar optsnesBooleanlength
usageError
optsoutput
usageError
usageError
pathexternalScenariosPath
externalScenariosPath pathprocess externalScenariosPath
optsscenarioTest
SimulationTestsRegistryexternalScenariosPath
filter optsgrep optsomitGrep
optsnes
optsnes
allSuites externalScenariosPath opts
allSuites externalScenariosPath opts
testDiscoveryOptions ITestDiscoveryOptions
chatKind optsinline optssidebar
applyChatCodeBlocks optsapplyChatCodeBlocks
allSuites externalScenariosPath testDiscoveryOptions
testsToRun allSuites
suite suitetests
filter
t0 t1 t0fullNamet1fullName
testsToRunlength
SimulationTestsRegistryoptsscenarioTest optsgrep optsomitGrep
allSuites SimulationTestsRegistry
testsToRun SimulationTestsRegistry
allSuites testsToRun externalScenariosPath
allSuites SimulationSuite opts SimulationOptions jsonOutputPrinter IJSONOutputPrinter
suite allSuites
jsonOutputPrinter type OutputTypedetectedSuite name suitefullName location suiteoptionslocation
allSuites SimulationSuite opts SimulationOptions jsonOutputPrinter IJSONOutputPrinter
allTests allSuitessuite suitetests
test allTests
jsonOutputPrinter type OutputTypedetectedTest suiteName testsuitefullName name testfullName location testoptionslocation
optsjsonOutput
skipCache
accessor skipModelMetadataCache skipCache
endpointProvider accessorIEndpointProvider
chatEndpoints endpointProvider
modelsByFamily
endpoint chatEndpoints
family endpointfamily
modelsByFamilyfamily
modelsByFamilyfamily
modelsByFamilyfamilyendpointmodel
tableData Family Models
sortedFamilies modelsByFamilya b ab
family models sortedFamilies
models
tableData
Family family
Models models
tableData
raw ok request IAdhocRequest ok error
raw raw
ok error
obj raw Record
objmodel objmodellength
ok error
objuser objuserlength
ok error
objsystem objsystem
ok error
ok
request
model objmodel
user objuser
system objsystem objsystem
requestFilePath
output AdhocResponseOutput
processstdoutoutput
parsed
parsed fspromisesrequestFilePath
err
type AdhocResponseTypeerror value
validation parsed
validationok
type AdhocResponseTypeerror value validationerror
request validationrequest
disposables
model requestmodel
testingServiceCollection disposables
testingServiceCollectionIChatMLFetcher ChatMLFetcherImpl
accessor testingServiceCollection
endpointProvider accessorIEndpointProvider
instantiationService accessorIInstantiationService
endpoint IChatEndpoint
allEndpoints endpointProvider
endpoint allEndpointse emodel model allEndpointse efamily model
endpoint
endpoint instantiationService model
messages RawChatMessage
requestsystemlength
messages role RawChatRoleSystem content requestsystem
messages role RawChatRoleUser content requestuser
response endpoint
debugName
messages
_text _index delta
deltatext
type AdhocResponseTypedelta value deltatext
location ChatLocationOther
userInitiatedRequest
CancellationTokenNone
responsetype ChatFetchResponseTypeSuccess
type AdhocResponseTypedone value responsevalue
type AdhocResponseTypeerror value
err
type AdhocResponseTypeerror value err errstack errmessage err
disposables
opts SimulationOptions
runningAllTests
baseline SimulationBaseline
canUseBaseline
jsonOutputPrinter IJSONOutputPrinter
outputPath
externalScenariosPath
rpcInExtensionHost SimpleRPC
configs Record
simulationEndpointHealth rpcInExtensionHost rpcInExtensionHost
createChatMLCache info CurrentTestRunInfo IChatMLCache
createNesFetchCache info CurrentTestRunInfo ICompletionsCache
optslmCacheMode CacheModeDisable
createChatMLCache
createNesFetchCache
info CurrentTestRunInfo TestingCacheSaltsrequestCacheSalt info
info CurrentTestRunInfo TestingCacheSaltsnesFetchCacheSalt info
simulationServicesOptions SimulationServicesOptions
createChatMLCache
createNesFetchCache
chatModelThrottlingTaskLaunchers optsboost
isNoFetchModeEnabled optsnoFetch
languageModelCacheMode optslmCacheMode
resourcesCacheMode optsresourcesCacheMode
disabledTools optsdisabledTools
summarizeHistory optssummarizeHistory
swebenchPrompt optsswebenchPrompt
useExperimentalCodeSearchService optsuseExperimentalCodeSearchService
configs
customModelConfigMap Map IModelConfig
optsmodelConfigFile
optsmodelConfigFile
customModelConfigs optsmodelConfigFile
customModelConfigsconfig
customModelConfigMapconfigid config
modelConfig ISimulationModelConfig
chatModel optschatModel
fastChatModel optsfastChatModel
smartChatModel optssmartChatModel
embeddingType optsembeddingType
fastRewriteModel optsfastRewriteModel
skipModelMetadataCache optsmodelCacheMode CacheModeDisable
customModelConfigs customModelConfigMap
simulationOutcome rpcInExtensionHost rpcInExtensionHost runningAllTests
simulationTestContext SimulationTestContext
opts
baseline
canUseBaseline
jsonOutputPrinter
outputPath
externalScenariosPath
modelConfig
simulationServicesOptions
simulationOutcome
simulationEndpointHealth
tokenizerProvider
simulationTestContext simulationEndpointHealth simulationOutcome
groupedScores GroupedScores
testsToRun SimulationTest
baseline SimulationBaseline
opts SimulationOptions
canUseBaseline
runningAllTests
testResults ITestResult
totalTime
shouldShowSummaries testsToRunlength
shouldBeBrief testsToRunlength
shouldShowSummaries
modelComparisonTable
suiteName scoresPerSuite groupedScores
testScores
_language scoresPerLanguage scoresPerSuite
model scoresPerModel scoresPerLanguage
model
data testScoresmodel count scoreSum
datacount scoresPerModellength
datascoreSum scoresPerModelacc curr acc curr
testScoresmodel data
modelCount
modelCount testScores
modelCount testScores
modelCount
gpt4o testScores count scoreSum
gpt4oMini testScores count scoreSum
row
Suite suiteName
gpt4ocount gpt4oMinicount gpt4ocount gpt4oMinicount gpt4ocount gpt4oscoreSum gpt4ocount
gpt4oMinicount gpt4oMiniscoreSum gpt4oMinicount
modelComparisonTablerow
modelComparisonTablelength
modelComparisonTable
tableData groupedScores
tableData
changeStats baseline
scoreToString opts canUseBaseline
changedScenarios IModifiedScenario
scenario changedScenarios
prettyScore
color scenariocurrScore scenarioprevScore green red
canUseBaseline
shouldBeBrief runningAllTests
shouldBeBrief
changeStatsnImproved
changeStatsnWorsened
shouldBeBrief
score testResultsprev curr prev currscore
changeStatsnImproved
changeStatsnWorsened
changeStatsnUnchanged
changeStatsaddedScenarios
changeStatsremovedScenarios
changeStatsskippedScenarios
changeStatsimprovedScenarioslength changeStatsworsenedScenarioslength
changeStatsimprovedScenarioslength
changeStatsimprovedScenarios
changeStatsworsenedScenarioslength
changeStatsworsenedScenarios
groupedScores GroupedScores object
tableData object
suiteName scoresPerSuite groupedScores
language scoresPerLanguage scoresPerSuite
model scoresPerModel scoresPerLanguage
row
Suite suiteName
Language language
Model model
scoresPerModellength
scoresPerModelacc curr acc curr scoresPerModellength
tableDatarow
tableData
changeStats ICompleteBaselineComparison errorMessage
changeStatsnWorsened
errorMessage
changeStatsnImproved
errorMessage
changeStatsaddedScenarios
errorMessage
changeStatsremovedScenarios
errorMessage
changeStatsmandatoryskippedScenarios
errorMessage
snapshotFilename label
snapshotFilename snapshotFilename
fileName snapshotFilename
path
path
fspromisespath recursive force
fspromisespath recursive
rows object
rowslength
header Objectrows
rowsStr rowsobj Objectobj
header rowsStr
modelConfigFilePath IModelConfig
resolvedModelConfigFilePath pathmodelConfigFilePath modelConfigFilePath pathprocess modelConfigFilePath
configFileContents fsresolvedModelConfigFilePath
modelConfig
modelConfig configFileContents
error
modelConfig modelConfig
resolvedModelConfigFilePath
checkProperty obj prop type optional nullable
prop obj
optional
nullable objprop
objprop type
modelConfigs IModelConfig
modelId modelConfig
model modelConfigmodelId
model
model
model
model
modeltype modeltype
model
model
model
modelcapabilities
modelcapabilitiessupports
modelcapabilitiessupports
modelcapabilitiessupports
modelcapabilitiessupports
modelcapabilitiessupports
modelcapabilitiessupports
modelcapabilitiessupports
modelcapabilities
modelcapabilitieslimits
modelcapabilitieslimits
modelcapabilitieslimits
modelcapabilitieslimits
model
modelauth
modelauth
modelauth
modelauth
model
modeloverrides
overrides modeloverrides
overrides
overrides
overrides
overrides
overrides
overrides
overrides
modelsupported_endpoints
modelsupported_endpoints
endpointSuffix modelsupported_endpoints
ObjectModelSupportedEndpointendpointSuffix ModelSupportedEndpoint
modelConfigs
id modelId
name modelname
version modelversion
type modeltype
useDeveloperRole modeluseDeveloperRole
url modelurl
capabilities
supports
parallel_tool_calls modelcapabilitiessupportsparallel_tool_calls
streaming modelcapabilitiessupportsstreaming
tool_calls modelcapabilitiessupportstool_calls
vision modelcapabilitiessupportsvision
prediction modelcapabilitiessupportsprediction
thinking modelcapabilitiessupportsthinking
limits
max_prompt_tokens modelcapabilitieslimitsmax_prompt_tokens
max_output_tokens modelcapabilitieslimitsmax_output_tokens Number
max_context_window_tokens modelcapabilitieslimitsmax_context_window_tokens
supported_endpoints modelsupported_endpointslength modelsupported_endpoints ModelSupportedEndpoint ModelSupportedEndpointChatCompletions
auth
useBearerHeader modelauthuseBearerHeader
useApiKeyHeader modelauthuseApiKeyHeader
apiKeyEnvName modelauthapiKeyEnvName
overrides
requestHeaders modeloverrides modeloverridesrequestHeaders
temperature modeloverrides modeloverridestemperature
top_p modeloverrides modeloverridestop_p
snippy modeloverrides modeloverridessnippy
intent modeloverrides modeloverridesintent
max_tokens modeloverrides modeloverridesmax_tokens
max_completion_tokens modeloverrides modeloverridesmax_completion_tokens
modelConfigs