@cat-factory/orchestration 0.62.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/container.d.ts.map +1 -1
- package/dist/container.js +18 -0
- package/dist/container.js.map +1 -1
- package/dist/modules/execution/AgentContextBuilder.d.ts +26 -1
- package/dist/modules/execution/AgentContextBuilder.d.ts.map +1 -1
- package/dist/modules/execution/AgentContextBuilder.js +76 -3
- package/dist/modules/execution/AgentContextBuilder.js.map +1 -1
- package/dist/modules/execution/ExecutionService.d.ts +27 -2
- package/dist/modules/execution/ExecutionService.d.ts.map +1 -1
- package/dist/modules/execution/ExecutionService.js +30 -1
- package/dist/modules/execution/ExecutionService.js.map +1 -1
- package/dist/modules/execution/InitiativeInterviewController.d.ts +50 -0
- package/dist/modules/execution/InitiativeInterviewController.d.ts.map +1 -0
- package/dist/modules/execution/InitiativeInterviewController.js +137 -0
- package/dist/modules/execution/InitiativeInterviewController.js.map +1 -0
- package/dist/modules/execution/RunDispatcher.d.ts +66 -1
- package/dist/modules/execution/RunDispatcher.d.ts.map +1 -1
- package/dist/modules/execution/RunDispatcher.js +360 -91
- package/dist/modules/execution/RunDispatcher.js.map +1 -1
- package/dist/modules/execution/deployer.logic.d.ts +15 -1
- package/dist/modules/execution/deployer.logic.d.ts.map +1 -1
- package/dist/modules/execution/deployer.logic.js +41 -2
- package/dist/modules/execution/deployer.logic.js.map +1 -1
- package/dist/modules/execution/frame.logic.d.ts +20 -0
- package/dist/modules/execution/frame.logic.d.ts.map +1 -0
- package/dist/modules/execution/frame.logic.js +40 -0
- package/dist/modules/execution/frame.logic.js.map +1 -0
- package/dist/modules/initiative/InitiativeInterviewService.d.ts +38 -0
- package/dist/modules/initiative/InitiativeInterviewService.d.ts.map +1 -0
- package/dist/modules/initiative/InitiativeInterviewService.js +113 -0
- package/dist/modules/initiative/InitiativeInterviewService.js.map +1 -0
- package/dist/modules/initiative/InitiativeService.d.ts +12 -0
- package/dist/modules/initiative/InitiativeService.d.ts.map +1 -1
- package/dist/modules/initiative/InitiativeService.js +22 -1
- package/dist/modules/initiative/InitiativeService.js.map +1 -1
- package/dist/modules/initiative/initiative.logic.d.ts +45 -0
- package/dist/modules/initiative/initiative.logic.d.ts.map +1 -1
- package/dist/modules/initiative/initiative.logic.js +102 -1
- package/dist/modules/initiative/initiative.logic.js.map +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { assertFound, INITIATIVE_INTERVIEWER_AGENT_KIND } from '@cat-factory/kernel';
|
|
2
|
+
import { interviewAtCap } from '../initiative/initiative.logic.js';
|
|
3
|
+
export class InitiativeInterviewController {
|
|
4
|
+
deps;
|
|
5
|
+
constructor(deps) {
|
|
6
|
+
this.deps = deps;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Run the interviewer gate step. When no interviewer model is wired the step passes
|
|
10
|
+
* through (pipelines — and the conformance suite — run unchanged). Otherwise it runs an
|
|
11
|
+
* interviewer pass: questions → persist them and PARK for the planning window; converged →
|
|
12
|
+
* fold the synthesized brief onto the entity and advance. Re-entrant: after the human
|
|
13
|
+
* `continue`s (or `proceed`s), the durable driver wakes and re-enters here, running the
|
|
14
|
+
* (slow) interviewer LLM in the driver rather than the HTTP request.
|
|
15
|
+
*/
|
|
16
|
+
async evaluate(workspaceId, instance, step, block, isFinalStep) {
|
|
17
|
+
if (!this.deps.interviewService?.enabled) {
|
|
18
|
+
return this.completeStep(workspaceId, instance, step, isFinalStep);
|
|
19
|
+
}
|
|
20
|
+
// Re-entry: the human answered and asked to continue/proceed. `proceed` forces the
|
|
21
|
+
// interviewer to converge (no more questions); `continue` lets it ask follow-ups.
|
|
22
|
+
const pending = step.pendingInterview;
|
|
23
|
+
if (pending) {
|
|
24
|
+
step.pendingInterview = null;
|
|
25
|
+
return this.runPass(workspaceId, instance, step, block, isFinalStep, {
|
|
26
|
+
proceed: pending.proceed === true,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
// Fresh entry: the interviewer's first pass.
|
|
30
|
+
return this.runPass(workspaceId, instance, step, block, isFinalStep, { proceed: false });
|
|
31
|
+
}
|
|
32
|
+
/** One interviewer pass: ask (park) or converge (advance). */
|
|
33
|
+
async runPass(workspaceId, instance, step, block, isFinalStep, opts) {
|
|
34
|
+
const interviewService = this.deps.interviewService;
|
|
35
|
+
const initiative = interviewService
|
|
36
|
+
? await this.deps.initiativeService.getByBlock(workspaceId, block.id)
|
|
37
|
+
: null;
|
|
38
|
+
if (!interviewService || !initiative) {
|
|
39
|
+
// No interviewer wired, or no initiative entity to interview into — don't wedge the
|
|
40
|
+
// run; just advance (the fresh-entry `enabled` guard normally handles the former).
|
|
41
|
+
return this.completeStep(workspaceId, instance, step, isFinalStep);
|
|
42
|
+
}
|
|
43
|
+
const finalize = opts.proceed || interviewAtCap(initiative);
|
|
44
|
+
const output = await interviewService.runInterview(workspaceId, block, initiative, {
|
|
45
|
+
finalize,
|
|
46
|
+
});
|
|
47
|
+
if (output.kind === 'questions') {
|
|
48
|
+
await this.deps.initiativeService.recordInterviewQuestions(workspaceId, block.id, output.questions);
|
|
49
|
+
// Surface a decision-required notification so the parked planning gate is discoverable.
|
|
50
|
+
await this.deps.stateMachine.raiseDecisionRequired(workspaceId, instance);
|
|
51
|
+
return this.deps.stateMachine.parkStepOnDecision(workspaceId, instance, step);
|
|
52
|
+
}
|
|
53
|
+
// Converged: fold the synthesized brief onto the entity and advance to the analyst.
|
|
54
|
+
await this.deps.initiativeService.recordInterviewOutcome(workspaceId, block.id, {
|
|
55
|
+
goal: output.goal,
|
|
56
|
+
constraints: output.constraints,
|
|
57
|
+
nonGoals: output.nonGoals,
|
|
58
|
+
});
|
|
59
|
+
return this.completeStep(workspaceId, instance, step, isFinalStep);
|
|
60
|
+
}
|
|
61
|
+
// ---- window actions (driven by the server InitiativePlanningController) --------------
|
|
62
|
+
/** Record the human's answer to one pending question. Does NOT resume the run. */
|
|
63
|
+
async answer(workspaceId, blockId, questionId, answer) {
|
|
64
|
+
return assertFound(await this.deps.initiativeService.recordInterviewAnswer(workspaceId, blockId, questionId, answer), 'Initiative', blockId);
|
|
65
|
+
}
|
|
66
|
+
/** Submit the answers and resume the interview (the interviewer re-runs, may ask more). */
|
|
67
|
+
continue(workspaceId, blockId) {
|
|
68
|
+
return this.resume(workspaceId, blockId, { proceed: false }, 'continue');
|
|
69
|
+
}
|
|
70
|
+
/** Skip remaining questions: force the interviewer to converge, then advance. */
|
|
71
|
+
proceed(workspaceId, blockId) {
|
|
72
|
+
return this.resume(workspaceId, blockId, { proceed: true }, 'proceed');
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Record the continue/proceed intent on the parked interviewer step and signal the durable
|
|
76
|
+
* driver to wake — which re-enters {@link evaluate} and runs the (slow) interviewer LLM
|
|
77
|
+
* off the HTTP request. Off-path (no parked run) it is a no-op read: the interview is not
|
|
78
|
+
* live, so there is no driver to wake.
|
|
79
|
+
*/
|
|
80
|
+
async resume(workspaceId, blockId, intent, choice) {
|
|
81
|
+
const parked = await this.findParkedStep(workspaceId, blockId);
|
|
82
|
+
if (parked) {
|
|
83
|
+
const { instance, step } = parked;
|
|
84
|
+
step.pendingInterview = intent.proceed ? { proceed: true } : {};
|
|
85
|
+
// Re-arm BEFORE signalling: the park left the run `blocked`, and `advanceInstance`
|
|
86
|
+
// no-ops unless it is `running`/`paused`, so a woken driver would otherwise return
|
|
87
|
+
// without re-entering the gate (mirrors ReviewGateController.incorporate).
|
|
88
|
+
if (instance.status === 'blocked')
|
|
89
|
+
instance.status = 'running';
|
|
90
|
+
await this.deps.stateMachine.persistInstance(workspaceId, instance);
|
|
91
|
+
await this.deps.stateMachine.emitInstance(workspaceId, instance);
|
|
92
|
+
await this.deps.workRunner.signalDecision(workspaceId, instance.id, step.approval.id, choice);
|
|
93
|
+
}
|
|
94
|
+
return this.currentInitiative(workspaceId, blockId);
|
|
95
|
+
}
|
|
96
|
+
async currentInitiative(workspaceId, blockId) {
|
|
97
|
+
return assertFound(await this.deps.initiativeService.getByBlock(workspaceId, blockId), 'Initiative', blockId);
|
|
98
|
+
}
|
|
99
|
+
/** Locate the run + interviewer step a block's interview is parked on (or null). */
|
|
100
|
+
async findParkedStep(workspaceId, blockId) {
|
|
101
|
+
const block = await this.deps.blockRepository.get(workspaceId, blockId);
|
|
102
|
+
if (!block?.executionId)
|
|
103
|
+
return null;
|
|
104
|
+
const instance = await this.deps.executionRepository.get(workspaceId, block.executionId);
|
|
105
|
+
if (!instance)
|
|
106
|
+
return null;
|
|
107
|
+
const step = instance.steps.find((s) => s.agentKind === INITIATIVE_INTERVIEWER_AGENT_KIND &&
|
|
108
|
+
s.state === 'waiting_decision' &&
|
|
109
|
+
s.approval?.status === 'pending');
|
|
110
|
+
return step ? { instance, step } : null;
|
|
111
|
+
}
|
|
112
|
+
/** Finish the interviewer step and advance to the next step (or finish the run). */
|
|
113
|
+
async completeStep(workspaceId, instance, step, isFinalStep) {
|
|
114
|
+
this.deps.stepGraph.finishStep(step);
|
|
115
|
+
step.progress = 1;
|
|
116
|
+
step.subtasks = undefined;
|
|
117
|
+
step.approval = null;
|
|
118
|
+
step.pendingInterview = null;
|
|
119
|
+
if (isFinalStep) {
|
|
120
|
+
instance.status = 'done';
|
|
121
|
+
await this.deps.stateMachine.finalizeBlock(workspaceId, instance, undefined);
|
|
122
|
+
await this.deps.stateMachine.persistInstance(workspaceId, instance);
|
|
123
|
+
await this.deps.stateMachine.emitInstance(workspaceId, instance);
|
|
124
|
+
await this.deps.stateMachine.stopRunContainer(workspaceId, instance);
|
|
125
|
+
return { kind: 'done' };
|
|
126
|
+
}
|
|
127
|
+
instance.currentStep += 1;
|
|
128
|
+
const next = instance.steps[instance.currentStep];
|
|
129
|
+
if (next)
|
|
130
|
+
this.deps.stepGraph.startStep(next);
|
|
131
|
+
await this.deps.stateMachine.updateBlockProgress(workspaceId, instance, 'in_progress');
|
|
132
|
+
await this.deps.stateMachine.persistInstance(workspaceId, instance);
|
|
133
|
+
await this.deps.stateMachine.emitInstance(workspaceId, instance);
|
|
134
|
+
return { kind: 'continue' };
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=InitiativeInterviewController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InitiativeInterviewController.js","sourceRoot":"","sources":["../../../src/modules/execution/InitiativeInterviewController.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAA;AAGpF,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AA4BlE,MAAM,OAAO,6BAA6B;IACX,IAAI;IAAjC,YAA6B,IAAuC;oBAAvC,IAAI;IAAsC,CAAC;IAExE;;;;;;;OAOG;IACH,KAAK,CAAC,QAAQ,CACZ,WAAmB,EACnB,QAA2B,EAC3B,IAAkB,EAClB,KAAY,EACZ,WAAoB;QAEpB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,OAAO,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,CAAA;QACpE,CAAC;QACD,mFAAmF;QACnF,kFAAkF;QAClF,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAA;QACrC,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAA;YAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE;gBACnE,OAAO,EAAE,OAAO,CAAC,OAAO,KAAK,IAAI;aAClC,CAAC,CAAA;QACJ,CAAC;QACD,6CAA6C;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,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;QACD,QAAQ,CAAC,WAAW,IAAI,CAAC,CAAA;QACzB,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAA;QACjD,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;QAC7C,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,mBAAmB,CAAC,WAAW,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAA;QACtF,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;QACnE,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;QAChE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAA;IAC7B,CAAC;CACF"}
|
|
@@ -5,6 +5,7 @@ import { CompanionController } from './CompanionController.js';
|
|
|
5
5
|
import { HumanTestController } from './HumanTestController.js';
|
|
6
6
|
import { MergeResolver } from './MergeResolver.js';
|
|
7
7
|
import { ReviewGateController, type ReviewKind } from './ReviewGateController.js';
|
|
8
|
+
import type { InitiativeInterviewController } from './InitiativeInterviewController.js';
|
|
8
9
|
import { RunStateMachine } from './RunStateMachine.js';
|
|
9
10
|
import { StepGraph } from './StepGraph.js';
|
|
10
11
|
import { TesterController } from './TesterController.js';
|
|
@@ -54,6 +55,8 @@ export interface RunDispatcherDeps {
|
|
|
54
55
|
clarityKind: ReviewKind<ClarityReview>;
|
|
55
56
|
requirementsBrainstormKind: ReviewKind<BrainstormSession>;
|
|
56
57
|
architectureBrainstormKind: ReviewKind<BrainstormSession>;
|
|
58
|
+
/** The interactive-planning interviewer gate (slice 2); absent → the step passes through. */
|
|
59
|
+
initiativeInterviewController?: InitiativeInterviewController;
|
|
57
60
|
runInitiatorScope: RunInitiatorScope;
|
|
58
61
|
environmentProvisioning?: EnvironmentProvisioningService;
|
|
59
62
|
ticketTrackerProvider?: TicketTrackerProvider;
|
|
@@ -106,6 +109,7 @@ export declare class RunDispatcher {
|
|
|
106
109
|
private readonly clarityKind;
|
|
107
110
|
private readonly requirementsBrainstormKind;
|
|
108
111
|
private readonly architectureBrainstormKind;
|
|
112
|
+
private readonly initiativeInterviewController?;
|
|
109
113
|
private readonly runInitiatorScope;
|
|
110
114
|
private readonly environmentProvisioning?;
|
|
111
115
|
private readonly ticketTrackerProvider?;
|
|
@@ -278,6 +282,47 @@ export declare class RunDispatcher {
|
|
|
278
282
|
* the root cause. So do NOT reintroduce a `rethrowAgentErrors` branch here.
|
|
279
283
|
*/
|
|
280
284
|
private runDeployerStep;
|
|
285
|
+
/**
|
|
286
|
+
* Advance a `deployer` fan-out over its already-resolved `targets`: dispatch the first un-settled
|
|
287
|
+
* frame (parking on an async deploy job) or, once every frame has settled, complete the step. One
|
|
288
|
+
* deploy job per frame, dispatched SEQUENTIALLY (parking between) so a later provider can receive
|
|
289
|
+
* the already-ready peers' URLs. `step.deployEnvs` records each frame's TERMINAL outcome, so a
|
|
290
|
+
* replay resumes at the first un-settled frame. Re-entered (with the SAME targets) after each
|
|
291
|
+
* synchronous/infraless/failed-peer frame settles — never re-reading the block list per frame.
|
|
292
|
+
*/
|
|
293
|
+
private advanceDeployerFrames;
|
|
294
|
+
/**
|
|
295
|
+
* Resolve the ordered set of service frames a `deployer` step provisions environments for: the
|
|
296
|
+
* task's OWN service frame (always, `isPrimary`) plus each involved-service frame (read-time
|
|
297
|
+
* stale-filtered to ids that are still a connection neighbour AND resolve to a `service` frame
|
|
298
|
+
* WITH declared provisioning — an involved frame with none stands nothing up here). Ordered
|
|
299
|
+
* PROVIDER-before-CONSUMER over the connection edges among the targets (see
|
|
300
|
+
* {@link orderProvisionTargets}) so a later provision can receive its ready peers' URLs. One
|
|
301
|
+
* workspace block-list read; no per-frame point read.
|
|
302
|
+
*
|
|
303
|
+
* `pinnedPrimaryFrameId` (from {@link PipelineStep.deployPrimaryFrameId}, set on the first
|
|
304
|
+
* resolution) keeps the OWN/primary frame STABLE across re-entries: once the fan-out has started,
|
|
305
|
+
* a mid-flight reparent must not re-classify which frame is primary — that would flip an
|
|
306
|
+
* own-frame failure from terminal to a non-terminal peer failure. Prefer the pinned frame when it
|
|
307
|
+
* still resolves; fall back to a fresh `frameOf` walk otherwise.
|
|
308
|
+
*/
|
|
309
|
+
private resolveDeployTargets;
|
|
310
|
+
/**
|
|
311
|
+
* Record one frame's TERMINAL deploy outcome onto `step.deployEnvs`, then continue the fan-out.
|
|
312
|
+
* A `ready` handle records the env and re-enters {@link advanceDeployerFrames} for the next
|
|
313
|
+
* frame; a `failed` handle routes to {@link settleDeployerFailure} (terminal only for the own
|
|
314
|
+
* frame). Shared by the synchronous-provision and async-finalized paths.
|
|
315
|
+
*/
|
|
316
|
+
private settleDeployerFrame;
|
|
317
|
+
/**
|
|
318
|
+
* Record a frame's FAILED deploy outcome and decide whether it is terminal. The task's OWN
|
|
319
|
+
* (primary) service frame failing fails the whole deploy step (unchanged from the single-env
|
|
320
|
+
* path). An involved PEER frame failing is NON-terminal — the peer's env is best-effort context
|
|
321
|
+
* enrichment, so the run proceeds to the remaining frames without that peer's URL rather than
|
|
322
|
+
* failing a task because a service it merely "involves" has a misconfigured provider. The failed
|
|
323
|
+
* outcome is still recorded (surfaced in {@link completeDeployerStep}).
|
|
324
|
+
*/
|
|
325
|
+
private settleDeployerFailure;
|
|
281
326
|
/**
|
|
282
327
|
* Poll a `deployer` step's dispatched CONTAINER-backed deploy job (the async kustomize/helm
|
|
283
328
|
* path) through the environment provisioning service — NOT the agent executor. Mirrors
|
|
@@ -286,8 +331,28 @@ export declare class RunDispatcher {
|
|
|
286
331
|
* genuine terminal state finalizes the job into an environment record + the step result.
|
|
287
332
|
*/
|
|
288
333
|
private pollDeployerJob;
|
|
289
|
-
/**
|
|
334
|
+
/**
|
|
335
|
+
* The {@link ProvisionArgs} for provisioning ONE target frame's environment (synchronous or
|
|
336
|
+
* async). The env is keyed by the task `block.id` + the target `frameId` — so a task's own env
|
|
337
|
+
* and each involved-service env coexist under the same block, discriminated by frame (see the
|
|
338
|
+
* per-`(blockId, frameId)` supersede). The repo/clone the provider resolves is the TARGET
|
|
339
|
+
* FRAME's (via `frameId`), so an involved-service env clones that peer's repo at its default
|
|
340
|
+
* branch, while the OWN frame targets the task's PR branch (its git/PR context); a peer carries
|
|
341
|
+
* no PR context. The `{{input.*}}` identity (blockId/title/…) is the TARGET FRAME's for a peer
|
|
342
|
+
* (see {@link deployTargetInputs}) so each peer's provider namespace is distinct — the task-
|
|
343
|
+
* scoped inputs would collapse every peer onto one namespace. Injects `frontendOrigins` (the
|
|
344
|
+
* browser origins binding this service) and `peerEnvUrls` (the already-ready peers) too.
|
|
345
|
+
*/
|
|
290
346
|
private deployerProvisionArgs;
|
|
347
|
+
/**
|
|
348
|
+
* The `{{input.*}}` identity a target frame provisions with. The OWN frame keeps the historical
|
|
349
|
+
* task-scoped inputs (its namespace is uniquified by the task's PR repo/number). An involved PEER
|
|
350
|
+
* frame is scoped to the PEER FRAME's identity, with a `(task, peer)` composite `blockId` — so
|
|
351
|
+
* the provider namespace derived from `{{input.blockId}}` is distinct per peer AND per task,
|
|
352
|
+
* where the task-scoped inputs would collapse every peer of a task onto ONE namespace (each
|
|
353
|
+
* clobbering the previous, teardown deleting the wrong one).
|
|
354
|
+
*/
|
|
355
|
+
private deployTargetInputs;
|
|
291
356
|
/**
|
|
292
357
|
* The `frontendOrigins` provision input for a service frame: the comma-joined browser origins
|
|
293
358
|
* of every `frontend` frame that binds this service (see `frontendOriginsForService`), for a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunDispatcher.d.ts","sourceRoot":"","sources":["../../../src/modules/execution/RunDispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAEb,eAAe,EACf,cAAc,EAEd,KAAK,EACL,eAAe,EAEf,iBAAiB,EACjB,aAAa,EACb,KAAK,EAEL,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EAEnB,kBAAkB,EAElB,cAAc,EAEd,WAAW,EACX,sBAAsB,EACtB,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EAGhB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EAErB,iBAAiB,EAMjB,qBAAqB,EACrB,UAAU,EACX,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"RunDispatcher.d.ts","sourceRoot":"","sources":["../../../src/modules/execution/RunDispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAEb,eAAe,EACf,cAAc,EAEd,KAAK,EACL,eAAe,EAEf,iBAAiB,EACjB,aAAa,EACb,KAAK,EAEL,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EAEnB,kBAAkB,EAElB,cAAc,EAEd,WAAW,EACX,sBAAsB,EACtB,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EAGhB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EAErB,iBAAiB,EAMjB,qBAAqB,EACrB,UAAU,EACX,MAAM,qBAAqB,CAAA;AAsC5B,OAAO,KAAK,EACV,8BAA8B,EAG/B,MAAM,2BAA2B,CAAA;AAoClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACjF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAA;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C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