chore: fix biome check errors (40 → 0)
CI / check (pull_request) Failing after 1m39s

- Auto-fix: import sorting, formatting (17 files)
- Unsafe auto-fix: unused vars, template literals (7 files)
- Manual: nursery/noConsole → suspicious/noConsole suppression
- Manual: suppress noExcessiveCognitiveComplexity for cmdThreadResume and parseWorkflowPayload
- Manual: remove unused destructured vars in current-role tests

Closes #48
This commit is contained in:
2026-06-04 16:45:45 +08:00
parent cd7e4e77ff
commit dbb7885ffd
20 changed files with 244 additions and 235 deletions
@@ -539,9 +539,9 @@ describe("uwf thread resume - completed threads", () => {
const { createUwfStore, getThread } = await import("../store.js");
const verifyUwf = await createUwfStore(tmpDir);
const verifyEntry = getThread(verifyUwf.varStore, THREAD_ID);
// biome-ignore lint/nursery/noConsole: test debugging
// biome-ignore lint/suspicious/noConsole: test debugging
console.log("Seeded entry status:", verifyEntry?.status);
// biome-ignore lint/nursery/noConsole: test debugging
// biome-ignore lint/suspicious/noConsole: test debugging
console.log("Seeded entry:", JSON.stringify(verifyEntry, null, 2));
const promptCapturePath = join(tmpDir, "captured-prompt-completed.txt");
@@ -601,7 +601,7 @@ echo '${adapterJson}'
);
if (result.status !== 0) {
// biome-ignore lint/nursery/noConsole: test debugging
// biome-ignore lint/suspicious/noConsole: test debugging
console.error("Command failed:", result.stderr);
}