2026-08-31 20:00:12 +03:00
|
|
|
import { stores } from "./stores.ts";
|
2026-08-31 19:51:17 +03:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Server-side job-status entry (GET /api/jobs?chatId=…, contracts.ts
|
|
|
|
|
* "THE ASYNC PROTOCOL" §4): the client polls while any job tool part is
|
|
|
|
|
* pending, finds the job by toolCallId, renders its activity line, and
|
|
|
|
|
* re-syncs the chat when the job flips to done/error.
|
|
|
|
|
*/
|
|
|
|
|
|
2026-08-31 20:00:12 +03:00
|
|
|
export const { listJobs } = stores.jobStore;
|