Files
openclaw/src/cli/config-set-dryrun.ts
Josh Avant 2d3bcbfe08 CLI: skip exec SecretRef dry-run resolution unless explicitly allowed (#49322)
* CLI: gate exec SecretRef dry-run resolution behind opt-in

* Docs: clarify config dry-run exec opt-in behavior

* CLI: preserve static exec dry-run validation
2026-03-17 20:20:11 -05:00

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[];
};