4-26 树rust-2

This commit is contained in:
lix-2026
2026-04-26 04:29:23 +08:00
parent 94631f3636
commit 338bb2e20f
58 changed files with 11718 additions and 1256 deletions
@@ -70,6 +70,7 @@ export type CommandEnvelope<T> = {
source: BridgeSource;
target: BridgeTarget | null;
payload: T;
preflightData?: Record<string, unknown> | null;
reason: string | null;
refs: string[];
dryRun: boolean;
@@ -275,6 +276,7 @@ export function buildDocumentCommandEnvelope<T>(input: {
payload: T;
context: BridgeContext;
target?: BridgeTarget | null;
preflightData?: Record<string, unknown> | null;
reason?: string | null;
refs?: string[];
}): CommandEnvelope<T> {
@@ -286,6 +288,7 @@ export function buildDocumentCommandEnvelope<T>(input: {
source: input.context.source,
target: input.target ?? null,
payload: input.payload,
preflightData: input.preflightData ?? null,
reason: input.reason ?? null,
refs: input.refs ?? [],
dryRun: input.context.dryRun,