format: cover folded skills' js/ts scripts with repo prettier
ci/woodpecker/pr/ci Pipeline was successful

The repo format:check glob covers ts/js alongside md; four non-markdown
scripts inside the folded tree were flagged after the md pass. Same pinned
prettier 3.8.1, same markup-only class (verified: node --check still passes
on the js files).
This commit is contained in:
fargo
2026-08-19 14:41:18 -05:00
parent d5f3fae896
commit 95d5cb32d4
4 changed files with 90 additions and 88 deletions
@@ -21,7 +21,7 @@ export function waitForEvent(
threadManager: ThreadManager,
threadId: string,
eventType: LaceEventType,
timeoutMs = 5000
timeoutMs = 5000,
): Promise<LaceEvent> {
return new Promise((resolve, reject) => {
const startTime = Date.now();
@@ -62,7 +62,7 @@ export function waitForEventCount(
threadId: string,
eventType: LaceEventType,
count: number,
timeoutMs = 5000
timeoutMs = 5000,
): Promise<LaceEvent[]> {
return new Promise((resolve, reject) => {
const startTime = Date.now();
@@ -76,8 +76,8 @@ export function waitForEventCount(
} else if (Date.now() - startTime > timeoutMs) {
reject(
new Error(
`Timeout waiting for ${count} ${eventType} events after ${timeoutMs}ms (got ${matchingEvents.length})`
)
`Timeout waiting for ${count} ${eventType} events after ${timeoutMs}ms (got ${matchingEvents.length})`,
),
);
} else {
setTimeout(check, 10);
@@ -113,7 +113,7 @@ export function waitForEventMatch(
threadId: string,
predicate: (event: LaceEvent) => boolean,
description: string,
timeoutMs = 5000
timeoutMs = 5000,
): Promise<LaceEvent> {
return new Promise((resolve, reject) => {
const startTime = Date.now();