The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Your computer's ComfyUI: the library knows what the job tables hold
Adarsh0c4c74c2e5d2
diff --git a/src/server/generations.ts b/src/server/generations.tsindex b8c314f6..c2acc25d 100644--- a/src/server/generations.ts+++ b/src/server/generations.ts@@ -407,6 +407,13 @@ export const ASSET_FREE: Record<string, string> = {"assist_schedules.mode_json": "the Assist mode a scheduled run starts in","assist_connectors.url": "a remote MCP server Claude connects to, never one of ours","assist_connectors.tools_json": "the tool names a connector is limited to",+ "relay_runners.facts_json": "what a person's computer said about its ComfyUI: its GPU, memory, version and LoRA names",+ "relay_tasks.graph_json": "the graph a person's computer runs: file names on that computer's ComfyUI, never a Fuobe file",+ "relay_tasks.extra_json": "the run's LoRA names and where they download from, as its generation's request has them (which keeps them)",+ "relay_tasks.wanted_json": "the results asked of a person's computer: file names on its ComfyUI",+ "relay_tasks.received_json": "how much of each result has arrived",+ "relay_tasks.result_json": "the finished entry a person's ComfyUI reported: its own file names",+ "relay_tasks.refusal_json": "a ComfyUI refusal: node classes and model names",};/** The query that finds the rows of one ASSET_REFS table naming a file (@id), except the purged generation's own (@g). */diff --git a/tests/computer-relay.test.ts b/tests/computer-relay.test.tsindex 4e3555d4..80eaa9d5 100644--- a/tests/computer-relay.test.ts+++ b/tests/computer-relay.test.ts@@ -34,6 +34,7 @@ const { getGeneration } = await import("@/server/generations");const { db } = await import("@/server/db");const { resetRates } = await import("@/server/rate");const { RELAY_WORDS } = await import("@/lib/relay");+const { lastGpuDevice } = await import("@/server/account-gpu");let fake: LocalComfy;let routes: ComputerRoutes;@@ -137,6 +138,8 @@ describe("a run on the ComfyUI on the person's own computer", () => {const state = await (await gpuRoute.GET(new Request("http://localhost:3000/api/account/gpu", { headers: { cookie, ...SITE_HEADERS } }))).json();expect(state.gpu).toMatchObject({ mode: "computer", online: true, device: "cuda:0 NVIDIA GeForce RTX 5090 : cudaMallocAsync", version: "0.42.0", port: fake.port, cors: "exact" });expect(JSON.stringify(state)).not.toMatch(/private|base-directory/);+ // A price check reads the GPU the tab reported (Split soundtrack's pick), and never calls it.+ expect(lastGpuDevice(a)).toBe("cuda");fake.log.length = 0;expect(await t.runner.claimAndRun()).toBe(true);