feat(ql3): establish 3.0 incubation baseline

This commit is contained in:
whyour
2026-08-12 00:25:26 +08:00
parent 4bf92dcfeb
commit c699c32461
2817 changed files with 779642 additions and 653 deletions
+24
View File
@@ -0,0 +1,24 @@
import type {
ExecutionContext,
ExecutionHandle,
ExecutionInspection,
ExecutionSpec,
ExecutionStopReason,
ExecutionStopResult,
ExecutorCapabilities,
ExecutorType,
} from '../domain/execution';
export interface Executor {
readonly type: ExecutorType;
capabilities(): ExecutorCapabilities;
start(
spec: ExecutionSpec,
context: ExecutionContext,
): Promise<ExecutionHandle>;
stop(
handle: ExecutionHandle,
reason: ExecutionStopReason,
): Promise<ExecutionStopResult>;
inspect(handle: ExecutionHandle): Promise<ExecutionInspection>;
}