feat: add decision center document contract

This commit is contained in:
Codex
2026-05-21 07:40:35 +00:00
parent f1e5f21caf
commit 9911a9e736
11 changed files with 1259 additions and 87 deletions
+4 -1
View File
@@ -250,7 +250,10 @@ async function main(): Promise<void> {
}
if (top === "decision" || top === "decision-center") {
emitJson(commandName, await runDecisionCenterCommand(config, args.slice(1)));
const result = await runDecisionCenterCommand(config, args.slice(1));
const ok = resultOk(result);
emitJson(commandName, result, ok);
if (!ok) process.exitCode = 1;
return;
}