From 0cfbdea0314091ea1c1b402121f06144980c3260 Mon Sep 17 00:00:00 2001 From: Codex Date: Tue, 14 Jul 2026 12:47:33 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=8C=E6=95=B4=E6=98=BE=E7=A4=BA=20S?= =?UTF-8?q?ub2API=20=E4=B8=8A=E6=B8=B8=E8=B4=A6=E5=8F=B7=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/src/platform-infra-sub2api-codex/feedback.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/src/platform-infra-sub2api-codex/feedback.ts b/scripts/src/platform-infra-sub2api-codex/feedback.ts index d2e9f6e3..57ddea77 100644 --- a/scripts/src/platform-infra-sub2api-codex/feedback.ts +++ b/scripts/src/platform-infra-sub2api-codex/feedback.ts @@ -541,7 +541,7 @@ function renderFeedbackReport(report: Record | null, options: F ["#", "AT", "GAP_S", "STATUS", "DURATION", "MODEL", "ACCOUNT", "ATTRIBUTION"], ...timeline.map((item, index) => [ String(index + 1), shortIso(item.at), textValue(item.gapSeconds), textValue(item.statusCode ?? item.kind), textValue(item.durationMs), - shorten(textValue(item.model), 18), shorten(`${textValue(item.accountName)}#${textValue(item.accountId)}`, 28), textValue(item.attribution), + shorten(textValue(item.model), 18), `${textValue(item.accountName)}#${textValue(item.accountId)}`, textValue(item.attribution), ]), ])); lines.push(""); @@ -557,7 +557,7 @@ function renderFeedbackReport(report: Record | null, options: F lines.push(renderTable([ ["ACCOUNT", "STATUS", "SCHED", "IN_USE", "QUEUE", "CAP", "AVAILABLE", "PROXY", "P_STATUS"], ...accounts.map((item) => [ - shorten(`${textValue(item.name)}#${textValue(item.id)}`, 32), textValue(item.status), textValue(item.schedulable), + `${textValue(item.name)}#${textValue(item.id)}`, textValue(item.status), textValue(item.schedulable), textValue(item.currentInUse), textValue(item.waitingInQueue), textValue(item.maxCapacity), textValue(item.available), shorten(`${textValue(item.proxyName)}#${textValue(item.proxyId)}`, 24), textValue(item.proxyStatus), ]),