mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-23 12:05:27 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import type { ExecutionContext } from '../domain/execution';
|
||||
import type { RunDispatchCandidate } from '../domain/runDispatchCandidate';
|
||||
|
||||
export interface LocalExecutionContextRequest {
|
||||
candidate: Readonly<RunDispatchCandidate>;
|
||||
contextRef: string;
|
||||
}
|
||||
|
||||
export interface MaterializedLocalExecutionContext {
|
||||
context: ExecutionContext;
|
||||
/** Opaque bounded reference persisted on the Attempt before spawn. */
|
||||
logArtifactId?: string;
|
||||
/** Optional non-blocking cleanup; plaintext capability values must not leak. */
|
||||
dispose?: () => void | Promise<void>;
|
||||
}
|
||||
|
||||
export interface LocalExecutionContextMaterializer {
|
||||
prepare(
|
||||
request: Readonly<LocalExecutionContextRequest>,
|
||||
): Promise<MaterializedLocalExecutionContext | null>;
|
||||
}
|
||||
Reference in New Issue
Block a user