fix: improve workbench triad analysis drilldown

This commit is contained in:
Codex
2026-07-01 12:33:35 +00:00
parent ff2697358e
commit 1fa7df5aea
4 changed files with 385 additions and 3 deletions
@@ -749,9 +749,12 @@ export function renderDiagnoseCodeAgentTable(input: {
textValue(next?.diagnoseFull),
textValue(next?.traceSummary),
textValue(next?.traceReads),
textValue(next?.sessionReads),
textValue(next?.turnStatus),
textValue(next?.projection),
].filter((item) => item !== "-");
if (nextCommands.length > 0) {
for (const command of nextCommands.slice(0, 3)) lines.push(` ${command}`);
for (const command of nextCommands.slice(0, 6)) lines.push(` ${command}`);
} else {
lines.push(` ${buildDiagnoseCommand(input.target, input.options, true)}`);
if (traceId.length > 0 && traceId !== "-") lines.push(` bun scripts/cli.ts platform-infra observability trace --target ${input.target.id} --trace-id ${traceId}`);