@openclaw/comfy-provider 2026.8.1 → 2026.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ const DEFAULT_PROMPT_INPUT_NAME = "text";
19
19
  const DEFAULT_INPUT_IMAGE_INPUT_NAME = "image";
20
20
  const DEFAULT_SEED_INPUT_NAME = "seed";
21
21
  const DEFAULT_POLL_INTERVAL_MS = 1500;
22
- const DEFAULT_TIMEOUT_MS = 5 * 6e4;
22
+ const DEFAULT_TIMEOUT_MS = 3e5;
23
23
  const RANDOM_SEED_EXCLUSIVE_MAX = 2 ** 48 - 1;
24
24
  const DEFAULT_COMFY_MODEL = "workflow";
25
25
  function readConfigInteger(config, key) {
@@ -454,7 +454,7 @@ async function runComfyWorkflow(params) {
454
454
  prompt: workflow,
455
455
  ...mode === "cloud" && resolvedAuth?.apiKey ? { extra_data: { api_key_comfy_org: resolvedAuth.apiKey } } : {}
456
456
  };
457
- const promptId = normalizeOptionalString((await readJsonResponse({
457
+ const promptResponse = await readJsonResponse({
458
458
  url: `${normalizedBaseUrl}${mode === "cloud" ? "/api/prompt" : "/prompt"}`,
459
459
  init: {
460
460
  method: "POST",
@@ -466,7 +466,8 @@ async function runComfyWorkflow(params) {
466
466
  dispatcherPolicy,
467
467
  auditContext: `comfy-${params.capability}-generate`,
468
468
  errorPrefix: "Comfy workflow submit failed"
469
- })).prompt_id);
469
+ });
470
+ const promptId = normalizeOptionalString(promptResponse.prompt_id);
470
471
  if (!promptId) throw new Error("Comfy workflow submit response missing prompt_id");
471
472
  const historyEntry = extractHistoryEntry(mode === "cloud" ? await (async () => {
472
473
  await waitForCloudCompletion({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/comfy-provider",
3
- "version": "2026.8.1",
3
+ "version": "2026.8.2",
4
4
  "description": "OpenClaw ComfyUI provider plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.7.2"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.8.1"
21
+ "pluginApi": ">=2026.8.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.8.1",
24
+ "openclawVersion": "2026.8.2",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -38,7 +38,7 @@
38
38
  "README.md"
39
39
  ],
40
40
  "peerDependencies": {
41
- "openclaw": ">=2026.8.1"
41
+ "openclaw": ">=2026.8.2"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {