fix: improve workbench triad analysis drilldown
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user