fix(04-01): resolve type errors and update integration tests for wakeup API

- Fix SQLInputValue type in listWakeupRequests params
- Fix leftover pendingWakes reference in worker-service.ts
- Fix RunStatus 'completed' -> 'succeeded' in atomic-checkout test
- Update autonomous-chain.spec.ts to use new wakeup lifecycle API
This commit is contained in:
ZacharyZhang-NY committed 2026-03-26 19:00:51 -04:00
1 parent f647a4fdf1
commit 4d47712669
4 files changed
+53 -41

No files matched your search

+1 -1
View File
@@ -2091,7 +2091,7 @@ export class AppDatabase {
claimedAt: string | null; finishedAt: string | null; createdAt: string; updatedAt: string;
}> {
const conditions = ["company_id = ?"];
const params: unknown[] = [companyId];
const params: SQLInputValue[] = [companyId];
if (filters?.status) { conditions.push("status = ?"); params.push(filters.status); }
if (filters?.agentId) { conditions.push("agent_id = ?"); params.push(filters.agentId); }
const limit = filters?.limit ?? 50;