📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-08-24 09:30:03 +08:00
parent 14e7209e78
commit 5d88510274
153 changed files with 3428 additions and 1203 deletions
+3 -1
View File
@@ -101,7 +101,9 @@ try {
process.exit(1);
}
const report = message.content[0]?.text ?? "";
// The first block is not always the text one — an endpoint that returns a
// thinking block first would otherwise yield undefined.
const report = message.content.find((block) => block.type === "text")?.text ?? "";
const scoreMatch = report.match(/Health\s+Score[:\s]+(\d+)/i);
const score = scoreMatch ? parseInt(scoreMatch[1], 10) : null;