mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-25 05:03:04 +00:00
* Add config unset dry-run Add --dry-run support to config unset, including JSON output and allow-exec validation parity with config set/patch dry-run handling. * Refresh checks after proof update * fix(config): address unset dry-run review Return structured JSON when config unset dry-run misses a path and validate broad secret provider/default unsets against affected SecretRefs.
23 lines
538 B
TypeScript
23 lines
538 B
TypeScript
export type ConfigSetDryRunInputMode = "value" | "json" | "builder" | "unset";
|
|
|
|
export type ConfigSetDryRunError = {
|
|
kind: "missing-path" | "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[];
|
|
};
|