feat: add concise codex trace inspection

This commit is contained in:
Codex
2026-06-16 03:14:53 +00:00
parent eacfdd68cb
commit c670ad8d92
4 changed files with 703 additions and 17 deletions
+5
View File
@@ -524,6 +524,11 @@ async function main(): Promise<void> {
}
const result = await runCodeQueueCommand(config, args.slice(1));
const ok = (result as { ok?: unknown }).ok !== false;
if (isRenderedCliResult(result)) {
emitText(result.renderedText);
if (!ok) process.exitCode = 1;
return;
}
emitJson(commandName, result, ok);
if (!ok) process.exitCode = 1;
return;