openclaw/src/cli/config-set-dryrun.ts

23 lines
511 B
TypeScript

export type ConfigSetDryRunInputMode = "value" | "json" | "builder";
export type ConfigSetDryRunError = {
kind: "schema" | "resolvability";
message: string;
ref?: string;
};
export type ConfigSetDryRunResult = {
ok: boolean;
operations: number;
configPath: string;
inputModes: ConfigSetDryRunInputMode[];
checks: {
schema: boolean;
resolvability: boolean;
resolvabilityComplete: boolean;
};
refsChecked: number;
skippedExecRefs: number;
errors?: ConfigSetDryRunError[];
};