From 1b311d6529f271dfbce612364b05761ad7eae0e5 Mon Sep 17 00:00:00 2001 From: Towsty Date: Wed, 30 Sep 2026 22:06:10 -0500 Subject: [PATCH] Add Studio 2 caption jobs via Qwen2.5-VL GGUF on the host agent. Exclusive llama-server load/unload on the 5080, queued Describe UI with resultText, Copy, and Use as prompt. Co-authored-by: Cursor --- components/studio2/Bench.vue | 105 ++++++++- docs/caption.md | 40 ++++ scripts/caption-host.mjs | 331 ++++++++++++++++++++++++++++ scripts/comfy-host-agent.mjs | 79 +++++-- scripts/setup-caption.ps1 | 129 +++++++++++ server/api/health.get.ts | 7 +- server/api/studio-2/caption.post.ts | 74 +++++++ server/plugins/00-resume-caption.ts | 3 + server/utils/caption.ts | 268 ++++++++++++++++++++++ server/utils/jobs.ts | 4 +- server/utils/studioQueue.ts | 76 ++++++- shared/studio2/caption.mjs | 66 ++++++ shared/studio2/status.mjs | 5 +- tests/caption.test.mjs | 139 ++++++++++++ 14 files changed, 1285 insertions(+), 41 deletions(-) create mode 100644 docs/caption.md create mode 100644 scripts/caption-host.mjs create mode 100644 scripts/setup-caption.ps1 create mode 100644 server/api/studio-2/caption.post.ts create mode 100644 server/plugins/00-resume-caption.ts create mode 100644 server/utils/caption.ts create mode 100644 shared/studio2/caption.mjs create mode 100644 tests/caption.test.mjs diff --git a/components/studio2/Bench.vue b/components/studio2/Bench.vue index d650e63..5f55b0c 100644 --- a/components/studio2/Bench.vue +++ b/components/studio2/Bench.vue @@ -11,7 +11,7 @@ -
+
@@ -45,7 +45,7 @@ >{{ task }} -
+
+