comfyui-mcp 0.20.9 → 0.21.1
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.
- package/README.md +24 -105
- package/dist/index.js +67 -0
- package/dist/index.js.map +1 -1
- package/dist/orchestrator/agent-backend.js +16 -0
- package/dist/orchestrator/agent-backend.js.map +1 -1
- package/dist/orchestrator/gemini-backend.js +977 -0
- package/dist/orchestrator/gemini-backend.js.map +1 -0
- package/dist/orchestrator/index.js +92 -43
- package/dist/orchestrator/index.js.map +1 -1
- package/dist/orchestrator/panel-tools.js +7 -2
- package/dist/orchestrator/panel-tools.js.map +1 -1
- package/dist/services/env-capabilities.js +18 -11
- package/dist/services/env-capabilities.js.map +1 -1
- package/dist/services/generate-video.js +180 -0
- package/dist/services/generate-video.js.map +1 -0
- package/dist/services/history-select.js +42 -0
- package/dist/services/history-select.js.map +1 -0
- package/dist/services/image-management.js +49 -1
- package/dist/services/image-management.js.map +1 -1
- package/dist/services/remove-background.js +51 -0
- package/dist/services/remove-background.js.map +1 -0
- package/dist/services/upscale-image.js +41 -0
- package/dist/services/upscale-image.js.map +1 -0
- package/dist/services/workflow-composer.js +198 -4
- package/dist/services/workflow-composer.js.map +1 -1
- package/dist/services/workflow-url.js +258 -0
- package/dist/services/workflow-url.js.map +1 -0
- package/dist/tools/diagnostics.js +4 -16
- package/dist/tools/diagnostics.js.map +1 -1
- package/dist/tools/generate-video.js +86 -0
- package/dist/tools/generate-video.js.map +1 -0
- package/dist/tools/index.js +8 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/remove-background.js +63 -0
- package/dist/tools/remove-background.js.map +1 -0
- package/dist/tools/upscale-image.js +63 -0
- package/dist/tools/upscale-image.js.map +1 -0
- package/dist/tools/workflow-execute.js +60 -1
- package/dist/tools/workflow-execute.js.map +1 -1
- package/dist/tools/workflow-url.js +164 -0
- package/dist/tools/workflow-url.js.map +1 -0
- package/dist/transport/cli.js +21 -1
- package/dist/transport/cli.js.map +1 -1
- package/dist/transport/http.js +55 -1
- package/dist/transport/http.js.map +1 -1
- package/dist/utils/input-paths.js +52 -0
- package/dist/utils/input-paths.js.map +1 -0
- package/package.json +1 -1
- package/packs/{cozy-flow → artokun-flow}/install-runpod.sh +14 -9
- package/packs/{cozy-flow → artokun-flow}/install-windows.bat +14 -9
- package/packs/artokun-flow/manifest.yaml +75 -0
- package/packs/artokun-flow/pack.yaml +44 -0
- package/packs/artokun-flow/workflow.json +1 -0
- package/packs/wan-animate-ofm/install-runpod.sh +51 -0
- package/packs/wan-animate-ofm/install-windows.bat +56 -0
- package/packs/wan-animate-ofm/manifest.yaml +78 -0
- package/packs/wan-animate-ofm/pack.yaml +43 -0
- package/packs/{cozy-flow → wan-animate-ofm}/workflow.json +1619 -1476
- package/plugin/skills/debug-render/SKILL.md +105 -0
- package/plugin/skills/troubleshooting/SKILL.md +6 -0
- package/scripts/gen-tool-docs.ts +4 -2
- package/packs/cozy-flow/manifest.yaml +0 -60
- package/packs/cozy-flow/pack.yaml +0 -69
package/README.md
CHANGED
|
@@ -60,6 +60,28 @@ Claude will find (or download) a checkpoint, build a workflow, execute it, and r
|
|
|
60
60
|
|
|
61
61
|
For **Comfy Cloud** users, [Comfy-Org ships an official Comfy Cloud MCP](https://docs.comfy.org/development/cloud/mcp-server) (currently invite-only beta) which is cloud-exclusive and maintained by the Comfy team. `comfyui-mcp` *also* includes a community cloud-mode (set `COMFYUI_API_KEY` — see [Deployment modes](#deployment-modes)) so a single MCP can target all three deployment shapes from one config; pick whichever fits your workflow.
|
|
62
62
|
|
|
63
|
+
### Remote / hosted connector (one command)
|
|
64
|
+
|
|
65
|
+
Want to use `comfyui-mcp` from **Claude Desktop's Custom Connectors** or any remote
|
|
66
|
+
client — like Comfy's own `cloud.comfy.org/mcp` connector? Run it as an
|
|
67
|
+
authenticated, publicly-reachable Streamable-HTTP server with one flag:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npx -y comfyui-mcp --tunnel
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
This forces the HTTP transport, generates an auth token, opens a
|
|
74
|
+
[cloudflared](https://github.com/cloudflare/cloudflared) quick tunnel, and prints
|
|
75
|
+
a ready-to-paste `https://…/mcp` URL + token + Claude Desktop connector snippet.
|
|
76
|
+
Auth accepts `Authorization: Bearer <token>` **or** `X-API-Key: <token>` (matching
|
|
77
|
+
Comfy Cloud's convention). See the
|
|
78
|
+
[Remote / hosted connector guide](https://comfyui-mcp.artokun.io/docs/remote-connector)
|
|
79
|
+
for the full walkthrough and headless usage.
|
|
80
|
+
|
|
81
|
+
> Auth is opt-in: with no `COMFYUI_MCP_HTTP_TOKEN` set and no `--tunnel`, the
|
|
82
|
+
> default stdio (and plain `--http` on loopback) behavior is unchanged — open and
|
|
83
|
+
> local. OAuth (Comfy's browser sign-in flow) is a planned follow-up.
|
|
84
|
+
|
|
63
85
|
---
|
|
64
86
|
|
|
65
87
|
## Claude Code Plugin
|
|
@@ -93,7 +115,7 @@ This package also ships as a **Claude Code plugin**, providing slash commands, s
|
|
|
93
115
|
|
|
94
116
|
22 skills total — model-family guides (Flux, WAN, LTX 2.3, Qwen, Z-Image, Ideogram 4, ERNIE, ANIMA + anime / WAN / Z-Image LoRA training), the **model-registry** (curated download URLs), the **civitai** pairing skill, node authoring, and the core four below. Full list on the [plugin docs page](https://comfyui-mcp.artokun.io/docs/plugin).
|
|
95
117
|
|
|
96
|
-
> **Installer packs.** [`packs/`](packs/) bundles 13 one-command ComfyUI setups — ANIMA, Ideogram 4, LTX-2.3, ERNIE, WAN (animate / longer-videos / transparent), Qwen (image / image-edit), Z-Image (turbo / base / xy-plot) and
|
|
118
|
+
> **Installer packs.** [`packs/`](packs/) bundles 13 one-command ComfyUI setups — ANIMA, Ideogram 4, LTX-2.3, ERNIE, WAN (animate / longer-videos / transparent), Qwen (image / image-edit), Z-Image (turbo / base / xy-plot) and artokun-flow (WAN Animate — replace / animate). Each is a manifest of custom nodes + model URLs + workflow that drives both `apply_manifest` and generated `install-windows.bat` / `install-runpod.sh`, with CI that validates every model link + payload size. See [`packs/README.md`](packs/README.md).
|
|
97
119
|
|
|
98
120
|
| Skill | Description |
|
|
99
121
|
|-------|-------------|
|
|
@@ -788,107 +810,4 @@ MIT — see [LICENSE](./LICENSE) for details.
|
|
|
788
810
|
|
|
789
811
|
## Changelog
|
|
790
812
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
### 0.9.1 – 0.9.5 — 2026-06-01 → 2026-06-11
|
|
794
|
-
|
|
795
|
-
**Stability + interop + paperwork.** Five patch releases tightening the rough edges around 0.9.0:
|
|
796
|
-
|
|
797
|
-
- **0.9.5** — federation-friendly: `resources/list` / `prompts/list` / `resources/templates/list` now return empty arrays (with matching `resources` / `prompts` capability declarations) so federating clients like LiteLLM don't pay a per-server timeout probing capabilities we don't expose. MIT `LICENSE` file added at the repo root. Both reported by [@ductiletoaster](https://github.com/ductiletoaster).
|
|
798
|
-
- **0.9.4** — Glama build fix: disabled `.d.ts` emission (TS2742 portability error under pnpm; we're a CLI, not a library).
|
|
799
|
-
- **0.9.3** — `llms-install.md` agent-focused install guide + 400×400 marketplace logo, both for the Cline MCP Marketplace listing.
|
|
800
|
-
- **0.9.2** — Docker build fix: skip the `cloudflared` postinstall binary fetch that hung on rate-limited CI (Glama). Runtime tunnel helper still downloads it lazily on first use.
|
|
801
|
-
- **0.9.1** — `get_job_status` now routes through `cloud-client.getJobStatus` in cloud mode. Refined `CLOUD_UNSUPPORTED` message (no longer leaks internal function name). vitest 3 → 4 (clears [GHSA-5xrq-8626-4rwp](https://github.com/advisories/GHSA-5xrq-8626-4rwp), dev-only).
|
|
802
|
-
|
|
803
|
-
### 0.9.0 — 2026-06-01
|
|
804
|
-
|
|
805
|
-
**Comfy Cloud + remote mode + slim install.**
|
|
806
|
-
|
|
807
|
-
- **Comfy Cloud** — set `COMFYUI_API_KEY` to route HTTP-backed primitives to [cloud.comfy.org](https://cloud.comfy.org) with `X-API-Key` auth. Architecture and dispatcher pattern ported with attribution from [@picoSols](https://github.com/picoSols)'s `comfyui-cloud-mcp` fork.
|
|
808
|
-
- **Smart-detect remote mode** — `--comfyui-url` at a non-loopback host suppresses `COMFYUI_PATH` auto-detection, closing the root cause of the 0.8.1 upload-fallback bug.
|
|
809
|
-
- **`isCloudMode()` / `isRemoteMode()` / `isLocalMode()`** config helpers + new "Deployment modes" docs section.
|
|
810
|
-
- **Slim install** — seven heavy/feature-gated packages (`@aws-sdk/*`, `@azure/*`, `cloudflared`, `ai`, `@ai-sdk/*`) moved to `optionalDependencies` with lazy dynamic-imports; missing deps now surface `OPTIONAL_DEP_MISSING` with the exact `npm install` hint.
|
|
811
|
-
|
|
812
|
-
### 0.8.1 — 2026-06-01
|
|
813
|
-
|
|
814
|
-
**Upstream fork picks (with attribution to [@joaolvivas](https://github.com/joaolvivas)).**
|
|
815
|
-
|
|
816
|
-
- **`health_check`** — single-call pre-flight diagnostic (version, GPU/VRAM, queue, per-category `/models` populations, recent `/internal/logs` errors).
|
|
817
|
-
- **`search_custom_nodes` fix** — `api.comfy.org/nodes` was ignoring the `search` param server-side; now fetches a larger window and rank-filters client-side.
|
|
818
|
-
- **`upload_image` / `upload_video` / `upload_audio` HTTP-only** — removed the deceptive filesystem fallback that silently misrouted uploads when `COMFYUI_PATH` auto-detected a stale local install.
|
|
819
|
-
|
|
820
|
-
### 0.8.0 — 2026-05-26
|
|
821
|
-
|
|
822
|
-
**Lifecycle + I/O + discovery.**
|
|
823
|
-
|
|
824
|
-
- **`apply_manifest`** — declarative env setup (pip / custom_nodes / models) from an inline or JSON/YAML manifest; idempotent.
|
|
825
|
-
- **`verify_custom_node`** — restart + `/object_info` load-check that a scaffolded/installed pack's node types actually registered.
|
|
826
|
-
- **`scaffold_custom_node`** — now also emits `.comfyignore`/`.gitignore` and (with `with_ci`) a GitHub publish workflow.
|
|
827
|
-
- **`convert_image`** — re-encode outputs to PNG/JPEG/WebP via `sharp`.
|
|
828
|
-
- **Cloud storage** — `s3://` / Azure-Blob model downloads + a new **`upload_output`** (S3/Azure/HTTP/HF).
|
|
829
|
-
- **`comfy-researcher` agent** — problem → ranked custom-node recommendations; **`generate_node_skill`** is now cached (source@version).
|
|
830
|
-
- **Security** — pip/argv-injection guards, realpath/symlink-safe path containment, cloud-credential + SAS/presigned redaction, redirect-SSRF hardening.
|
|
831
|
-
|
|
832
|
-
### 0.7.0 — 2026-05-25
|
|
833
|
-
|
|
834
|
-
**Stability + authoring.**
|
|
835
|
-
|
|
836
|
-
- **Custom-node authoring** — `scaffold_custom_node` (template a Python node pack) and `publish_custom_node` (publish to the Comfy Registry; `REGISTRY_ACCESS_TOKEN`).
|
|
837
|
-
- **`install_custom_node` ref pinning** — pin to a commit/branch/tag (URL ref or explicit `ref`).
|
|
838
|
-
- **`download_model` auth** — per-request `bearer`/`basic`/`header`/`query` auth for gated/private models.
|
|
839
|
-
- **Download cache** — content-addressed dedup + concurrent coalescing + optional LRU (`COMFYUI_DOWNLOAD_CACHE_DIR`, `COMFYUI_LRU_CACHE_SIZE_GB`).
|
|
840
|
-
- **Process supervision** — bounded startup readiness checks + opt-in bounded crash auto-restart for local installs.
|
|
841
|
-
- **Actionable failures** — `get_job_status` / completion now surface ComfyUI execution errors (OOM, traceback, node) and per-node + total timing.
|
|
842
|
-
- **Security** — download-auth input validation + secret redaction; git-ref argv-injection hardening; spawn `error` listeners so a bad executable can't crash the server.
|
|
843
|
-
- **Experimental** — flag-gated embedded-agent backend POC (cloudflared tunnel + AI SDK chat).
|
|
844
|
-
- **Docs** — hosted Mintlify site with a schema-generated tool reference.
|
|
845
|
-
|
|
846
|
-
### 0.6.1 — 2026-05-25
|
|
847
|
-
|
|
848
|
-
- **`upload_video` / `upload_audio`** — copy local video/audio files into ComfyUI's input directory so they can be referenced as workflow inputs, mirroring `upload_image`.
|
|
849
|
-
|
|
850
|
-
### 0.6.0 — 2026-05-25
|
|
851
|
-
|
|
852
|
-
**comfy-cli capability port** — much of the [comfy-cli](https://github.com/Comfy-Org/comfy-cli) workflow is now exposed as MCP tools, preferring the ComfyUI-Manager HTTP API with a subprocess fallback:
|
|
853
|
-
|
|
854
|
-
- **Custom nodes** — `install_custom_node`, `update_custom_node`, `reinstall_custom_node`, `fix_custom_node`, `list_installed_nodes`, `sync_node_dependencies`.
|
|
855
|
-
- **Node snapshots** — `save_node_snapshot`, `restore_node_snapshot`, `list_node_snapshots`.
|
|
856
|
-
- **Node bisect** — `bisect_start`, `bisect_good`, `bisect_bad`, `bisect_reset`, `bisect_status` to isolate a faulty custom node.
|
|
857
|
-
- **Workflow dependencies** — `extract_workflow_dependencies`, `install_workflow_dependencies` (API- and UI-format workflows).
|
|
858
|
-
- **Install / update** — `install_comfyui`, `update_comfyui`, `update_all`.
|
|
859
|
-
- **Models** — `remove_model` (path-safe) and `download_civitai_model`.
|
|
860
|
-
- **Workspace & environment** — `get_workspace`, `set_default_workspace`, `list_workspaces`, `get_environment`.
|
|
861
|
-
- **API / partner nodes** — `list_api_nodes`, `get_api_node_schema`, `generate_with_api_node`.
|
|
862
|
-
- **ComfyUI-Manager config** — `configure_manager`.
|
|
863
|
-
- **Security** — CivitAI auth moved to an `Authorization: Bearer` header (token no longer leaks into logs/URLs); model-download filenames validated against path traversal; `COMFY_API_KEY` delivered via the `/prompt` `extra_data` payload rather than the workflow.
|
|
864
|
-
- Rewrote core tool/parameter descriptions for clearer agent tool-selection; added a `Dockerfile` and the [Glama](https://glama.ai) listing.
|
|
865
|
-
|
|
866
|
-
### 0.5.0 — 2026-05-21
|
|
867
|
-
|
|
868
|
-
- **Streamable-HTTP transport** — opt in with `--http` (or `MCP_TRANSPORT=http`) to serve MCP over HTTP at `/mcp` for gateways, remote, and `fetch`-based clients. stdio remains the default; `--host`/`--port` configure the bind.
|
|
869
|
-
- **Remote ComfyUI** — `--comfyui-url` / `COMFYUI_URL` targets any (incl. remote) ComfyUI instance, overriding host/port/ssl and skipping auto-detection.
|
|
870
|
-
- **`generate_with_controlnet`** — ControlNet-conditioned generation (pose/depth/canny/normal) from a control image + prompt.
|
|
871
|
-
- **`generate_with_ip_adapter`** — reference-image style/subject guidance via IP-Adapter (requires ComfyUI_IPAdapter_plus).
|
|
872
|
-
- Two new `create_workflow` templates: `controlnet`, `ip_adapter`.
|
|
873
|
-
|
|
874
|
-
### 0.4.1 — 2026-05-21
|
|
875
|
-
|
|
876
|
-
- Added `server.json` and an `mcpName` field to `package.json` for publishing to the official [MCP Registry](https://github.com/modelcontextprotocol/registry) (`io.github.artokun/comfyui-mcp`).
|
|
877
|
-
|
|
878
|
-
### 0.4.0 — 2026-05-20
|
|
879
|
-
|
|
880
|
-
**Iteration & convenience tools** — closing the generate → see → iterate loop:
|
|
881
|
-
|
|
882
|
-
- **`generate_image`** — high-level entry point. Build a txt2img workflow from just a prompt; every unspecified parameter is filled from your configured defaults, and a local checkpoint is auto-selected when none is given. Returns a `prompt_id` immediately; the resulting `asset_id` arrives in the completion notification.
|
|
883
|
-
- **Asset registry** — every generated output gets a stable `asset_id`, backed by an in-memory store that keeps the workflow snapshot for reproduction. TTL configurable via `COMFYUI_ASSET_TTL_HOURS` (default 24h). The registry is ephemeral and clears on server restart.
|
|
884
|
-
- **`view_image`** — fetch a registered asset's bytes and return them as an inline image so the agent can see the result. Supports PNG/JPEG/WebP.
|
|
885
|
-
- **`regenerate`** — re-run the workflow that produced an asset, with optional parameter overrides (`cfg`, `steps`, `sampler_name`, `seed`, `text`, …). Seeds re-randomize by default; pass `seed` + `disable_random_seed` to reproduce exactly.
|
|
886
|
-
- **`list_assets` / `get_asset_metadata`** — browse recent assets newest-first and inspect full provenance including the originating workflow.
|
|
887
|
-
|
|
888
|
-
**Auto-exposed workflows** — drop a workflow JSON into `COMFYUI_WORKFLOWS_DIR` (default `~/.comfyui-mcp/workflows`) and it registers as its own typed MCP tool at startup. Mark inputs with `PARAM_PROMPT`, `PARAM_INT_<NAME>`, `PARAM_FLOAT_<NAME>`, `PARAM_STRING_<NAME>`, or `PARAM_BOOL_<NAME>`. Invalid JSON is logged and skipped, never fatal.
|
|
889
|
-
|
|
890
|
-
**Configurable defaults** — stop repeating common settings:
|
|
891
|
-
|
|
892
|
-
- **`get_defaults`** — merged view with per-source attribution.
|
|
893
|
-
- **`set_defaults`** — update the runtime layer, or pass `persist: true` to write the config file (`~/.config/comfyui-mcp/config.json`).
|
|
894
|
-
- Resolution precedence (lowest → highest): config file → `COMFYUI_DEFAULT_*` env vars → runtime overrides → per-call arguments.
|
|
813
|
+
See [CHANGELOG.md](./CHANGELOG.md) for the full, structured release history.
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { randomBytes } from "node:crypto";
|
|
2
3
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
4
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
5
|
import { ListPromptsRequestSchema, ListResourcesRequestSchema, ListResourceTemplatesRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -100,6 +101,61 @@ async function createConfiguredServer() {
|
|
|
100
101
|
}));
|
|
101
102
|
return server;
|
|
102
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Open a cloudflared quick tunnel to the local HTTP MCP port and print a clear,
|
|
106
|
+
* ready-to-paste Claude Desktop Custom Connector block (public https://…/mcp
|
|
107
|
+
* URL + token + headless X-API-Key usage). Resilient: a missing cloudflared
|
|
108
|
+
* binary (or any tunnel error) surfaces install guidance and leaves the local
|
|
109
|
+
* server running instead of crashing.
|
|
110
|
+
*/
|
|
111
|
+
async function openTunnelAndAnnounce(host, port, token) {
|
|
112
|
+
const { startQuickTunnel } = await import("./services/tunnel.js");
|
|
113
|
+
logger.info("[tunnel] starting cloudflared quick tunnel…");
|
|
114
|
+
let publicUrl;
|
|
115
|
+
try {
|
|
116
|
+
const tunnel = await startQuickTunnel(port);
|
|
117
|
+
publicUrl = tunnel.url;
|
|
118
|
+
}
|
|
119
|
+
catch (err) {
|
|
120
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
121
|
+
logger.error(`[tunnel] could not start cloudflared: ${message}\n` +
|
|
122
|
+
` Install it, then re-run with --tunnel:\n` +
|
|
123
|
+
` npm install -g cloudflared # or: brew install cloudflared / winget install cloudflare.cloudflared\n` +
|
|
124
|
+
` The local server is still running at http://${host}:${port}/mcp (token auth active).`);
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
const mcpUrl = `${publicUrl}/mcp`;
|
|
128
|
+
const snippet = JSON.stringify({
|
|
129
|
+
mcpServers: {
|
|
130
|
+
comfyui: {
|
|
131
|
+
url: mcpUrl,
|
|
132
|
+
headers: { "X-API-Key": token },
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
}, null, 2);
|
|
136
|
+
// Single multi-line block to stderr so it survives MCP stdio framing and is
|
|
137
|
+
// easy to copy from the terminal.
|
|
138
|
+
process.stderr.write([
|
|
139
|
+
"",
|
|
140
|
+
"════════════════════════════════════════════════════════════════════",
|
|
141
|
+
" ComfyUI MCP — Remote / Hosted Connector is LIVE",
|
|
142
|
+
"════════════════════════════════════════════════════════════════════",
|
|
143
|
+
` Public MCP URL : ${mcpUrl}`,
|
|
144
|
+
` Auth token : ${token}`,
|
|
145
|
+
"",
|
|
146
|
+
" Claude Desktop → Settings → Connectors → Add custom connector:",
|
|
147
|
+
` • Name : ComfyUI`,
|
|
148
|
+
` • URL : ${mcpUrl}`,
|
|
149
|
+
` • Header: X-API-Key: ${token} (or Authorization: Bearer ${token})`,
|
|
150
|
+
"",
|
|
151
|
+
" Headless / programmatic config snippet:",
|
|
152
|
+
snippet,
|
|
153
|
+
"",
|
|
154
|
+
" Keep this terminal open — the tunnel closes when the process exits.",
|
|
155
|
+
"════════════════════════════════════════════════════════════════════",
|
|
156
|
+
"",
|
|
157
|
+
].join("\n"));
|
|
158
|
+
}
|
|
103
159
|
async function main() {
|
|
104
160
|
const cli = parseCliArgs(process.argv);
|
|
105
161
|
// Standalone background orchestrator: owns the UI bridge and drives the panel
|
|
@@ -111,12 +167,23 @@ async function main() {
|
|
|
111
167
|
}
|
|
112
168
|
await JobWatcher.cleanupOldFiles();
|
|
113
169
|
if (cli.transport === "http") {
|
|
170
|
+
// In tunnel mode, require a token even if none was configured: the endpoint
|
|
171
|
+
// is about to be exposed publicly, so generate a strong one on the fly.
|
|
172
|
+
const token = cli.token ?? (cli.tunnel ? randomBytes(24).toString("hex") : undefined);
|
|
114
173
|
await startHttpServer({
|
|
115
174
|
host: cli.host,
|
|
116
175
|
port: cli.port,
|
|
176
|
+
token,
|
|
177
|
+
allowUnauthenticated: cli.allowUnauthenticated,
|
|
117
178
|
createServer: () => createConfiguredServer(),
|
|
118
179
|
});
|
|
119
180
|
logger.info(`ComfyUI MCP server running on http://${cli.host}:${cli.port}/mcp`);
|
|
181
|
+
if (token) {
|
|
182
|
+
logger.info(`HTTP MCP auth ENABLED — send 'Authorization: Bearer <token>' or 'X-API-Key: <token>'.`);
|
|
183
|
+
}
|
|
184
|
+
if (cli.tunnel) {
|
|
185
|
+
await openTunnelAndAnnounce(cli.host, cli.port, token);
|
|
186
|
+
}
|
|
120
187
|
}
|
|
121
188
|
else {
|
|
122
189
|
const server = await createConfiguredServer();
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,kCAAkC,GACnC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;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AM,eAAe,CAAC;YACpB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,KAAK;YACL,oBAAoB,EAAE,GAAG,CAAC,oBAAoB;YAC9C,YAAY,EAAE,GAAG,EAAE,CAAC,sBAAsB,EAAE;SAC7C,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,wCAAwC,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,MAAM,CAAC,CAAC;QAChF,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,CAAC,IAAI,CACT,uFAAuF,CACxF,CAAC;QACJ,CAAC;QAED,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;YACf,MAAM,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,KAAM,CAAC,CAAC;QAC1D,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,MAAM,GAAG,MAAM,sBAAsB,EAAE,CAAC;QAC9C,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;QAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAChC,MAAM,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;IACrD,CAAC;IAED,wEAAwE;IACxE,iBAAiB,EAAE,CAAC;IACpB,mFAAmF;IACnF,gBAAgB,EAAE,CAAC;AACrB,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACnB,MAAM,CAAC,KAAK,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;IACjC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -30,4 +30,20 @@ export const CODEX_CAPABILITIES = {
|
|
|
30
30
|
hooks: false,
|
|
31
31
|
vision: true, // gpt-5.5 sees images; delivered as `localImage` turn input items
|
|
32
32
|
};
|
|
33
|
+
/** Capability descriptor for the Gemini CLI ACP backend (Agent Client Protocol).
|
|
34
|
+
* Mirrors the Codex posture: a persistent session over a JSON-RPC-over-stdio
|
|
35
|
+
* client, streaming deltas + tool calls, interrupt via `session/cancel`, and
|
|
36
|
+
* config-declared MCP servers (no in-process SDK MCP). forkAtAnchor is false —
|
|
37
|
+
* ACP `session/load` is whole-session only, with no per-turn rewind anchor. */
|
|
38
|
+
export const GEMINI_CAPABILITIES = {
|
|
39
|
+
persistentChannel: true, // session/new + repeated session/prompt
|
|
40
|
+
streamingDeltas: true, // session/update agent_message_chunk / agent_thought_chunk
|
|
41
|
+
interruptMidTurn: true, // session/cancel
|
|
42
|
+
forkAtAnchor: false, // session/load is whole-session only (no anchor fork)
|
|
43
|
+
inProcessMcp: false, // ACP session/new declares config MCP servers only
|
|
44
|
+
modelEnumeration: true, // static catalog (gemini-2.5-pro / -flash) — ACP exposes no catalog
|
|
45
|
+
slashCommands: false,
|
|
46
|
+
hooks: false,
|
|
47
|
+
vision: true, // gemini-2.5 sees images; delivered as inline base64 image ContentBlocks
|
|
48
|
+
};
|
|
33
49
|
//# sourceMappingURL=agent-backend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-backend.js","sourceRoot":"","sources":["../../src/orchestrator/agent-backend.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,mFAAmF;AACnF,oEAAoE;AACpE,EAAE;AACF,mFAAmF;AACnF,+EAA+E;AAC/E,+EAA+E;AAC/E,mFAAmF;AA8KnF,8DAA8D;AAC9D,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,aAAa,EAAE,IAAI;IACnB,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI,EAAE,0DAA0D;CACzE,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,kBAAkB,GAAsB;IACnD,iBAAiB,EAAE,IAAI,EAAE,2CAA2C;IACpE,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI,EAAE,iBAAiB;IACzC,YAAY,EAAE,KAAK,EAAE,+CAA+C;IACpE,YAAY,EAAE,KAAK,EAAE,mCAAmC;IACxD,gBAAgB,EAAE,IAAI,EAAE,cAAc;IACtC,aAAa,EAAE,KAAK;IACpB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,IAAI,EAAE,kEAAkE;CACjF,CAAC"}
|
|
1
|
+
{"version":3,"file":"agent-backend.js","sourceRoot":"","sources":["../../src/orchestrator/agent-backend.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,mFAAmF;AACnF,oEAAoE;AACpE,EAAE;AACF,mFAAmF;AACnF,+EAA+E;AAC/E,+EAA+E;AAC/E,mFAAmF;AA8KnF,8DAA8D;AAC9D,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,aAAa,EAAE,IAAI;IACnB,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI,EAAE,0DAA0D;CACzE,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,kBAAkB,GAAsB;IACnD,iBAAiB,EAAE,IAAI,EAAE,2CAA2C;IACpE,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI,EAAE,iBAAiB;IACzC,YAAY,EAAE,KAAK,EAAE,+CAA+C;IACpE,YAAY,EAAE,KAAK,EAAE,mCAAmC;IACxD,gBAAgB,EAAE,IAAI,EAAE,cAAc;IACtC,aAAa,EAAE,KAAK;IACpB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,IAAI,EAAE,k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