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 path from 'path';
import { IPromptWorkspaceLabels, PromptWorkspaceLabels } from '../src/extension/context/node/resolvers/promptWorkspaceLabels';
import { INewWorkspacePreviewContentManager, NewWorkspacePreviewContentManagerImpl } from '../src/extension/intents/node/newIntent';
import { IntentError } from '../src/extension/prompt/node/intents';
import { ISimulationModelConfig } from '../src/extension/test/node/services';
import { IToolsService } from '../src/extension/tools/common/toolsService';
import { TestToolsService } from '../src/extension/tools/node/test/testToolsService'
IEndpointProvider
TestEndpointProvider
ConsoleLog ILogService LogServiceImpl
APIUsage
ISimulationTestContext
ITasksService
TestTasksService
TestingServiceCollection
ITokenizerProvider
count
WellKnownLanguageId
groupBy
BugIndicatingError
Lazy
safeStringify
SyncDescriptor
SimulationExtHostToolsService
SimulationBaseline TestBaselineComparison
CacheMode createSimulationAccessor CurrentTestRunInfo SimulationServicesOptions
ISimulationEndpointHealth
SimulationOptions
ISimulationOutcome
FetchRequestCollector
ISimulationTestRuntime SimulationTest SimulationTestRuntime toDirname
IJSONOutputPrinter
green red violet yellow
ExternalSimulationTestRuntime
shared
ITestSnapshots TestSnapshotsImpl
TaskRunner
TestExecutionInExtension
createScoreRenderer printTime
test
outcomeDirectory
conversationPath
score
usage APIUsage
outcomes sharedSimulationTestOutcome
duration
cacheInfo TestRunCacheInfo
originalResults ITestRunResult
contentFilterCount
usage APIUsage
cacheInfo TestRunCacheInfo
hasCacheMiss
kind
explicitScore
duration
outcome sharedSimulationTestOutcome
kind
message
duration
outcome sharedSimulationTestOutcome
ITestRunResultPass ITestRunResultFail
type key
CacheInfo
opts SimulationOptions
baseline SimulationBaseline
canUseBaseline
jsonOutputPrinter IJSONOutputPrinter
outputPath
externalScenariosPath
modelConfig ISimulationModelConfig
simulationEndpointHealth ISimulationEndpointHealth
simulationServicesOptions SimulationServicesOptions
simulationOutcome ISimulationOutcome
tokenizerProvider ITokenizerProvider
Map MapWellKnownLanguageId Map
into GroupedScores from GroupedScores
key value from
intoValue intokey
intoValue
intokey value
language scores value
intoScores intoValuelanguage
intoScores
model score scores
intoScoresmodel
intoScoresmodel intoScoresmodel score
intoScoresmodel score
intoValuelanguage scores
testResultsPromises ITestResult
GroupedScores
ctx SimulationTestContext testsToRun SimulationTest ExecuteTestResult
location testsToRun SimulationTest test testsuiteextHost ctxoptsinExtensionHost
extensionRunner TestExecutionInExtensionctx
extHost local
ctx location args extensionRunnervaluee eargs
ctx location executeTestOnce
testResultsPromises extHosttestResultsPromises localtestResultsPromises
fromExtHost fromLocal extHost local
extensionRunnerrawValuer r
fromLocal fromExtHost
fromLocal
ctx SimulationTestContext testsToRun SimulationTest executeTestFn ExecuteTestOnceFn ExecuteTestResult
opts jsonOutputPrinter ctx
groupedScores Map MapWellKnownLanguageId Map
taskRunner optsparallelism
testResultsPromises ITestResult
test testsToRun
testoptionsoptional testoptionsctxopts optsci
ctxbaselinetestfullName
jsonOutputPrinter type sharedOutputTypeskippedTest name testfullName
testRun ctx taskRunner test groupedScores executeTestFn
testResultsPromisestestRun
optsparallelism
testRun
testResultsPromises
testResultsPromises
groupedScores
ctx SimulationTestContext
taskRunner TaskRunner
test SimulationTest
groupedScores Map MapWellKnownLanguageId Map
executeTestFn ExecuteTestOnceFn
ITestResult
opts ctx
outcomeDirectory pathctxoutputPath testfullName
testStartTime Date
scheduledTestRuns ITestRunResult
kthRun kthRun optsnRuns kthRun
scheduledTestRunstaskRunner ctx taskRunnerparallelism outcomeDirectory test kthRun
runResults ITestRunResult scheduledTestRuns
testElapsedTime Date testStartTime
testSummary
results runResults
hasCacheMisses runResultsx xhasCacheMiss
contentFilterCount runResultsx xcontentFilterCount length
optsexternalScenarios
ctxsimulationOutcometest testSummaryresults
result ITestRunResult resultkind resultexplicitScore
scoreTotal MathtestSummaryresultstotal result total result
currentScore scoreTotal testSummaryresultslength
currentPassCount testSummaryresults s skind
baselineComparison ctxbaseline
name testfullName
optional testoptionsoptional
contentFilterCount testSummarycontentFilterCount
passCount currentPassCount
failCount testSummaryresultslength currentPassCount
score currentScore
attributes testattributes
testSummary ctx test currentScore testElapsedTime baselineComparison
optsverbose
opts testSummary
test currentScore groupedScores
duration testSummaryresultsacc c acc cduration
initial APIUsage completion_tokens prompt_tokens total_tokens prompt_tokens_details cached_tokens
usage APIUsage testSummaryresultsacc c APIUsage
cusage acc
completion_tokens prompt_tokens total_tokens prompt_tokens_details cusage
completion_tokens acccompletion_tokens completion_tokens
prompt_tokens accprompt_tokens prompt_tokens
total_tokens acctotal_tokens total_tokens
prompt_tokens_details
cached_tokens accprompt_tokens_detailscached_tokens prompt_tokens_detailscached_tokens
satisfies APIUsage
initial
test testfullName
outcomeDirectory pathctxoutputPath outcomeDirectory
conversationPath testoptionsconversationPath
score currentScore
duration
usage
outcomes testSummaryresultsr routcome
cacheInfo testSummaryresultsr rcacheInfo
originalResults testSummaryresults
testSummary ctx test currentScore testElapsedTime baselineComparison
testSummary
contentFilterCount
results ITestRunResult
hasCacheMisses
ctx SimulationTestContext
test SimulationTest
currentScore
testElapsedTime
baselineComparison TestBaselineComparison
scoreToString ctxopts ctxcanUseBaseline
didScoreChange baselineComparisonisNew baselineComparisonprevScore baselineComparisoncurrScore
prettyScoreValue didScoreChange
icon
x x
baselineComparisonisNew
icon
color violet
baselineComparisonisImproved
icon
color green
baselineComparisonisWorsened
icon
color red
prettyTestTime ctxoptsparallelism
prettyContentFilter testSummarycontentFilterCount
hadCacheMisses testSummaryhasCacheMisses
opts SimulationOptions
testSummary
contentFilterCount
results ITestRunResult
i i testSummaryresultslength i
result testSummaryresultsi
resultkind resultmessage optsverbose
resultmessageline
test currentScore groupedScores
test SimulationTest
currentScore
groupedScores Map Map Map
suiteName testsuitefullName
model testmodel
groupedScoressuiteName
scoresPerSuite groupedScoressuiteName
scoresPerSuitetestlanguage
scoresPerLanguage scoresPerSuitetestlanguage
scoresPerLanguagemodel
scoresPerLanguagemodel scoresPerLanguagemodel currentScore
scoresPerLanguagemodel currentScore
scoresPerSuitetestlanguage model currentScore
groupedScoressuiteName
groupedScoressuiteNametestlanguage model currentScore
ctx SimulationTestContext
parallelism
outcomeDirectory
test SimulationTest
runNumber
ITestRunResult
ctx SimulationTestContext
parallelism
outcomeDirectory
test SimulationTest
runNumber
isInRealExtensionHost
opts jsonOutputPrinter ctx
fetchRequestCollector
currentTestRunInfo CurrentTestRunInfo
test
testRunNumber runNumber
fetchRequestCollector fetchRequestCollector
isInRealExtensionHost
testingServiceCollection TestingServiceCollection
testingServiceCollection
ctxmodelConfig
ctxsimulationServicesOptions
currentTestRunInfo
e
msg e estack emessage e
e
jsonOutputPrinter type sharedOutputTypetestRunStart name testfullName runNumber satisfies sharedITestRunStartOutput
jsonOutputPrinter
type sharedOutputTypetestRunEnd
name testfullName
runNumber
duration
writtenFiles
error msg
pass
explicitScore
annotations
averageRequestDuration
requestCount
hasCacheMiss
satisfies sharedITestRunEndOutput
kind
message msg
contentFilterCount
duration
usage prompt_tokens completion_tokens total_tokens
outcome kind error msg hitContentFilter critical
cacheInfo
hasCacheMiss
satisfies ITestRunResultFail
testingServiceCollectionISimulationOutcome ctxsimulationOutcome
testingServiceCollectionITokenizerProvider ctxtokenizerProvider
testingServiceCollectionISimulationEndpointHealth ctxsimulationEndpointHealth
testingServiceCollectionIJSONOutputPrinter ctxjsonOutputPrinter
testingServiceCollectionITasksService
testmodel testembeddingType
smartChatModel optssmartChatModel optschatModel testmodel
fastChatModel optsfastChatModel optschatModel testmodel
fastRewriteModel optsfastRewriteModel optschatModel testmodel
testingServiceCollectionIEndpointProvider TestEndpointProvider smartChatModel fastChatModel fastRewriteModel currentTestRunInfo optsmodelCacheMode CacheModeDisable
simulationTestRuntime ctxexternalScenariosPath
ctxoutputPath outcomeDirectory runNumber
ctxoutputPath outcomeDirectory runNumber
testingServiceCollectionISimulationTestRuntime simulationTestRuntime
testingServiceCollectionISimulationTestContext simulationTestRuntime
testingServiceCollectionILogService LogServiceImpl simulationTestRuntime
testingServiceCollectionINewWorkspacePreviewContentManager NewWorkspacePreviewContentManagerImpl
snapshots TestSnapshotsImpl
testoptionslocation
snapshots testoptionslocationpath testfullName runNumber
testingServiceCollectionITestSnapshots snapshots
testingServiceCollectionIPromptWorkspaceLabels PromptWorkspaceLabels
isInRealExtensionHost
testingServiceCollectionIToolsService SimulationExtHostToolsService ctxsimulationServicesOptionsdisabledTools
testingServiceCollectionIToolsService TestToolsService ctxsimulationServicesOptionsdisabledTools
jsonOutputPrinter type sharedOutputTypetestRunStart name testfullName runNumber satisfies sharedITestRunStartOutput
processstdoutisTTY parallelism
processstdout processstdoutcolumns
testStartTime Date
pass
err
testtestingServiceCollection
snapshots
fetchRequestCollector
result ITestRunResultPass
kind
explicitScore simulationTestRuntime
usage fetchRequestCollectorusage
contentFilterCount fetchRequestCollectorcontentFilterCount
duration Date testStartTime
outcome simulationTestRuntime
cacheInfo fetchRequestCollectorcacheInfo
hasCacheMiss fetchRequestCollectorhasCacheMiss
result
e
pass
err e
msg err errstack errstack errmessage err
fetchRequestCollector
critical
e e
critical
e
critical
msg emessage
result ITestRunResultFail
kind
message msg
contentFilterCount fetchRequestCollectorcontentFilterCount
duration Date testStartTime
usage fetchRequestCollectorusage
outcome
kind
error msg
hitContentFilter fetchRequestCollectorcontentFilterCount
critical
cacheInfo fetchRequestCollectorcacheInfo
hasCacheMiss fetchRequestCollectorhasCacheMiss
result
simulationTestRuntimeshared fetchRequestCollectorinterceptedRequestsr r shared
err
simulationTestRuntime err
errcode err
err
simulationTestRuntime
jsonOutputPrinter
type sharedOutputTypetestRunEnd
name testfullName
runNumber
duration Date testStartTime
writtenFiles simulationTestRuntime
error err err
pass
explicitScore simulationTestRuntime
annotations simulationTestRuntimeannotations
averageRequestDuration fetchRequestCollectoraverageRequestDuration
requestCount fetchRequestCollectorinterceptedRequestslength
hasCacheMiss fetchRequestCollectorhasCacheMiss
satisfies sharedITestRunEndOutput
processstdoutisTTY parallelism
processstdout
testingServiceCollection
message
message
name