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 assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from './utils.js';
import {
ExecutionEvent,
ExecutionHistory,
ExecutionRoot,
renderLaneGraph,
renderSwimlanes,
} from './executionGraph.js';
/**
* Fluent builder for hand-crafting `ExecutionHistory` literals in tests.
* Keeps call sites short: `h.root('A')`, `h.fire(0, 'setTimeout', rootA)`,
* `h.fire(16, 'rAF', parentEvent)`.
*/
class HistoryBuilder {
readonly roots: ExecutionRoot[] = [];
readonly events: ExecutionEvent[] = [];
root(label: ExecutionRoot
r ExecutionRoot label
rootsr
r
time label parent ExecutionRoot ExecutionEvent ExecutionEvent
isRoot rootsparent ExecutionRoot
root isRoot parent ExecutionRoot parent ExecutionEventroot
parentEvent isRoot parent ExecutionEvent
event ExecutionEvent time label root parent parentEvent
eventsevent
event
ExecutionHistory
roots roots events events
assert roots events
h
h
t0 h
t1 h t0
h t1
asserth
h
h
h
aT0 h
bT10 h
aRaf16 h aT0
bRaf26 h bT10
h aRaf16
h bRaf26
h aT0
out h
assertout
h
h
e1 h
e2 h e1
e3 h e2
h e3
asserth
h
h
e1 h
e2 h e1
e3 h e2
h e3
asserth
h
h
h
aT0 h
bT10 h
aRaf16 h aT0
bRaf26 h bT10
h aRaf16
h bRaf26
h aT0
asserth