@soederpop/luca 0.1.2 → 0.1.3
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/CLAUDE.md +2 -0
- package/assistants/codingAssistant/hooks.ts +1 -5
- package/assistants/inkbot/CORE.md +69 -0
- package/assistants/inkbot/hooks.ts +14 -0
- package/assistants/inkbot/tools.ts +47 -0
- package/commands/inkbot.ts +353 -0
- package/dist/agi/container.server.d.ts +63 -0
- package/dist/agi/container.server.d.ts.map +1 -0
- package/dist/agi/endpoints/ask.d.ts +20 -0
- package/dist/agi/endpoints/ask.d.ts.map +1 -0
- package/dist/agi/endpoints/conversations/[id].d.ts +27 -0
- package/dist/agi/endpoints/conversations/[id].d.ts.map +1 -0
- package/dist/agi/endpoints/conversations.d.ts +18 -0
- package/dist/agi/endpoints/conversations.d.ts.map +1 -0
- package/dist/agi/endpoints/experts.d.ts +8 -0
- package/dist/agi/endpoints/experts.d.ts.map +1 -0
- package/dist/agi/feature.d.ts +9 -0
- package/dist/agi/feature.d.ts.map +1 -0
- package/dist/agi/features/assistant.d.ts +509 -0
- package/dist/agi/features/assistant.d.ts.map +1 -0
- package/dist/agi/features/assistants-manager.d.ts +236 -0
- package/dist/agi/features/assistants-manager.d.ts.map +1 -0
- package/dist/agi/features/autonomous-assistant.d.ts +281 -0
- package/dist/agi/features/autonomous-assistant.d.ts.map +1 -0
- package/dist/agi/features/browser-use.d.ts +479 -0
- package/dist/agi/features/browser-use.d.ts.map +1 -0
- package/dist/agi/features/claude-code.d.ts +824 -0
- package/dist/agi/features/claude-code.d.ts.map +1 -0
- package/dist/agi/features/conversation-history.d.ts +245 -0
- package/dist/agi/features/conversation-history.d.ts.map +1 -0
- package/dist/agi/features/conversation.d.ts +464 -0
- package/dist/agi/features/conversation.d.ts.map +1 -0
- package/dist/agi/features/docs-reader.d.ts +72 -0
- package/dist/agi/features/docs-reader.d.ts.map +1 -0
- package/dist/agi/features/file-tools.d.ts +110 -0
- package/dist/agi/features/file-tools.d.ts.map +1 -0
- package/dist/agi/features/luca-coder.d.ts +323 -0
- package/dist/agi/features/luca-coder.d.ts.map +1 -0
- package/dist/agi/features/openai-codex.d.ts +381 -0
- package/dist/agi/features/openai-codex.d.ts.map +1 -0
- package/dist/agi/features/openapi.d.ts +200 -0
- package/dist/agi/features/openapi.d.ts.map +1 -0
- package/dist/agi/features/skills-library.d.ts +167 -0
- package/dist/agi/features/skills-library.d.ts.map +1 -0
- package/dist/agi/index.d.ts +5 -0
- package/dist/agi/index.d.ts.map +1 -0
- package/dist/agi/lib/interceptor-chain.d.ts +44 -0
- package/dist/agi/lib/interceptor-chain.d.ts.map +1 -0
- package/dist/agi/lib/token-counter.d.ts +13 -0
- package/dist/agi/lib/token-counter.d.ts.map +1 -0
- package/dist/bootstrap/generated.d.ts +5 -0
- package/dist/bootstrap/generated.d.ts.map +1 -0
- package/dist/browser.d.ts +12 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/bus.d.ts +29 -0
- package/dist/bus.d.ts.map +1 -0
- package/dist/cli/build-info.d.ts +4 -0
- package/dist/cli/build-info.d.ts.map +1 -0
- package/dist/cli/cli.d.ts +3 -0
- package/dist/cli/cli.d.ts.map +1 -0
- package/dist/client.d.ts +60 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/clients/civitai/index.d.ts +472 -0
- package/dist/clients/civitai/index.d.ts.map +1 -0
- package/dist/clients/client-template.d.ts +30 -0
- package/dist/clients/client-template.d.ts.map +1 -0
- package/dist/clients/comfyui/index.d.ts +281 -0
- package/dist/clients/comfyui/index.d.ts.map +1 -0
- package/dist/clients/elevenlabs/index.d.ts +197 -0
- package/dist/clients/elevenlabs/index.d.ts.map +1 -0
- package/dist/clients/graph.d.ts +64 -0
- package/dist/clients/graph.d.ts.map +1 -0
- package/dist/clients/openai/index.d.ts +247 -0
- package/dist/clients/openai/index.d.ts.map +1 -0
- package/dist/clients/rest.d.ts +92 -0
- package/dist/clients/rest.d.ts.map +1 -0
- package/dist/clients/supabase/index.d.ts +176 -0
- package/dist/clients/supabase/index.d.ts.map +1 -0
- package/dist/clients/websocket.d.ts +127 -0
- package/dist/clients/websocket.d.ts.map +1 -0
- package/dist/command.d.ts +163 -0
- package/dist/command.d.ts.map +1 -0
- package/dist/commands/bootstrap.d.ts +20 -0
- package/dist/commands/bootstrap.d.ts.map +1 -0
- package/dist/commands/chat.d.ts +37 -0
- package/dist/commands/chat.d.ts.map +1 -0
- package/dist/commands/code.d.ts +28 -0
- package/dist/commands/code.d.ts.map +1 -0
- package/dist/commands/console.d.ts +22 -0
- package/dist/commands/console.d.ts.map +1 -0
- package/dist/commands/describe.d.ts +50 -0
- package/dist/commands/describe.d.ts.map +1 -0
- package/dist/commands/eval.d.ts +23 -0
- package/dist/commands/eval.d.ts.map +1 -0
- package/dist/commands/help.d.ts +25 -0
- package/dist/commands/help.d.ts.map +1 -0
- package/dist/commands/index.d.ts +18 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/introspect.d.ts +24 -0
- package/dist/commands/introspect.d.ts.map +1 -0
- package/dist/commands/mcp.d.ts +35 -0
- package/dist/commands/mcp.d.ts.map +1 -0
- package/dist/commands/prompt.d.ts +38 -0
- package/dist/commands/prompt.d.ts.map +1 -0
- package/dist/commands/run.d.ts +24 -0
- package/dist/commands/run.d.ts.map +1 -0
- package/dist/commands/sandbox-mcp.d.ts +34 -0
- package/dist/commands/sandbox-mcp.d.ts.map +1 -0
- package/dist/commands/save-api-docs.d.ts +21 -0
- package/dist/commands/save-api-docs.d.ts.map +1 -0
- package/dist/commands/scaffold.d.ts +24 -0
- package/dist/commands/scaffold.d.ts.map +1 -0
- package/dist/commands/select.d.ts +22 -0
- package/dist/commands/select.d.ts.map +1 -0
- package/dist/commands/serve.d.ts +29 -0
- package/dist/commands/serve.d.ts.map +1 -0
- package/dist/container-describer.d.ts +144 -0
- package/dist/container-describer.d.ts.map +1 -0
- package/dist/container.d.ts +451 -0
- package/dist/container.d.ts.map +1 -0
- package/dist/endpoint.d.ts +113 -0
- package/dist/endpoint.d.ts.map +1 -0
- package/dist/feature.d.ts +47 -0
- package/dist/feature.d.ts.map +1 -0
- package/dist/graft.d.ts +29 -0
- package/dist/graft.d.ts.map +1 -0
- package/dist/hash-object.d.ts +8 -0
- package/dist/hash-object.d.ts.map +1 -0
- package/dist/helper.d.ts +209 -0
- package/dist/helper.d.ts.map +1 -0
- package/dist/introspection/generated.node.d.ts +44623 -0
- package/dist/introspection/generated.node.d.ts.map +1 -0
- package/dist/introspection/generated.web.d.ts +1412 -0
- package/dist/introspection/generated.web.d.ts.map +1 -0
- package/dist/introspection/index.d.ts +156 -0
- package/dist/introspection/index.d.ts.map +1 -0
- package/dist/introspection/scan.d.ts +147 -0
- package/dist/introspection/scan.d.ts.map +1 -0
- package/dist/node/container.d.ts +256 -0
- package/dist/node/container.d.ts.map +1 -0
- package/dist/node/feature.d.ts +9 -0
- package/dist/node/feature.d.ts.map +1 -0
- package/dist/node/features/container-link.d.ts +213 -0
- package/dist/node/features/container-link.d.ts.map +1 -0
- package/dist/node/features/content-db.d.ts +354 -0
- package/dist/node/features/content-db.d.ts.map +1 -0
- package/dist/node/features/disk-cache.d.ts +236 -0
- package/dist/node/features/disk-cache.d.ts.map +1 -0
- package/dist/node/features/dns.d.ts +511 -0
- package/dist/node/features/dns.d.ts.map +1 -0
- package/dist/node/features/docker.d.ts +485 -0
- package/dist/node/features/docker.d.ts.map +1 -0
- package/dist/node/features/downloader.d.ts +73 -0
- package/dist/node/features/downloader.d.ts.map +1 -0
- package/dist/node/features/figlet-fonts.d.ts +4 -0
- package/dist/node/features/figlet-fonts.d.ts.map +1 -0
- package/dist/node/features/file-manager.d.ts +177 -0
- package/dist/node/features/file-manager.d.ts.map +1 -0
- package/dist/node/features/fs.d.ts +635 -0
- package/dist/node/features/fs.d.ts.map +1 -0
- package/dist/node/features/git.d.ts +329 -0
- package/dist/node/features/git.d.ts.map +1 -0
- package/dist/node/features/google-auth.d.ts +200 -0
- package/dist/node/features/google-auth.d.ts.map +1 -0
- package/dist/node/features/google-calendar.d.ts +194 -0
- package/dist/node/features/google-calendar.d.ts.map +1 -0
- package/dist/node/features/google-docs.d.ts +138 -0
- package/dist/node/features/google-docs.d.ts.map +1 -0
- package/dist/node/features/google-drive.d.ts +202 -0
- package/dist/node/features/google-drive.d.ts.map +1 -0
- package/dist/node/features/google-mail.d.ts +221 -0
- package/dist/node/features/google-mail.d.ts.map +1 -0
- package/dist/node/features/google-sheets.d.ts +157 -0
- package/dist/node/features/google-sheets.d.ts.map +1 -0
- package/dist/node/features/grep.d.ts +207 -0
- package/dist/node/features/grep.d.ts.map +1 -0
- package/dist/node/features/helpers.d.ts +236 -0
- package/dist/node/features/helpers.d.ts.map +1 -0
- package/dist/node/features/ink.d.ts +332 -0
- package/dist/node/features/ink.d.ts.map +1 -0
- package/dist/node/features/ipc-socket.d.ts +298 -0
- package/dist/node/features/ipc-socket.d.ts.map +1 -0
- package/dist/node/features/json-tree.d.ts +140 -0
- package/dist/node/features/json-tree.d.ts.map +1 -0
- package/dist/node/features/networking.d.ts +373 -0
- package/dist/node/features/networking.d.ts.map +1 -0
- package/dist/node/features/nlp.d.ts +125 -0
- package/dist/node/features/nlp.d.ts.map +1 -0
- package/dist/node/features/opener.d.ts +93 -0
- package/dist/node/features/opener.d.ts.map +1 -0
- package/dist/node/features/os.d.ts +168 -0
- package/dist/node/features/os.d.ts.map +1 -0
- package/dist/node/features/package-finder.d.ts +419 -0
- package/dist/node/features/package-finder.d.ts.map +1 -0
- package/dist/node/features/postgres.d.ts +173 -0
- package/dist/node/features/postgres.d.ts.map +1 -0
- package/dist/node/features/proc.d.ts +285 -0
- package/dist/node/features/proc.d.ts.map +1 -0
- package/dist/node/features/process-manager.d.ts +427 -0
- package/dist/node/features/process-manager.d.ts.map +1 -0
- package/dist/node/features/python.d.ts +477 -0
- package/dist/node/features/python.d.ts.map +1 -0
- package/dist/node/features/redis.d.ts +247 -0
- package/dist/node/features/redis.d.ts.map +1 -0
- package/dist/node/features/repl.d.ts +84 -0
- package/dist/node/features/repl.d.ts.map +1 -0
- package/dist/node/features/runpod.d.ts +527 -0
- package/dist/node/features/runpod.d.ts.map +1 -0
- package/dist/node/features/secure-shell.d.ts +145 -0
- package/dist/node/features/secure-shell.d.ts.map +1 -0
- package/dist/node/features/semantic-search.d.ts +207 -0
- package/dist/node/features/semantic-search.d.ts.map +1 -0
- package/dist/node/features/sqlite.d.ts +180 -0
- package/dist/node/features/sqlite.d.ts.map +1 -0
- package/dist/node/features/telegram.d.ts +173 -0
- package/dist/node/features/telegram.d.ts.map +1 -0
- package/dist/node/features/transpiler.d.ts +51 -0
- package/dist/node/features/transpiler.d.ts.map +1 -0
- package/dist/node/features/tts.d.ts +108 -0
- package/dist/node/features/tts.d.ts.map +1 -0
- package/dist/node/features/ui.d.ts +562 -0
- package/dist/node/features/ui.d.ts.map +1 -0
- package/dist/node/features/vault.d.ts +90 -0
- package/dist/node/features/vault.d.ts.map +1 -0
- package/dist/node/features/vm.d.ts +285 -0
- package/dist/node/features/vm.d.ts.map +1 -0
- package/dist/node/features/yaml-tree.d.ts +118 -0
- package/dist/node/features/yaml-tree.d.ts.map +1 -0
- package/dist/node/features/yaml.d.ts +127 -0
- package/dist/node/features/yaml.d.ts.map +1 -0
- package/dist/node.d.ts +67 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/python/generated.d.ts +2 -0
- package/dist/python/generated.d.ts.map +1 -0
- package/dist/react/index.d.ts +36 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/registry.d.ts +97 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/scaffolds/generated.d.ts +13 -0
- package/dist/scaffolds/generated.d.ts.map +1 -0
- package/dist/scaffolds/template.d.ts +11 -0
- package/dist/scaffolds/template.d.ts.map +1 -0
- package/dist/schemas/base.d.ts +254 -0
- package/dist/schemas/base.d.ts.map +1 -0
- package/dist/selector.d.ts +130 -0
- package/dist/selector.d.ts.map +1 -0
- package/dist/server.d.ts +89 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/servers/express.d.ts +104 -0
- package/dist/servers/express.d.ts.map +1 -0
- package/dist/servers/mcp.d.ts +201 -0
- package/dist/servers/mcp.d.ts.map +1 -0
- package/dist/servers/socket.d.ts +121 -0
- package/dist/servers/socket.d.ts.map +1 -0
- package/dist/state.d.ts +24 -0
- package/dist/state.d.ts.map +1 -0
- package/dist/web/clients/socket.d.ts +37 -0
- package/dist/web/clients/socket.d.ts.map +1 -0
- package/dist/web/container.d.ts +55 -0
- package/dist/web/container.d.ts.map +1 -0
- package/dist/web/extension.d.ts +4 -0
- package/dist/web/extension.d.ts.map +1 -0
- package/dist/web/feature.d.ts +8 -0
- package/dist/web/feature.d.ts.map +1 -0
- package/dist/web/features/asset-loader.d.ts +35 -0
- package/dist/web/features/asset-loader.d.ts.map +1 -0
- package/dist/web/features/container-link.d.ts +167 -0
- package/dist/web/features/container-link.d.ts.map +1 -0
- package/dist/web/features/esbuild.d.ts +51 -0
- package/dist/web/features/esbuild.d.ts.map +1 -0
- package/dist/web/features/helpers.d.ts +140 -0
- package/dist/web/features/helpers.d.ts.map +1 -0
- package/dist/web/features/network.d.ts +69 -0
- package/dist/web/features/network.d.ts.map +1 -0
- package/dist/web/features/speech.d.ts +71 -0
- package/dist/web/features/speech.d.ts.map +1 -0
- package/dist/web/features/vault.d.ts +62 -0
- package/dist/web/features/vault.d.ts.map +1 -0
- package/dist/web/features/vm.d.ts +48 -0
- package/dist/web/features/vm.d.ts.map +1 -0
- package/dist/web/features/voice-recognition.d.ts +96 -0
- package/dist/web/features/voice-recognition.d.ts.map +1 -0
- package/dist/web/shims/isomorphic-vm.d.ts +22 -0
- package/dist/web/shims/isomorphic-vm.d.ts.map +1 -0
- package/docs/apis/features/agi/assistant.md +1 -0
- package/docs/apis/features/agi/assistants-manager.md +62 -2
- package/docs/apis/features/agi/auto-assistant.md +11 -109
- package/docs/apis/features/agi/claude-code.md +138 -0
- package/docs/apis/features/agi/conversation.md +60 -31
- package/docs/apis/features/agi/luca-coder.md +407 -0
- package/docs/apis/features/agi/openapi.md +2 -2
- package/docs/apis/features/agi/skills-library.md +12 -0
- package/docs/apis/features/node/python.md +81 -11
- package/docs/apis/features/node/transpiler.md +74 -0
- package/docs/apis/features/web/esbuild.md +0 -6
- package/docs/apis/servers/mcp.md +2 -2
- package/docs/examples/entity.md +124 -0
- package/package.json +73 -21
- package/src/agi/feature.ts +13 -0
- package/src/agi/features/assistant.ts +36 -25
- package/src/agi/features/assistants-manager.ts +70 -5
- package/src/agi/features/autonomous-assistant.ts +1 -5
- package/src/agi/features/browser-use.ts +2 -2
- package/src/agi/features/claude-code.ts +165 -1
- package/src/agi/features/conversation-history.ts +2 -6
- package/src/agi/features/conversation.ts +95 -3
- package/src/agi/features/docs-reader.ts +2 -1
- package/src/agi/features/file-tools.ts +2 -2
- package/src/agi/features/luca-coder.ts +1 -5
- package/src/agi/features/openai-codex.ts +1 -1
- package/src/agi/features/openapi.ts +3 -3
- package/src/agi/features/skills-library.ts +87 -6
- package/src/agi/lib/interceptor-chain.ts +10 -0
- package/src/agi/lib/token-counter.ts +1 -1
- package/src/bootstrap/generated.ts +126 -1
- package/src/bus.ts +27 -5
- package/src/cli/build-info.ts +2 -2
- package/src/client.ts +2 -2
- package/src/clients/elevenlabs/index.ts +5 -0
- package/src/commands/bootstrap.ts +2 -1
- package/src/commands/chat.ts +1 -0
- package/src/commands/code.ts +4 -2
- package/src/commands/prompt.ts +34 -34
- package/src/commands/sandbox-mcp.ts +69 -163
- package/src/commands/save-api-docs.ts +10 -8
- package/src/commands/select.ts +8 -3
- package/src/container-describer.ts +70 -84
- package/src/container.ts +93 -3
- package/src/endpoint.ts +1 -1
- package/src/entity.ts +173 -0
- package/src/feature.ts +3 -3
- package/src/helper.ts +8 -4
- package/src/introspection/generated.agi.ts +1246 -798
- package/src/introspection/generated.node.ts +892 -798
- package/src/introspection/generated.web.ts +95 -3
- package/src/introspection/scan.ts +1 -1
- package/src/node/container.ts +1 -1
- package/src/node/features/content-db.ts +3 -3
- package/src/node/features/file-manager.ts +10 -9
- package/src/node/features/git.ts +5 -5
- package/src/node/features/helpers.ts +1 -1
- package/src/node/features/json-tree.ts +1 -1
- package/src/node/features/os.ts +3 -3
- package/src/node/features/package-finder.ts +1 -1
- package/src/node/features/process-manager.ts +1 -1
- package/src/node/features/python.ts +3 -3
- package/src/node/features/redis.ts +1 -1
- package/src/node/features/repl.ts +2 -2
- package/src/node/features/transpiler.ts +2 -2
- package/src/node/features/ui.ts +1 -1
- package/src/node/features/vm.ts +3 -3
- package/src/node/features/yaml-tree.ts +1 -1
- package/src/node.ts +1 -0
- package/src/python/generated.ts +1 -1
- package/src/scaffolds/generated.ts +1 -1
- package/src/selector.ts +74 -4
- package/src/server.ts +2 -2
- package/src/servers/mcp.ts +6 -6
- package/src/web/features/helpers.ts +1 -1
- package/src/web/features/network.ts +1 -0
- package/test/conversation.test.ts +220 -0
- package/tsconfig.build.json +12 -0
- package/tsconfig.json +1 -1
- package/scripts/examples/telegram-ink-ui.ts +0 -302
- package/scripts/examples/using-openai-codex.ts +0 -23
- package/scripts/examples/vm-loading-esm-modules.ts +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setBuildTimeData, setContainerBuildTimeData } from './index.js';
|
|
2
2
|
|
|
3
3
|
// Auto-generated introspection registry data
|
|
4
|
-
// Generated at: 2026-
|
|
4
|
+
// Generated at: 2026-04-03T01:24:52.175Z
|
|
5
5
|
|
|
6
6
|
setBuildTimeData('features.googleDocs', {
|
|
7
7
|
"id": "features.googleDocs",
|
|
@@ -12302,244 +12302,194 @@ setBuildTimeData('clients.supabase', {
|
|
|
12302
12302
|
]
|
|
12303
12303
|
});
|
|
12304
12304
|
|
|
12305
|
-
setBuildTimeData('clients.
|
|
12306
|
-
"id": "clients.
|
|
12307
|
-
"description": "
|
|
12308
|
-
"shortcut": "clients.
|
|
12309
|
-
"className": "
|
|
12305
|
+
setBuildTimeData('clients.elevenlabs', {
|
|
12306
|
+
"id": "clients.elevenlabs",
|
|
12307
|
+
"description": "ElevenLabs client — text-to-speech synthesis via the ElevenLabs REST API. Provides methods for listing voices, listing models, and generating speech audio. Audio is returned as a Buffer; use `say()` for a convenience method that writes to disk.",
|
|
12308
|
+
"shortcut": "clients.elevenlabs",
|
|
12309
|
+
"className": "ElevenLabsClient",
|
|
12310
12310
|
"methods": {
|
|
12311
|
-
"
|
|
12312
|
-
"description": "
|
|
12313
|
-
"parameters": {
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
|
|
12321
|
-
|
|
12322
|
-
},
|
|
12323
|
-
"required": [
|
|
12324
|
-
"prompt"
|
|
12325
|
-
],
|
|
12326
|
-
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
12311
|
+
"beforeRequest": {
|
|
12312
|
+
"description": "Inject the xi-api-key header before each request.",
|
|
12313
|
+
"parameters": {},
|
|
12314
|
+
"required": [],
|
|
12315
|
+
"returns": "void"
|
|
12316
|
+
},
|
|
12317
|
+
"connect": {
|
|
12318
|
+
"description": "Validate the API key by listing available models.",
|
|
12319
|
+
"parameters": {},
|
|
12320
|
+
"required": [],
|
|
12321
|
+
"returns": "Promise<this>",
|
|
12327
12322
|
"examples": [
|
|
12328
12323
|
{
|
|
12329
12324
|
"language": "ts",
|
|
12330
|
-
"code": "
|
|
12325
|
+
"code": "await el.connect()"
|
|
12331
12326
|
}
|
|
12332
12327
|
]
|
|
12333
12328
|
},
|
|
12334
|
-
"
|
|
12335
|
-
"description": "
|
|
12336
|
-
"parameters": {},
|
|
12337
|
-
"required": [],
|
|
12338
|
-
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
12339
|
-
},
|
|
12340
|
-
"getHistory": {
|
|
12341
|
-
"description": "Get execution history, optionally for a specific prompt.",
|
|
12329
|
+
"listVoices": {
|
|
12330
|
+
"description": "List available voices with optional search and filtering.",
|
|
12342
12331
|
"parameters": {
|
|
12343
|
-
"
|
|
12344
|
-
"type": "string",
|
|
12345
|
-
"description": "
|
|
12332
|
+
"options": {
|
|
12333
|
+
"type": "{\n search?: string\n category?: string\n voice_type?: string\n page_size?: number\n next_page_token?: string\n }",
|
|
12334
|
+
"description": "Query parameters for filtering voices"
|
|
12346
12335
|
}
|
|
12347
12336
|
},
|
|
12348
12337
|
"required": [],
|
|
12349
|
-
"returns": "Promise<
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
"required": [],
|
|
12355
|
-
"returns": "Promise<any>"
|
|
12356
|
-
},
|
|
12357
|
-
"getObjectInfo": {
|
|
12358
|
-
"description": "Get node type info with input/output schemas.",
|
|
12359
|
-
"parameters": {
|
|
12360
|
-
"nodeClass": {
|
|
12361
|
-
"type": "string",
|
|
12362
|
-
"description": "If provided, returns info for this node type only"
|
|
12338
|
+
"returns": "Promise<any>",
|
|
12339
|
+
"examples": [
|
|
12340
|
+
{
|
|
12341
|
+
"language": "ts",
|
|
12342
|
+
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
12363
12343
|
}
|
|
12364
|
-
|
|
12365
|
-
"required": [],
|
|
12366
|
-
"returns": "Promise<any>"
|
|
12367
|
-
},
|
|
12368
|
-
"interrupt": {
|
|
12369
|
-
"description": "Interrupt the currently executing prompt.",
|
|
12370
|
-
"parameters": {},
|
|
12371
|
-
"required": [],
|
|
12372
|
-
"returns": "Promise<void>"
|
|
12344
|
+
]
|
|
12373
12345
|
},
|
|
12374
|
-
"
|
|
12375
|
-
"description": "
|
|
12346
|
+
"getVoice": {
|
|
12347
|
+
"description": "Get details for a single voice.",
|
|
12376
12348
|
"parameters": {
|
|
12377
|
-
"
|
|
12349
|
+
"voiceId": {
|
|
12378
12350
|
"type": "string",
|
|
12379
|
-
"description": "
|
|
12351
|
+
"description": "The voice ID to look up"
|
|
12380
12352
|
}
|
|
12381
12353
|
},
|
|
12382
|
-
"required": [
|
|
12383
|
-
|
|
12354
|
+
"required": [
|
|
12355
|
+
"voiceId"
|
|
12356
|
+
],
|
|
12357
|
+
"returns": "Promise<any>",
|
|
12358
|
+
"examples": [
|
|
12359
|
+
{
|
|
12360
|
+
"language": "ts",
|
|
12361
|
+
"code": "const voice = await el.getVoice('21m00Tcm4TlvDq8ikWAM')\nconsole.log(voice.name, voice.settings)"
|
|
12362
|
+
}
|
|
12363
|
+
]
|
|
12384
12364
|
},
|
|
12385
|
-
"
|
|
12386
|
-
"description": "List available
|
|
12365
|
+
"listModels": {
|
|
12366
|
+
"description": "List available TTS models.",
|
|
12387
12367
|
"parameters": {},
|
|
12388
12368
|
"required": [],
|
|
12389
|
-
"returns": "Promise<
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
"file": {
|
|
12395
|
-
"type": "Buffer | Blob",
|
|
12396
|
-
"description": "The image data as Buffer or Blob"
|
|
12397
|
-
},
|
|
12398
|
-
"filename": {
|
|
12399
|
-
"type": "string",
|
|
12400
|
-
"description": "File name for the upload"
|
|
12401
|
-
},
|
|
12402
|
-
"opts": {
|
|
12403
|
-
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
12404
|
-
"description": "Upload options (subfolder, type, overwrite)"
|
|
12369
|
+
"returns": "Promise<any[]>",
|
|
12370
|
+
"examples": [
|
|
12371
|
+
{
|
|
12372
|
+
"language": "ts",
|
|
12373
|
+
"code": "const models = await el.listModels()\nconsole.log(models.map(m => m.model_id))"
|
|
12405
12374
|
}
|
|
12406
|
-
|
|
12407
|
-
"required": [
|
|
12408
|
-
"file",
|
|
12409
|
-
"filename"
|
|
12410
|
-
],
|
|
12411
|
-
"returns": "Promise<any>"
|
|
12375
|
+
]
|
|
12412
12376
|
},
|
|
12413
|
-
"
|
|
12414
|
-
"description": "
|
|
12377
|
+
"synthesize": {
|
|
12378
|
+
"description": "Synthesize speech from text, returning audio as a Buffer.",
|
|
12415
12379
|
"parameters": {
|
|
12416
|
-
"
|
|
12380
|
+
"text": {
|
|
12417
12381
|
"type": "string",
|
|
12418
|
-
"description": "The
|
|
12419
|
-
},
|
|
12420
|
-
"subfolder": {
|
|
12421
|
-
"type": "any",
|
|
12422
|
-
"description": "Subfolder within the output directory"
|
|
12382
|
+
"description": "The text to convert to speech"
|
|
12423
12383
|
},
|
|
12424
|
-
"
|
|
12425
|
-
"type": "
|
|
12426
|
-
"description": "
|
|
12384
|
+
"options": {
|
|
12385
|
+
"type": "SynthesizeOptions",
|
|
12386
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
12387
|
+
"properties": {
|
|
12388
|
+
"voiceId": {
|
|
12389
|
+
"type": "string",
|
|
12390
|
+
"description": ""
|
|
12391
|
+
},
|
|
12392
|
+
"modelId": {
|
|
12393
|
+
"type": "string",
|
|
12394
|
+
"description": ""
|
|
12395
|
+
},
|
|
12396
|
+
"outputFormat": {
|
|
12397
|
+
"type": "string",
|
|
12398
|
+
"description": ""
|
|
12399
|
+
},
|
|
12400
|
+
"voiceSettings": {
|
|
12401
|
+
"type": "ElevenLabsVoiceSettings",
|
|
12402
|
+
"description": ""
|
|
12403
|
+
},
|
|
12404
|
+
"disableCache": {
|
|
12405
|
+
"type": "boolean",
|
|
12406
|
+
"description": ""
|
|
12407
|
+
}
|
|
12408
|
+
}
|
|
12427
12409
|
}
|
|
12428
12410
|
},
|
|
12429
12411
|
"required": [
|
|
12430
|
-
"
|
|
12412
|
+
"text"
|
|
12431
12413
|
],
|
|
12432
|
-
"returns": "Promise<Buffer>"
|
|
12433
|
-
|
|
12434
|
-
|
|
12435
|
-
|
|
12436
|
-
|
|
12437
|
-
"required": [],
|
|
12438
|
-
"returns": "Promise<void>"
|
|
12439
|
-
},
|
|
12440
|
-
"disconnectWs": {
|
|
12441
|
-
"description": "Close the WebSocket connection.",
|
|
12442
|
-
"parameters": {},
|
|
12443
|
-
"required": [],
|
|
12444
|
-
"returns": "void"
|
|
12445
|
-
},
|
|
12446
|
-
"toApiFormat": {
|
|
12447
|
-
"description": "Convert a UI-format workflow to the API format that /prompt expects. Requires a running ComfyUI instance to fetch `object_info` so we can map positional `widgets_values` to their named input fields. If the workflow is already in API format, it's returned as-is.",
|
|
12448
|
-
"parameters": {
|
|
12449
|
-
"workflow": {
|
|
12450
|
-
"type": "Record<string, any>",
|
|
12451
|
-
"description": "Parameter workflow"
|
|
12414
|
+
"returns": "Promise<Buffer>",
|
|
12415
|
+
"examples": [
|
|
12416
|
+
{
|
|
12417
|
+
"language": "ts",
|
|
12418
|
+
"code": "const audio = await el.synthesize('Hello world')\n// audio is a Buffer of mp3 data\n\nconst custom = await el.synthesize('Hello', {\n voiceId: '21m00Tcm4TlvDq8ikWAM',\n voiceSettings: { stability: 0.5, similarityBoost: 0.8 }\n})"
|
|
12452
12419
|
}
|
|
12453
|
-
|
|
12454
|
-
"required": [
|
|
12455
|
-
"workflow"
|
|
12456
|
-
],
|
|
12457
|
-
"returns": "Promise<Record<string, any>>"
|
|
12420
|
+
]
|
|
12458
12421
|
},
|
|
12459
|
-
"
|
|
12460
|
-
"description": "
|
|
12422
|
+
"say": {
|
|
12423
|
+
"description": "Synthesize speech and write the audio to a file.",
|
|
12461
12424
|
"parameters": {
|
|
12462
|
-
"
|
|
12463
|
-
"type": "
|
|
12464
|
-
"description": "
|
|
12425
|
+
"text": {
|
|
12426
|
+
"type": "string",
|
|
12427
|
+
"description": "The text to convert to speech"
|
|
12465
12428
|
},
|
|
12466
|
-
"
|
|
12467
|
-
"type": "
|
|
12468
|
-
"description": "
|
|
12429
|
+
"outputPath": {
|
|
12430
|
+
"type": "string",
|
|
12431
|
+
"description": "File path to write the audio to"
|
|
12469
12432
|
},
|
|
12470
12433
|
"options": {
|
|
12471
|
-
"type": "
|
|
12472
|
-
"description": "
|
|
12434
|
+
"type": "SynthesizeOptions",
|
|
12435
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
12473
12436
|
"properties": {
|
|
12474
|
-
"
|
|
12475
|
-
"type": "
|
|
12476
|
-
"description": "
|
|
12477
|
-
},
|
|
12478
|
-
"pollInterval": {
|
|
12479
|
-
"type": "number",
|
|
12480
|
-
"description": "Polling interval in ms (default 1000)"
|
|
12437
|
+
"voiceId": {
|
|
12438
|
+
"type": "string",
|
|
12439
|
+
"description": ""
|
|
12481
12440
|
},
|
|
12482
|
-
"
|
|
12483
|
-
"type": "
|
|
12484
|
-
"description": "
|
|
12441
|
+
"modelId": {
|
|
12442
|
+
"type": "string",
|
|
12443
|
+
"description": ""
|
|
12485
12444
|
},
|
|
12486
|
-
"
|
|
12445
|
+
"outputFormat": {
|
|
12487
12446
|
"type": "string",
|
|
12488
|
-
"description": "
|
|
12447
|
+
"description": ""
|
|
12448
|
+
},
|
|
12449
|
+
"voiceSettings": {
|
|
12450
|
+
"type": "ElevenLabsVoiceSettings",
|
|
12451
|
+
"description": ""
|
|
12452
|
+
},
|
|
12453
|
+
"disableCache": {
|
|
12454
|
+
"type": "boolean",
|
|
12455
|
+
"description": ""
|
|
12489
12456
|
}
|
|
12490
12457
|
}
|
|
12491
12458
|
}
|
|
12492
12459
|
},
|
|
12493
12460
|
"required": [
|
|
12494
|
-
"
|
|
12461
|
+
"text",
|
|
12462
|
+
"outputPath"
|
|
12495
12463
|
],
|
|
12496
|
-
"returns": "Promise<
|
|
12464
|
+
"returns": "Promise<string>",
|
|
12465
|
+
"examples": [
|
|
12466
|
+
{
|
|
12467
|
+
"language": "ts",
|
|
12468
|
+
"code": "const path = await el.say('Hello world', './hello.mp3')\nconsole.log(`Audio saved to ${path}`)"
|
|
12469
|
+
}
|
|
12470
|
+
]
|
|
12497
12471
|
}
|
|
12498
12472
|
},
|
|
12499
12473
|
"getters": {
|
|
12500
|
-
"
|
|
12501
|
-
"description": "The
|
|
12502
|
-
"returns": "string"
|
|
12503
|
-
},
|
|
12504
|
-
"wsURL": {
|
|
12505
|
-
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
12474
|
+
"apiKey": {
|
|
12475
|
+
"description": "The resolved API key from options or environment.",
|
|
12506
12476
|
"returns": "string"
|
|
12507
12477
|
}
|
|
12508
12478
|
},
|
|
12509
12479
|
"events": {
|
|
12510
|
-
"
|
|
12511
|
-
"name": "
|
|
12512
|
-
"description": "Event emitted by
|
|
12513
|
-
"arguments": {}
|
|
12514
|
-
},
|
|
12515
|
-
"execution_complete": {
|
|
12516
|
-
"name": "execution_complete",
|
|
12517
|
-
"description": "Event emitted by ComfyUIClient",
|
|
12518
|
-
"arguments": {}
|
|
12519
|
-
},
|
|
12520
|
-
"executing": {
|
|
12521
|
-
"name": "executing",
|
|
12522
|
-
"description": "Event emitted by ComfyUIClient",
|
|
12523
|
-
"arguments": {}
|
|
12524
|
-
},
|
|
12525
|
-
"progress": {
|
|
12526
|
-
"name": "progress",
|
|
12527
|
-
"description": "Event emitted by ComfyUIClient",
|
|
12528
|
-
"arguments": {}
|
|
12529
|
-
},
|
|
12530
|
-
"executed": {
|
|
12531
|
-
"name": "executed",
|
|
12532
|
-
"description": "Event emitted by ComfyUIClient",
|
|
12480
|
+
"failure": {
|
|
12481
|
+
"name": "failure",
|
|
12482
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
12533
12483
|
"arguments": {}
|
|
12534
12484
|
},
|
|
12535
|
-
"
|
|
12536
|
-
"name": "
|
|
12537
|
-
"description": "Event emitted by
|
|
12485
|
+
"voices": {
|
|
12486
|
+
"name": "voices",
|
|
12487
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
12538
12488
|
"arguments": {}
|
|
12539
12489
|
},
|
|
12540
|
-
"
|
|
12541
|
-
"name": "
|
|
12542
|
-
"description": "Event emitted by
|
|
12490
|
+
"speech": {
|
|
12491
|
+
"name": "speech",
|
|
12492
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
12543
12493
|
"arguments": {}
|
|
12544
12494
|
}
|
|
12545
12495
|
},
|
|
@@ -12549,48 +12499,65 @@ setBuildTimeData('clients.comfyui', {
|
|
|
12549
12499
|
"examples": [
|
|
12550
12500
|
{
|
|
12551
12501
|
"language": "ts",
|
|
12552
|
-
"code": "const
|
|
12502
|
+
"code": "const el = container.client('elevenlabs')\nawait el.connect()\nconst voices = await el.listVoices()\nconst audio = await el.synthesize('Hello world')\n// audio is a Buffer of mp3 data"
|
|
12553
12503
|
}
|
|
12554
12504
|
],
|
|
12555
12505
|
"types": {
|
|
12556
|
-
"
|
|
12506
|
+
"SynthesizeOptions": {
|
|
12557
12507
|
"description": "",
|
|
12558
12508
|
"properties": {
|
|
12559
|
-
"
|
|
12509
|
+
"voiceId": {
|
|
12510
|
+
"type": "string",
|
|
12511
|
+
"description": "",
|
|
12512
|
+
"optional": true
|
|
12513
|
+
},
|
|
12514
|
+
"modelId": {
|
|
12515
|
+
"type": "string",
|
|
12516
|
+
"description": "",
|
|
12517
|
+
"optional": true
|
|
12518
|
+
},
|
|
12519
|
+
"outputFormat": {
|
|
12520
|
+
"type": "string",
|
|
12521
|
+
"description": "",
|
|
12522
|
+
"optional": true
|
|
12523
|
+
},
|
|
12524
|
+
"voiceSettings": {
|
|
12525
|
+
"type": "ElevenLabsVoiceSettings",
|
|
12526
|
+
"description": "",
|
|
12527
|
+
"optional": true
|
|
12528
|
+
},
|
|
12529
|
+
"disableCache": {
|
|
12560
12530
|
"type": "boolean",
|
|
12561
|
-
"description": "
|
|
12531
|
+
"description": "",
|
|
12532
|
+
"optional": true
|
|
12533
|
+
}
|
|
12534
|
+
}
|
|
12535
|
+
},
|
|
12536
|
+
"ElevenLabsVoiceSettings": {
|
|
12537
|
+
"description": "",
|
|
12538
|
+
"properties": {
|
|
12539
|
+
"stability": {
|
|
12540
|
+
"type": "number",
|
|
12541
|
+
"description": "",
|
|
12562
12542
|
"optional": true
|
|
12563
12543
|
},
|
|
12564
|
-
"
|
|
12544
|
+
"similarityBoost": {
|
|
12565
12545
|
"type": "number",
|
|
12566
|
-
"description": "
|
|
12546
|
+
"description": "",
|
|
12567
12547
|
"optional": true
|
|
12568
12548
|
},
|
|
12569
|
-
"
|
|
12570
|
-
"type": "
|
|
12571
|
-
"description": "
|
|
12549
|
+
"style": {
|
|
12550
|
+
"type": "number",
|
|
12551
|
+
"description": "",
|
|
12572
12552
|
"optional": true
|
|
12573
12553
|
},
|
|
12574
|
-
"
|
|
12575
|
-
"type": "
|
|
12576
|
-
"description": "
|
|
12554
|
+
"speed": {
|
|
12555
|
+
"type": "number",
|
|
12556
|
+
"description": "",
|
|
12577
12557
|
"optional": true
|
|
12578
|
-
}
|
|
12579
|
-
}
|
|
12580
|
-
},
|
|
12581
|
-
"WorkflowResult": {
|
|
12582
|
-
"description": "",
|
|
12583
|
-
"properties": {
|
|
12584
|
-
"promptId": {
|
|
12585
|
-
"type": "string",
|
|
12586
|
-
"description": ""
|
|
12587
|
-
},
|
|
12588
|
-
"outputs": {
|
|
12589
|
-
"type": "Record<string, any>",
|
|
12590
|
-
"description": ""
|
|
12591
12558
|
},
|
|
12592
|
-
"
|
|
12593
|
-
"type": "
|
|
12559
|
+
"useSpeakerBoost": {
|
|
12560
|
+
"type": "boolean",
|
|
12594
12561
|
"description": "",
|
|
12595
12562
|
"optional": true
|
|
12596
12563
|
}
|
|
@@ -12599,194 +12566,244 @@ setBuildTimeData('clients.comfyui', {
|
|
|
12599
12566
|
}
|
|
12600
12567
|
});
|
|
12601
12568
|
|
|
12602
|
-
setBuildTimeData('clients.
|
|
12603
|
-
"id": "clients.
|
|
12604
|
-
"description": "
|
|
12605
|
-
"shortcut": "clients.
|
|
12606
|
-
"className": "
|
|
12569
|
+
setBuildTimeData('clients.comfyui', {
|
|
12570
|
+
"id": "clients.comfyui",
|
|
12571
|
+
"description": "ComfyUI client — execute Stable Diffusion workflows via the ComfyUI API. Connects to a ComfyUI instance to queue prompts, track execution via WebSocket or polling, and download generated images. Supports both UI-format and API-format workflows with automatic conversion.",
|
|
12572
|
+
"shortcut": "clients.comfyui",
|
|
12573
|
+
"className": "ComfyUIClient",
|
|
12607
12574
|
"methods": {
|
|
12608
|
-
"
|
|
12609
|
-
"description": "
|
|
12610
|
-
"parameters": {
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
|
|
12575
|
+
"queuePrompt": {
|
|
12576
|
+
"description": "Queue a prompt (API-format workflow) for execution.",
|
|
12577
|
+
"parameters": {
|
|
12578
|
+
"prompt": {
|
|
12579
|
+
"type": "Record<string, any>",
|
|
12580
|
+
"description": "The API-format workflow object"
|
|
12581
|
+
},
|
|
12582
|
+
"clientId": {
|
|
12583
|
+
"type": "string",
|
|
12584
|
+
"description": "Override the client ID for this request"
|
|
12585
|
+
}
|
|
12586
|
+
},
|
|
12587
|
+
"required": [
|
|
12588
|
+
"prompt"
|
|
12589
|
+
],
|
|
12590
|
+
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
12619
12591
|
"examples": [
|
|
12620
12592
|
{
|
|
12621
12593
|
"language": "ts",
|
|
12622
|
-
"code": "await
|
|
12594
|
+
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
12623
12595
|
}
|
|
12624
12596
|
]
|
|
12625
12597
|
},
|
|
12626
|
-
"
|
|
12627
|
-
"description": "
|
|
12598
|
+
"getQueue": {
|
|
12599
|
+
"description": "Get the current prompt queue status.",
|
|
12600
|
+
"parameters": {},
|
|
12601
|
+
"required": [],
|
|
12602
|
+
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
12603
|
+
},
|
|
12604
|
+
"getHistory": {
|
|
12605
|
+
"description": "Get execution history, optionally for a specific prompt.",
|
|
12628
12606
|
"parameters": {
|
|
12629
|
-
"
|
|
12630
|
-
"type": "
|
|
12631
|
-
"description": "
|
|
12607
|
+
"promptId": {
|
|
12608
|
+
"type": "string",
|
|
12609
|
+
"description": "If provided, returns history for this prompt only"
|
|
12632
12610
|
}
|
|
12633
12611
|
},
|
|
12634
12612
|
"required": [],
|
|
12635
|
-
"returns": "Promise<any
|
|
12636
|
-
"examples": [
|
|
12637
|
-
{
|
|
12638
|
-
"language": "ts",
|
|
12639
|
-
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
12640
|
-
}
|
|
12641
|
-
]
|
|
12613
|
+
"returns": "Promise<Record<string, any>>"
|
|
12642
12614
|
},
|
|
12643
|
-
"
|
|
12644
|
-
"description": "Get
|
|
12615
|
+
"getSystemStats": {
|
|
12616
|
+
"description": "Get system stats including GPU memory and queue info.",
|
|
12617
|
+
"parameters": {},
|
|
12618
|
+
"required": [],
|
|
12619
|
+
"returns": "Promise<any>"
|
|
12620
|
+
},
|
|
12621
|
+
"getObjectInfo": {
|
|
12622
|
+
"description": "Get node type info with input/output schemas.",
|
|
12645
12623
|
"parameters": {
|
|
12646
|
-
"
|
|
12624
|
+
"nodeClass": {
|
|
12647
12625
|
"type": "string",
|
|
12648
|
-
"description": "
|
|
12626
|
+
"description": "If provided, returns info for this node type only"
|
|
12649
12627
|
}
|
|
12650
12628
|
},
|
|
12651
|
-
"required": [
|
|
12652
|
-
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
"
|
|
12656
|
-
|
|
12657
|
-
|
|
12658
|
-
|
|
12629
|
+
"required": [],
|
|
12630
|
+
"returns": "Promise<any>"
|
|
12631
|
+
},
|
|
12632
|
+
"interrupt": {
|
|
12633
|
+
"description": "Interrupt the currently executing prompt.",
|
|
12634
|
+
"parameters": {},
|
|
12635
|
+
"required": [],
|
|
12636
|
+
"returns": "Promise<void>"
|
|
12637
|
+
},
|
|
12638
|
+
"getModels": {
|
|
12639
|
+
"description": "List available models, optionally filtered by type.",
|
|
12640
|
+
"parameters": {
|
|
12641
|
+
"type": {
|
|
12642
|
+
"type": "string",
|
|
12643
|
+
"description": "Model type filter (e.g., 'checkpoints', 'loras')"
|
|
12659
12644
|
}
|
|
12660
|
-
|
|
12645
|
+
},
|
|
12646
|
+
"required": [],
|
|
12647
|
+
"returns": "Promise<string[]>"
|
|
12661
12648
|
},
|
|
12662
|
-
"
|
|
12663
|
-
"description": "List available
|
|
12649
|
+
"getEmbeddings": {
|
|
12650
|
+
"description": "List available embedding models.",
|
|
12664
12651
|
"parameters": {},
|
|
12665
12652
|
"required": [],
|
|
12666
|
-
"returns": "Promise<
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12653
|
+
"returns": "Promise<string[]>"
|
|
12654
|
+
},
|
|
12655
|
+
"uploadImage": {
|
|
12656
|
+
"description": "Upload an image to ComfyUI's input directory.",
|
|
12657
|
+
"parameters": {
|
|
12658
|
+
"file": {
|
|
12659
|
+
"type": "Buffer | Blob",
|
|
12660
|
+
"description": "The image data as Buffer or Blob"
|
|
12661
|
+
},
|
|
12662
|
+
"filename": {
|
|
12663
|
+
"type": "string",
|
|
12664
|
+
"description": "File name for the upload"
|
|
12665
|
+
},
|
|
12666
|
+
"opts": {
|
|
12667
|
+
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
12668
|
+
"description": "Upload options (subfolder, type, overwrite)"
|
|
12671
12669
|
}
|
|
12672
|
-
|
|
12670
|
+
},
|
|
12671
|
+
"required": [
|
|
12672
|
+
"file",
|
|
12673
|
+
"filename"
|
|
12674
|
+
],
|
|
12675
|
+
"returns": "Promise<any>"
|
|
12673
12676
|
},
|
|
12674
|
-
"
|
|
12675
|
-
"description": "
|
|
12677
|
+
"viewImage": {
|
|
12678
|
+
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
12676
12679
|
"parameters": {
|
|
12677
|
-
"
|
|
12680
|
+
"filename": {
|
|
12678
12681
|
"type": "string",
|
|
12679
|
-
"description": "The
|
|
12682
|
+
"description": "The image filename"
|
|
12680
12683
|
},
|
|
12681
|
-
"
|
|
12682
|
-
"type": "
|
|
12683
|
-
"description": "
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
},
|
|
12689
|
-
"modelId": {
|
|
12690
|
-
"type": "string",
|
|
12691
|
-
"description": ""
|
|
12692
|
-
},
|
|
12693
|
-
"outputFormat": {
|
|
12694
|
-
"type": "string",
|
|
12695
|
-
"description": ""
|
|
12696
|
-
},
|
|
12697
|
-
"voiceSettings": {
|
|
12698
|
-
"type": "ElevenLabsVoiceSettings",
|
|
12699
|
-
"description": ""
|
|
12700
|
-
},
|
|
12701
|
-
"disableCache": {
|
|
12702
|
-
"type": "boolean",
|
|
12703
|
-
"description": ""
|
|
12704
|
-
}
|
|
12705
|
-
}
|
|
12684
|
+
"subfolder": {
|
|
12685
|
+
"type": "any",
|
|
12686
|
+
"description": "Subfolder within the output directory"
|
|
12687
|
+
},
|
|
12688
|
+
"type": {
|
|
12689
|
+
"type": "any",
|
|
12690
|
+
"description": "Image type ('output', 'input', 'temp')"
|
|
12706
12691
|
}
|
|
12707
12692
|
},
|
|
12708
12693
|
"required": [
|
|
12709
|
-
"
|
|
12694
|
+
"filename"
|
|
12710
12695
|
],
|
|
12711
|
-
"returns": "Promise<Buffer>"
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
|
|
12696
|
+
"returns": "Promise<Buffer>"
|
|
12697
|
+
},
|
|
12698
|
+
"connectWs": {
|
|
12699
|
+
"description": "Open a WebSocket connection to ComfyUI for real-time execution tracking. Events emitted: `execution_start`, `executing`, `progress`, `executed`, `execution_cached`, `execution_error`, `execution_complete`.",
|
|
12700
|
+
"parameters": {},
|
|
12701
|
+
"required": [],
|
|
12702
|
+
"returns": "Promise<void>"
|
|
12703
|
+
},
|
|
12704
|
+
"disconnectWs": {
|
|
12705
|
+
"description": "Close the WebSocket connection.",
|
|
12706
|
+
"parameters": {},
|
|
12707
|
+
"required": [],
|
|
12708
|
+
"returns": "void"
|
|
12709
|
+
},
|
|
12710
|
+
"toApiFormat": {
|
|
12711
|
+
"description": "Convert a UI-format workflow to the API format that /prompt expects. Requires a running ComfyUI instance to fetch `object_info` so we can map positional `widgets_values` to their named input fields. If the workflow is already in API format, it's returned as-is.",
|
|
12712
|
+
"parameters": {
|
|
12713
|
+
"workflow": {
|
|
12714
|
+
"type": "Record<string, any>",
|
|
12715
|
+
"description": "Parameter workflow"
|
|
12716
12716
|
}
|
|
12717
|
-
|
|
12717
|
+
},
|
|
12718
|
+
"required": [
|
|
12719
|
+
"workflow"
|
|
12720
|
+
],
|
|
12721
|
+
"returns": "Promise<Record<string, any>>"
|
|
12718
12722
|
},
|
|
12719
|
-
"
|
|
12720
|
-
"description": "
|
|
12723
|
+
"runWorkflow": {
|
|
12724
|
+
"description": "Run a ComfyUI workflow with optional runtime input overrides. Inputs can be provided in two forms: **Direct node mapping** (when no `inputMap` in options): ``` { '3': { seed: 42 }, '6': { text: 'a cat' } } ``` **Named inputs** (when `inputMap` is provided in options): ``` inputs: { positive_prompt: 'a cat', seed: 42 } options.inputMap: { positive_prompt: { nodeId: '6', field: 'text' }, seed: { nodeId: '3', field: 'seed' } } ```",
|
|
12721
12725
|
"parameters": {
|
|
12722
|
-
"
|
|
12723
|
-
"type": "string",
|
|
12724
|
-
"description": "
|
|
12726
|
+
"workflow": {
|
|
12727
|
+
"type": "Record<string, any>",
|
|
12728
|
+
"description": "Parameter workflow"
|
|
12725
12729
|
},
|
|
12726
|
-
"
|
|
12727
|
-
"type": "string",
|
|
12728
|
-
"description": "
|
|
12730
|
+
"inputs": {
|
|
12731
|
+
"type": "Record<string, any>",
|
|
12732
|
+
"description": "Parameter inputs"
|
|
12729
12733
|
},
|
|
12730
12734
|
"options": {
|
|
12731
|
-
"type": "
|
|
12732
|
-
"description": "
|
|
12735
|
+
"type": "WorkflowRunOptions",
|
|
12736
|
+
"description": "Parameter options",
|
|
12733
12737
|
"properties": {
|
|
12734
|
-
"
|
|
12735
|
-
"type": "
|
|
12736
|
-
"description": ""
|
|
12737
|
-
},
|
|
12738
|
-
"modelId": {
|
|
12739
|
-
"type": "string",
|
|
12740
|
-
"description": ""
|
|
12738
|
+
"poll": {
|
|
12739
|
+
"type": "boolean",
|
|
12740
|
+
"description": "Use polling instead of WebSocket for tracking execution"
|
|
12741
12741
|
},
|
|
12742
|
-
"
|
|
12743
|
-
"type": "
|
|
12744
|
-
"description": ""
|
|
12742
|
+
"pollInterval": {
|
|
12743
|
+
"type": "number",
|
|
12744
|
+
"description": "Polling interval in ms (default 1000)"
|
|
12745
12745
|
},
|
|
12746
|
-
"
|
|
12747
|
-
"type": "
|
|
12748
|
-
"description": ""
|
|
12746
|
+
"inputMap": {
|
|
12747
|
+
"type": "InputMapping",
|
|
12748
|
+
"description": "Named input mapping: semantic name -> { nodeId, field }"
|
|
12749
12749
|
},
|
|
12750
|
-
"
|
|
12751
|
-
"type": "
|
|
12752
|
-
"description": ""
|
|
12750
|
+
"outputDir": {
|
|
12751
|
+
"type": "string",
|
|
12752
|
+
"description": "If provided, output images are downloaded to this directory"
|
|
12753
12753
|
}
|
|
12754
12754
|
}
|
|
12755
12755
|
}
|
|
12756
12756
|
},
|
|
12757
12757
|
"required": [
|
|
12758
|
-
"
|
|
12759
|
-
"outputPath"
|
|
12758
|
+
"workflow"
|
|
12760
12759
|
],
|
|
12761
|
-
"returns": "Promise<
|
|
12762
|
-
"examples": [
|
|
12763
|
-
{
|
|
12764
|
-
"language": "ts",
|
|
12765
|
-
"code": "const path = await el.say('Hello world', './hello.mp3')\nconsole.log(`Audio saved to ${path}`)"
|
|
12766
|
-
}
|
|
12767
|
-
]
|
|
12760
|
+
"returns": "Promise<WorkflowResult>"
|
|
12768
12761
|
}
|
|
12769
12762
|
},
|
|
12770
12763
|
"getters": {
|
|
12771
|
-
"
|
|
12772
|
-
"description": "The
|
|
12764
|
+
"clientId": {
|
|
12765
|
+
"description": "The unique client ID used for WebSocket session tracking.",
|
|
12766
|
+
"returns": "string"
|
|
12767
|
+
},
|
|
12768
|
+
"wsURL": {
|
|
12769
|
+
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
12773
12770
|
"returns": "string"
|
|
12774
12771
|
}
|
|
12775
12772
|
},
|
|
12776
12773
|
"events": {
|
|
12777
|
-
"
|
|
12778
|
-
"name": "
|
|
12779
|
-
"description": "Event emitted by
|
|
12774
|
+
"execution_start": {
|
|
12775
|
+
"name": "execution_start",
|
|
12776
|
+
"description": "Event emitted by ComfyUIClient",
|
|
12780
12777
|
"arguments": {}
|
|
12781
12778
|
},
|
|
12782
|
-
"
|
|
12783
|
-
"name": "
|
|
12784
|
-
"description": "Event emitted by
|
|
12779
|
+
"execution_complete": {
|
|
12780
|
+
"name": "execution_complete",
|
|
12781
|
+
"description": "Event emitted by ComfyUIClient",
|
|
12785
12782
|
"arguments": {}
|
|
12786
12783
|
},
|
|
12787
|
-
"
|
|
12788
|
-
"name": "
|
|
12789
|
-
"description": "Event emitted by
|
|
12784
|
+
"executing": {
|
|
12785
|
+
"name": "executing",
|
|
12786
|
+
"description": "Event emitted by ComfyUIClient",
|
|
12787
|
+
"arguments": {}
|
|
12788
|
+
},
|
|
12789
|
+
"progress": {
|
|
12790
|
+
"name": "progress",
|
|
12791
|
+
"description": "Event emitted by ComfyUIClient",
|
|
12792
|
+
"arguments": {}
|
|
12793
|
+
},
|
|
12794
|
+
"executed": {
|
|
12795
|
+
"name": "executed",
|
|
12796
|
+
"description": "Event emitted by ComfyUIClient",
|
|
12797
|
+
"arguments": {}
|
|
12798
|
+
},
|
|
12799
|
+
"execution_cached": {
|
|
12800
|
+
"name": "execution_cached",
|
|
12801
|
+
"description": "Event emitted by ComfyUIClient",
|
|
12802
|
+
"arguments": {}
|
|
12803
|
+
},
|
|
12804
|
+
"execution_error": {
|
|
12805
|
+
"name": "execution_error",
|
|
12806
|
+
"description": "Event emitted by ComfyUIClient",
|
|
12790
12807
|
"arguments": {}
|
|
12791
12808
|
}
|
|
12792
12809
|
},
|
|
@@ -12796,65 +12813,48 @@ setBuildTimeData('clients.elevenlabs', {
|
|
|
12796
12813
|
"examples": [
|
|
12797
12814
|
{
|
|
12798
12815
|
"language": "ts",
|
|
12799
|
-
"code": "const
|
|
12816
|
+
"code": "const comfy = container.client('comfyui', { baseURL: 'http://localhost:8188' })\nconst result = await comfy.runWorkflow(workflow, {\n '6': { text: 'a beautiful sunset' }\n})\nconsole.log(result.images)"
|
|
12800
12817
|
}
|
|
12801
12818
|
],
|
|
12802
12819
|
"types": {
|
|
12803
|
-
"
|
|
12820
|
+
"WorkflowRunOptions": {
|
|
12804
12821
|
"description": "",
|
|
12805
12822
|
"properties": {
|
|
12806
|
-
"
|
|
12807
|
-
"type": "
|
|
12808
|
-
"description": "",
|
|
12809
|
-
"optional": true
|
|
12810
|
-
},
|
|
12811
|
-
"modelId": {
|
|
12812
|
-
"type": "string",
|
|
12813
|
-
"description": "",
|
|
12823
|
+
"poll": {
|
|
12824
|
+
"type": "boolean",
|
|
12825
|
+
"description": "Use polling instead of WebSocket for tracking execution",
|
|
12814
12826
|
"optional": true
|
|
12815
12827
|
},
|
|
12816
|
-
"
|
|
12817
|
-
"type": "
|
|
12818
|
-
"description": "",
|
|
12828
|
+
"pollInterval": {
|
|
12829
|
+
"type": "number",
|
|
12830
|
+
"description": "Polling interval in ms (default 1000)",
|
|
12819
12831
|
"optional": true
|
|
12820
12832
|
},
|
|
12821
|
-
"
|
|
12822
|
-
"type": "
|
|
12823
|
-
"description": "",
|
|
12833
|
+
"inputMap": {
|
|
12834
|
+
"type": "InputMapping",
|
|
12835
|
+
"description": "Named input mapping: semantic name -> { nodeId, field }",
|
|
12824
12836
|
"optional": true
|
|
12825
12837
|
},
|
|
12826
|
-
"
|
|
12827
|
-
"type": "
|
|
12828
|
-
"description": "",
|
|
12838
|
+
"outputDir": {
|
|
12839
|
+
"type": "string",
|
|
12840
|
+
"description": "If provided, output images are downloaded to this directory",
|
|
12829
12841
|
"optional": true
|
|
12830
12842
|
}
|
|
12831
12843
|
}
|
|
12832
12844
|
},
|
|
12833
|
-
"
|
|
12845
|
+
"WorkflowResult": {
|
|
12834
12846
|
"description": "",
|
|
12835
12847
|
"properties": {
|
|
12836
|
-
"
|
|
12837
|
-
"type": "
|
|
12838
|
-
"description": ""
|
|
12839
|
-
"optional": true
|
|
12840
|
-
},
|
|
12841
|
-
"similarityBoost": {
|
|
12842
|
-
"type": "number",
|
|
12843
|
-
"description": "",
|
|
12844
|
-
"optional": true
|
|
12845
|
-
},
|
|
12846
|
-
"style": {
|
|
12847
|
-
"type": "number",
|
|
12848
|
-
"description": "",
|
|
12849
|
-
"optional": true
|
|
12848
|
+
"promptId": {
|
|
12849
|
+
"type": "string",
|
|
12850
|
+
"description": ""
|
|
12850
12851
|
},
|
|
12851
|
-
"
|
|
12852
|
-
"type": "
|
|
12853
|
-
"description": ""
|
|
12854
|
-
"optional": true
|
|
12852
|
+
"outputs": {
|
|
12853
|
+
"type": "Record<string, any>",
|
|
12854
|
+
"description": ""
|
|
12855
12855
|
},
|
|
12856
|
-
"
|
|
12857
|
-
"type": "
|
|
12856
|
+
"images": {
|
|
12857
|
+
"type": "Array<{ filename: string; subfolder: string; type: string; localPath?: string }>",
|
|
12858
12858
|
"description": "",
|
|
12859
12859
|
"optional": true
|
|
12860
12860
|
}
|
|
@@ -12881,7 +12881,7 @@ setBuildTimeData('servers.mcp', {
|
|
|
12881
12881
|
"description": "Tool schema, description, and handler",
|
|
12882
12882
|
"properties": {
|
|
12883
12883
|
"schema": {
|
|
12884
|
-
"type": "z.
|
|
12884
|
+
"type": "z.ZodType",
|
|
12885
12885
|
"description": ""
|
|
12886
12886
|
},
|
|
12887
12887
|
"description": {
|
|
@@ -12889,7 +12889,7 @@ setBuildTimeData('servers.mcp', {
|
|
|
12889
12889
|
"description": ""
|
|
12890
12890
|
},
|
|
12891
12891
|
"handler": {
|
|
12892
|
-
"type": "(args: any, ctx:
|
|
12892
|
+
"type": "Function | ((args: any, ctx: any) => any)",
|
|
12893
12893
|
"description": ""
|
|
12894
12894
|
}
|
|
12895
12895
|
}
|
|
@@ -13031,7 +13031,7 @@ setBuildTimeData('servers.mcp', {
|
|
|
13031
13031
|
"description": "",
|
|
13032
13032
|
"properties": {
|
|
13033
13033
|
"schema": {
|
|
13034
|
-
"type": "z.
|
|
13034
|
+
"type": "z.ZodType",
|
|
13035
13035
|
"description": "",
|
|
13036
13036
|
"optional": true
|
|
13037
13037
|
},
|
|
@@ -13041,17 +13041,9 @@ setBuildTimeData('servers.mcp', {
|
|
|
13041
13041
|
"optional": true
|
|
13042
13042
|
},
|
|
13043
13043
|
"handler": {
|
|
13044
|
-
"type": "(args: any, ctx:
|
|
13045
|
-
"description": ""
|
|
13046
|
-
|
|
13047
|
-
}
|
|
13048
|
-
},
|
|
13049
|
-
"MCPContext": {
|
|
13050
|
-
"description": "Context object passed to all MCP tool, resource, and prompt handlers.",
|
|
13051
|
-
"properties": {
|
|
13052
|
-
"container": {
|
|
13053
|
-
"type": "NodeContainer",
|
|
13054
|
-
"description": ""
|
|
13044
|
+
"type": "Function | ((args: any, ctx: any) => any)",
|
|
13045
|
+
"description": "",
|
|
13046
|
+
"optional": true
|
|
13055
13047
|
}
|
|
13056
13048
|
}
|
|
13057
13049
|
},
|
|
@@ -13079,6 +13071,15 @@ setBuildTimeData('servers.mcp', {
|
|
|
13079
13071
|
}
|
|
13080
13072
|
}
|
|
13081
13073
|
},
|
|
13074
|
+
"MCPContext": {
|
|
13075
|
+
"description": "Context object passed to all MCP tool, resource, and prompt handlers.",
|
|
13076
|
+
"properties": {
|
|
13077
|
+
"container": {
|
|
13078
|
+
"type": "NodeContainer",
|
|
13079
|
+
"description": ""
|
|
13080
|
+
}
|
|
13081
|
+
}
|
|
13082
|
+
},
|
|
13082
13083
|
"PromptRegistrationOptions": {
|
|
13083
13084
|
"description": "",
|
|
13084
13085
|
"properties": {
|
|
@@ -13472,7 +13473,7 @@ setContainerBuildTimeData('Container', {
|
|
|
13472
13473
|
"description": "The id of the feature to create."
|
|
13473
13474
|
},
|
|
13474
13475
|
"options": {
|
|
13475
|
-
"type": "
|
|
13476
|
+
"type": "FeatureInputOptions<Features>[T] | Record<string, unknown>",
|
|
13476
13477
|
"description": "The options to pass to the feature constructor."
|
|
13477
13478
|
}
|
|
13478
13479
|
},
|
|
@@ -13481,6 +13482,52 @@ setContainerBuildTimeData('Container', {
|
|
|
13481
13482
|
],
|
|
13482
13483
|
"returns": "InstanceType<Features[T]>"
|
|
13483
13484
|
},
|
|
13485
|
+
"entity": {
|
|
13486
|
+
"description": "Creates a lightweight entity object with observable state, a typed event bus, and access to the container. Same id + options always returns the same cached base instance. An optional third argument auto-extends the entity with functions and getters. All extended methods and getters can access the entity (state, options, container, on/off/emit, etc.) via `this`.",
|
|
13487
|
+
"parameters": {
|
|
13488
|
+
"id": {
|
|
13489
|
+
"type": "string",
|
|
13490
|
+
"description": "Stable identifier for this entity (included in cache key)"
|
|
13491
|
+
},
|
|
13492
|
+
"options": {
|
|
13493
|
+
"type": "TOptions",
|
|
13494
|
+
"description": "Arbitrary options stored on `entity.options` (included in cache key)"
|
|
13495
|
+
},
|
|
13496
|
+
"extensions": {
|
|
13497
|
+
"type": "Ext & ThisType<Entity<TState, TOptions, TEvents> & Ext>",
|
|
13498
|
+
"description": "Optional object of functions/getters to graft onto the entity"
|
|
13499
|
+
}
|
|
13500
|
+
},
|
|
13501
|
+
"required": [
|
|
13502
|
+
"id"
|
|
13503
|
+
],
|
|
13504
|
+
"returns": "Entity<TState, TOptions, TEvents> & Ext",
|
|
13505
|
+
"examples": [
|
|
13506
|
+
{
|
|
13507
|
+
"language": "ts",
|
|
13508
|
+
"code": "// Basic entity with typed state and events\nconst counter = container.entity<{ count: number }>('counter')\ncounter.setState({ count: 0 })\ncounter.on('tick', () => counter.setState(s => ({ count: s.count + 1 })))\n\n// With options and auto-extension\nconst user = container.entity('user:42', { name: 'Alice' }, {\n greet() { return `Hello ${this.options.name}` },\n get label() { return `User: ${this.options.name}` },\n})\nuser.greet() // \"Hello Alice\""
|
|
13509
|
+
}
|
|
13510
|
+
]
|
|
13511
|
+
},
|
|
13512
|
+
"getHelperByUUID": {
|
|
13513
|
+
"description": "Look up any helper instance (feature, client, server) by its UUID. Returns undefined if the UUID is unknown or the instance was never created.",
|
|
13514
|
+
"parameters": {
|
|
13515
|
+
"uuid": {
|
|
13516
|
+
"type": "string",
|
|
13517
|
+
"description": "The `instance.uuid` value assigned at construction time"
|
|
13518
|
+
}
|
|
13519
|
+
},
|
|
13520
|
+
"required": [
|
|
13521
|
+
"uuid"
|
|
13522
|
+
],
|
|
13523
|
+
"returns": "Helper | undefined",
|
|
13524
|
+
"examples": [
|
|
13525
|
+
{
|
|
13526
|
+
"language": "ts",
|
|
13527
|
+
"code": "const assistant = container.feature('assistant')\nconst { uuid } = assistant\n// ... later ...\nconst same = container.getHelperByUUID(uuid) // === assistant"
|
|
13528
|
+
}
|
|
13529
|
+
]
|
|
13530
|
+
},
|
|
13484
13531
|
"start": {
|
|
13485
13532
|
"description": "Start the container. Emits the 'started' event and sets `state.started` to true. Plugins and features can listen for this event to perform initialization.",
|
|
13486
13533
|
"parameters": {},
|
|
@@ -13787,7 +13834,7 @@ setContainerBuildTimeData('NodeContainer', {
|
|
|
13787
13834
|
},
|
|
13788
13835
|
"urlUtils": {
|
|
13789
13836
|
"description": "Returns URL utility functions for parsing URIs.",
|
|
13790
|
-
"returns": "{ parse: (uri: string) => url.
|
|
13837
|
+
"returns": "{ parse: (uri: string) => url.UrlWithStringQuery }"
|
|
13791
13838
|
},
|
|
13792
13839
|
"paths": {
|
|
13793
13840
|
"description": "Returns path utility functions scoped to the current working directory (join, resolve, relative, dirname, parse).",
|
|
@@ -26049,243 +26096,193 @@ export const introspectionData = [
|
|
|
26049
26096
|
]
|
|
26050
26097
|
},
|
|
26051
26098
|
{
|
|
26052
|
-
"id": "clients.
|
|
26053
|
-
"description": "
|
|
26054
|
-
"shortcut": "clients.
|
|
26055
|
-
"className": "
|
|
26056
|
-
"methods": {
|
|
26057
|
-
"
|
|
26058
|
-
"description": "
|
|
26059
|
-
"parameters": {
|
|
26060
|
-
"prompt": {
|
|
26061
|
-
"type": "Record<string, any>",
|
|
26062
|
-
"description": "The API-format workflow object"
|
|
26063
|
-
},
|
|
26064
|
-
"clientId": {
|
|
26065
|
-
"type": "string",
|
|
26066
|
-
"description": "Override the client ID for this request"
|
|
26067
|
-
}
|
|
26068
|
-
},
|
|
26069
|
-
"required": [
|
|
26070
|
-
"prompt"
|
|
26071
|
-
],
|
|
26072
|
-
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
26073
|
-
"examples": [
|
|
26074
|
-
{
|
|
26075
|
-
"language": "ts",
|
|
26076
|
-
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
26077
|
-
}
|
|
26078
|
-
]
|
|
26079
|
-
},
|
|
26080
|
-
"getQueue": {
|
|
26081
|
-
"description": "Get the current prompt queue status.",
|
|
26082
|
-
"parameters": {},
|
|
26083
|
-
"required": [],
|
|
26084
|
-
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
26085
|
-
},
|
|
26086
|
-
"getHistory": {
|
|
26087
|
-
"description": "Get execution history, optionally for a specific prompt.",
|
|
26088
|
-
"parameters": {
|
|
26089
|
-
"promptId": {
|
|
26090
|
-
"type": "string",
|
|
26091
|
-
"description": "If provided, returns history for this prompt only"
|
|
26092
|
-
}
|
|
26093
|
-
},
|
|
26094
|
-
"required": [],
|
|
26095
|
-
"returns": "Promise<Record<string, any>>"
|
|
26096
|
-
},
|
|
26097
|
-
"getSystemStats": {
|
|
26098
|
-
"description": "Get system stats including GPU memory and queue info.",
|
|
26099
|
+
"id": "clients.elevenlabs",
|
|
26100
|
+
"description": "ElevenLabs client — text-to-speech synthesis via the ElevenLabs REST API. Provides methods for listing voices, listing models, and generating speech audio. Audio is returned as a Buffer; use `say()` for a convenience method that writes to disk.",
|
|
26101
|
+
"shortcut": "clients.elevenlabs",
|
|
26102
|
+
"className": "ElevenLabsClient",
|
|
26103
|
+
"methods": {
|
|
26104
|
+
"beforeRequest": {
|
|
26105
|
+
"description": "Inject the xi-api-key header before each request.",
|
|
26099
26106
|
"parameters": {},
|
|
26100
26107
|
"required": [],
|
|
26101
|
-
"returns": "
|
|
26102
|
-
},
|
|
26103
|
-
"getObjectInfo": {
|
|
26104
|
-
"description": "Get node type info with input/output schemas.",
|
|
26105
|
-
"parameters": {
|
|
26106
|
-
"nodeClass": {
|
|
26107
|
-
"type": "string",
|
|
26108
|
-
"description": "If provided, returns info for this node type only"
|
|
26109
|
-
}
|
|
26110
|
-
},
|
|
26111
|
-
"required": [],
|
|
26112
|
-
"returns": "Promise<any>"
|
|
26108
|
+
"returns": "void"
|
|
26113
26109
|
},
|
|
26114
|
-
"
|
|
26115
|
-
"description": "
|
|
26110
|
+
"connect": {
|
|
26111
|
+
"description": "Validate the API key by listing available models.",
|
|
26116
26112
|
"parameters": {},
|
|
26117
26113
|
"required": [],
|
|
26118
|
-
"returns": "Promise<
|
|
26114
|
+
"returns": "Promise<this>",
|
|
26115
|
+
"examples": [
|
|
26116
|
+
{
|
|
26117
|
+
"language": "ts",
|
|
26118
|
+
"code": "await el.connect()"
|
|
26119
|
+
}
|
|
26120
|
+
]
|
|
26119
26121
|
},
|
|
26120
|
-
"
|
|
26121
|
-
"description": "List available
|
|
26122
|
+
"listVoices": {
|
|
26123
|
+
"description": "List available voices with optional search and filtering.",
|
|
26122
26124
|
"parameters": {
|
|
26123
|
-
"
|
|
26124
|
-
"type": "string",
|
|
26125
|
-
"description": "
|
|
26125
|
+
"options": {
|
|
26126
|
+
"type": "{\n search?: string\n category?: string\n voice_type?: string\n page_size?: number\n next_page_token?: string\n }",
|
|
26127
|
+
"description": "Query parameters for filtering voices"
|
|
26126
26128
|
}
|
|
26127
26129
|
},
|
|
26128
26130
|
"required": [],
|
|
26129
|
-
"returns": "Promise<
|
|
26130
|
-
|
|
26131
|
-
|
|
26132
|
-
|
|
26133
|
-
|
|
26134
|
-
"required": [],
|
|
26135
|
-
"returns": "Promise<string[]>"
|
|
26136
|
-
},
|
|
26137
|
-
"uploadImage": {
|
|
26138
|
-
"description": "Upload an image to ComfyUI's input directory.",
|
|
26139
|
-
"parameters": {
|
|
26140
|
-
"file": {
|
|
26141
|
-
"type": "Buffer | Blob",
|
|
26142
|
-
"description": "The image data as Buffer or Blob"
|
|
26143
|
-
},
|
|
26144
|
-
"filename": {
|
|
26145
|
-
"type": "string",
|
|
26146
|
-
"description": "File name for the upload"
|
|
26147
|
-
},
|
|
26148
|
-
"opts": {
|
|
26149
|
-
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
26150
|
-
"description": "Upload options (subfolder, type, overwrite)"
|
|
26131
|
+
"returns": "Promise<any>",
|
|
26132
|
+
"examples": [
|
|
26133
|
+
{
|
|
26134
|
+
"language": "ts",
|
|
26135
|
+
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
26151
26136
|
}
|
|
26152
|
-
|
|
26153
|
-
"required": [
|
|
26154
|
-
"file",
|
|
26155
|
-
"filename"
|
|
26156
|
-
],
|
|
26157
|
-
"returns": "Promise<any>"
|
|
26137
|
+
]
|
|
26158
26138
|
},
|
|
26159
|
-
"
|
|
26160
|
-
"description": "
|
|
26139
|
+
"getVoice": {
|
|
26140
|
+
"description": "Get details for a single voice.",
|
|
26161
26141
|
"parameters": {
|
|
26162
|
-
"
|
|
26142
|
+
"voiceId": {
|
|
26163
26143
|
"type": "string",
|
|
26164
|
-
"description": "The
|
|
26165
|
-
},
|
|
26166
|
-
"subfolder": {
|
|
26167
|
-
"type": "any",
|
|
26168
|
-
"description": "Subfolder within the output directory"
|
|
26169
|
-
},
|
|
26170
|
-
"type": {
|
|
26171
|
-
"type": "any",
|
|
26172
|
-
"description": "Image type ('output', 'input', 'temp')"
|
|
26144
|
+
"description": "The voice ID to look up"
|
|
26173
26145
|
}
|
|
26174
26146
|
},
|
|
26175
26147
|
"required": [
|
|
26176
|
-
"
|
|
26148
|
+
"voiceId"
|
|
26177
26149
|
],
|
|
26178
|
-
"returns": "Promise<
|
|
26179
|
-
|
|
26180
|
-
|
|
26181
|
-
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26150
|
+
"returns": "Promise<any>",
|
|
26151
|
+
"examples": [
|
|
26152
|
+
{
|
|
26153
|
+
"language": "ts",
|
|
26154
|
+
"code": "const voice = await el.getVoice('21m00Tcm4TlvDq8ikWAM')\nconsole.log(voice.name, voice.settings)"
|
|
26155
|
+
}
|
|
26156
|
+
]
|
|
26185
26157
|
},
|
|
26186
|
-
"
|
|
26187
|
-
"description": "
|
|
26158
|
+
"listModels": {
|
|
26159
|
+
"description": "List available TTS models.",
|
|
26188
26160
|
"parameters": {},
|
|
26189
26161
|
"required": [],
|
|
26190
|
-
"returns": "
|
|
26162
|
+
"returns": "Promise<any[]>",
|
|
26163
|
+
"examples": [
|
|
26164
|
+
{
|
|
26165
|
+
"language": "ts",
|
|
26166
|
+
"code": "const models = await el.listModels()\nconsole.log(models.map(m => m.model_id))"
|
|
26167
|
+
}
|
|
26168
|
+
]
|
|
26191
26169
|
},
|
|
26192
|
-
"
|
|
26193
|
-
"description": "
|
|
26170
|
+
"synthesize": {
|
|
26171
|
+
"description": "Synthesize speech from text, returning audio as a Buffer.",
|
|
26194
26172
|
"parameters": {
|
|
26195
|
-
"
|
|
26196
|
-
"type": "
|
|
26197
|
-
"description": "
|
|
26173
|
+
"text": {
|
|
26174
|
+
"type": "string",
|
|
26175
|
+
"description": "The text to convert to speech"
|
|
26176
|
+
},
|
|
26177
|
+
"options": {
|
|
26178
|
+
"type": "SynthesizeOptions",
|
|
26179
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
26180
|
+
"properties": {
|
|
26181
|
+
"voiceId": {
|
|
26182
|
+
"type": "string",
|
|
26183
|
+
"description": ""
|
|
26184
|
+
},
|
|
26185
|
+
"modelId": {
|
|
26186
|
+
"type": "string",
|
|
26187
|
+
"description": ""
|
|
26188
|
+
},
|
|
26189
|
+
"outputFormat": {
|
|
26190
|
+
"type": "string",
|
|
26191
|
+
"description": ""
|
|
26192
|
+
},
|
|
26193
|
+
"voiceSettings": {
|
|
26194
|
+
"type": "ElevenLabsVoiceSettings",
|
|
26195
|
+
"description": ""
|
|
26196
|
+
},
|
|
26197
|
+
"disableCache": {
|
|
26198
|
+
"type": "boolean",
|
|
26199
|
+
"description": ""
|
|
26200
|
+
}
|
|
26201
|
+
}
|
|
26198
26202
|
}
|
|
26199
26203
|
},
|
|
26200
26204
|
"required": [
|
|
26201
|
-
"
|
|
26205
|
+
"text"
|
|
26202
26206
|
],
|
|
26203
|
-
"returns": "Promise<
|
|
26207
|
+
"returns": "Promise<Buffer>",
|
|
26208
|
+
"examples": [
|
|
26209
|
+
{
|
|
26210
|
+
"language": "ts",
|
|
26211
|
+
"code": "const audio = await el.synthesize('Hello world')\n// audio is a Buffer of mp3 data\n\nconst custom = await el.synthesize('Hello', {\n voiceId: '21m00Tcm4TlvDq8ikWAM',\n voiceSettings: { stability: 0.5, similarityBoost: 0.8 }\n})"
|
|
26212
|
+
}
|
|
26213
|
+
]
|
|
26204
26214
|
},
|
|
26205
|
-
"
|
|
26206
|
-
"description": "
|
|
26215
|
+
"say": {
|
|
26216
|
+
"description": "Synthesize speech and write the audio to a file.",
|
|
26207
26217
|
"parameters": {
|
|
26208
|
-
"
|
|
26209
|
-
"type": "
|
|
26210
|
-
"description": "
|
|
26218
|
+
"text": {
|
|
26219
|
+
"type": "string",
|
|
26220
|
+
"description": "The text to convert to speech"
|
|
26211
26221
|
},
|
|
26212
|
-
"
|
|
26213
|
-
"type": "
|
|
26214
|
-
"description": "
|
|
26222
|
+
"outputPath": {
|
|
26223
|
+
"type": "string",
|
|
26224
|
+
"description": "File path to write the audio to"
|
|
26215
26225
|
},
|
|
26216
26226
|
"options": {
|
|
26217
|
-
"type": "
|
|
26218
|
-
"description": "
|
|
26227
|
+
"type": "SynthesizeOptions",
|
|
26228
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
26219
26229
|
"properties": {
|
|
26220
|
-
"
|
|
26221
|
-
"type": "
|
|
26222
|
-
"description": "
|
|
26223
|
-
},
|
|
26224
|
-
"pollInterval": {
|
|
26225
|
-
"type": "number",
|
|
26226
|
-
"description": "Polling interval in ms (default 1000)"
|
|
26230
|
+
"voiceId": {
|
|
26231
|
+
"type": "string",
|
|
26232
|
+
"description": ""
|
|
26227
26233
|
},
|
|
26228
|
-
"
|
|
26229
|
-
"type": "
|
|
26230
|
-
"description": "
|
|
26234
|
+
"modelId": {
|
|
26235
|
+
"type": "string",
|
|
26236
|
+
"description": ""
|
|
26231
26237
|
},
|
|
26232
|
-
"
|
|
26238
|
+
"outputFormat": {
|
|
26233
26239
|
"type": "string",
|
|
26234
|
-
"description": "
|
|
26240
|
+
"description": ""
|
|
26241
|
+
},
|
|
26242
|
+
"voiceSettings": {
|
|
26243
|
+
"type": "ElevenLabsVoiceSettings",
|
|
26244
|
+
"description": ""
|
|
26245
|
+
},
|
|
26246
|
+
"disableCache": {
|
|
26247
|
+
"type": "boolean",
|
|
26248
|
+
"description": ""
|
|
26235
26249
|
}
|
|
26236
26250
|
}
|
|
26237
26251
|
}
|
|
26238
26252
|
},
|
|
26239
26253
|
"required": [
|
|
26240
|
-
"
|
|
26254
|
+
"text",
|
|
26255
|
+
"outputPath"
|
|
26241
26256
|
],
|
|
26242
|
-
"returns": "Promise<
|
|
26243
|
-
|
|
26244
|
-
|
|
26245
|
-
|
|
26246
|
-
|
|
26247
|
-
|
|
26248
|
-
|
|
26249
|
-
},
|
|
26250
|
-
"wsURL": {
|
|
26251
|
-
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
26252
|
-
"returns": "string"
|
|
26257
|
+
"returns": "Promise<string>",
|
|
26258
|
+
"examples": [
|
|
26259
|
+
{
|
|
26260
|
+
"language": "ts",
|
|
26261
|
+
"code": "const path = await el.say('Hello world', './hello.mp3')\nconsole.log(`Audio saved to ${path}`)"
|
|
26262
|
+
}
|
|
26263
|
+
]
|
|
26253
26264
|
}
|
|
26254
|
-
},
|
|
26255
|
-
"
|
|
26256
|
-
"
|
|
26257
|
-
"
|
|
26258
|
-
"
|
|
26259
|
-
|
|
26260
|
-
|
|
26261
|
-
|
|
26262
|
-
|
|
26263
|
-
"
|
|
26264
|
-
"
|
|
26265
|
-
},
|
|
26266
|
-
"executing": {
|
|
26267
|
-
"name": "executing",
|
|
26268
|
-
"description": "Event emitted by ComfyUIClient",
|
|
26269
|
-
"arguments": {}
|
|
26270
|
-
},
|
|
26271
|
-
"progress": {
|
|
26272
|
-
"name": "progress",
|
|
26273
|
-
"description": "Event emitted by ComfyUIClient",
|
|
26274
|
-
"arguments": {}
|
|
26275
|
-
},
|
|
26276
|
-
"executed": {
|
|
26277
|
-
"name": "executed",
|
|
26278
|
-
"description": "Event emitted by ComfyUIClient",
|
|
26265
|
+
},
|
|
26266
|
+
"getters": {
|
|
26267
|
+
"apiKey": {
|
|
26268
|
+
"description": "The resolved API key from options or environment.",
|
|
26269
|
+
"returns": "string"
|
|
26270
|
+
}
|
|
26271
|
+
},
|
|
26272
|
+
"events": {
|
|
26273
|
+
"failure": {
|
|
26274
|
+
"name": "failure",
|
|
26275
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
26279
26276
|
"arguments": {}
|
|
26280
26277
|
},
|
|
26281
|
-
"
|
|
26282
|
-
"name": "
|
|
26283
|
-
"description": "Event emitted by
|
|
26278
|
+
"voices": {
|
|
26279
|
+
"name": "voices",
|
|
26280
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
26284
26281
|
"arguments": {}
|
|
26285
26282
|
},
|
|
26286
|
-
"
|
|
26287
|
-
"name": "
|
|
26288
|
-
"description": "Event emitted by
|
|
26283
|
+
"speech": {
|
|
26284
|
+
"name": "speech",
|
|
26285
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
26289
26286
|
"arguments": {}
|
|
26290
26287
|
}
|
|
26291
26288
|
},
|
|
@@ -26295,48 +26292,65 @@ export const introspectionData = [
|
|
|
26295
26292
|
"examples": [
|
|
26296
26293
|
{
|
|
26297
26294
|
"language": "ts",
|
|
26298
|
-
"code": "const
|
|
26295
|
+
"code": "const el = container.client('elevenlabs')\nawait el.connect()\nconst voices = await el.listVoices()\nconst audio = await el.synthesize('Hello world')\n// audio is a Buffer of mp3 data"
|
|
26299
26296
|
}
|
|
26300
26297
|
],
|
|
26301
26298
|
"types": {
|
|
26302
|
-
"
|
|
26299
|
+
"SynthesizeOptions": {
|
|
26303
26300
|
"description": "",
|
|
26304
26301
|
"properties": {
|
|
26305
|
-
"
|
|
26306
|
-
"type": "
|
|
26307
|
-
"description": "
|
|
26302
|
+
"voiceId": {
|
|
26303
|
+
"type": "string",
|
|
26304
|
+
"description": "",
|
|
26308
26305
|
"optional": true
|
|
26309
26306
|
},
|
|
26310
|
-
"
|
|
26311
|
-
"type": "
|
|
26312
|
-
"description": "
|
|
26307
|
+
"modelId": {
|
|
26308
|
+
"type": "string",
|
|
26309
|
+
"description": "",
|
|
26313
26310
|
"optional": true
|
|
26314
26311
|
},
|
|
26315
|
-
"
|
|
26316
|
-
"type": "
|
|
26317
|
-
"description": "
|
|
26312
|
+
"outputFormat": {
|
|
26313
|
+
"type": "string",
|
|
26314
|
+
"description": "",
|
|
26318
26315
|
"optional": true
|
|
26319
26316
|
},
|
|
26320
|
-
"
|
|
26321
|
-
"type": "
|
|
26322
|
-
"description": "
|
|
26317
|
+
"voiceSettings": {
|
|
26318
|
+
"type": "ElevenLabsVoiceSettings",
|
|
26319
|
+
"description": "",
|
|
26320
|
+
"optional": true
|
|
26321
|
+
},
|
|
26322
|
+
"disableCache": {
|
|
26323
|
+
"type": "boolean",
|
|
26324
|
+
"description": "",
|
|
26323
26325
|
"optional": true
|
|
26324
26326
|
}
|
|
26325
26327
|
}
|
|
26326
26328
|
},
|
|
26327
|
-
"
|
|
26329
|
+
"ElevenLabsVoiceSettings": {
|
|
26328
26330
|
"description": "",
|
|
26329
26331
|
"properties": {
|
|
26330
|
-
"
|
|
26331
|
-
"type": "
|
|
26332
|
-
"description": ""
|
|
26332
|
+
"stability": {
|
|
26333
|
+
"type": "number",
|
|
26334
|
+
"description": "",
|
|
26335
|
+
"optional": true
|
|
26333
26336
|
},
|
|
26334
|
-
"
|
|
26335
|
-
"type": "
|
|
26336
|
-
"description": ""
|
|
26337
|
+
"similarityBoost": {
|
|
26338
|
+
"type": "number",
|
|
26339
|
+
"description": "",
|
|
26340
|
+
"optional": true
|
|
26337
26341
|
},
|
|
26338
|
-
"
|
|
26339
|
-
"type": "
|
|
26342
|
+
"style": {
|
|
26343
|
+
"type": "number",
|
|
26344
|
+
"description": "",
|
|
26345
|
+
"optional": true
|
|
26346
|
+
},
|
|
26347
|
+
"speed": {
|
|
26348
|
+
"type": "number",
|
|
26349
|
+
"description": "",
|
|
26350
|
+
"optional": true
|
|
26351
|
+
},
|
|
26352
|
+
"useSpeakerBoost": {
|
|
26353
|
+
"type": "boolean",
|
|
26340
26354
|
"description": "",
|
|
26341
26355
|
"optional": true
|
|
26342
26356
|
}
|
|
@@ -26345,193 +26359,243 @@ export const introspectionData = [
|
|
|
26345
26359
|
}
|
|
26346
26360
|
},
|
|
26347
26361
|
{
|
|
26348
|
-
"id": "clients.
|
|
26349
|
-
"description": "
|
|
26350
|
-
"shortcut": "clients.
|
|
26351
|
-
"className": "
|
|
26362
|
+
"id": "clients.comfyui",
|
|
26363
|
+
"description": "ComfyUI client — execute Stable Diffusion workflows via the ComfyUI API. Connects to a ComfyUI instance to queue prompts, track execution via WebSocket or polling, and download generated images. Supports both UI-format and API-format workflows with automatic conversion.",
|
|
26364
|
+
"shortcut": "clients.comfyui",
|
|
26365
|
+
"className": "ComfyUIClient",
|
|
26352
26366
|
"methods": {
|
|
26353
|
-
"
|
|
26354
|
-
"description": "
|
|
26355
|
-
"parameters": {
|
|
26356
|
-
|
|
26357
|
-
|
|
26358
|
-
|
|
26359
|
-
|
|
26360
|
-
|
|
26361
|
-
|
|
26362
|
-
|
|
26363
|
-
|
|
26367
|
+
"queuePrompt": {
|
|
26368
|
+
"description": "Queue a prompt (API-format workflow) for execution.",
|
|
26369
|
+
"parameters": {
|
|
26370
|
+
"prompt": {
|
|
26371
|
+
"type": "Record<string, any>",
|
|
26372
|
+
"description": "The API-format workflow object"
|
|
26373
|
+
},
|
|
26374
|
+
"clientId": {
|
|
26375
|
+
"type": "string",
|
|
26376
|
+
"description": "Override the client ID for this request"
|
|
26377
|
+
}
|
|
26378
|
+
},
|
|
26379
|
+
"required": [
|
|
26380
|
+
"prompt"
|
|
26381
|
+
],
|
|
26382
|
+
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
26364
26383
|
"examples": [
|
|
26365
26384
|
{
|
|
26366
26385
|
"language": "ts",
|
|
26367
|
-
"code": "await
|
|
26386
|
+
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
26368
26387
|
}
|
|
26369
26388
|
]
|
|
26370
26389
|
},
|
|
26371
|
-
"
|
|
26372
|
-
"description": "
|
|
26390
|
+
"getQueue": {
|
|
26391
|
+
"description": "Get the current prompt queue status.",
|
|
26392
|
+
"parameters": {},
|
|
26393
|
+
"required": [],
|
|
26394
|
+
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
26395
|
+
},
|
|
26396
|
+
"getHistory": {
|
|
26397
|
+
"description": "Get execution history, optionally for a specific prompt.",
|
|
26373
26398
|
"parameters": {
|
|
26374
|
-
"
|
|
26375
|
-
"type": "
|
|
26376
|
-
"description": "
|
|
26399
|
+
"promptId": {
|
|
26400
|
+
"type": "string",
|
|
26401
|
+
"description": "If provided, returns history for this prompt only"
|
|
26377
26402
|
}
|
|
26378
26403
|
},
|
|
26379
26404
|
"required": [],
|
|
26380
|
-
"returns": "Promise<any
|
|
26381
|
-
"examples": [
|
|
26382
|
-
{
|
|
26383
|
-
"language": "ts",
|
|
26384
|
-
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
26385
|
-
}
|
|
26386
|
-
]
|
|
26405
|
+
"returns": "Promise<Record<string, any>>"
|
|
26387
26406
|
},
|
|
26388
|
-
"
|
|
26389
|
-
"description": "Get
|
|
26407
|
+
"getSystemStats": {
|
|
26408
|
+
"description": "Get system stats including GPU memory and queue info.",
|
|
26409
|
+
"parameters": {},
|
|
26410
|
+
"required": [],
|
|
26411
|
+
"returns": "Promise<any>"
|
|
26412
|
+
},
|
|
26413
|
+
"getObjectInfo": {
|
|
26414
|
+
"description": "Get node type info with input/output schemas.",
|
|
26390
26415
|
"parameters": {
|
|
26391
|
-
"
|
|
26416
|
+
"nodeClass": {
|
|
26392
26417
|
"type": "string",
|
|
26393
|
-
"description": "
|
|
26418
|
+
"description": "If provided, returns info for this node type only"
|
|
26394
26419
|
}
|
|
26395
26420
|
},
|
|
26396
|
-
"required": [
|
|
26397
|
-
|
|
26398
|
-
|
|
26399
|
-
|
|
26400
|
-
"
|
|
26401
|
-
|
|
26402
|
-
|
|
26403
|
-
|
|
26421
|
+
"required": [],
|
|
26422
|
+
"returns": "Promise<any>"
|
|
26423
|
+
},
|
|
26424
|
+
"interrupt": {
|
|
26425
|
+
"description": "Interrupt the currently executing prompt.",
|
|
26426
|
+
"parameters": {},
|
|
26427
|
+
"required": [],
|
|
26428
|
+
"returns": "Promise<void>"
|
|
26429
|
+
},
|
|
26430
|
+
"getModels": {
|
|
26431
|
+
"description": "List available models, optionally filtered by type.",
|
|
26432
|
+
"parameters": {
|
|
26433
|
+
"type": {
|
|
26434
|
+
"type": "string",
|
|
26435
|
+
"description": "Model type filter (e.g., 'checkpoints', 'loras')"
|
|
26404
26436
|
}
|
|
26405
|
-
|
|
26437
|
+
},
|
|
26438
|
+
"required": [],
|
|
26439
|
+
"returns": "Promise<string[]>"
|
|
26406
26440
|
},
|
|
26407
|
-
"
|
|
26408
|
-
"description": "List available
|
|
26441
|
+
"getEmbeddings": {
|
|
26442
|
+
"description": "List available embedding models.",
|
|
26409
26443
|
"parameters": {},
|
|
26410
26444
|
"required": [],
|
|
26411
|
-
"returns": "Promise<
|
|
26412
|
-
|
|
26413
|
-
|
|
26414
|
-
|
|
26415
|
-
|
|
26445
|
+
"returns": "Promise<string[]>"
|
|
26446
|
+
},
|
|
26447
|
+
"uploadImage": {
|
|
26448
|
+
"description": "Upload an image to ComfyUI's input directory.",
|
|
26449
|
+
"parameters": {
|
|
26450
|
+
"file": {
|
|
26451
|
+
"type": "Buffer | Blob",
|
|
26452
|
+
"description": "The image data as Buffer or Blob"
|
|
26453
|
+
},
|
|
26454
|
+
"filename": {
|
|
26455
|
+
"type": "string",
|
|
26456
|
+
"description": "File name for the upload"
|
|
26457
|
+
},
|
|
26458
|
+
"opts": {
|
|
26459
|
+
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
26460
|
+
"description": "Upload options (subfolder, type, overwrite)"
|
|
26416
26461
|
}
|
|
26417
|
-
|
|
26462
|
+
},
|
|
26463
|
+
"required": [
|
|
26464
|
+
"file",
|
|
26465
|
+
"filename"
|
|
26466
|
+
],
|
|
26467
|
+
"returns": "Promise<any>"
|
|
26418
26468
|
},
|
|
26419
|
-
"
|
|
26420
|
-
"description": "
|
|
26469
|
+
"viewImage": {
|
|
26470
|
+
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
26421
26471
|
"parameters": {
|
|
26422
|
-
"
|
|
26472
|
+
"filename": {
|
|
26423
26473
|
"type": "string",
|
|
26424
|
-
"description": "The
|
|
26474
|
+
"description": "The image filename"
|
|
26425
26475
|
},
|
|
26426
|
-
"
|
|
26427
|
-
"type": "
|
|
26428
|
-
"description": "
|
|
26429
|
-
|
|
26430
|
-
|
|
26431
|
-
|
|
26432
|
-
|
|
26433
|
-
},
|
|
26434
|
-
"modelId": {
|
|
26435
|
-
"type": "string",
|
|
26436
|
-
"description": ""
|
|
26437
|
-
},
|
|
26438
|
-
"outputFormat": {
|
|
26439
|
-
"type": "string",
|
|
26440
|
-
"description": ""
|
|
26441
|
-
},
|
|
26442
|
-
"voiceSettings": {
|
|
26443
|
-
"type": "ElevenLabsVoiceSettings",
|
|
26444
|
-
"description": ""
|
|
26445
|
-
},
|
|
26446
|
-
"disableCache": {
|
|
26447
|
-
"type": "boolean",
|
|
26448
|
-
"description": ""
|
|
26449
|
-
}
|
|
26450
|
-
}
|
|
26476
|
+
"subfolder": {
|
|
26477
|
+
"type": "any",
|
|
26478
|
+
"description": "Subfolder within the output directory"
|
|
26479
|
+
},
|
|
26480
|
+
"type": {
|
|
26481
|
+
"type": "any",
|
|
26482
|
+
"description": "Image type ('output', 'input', 'temp')"
|
|
26451
26483
|
}
|
|
26452
26484
|
},
|
|
26453
26485
|
"required": [
|
|
26454
|
-
"
|
|
26486
|
+
"filename"
|
|
26455
26487
|
],
|
|
26456
|
-
"returns": "Promise<Buffer>"
|
|
26457
|
-
|
|
26458
|
-
|
|
26459
|
-
|
|
26460
|
-
|
|
26488
|
+
"returns": "Promise<Buffer>"
|
|
26489
|
+
},
|
|
26490
|
+
"connectWs": {
|
|
26491
|
+
"description": "Open a WebSocket connection to ComfyUI for real-time execution tracking. Events emitted: `execution_start`, `executing`, `progress`, `executed`, `execution_cached`, `execution_error`, `execution_complete`.",
|
|
26492
|
+
"parameters": {},
|
|
26493
|
+
"required": [],
|
|
26494
|
+
"returns": "Promise<void>"
|
|
26495
|
+
},
|
|
26496
|
+
"disconnectWs": {
|
|
26497
|
+
"description": "Close the WebSocket connection.",
|
|
26498
|
+
"parameters": {},
|
|
26499
|
+
"required": [],
|
|
26500
|
+
"returns": "void"
|
|
26501
|
+
},
|
|
26502
|
+
"toApiFormat": {
|
|
26503
|
+
"description": "Convert a UI-format workflow to the API format that /prompt expects. Requires a running ComfyUI instance to fetch `object_info` so we can map positional `widgets_values` to their named input fields. If the workflow is already in API format, it's returned as-is.",
|
|
26504
|
+
"parameters": {
|
|
26505
|
+
"workflow": {
|
|
26506
|
+
"type": "Record<string, any>",
|
|
26507
|
+
"description": "Parameter workflow"
|
|
26461
26508
|
}
|
|
26462
|
-
|
|
26509
|
+
},
|
|
26510
|
+
"required": [
|
|
26511
|
+
"workflow"
|
|
26512
|
+
],
|
|
26513
|
+
"returns": "Promise<Record<string, any>>"
|
|
26463
26514
|
},
|
|
26464
|
-
"
|
|
26465
|
-
"description": "
|
|
26515
|
+
"runWorkflow": {
|
|
26516
|
+
"description": "Run a ComfyUI workflow with optional runtime input overrides. Inputs can be provided in two forms: **Direct node mapping** (when no `inputMap` in options): ``` { '3': { seed: 42 }, '6': { text: 'a cat' } } ``` **Named inputs** (when `inputMap` is provided in options): ``` inputs: { positive_prompt: 'a cat', seed: 42 } options.inputMap: { positive_prompt: { nodeId: '6', field: 'text' }, seed: { nodeId: '3', field: 'seed' } } ```",
|
|
26466
26517
|
"parameters": {
|
|
26467
|
-
"
|
|
26468
|
-
"type": "string",
|
|
26469
|
-
"description": "
|
|
26518
|
+
"workflow": {
|
|
26519
|
+
"type": "Record<string, any>",
|
|
26520
|
+
"description": "Parameter workflow"
|
|
26470
26521
|
},
|
|
26471
|
-
"
|
|
26472
|
-
"type": "string",
|
|
26473
|
-
"description": "
|
|
26522
|
+
"inputs": {
|
|
26523
|
+
"type": "Record<string, any>",
|
|
26524
|
+
"description": "Parameter inputs"
|
|
26474
26525
|
},
|
|
26475
26526
|
"options": {
|
|
26476
|
-
"type": "
|
|
26477
|
-
"description": "
|
|
26527
|
+
"type": "WorkflowRunOptions",
|
|
26528
|
+
"description": "Parameter options",
|
|
26478
26529
|
"properties": {
|
|
26479
|
-
"
|
|
26480
|
-
"type": "
|
|
26481
|
-
"description": ""
|
|
26482
|
-
},
|
|
26483
|
-
"modelId": {
|
|
26484
|
-
"type": "string",
|
|
26485
|
-
"description": ""
|
|
26530
|
+
"poll": {
|
|
26531
|
+
"type": "boolean",
|
|
26532
|
+
"description": "Use polling instead of WebSocket for tracking execution"
|
|
26486
26533
|
},
|
|
26487
|
-
"
|
|
26488
|
-
"type": "
|
|
26489
|
-
"description": ""
|
|
26534
|
+
"pollInterval": {
|
|
26535
|
+
"type": "number",
|
|
26536
|
+
"description": "Polling interval in ms (default 1000)"
|
|
26490
26537
|
},
|
|
26491
|
-
"
|
|
26492
|
-
"type": "
|
|
26493
|
-
"description": ""
|
|
26538
|
+
"inputMap": {
|
|
26539
|
+
"type": "InputMapping",
|
|
26540
|
+
"description": "Named input mapping: semantic name -> { nodeId, field }"
|
|
26494
26541
|
},
|
|
26495
|
-
"
|
|
26496
|
-
"type": "
|
|
26497
|
-
"description": ""
|
|
26542
|
+
"outputDir": {
|
|
26543
|
+
"type": "string",
|
|
26544
|
+
"description": "If provided, output images are downloaded to this directory"
|
|
26498
26545
|
}
|
|
26499
26546
|
}
|
|
26500
26547
|
}
|
|
26501
26548
|
},
|
|
26502
26549
|
"required": [
|
|
26503
|
-
"
|
|
26504
|
-
"outputPath"
|
|
26550
|
+
"workflow"
|
|
26505
26551
|
],
|
|
26506
|
-
"returns": "Promise<
|
|
26507
|
-
"examples": [
|
|
26508
|
-
{
|
|
26509
|
-
"language": "ts",
|
|
26510
|
-
"code": "const path = await el.say('Hello world', './hello.mp3')\nconsole.log(`Audio saved to ${path}`)"
|
|
26511
|
-
}
|
|
26512
|
-
]
|
|
26552
|
+
"returns": "Promise<WorkflowResult>"
|
|
26513
26553
|
}
|
|
26514
26554
|
},
|
|
26515
26555
|
"getters": {
|
|
26516
|
-
"
|
|
26517
|
-
"description": "The
|
|
26556
|
+
"clientId": {
|
|
26557
|
+
"description": "The unique client ID used for WebSocket session tracking.",
|
|
26558
|
+
"returns": "string"
|
|
26559
|
+
},
|
|
26560
|
+
"wsURL": {
|
|
26561
|
+
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
26518
26562
|
"returns": "string"
|
|
26519
26563
|
}
|
|
26520
26564
|
},
|
|
26521
26565
|
"events": {
|
|
26522
|
-
"
|
|
26523
|
-
"name": "
|
|
26524
|
-
"description": "Event emitted by
|
|
26566
|
+
"execution_start": {
|
|
26567
|
+
"name": "execution_start",
|
|
26568
|
+
"description": "Event emitted by ComfyUIClient",
|
|
26525
26569
|
"arguments": {}
|
|
26526
26570
|
},
|
|
26527
|
-
"
|
|
26528
|
-
"name": "
|
|
26529
|
-
"description": "Event emitted by
|
|
26571
|
+
"execution_complete": {
|
|
26572
|
+
"name": "execution_complete",
|
|
26573
|
+
"description": "Event emitted by ComfyUIClient",
|
|
26530
26574
|
"arguments": {}
|
|
26531
26575
|
},
|
|
26532
|
-
"
|
|
26533
|
-
"name": "
|
|
26534
|
-
"description": "Event emitted by
|
|
26576
|
+
"executing": {
|
|
26577
|
+
"name": "executing",
|
|
26578
|
+
"description": "Event emitted by ComfyUIClient",
|
|
26579
|
+
"arguments": {}
|
|
26580
|
+
},
|
|
26581
|
+
"progress": {
|
|
26582
|
+
"name": "progress",
|
|
26583
|
+
"description": "Event emitted by ComfyUIClient",
|
|
26584
|
+
"arguments": {}
|
|
26585
|
+
},
|
|
26586
|
+
"executed": {
|
|
26587
|
+
"name": "executed",
|
|
26588
|
+
"description": "Event emitted by ComfyUIClient",
|
|
26589
|
+
"arguments": {}
|
|
26590
|
+
},
|
|
26591
|
+
"execution_cached": {
|
|
26592
|
+
"name": "execution_cached",
|
|
26593
|
+
"description": "Event emitted by ComfyUIClient",
|
|
26594
|
+
"arguments": {}
|
|
26595
|
+
},
|
|
26596
|
+
"execution_error": {
|
|
26597
|
+
"name": "execution_error",
|
|
26598
|
+
"description": "Event emitted by ComfyUIClient",
|
|
26535
26599
|
"arguments": {}
|
|
26536
26600
|
}
|
|
26537
26601
|
},
|
|
@@ -26541,65 +26605,48 @@ export const introspectionData = [
|
|
|
26541
26605
|
"examples": [
|
|
26542
26606
|
{
|
|
26543
26607
|
"language": "ts",
|
|
26544
|
-
"code": "const
|
|
26608
|
+
"code": "const comfy = container.client('comfyui', { baseURL: 'http://localhost:8188' })\nconst result = await comfy.runWorkflow(workflow, {\n '6': { text: 'a beautiful sunset' }\n})\nconsole.log(result.images)"
|
|
26545
26609
|
}
|
|
26546
26610
|
],
|
|
26547
26611
|
"types": {
|
|
26548
|
-
"
|
|
26612
|
+
"WorkflowRunOptions": {
|
|
26549
26613
|
"description": "",
|
|
26550
26614
|
"properties": {
|
|
26551
|
-
"
|
|
26552
|
-
"type": "
|
|
26553
|
-
"description": "",
|
|
26554
|
-
"optional": true
|
|
26555
|
-
},
|
|
26556
|
-
"modelId": {
|
|
26557
|
-
"type": "string",
|
|
26558
|
-
"description": "",
|
|
26615
|
+
"poll": {
|
|
26616
|
+
"type": "boolean",
|
|
26617
|
+
"description": "Use polling instead of WebSocket for tracking execution",
|
|
26559
26618
|
"optional": true
|
|
26560
26619
|
},
|
|
26561
|
-
"
|
|
26562
|
-
"type": "
|
|
26563
|
-
"description": "",
|
|
26620
|
+
"pollInterval": {
|
|
26621
|
+
"type": "number",
|
|
26622
|
+
"description": "Polling interval in ms (default 1000)",
|
|
26564
26623
|
"optional": true
|
|
26565
26624
|
},
|
|
26566
|
-
"
|
|
26567
|
-
"type": "
|
|
26568
|
-
"description": "",
|
|
26625
|
+
"inputMap": {
|
|
26626
|
+
"type": "InputMapping",
|
|
26627
|
+
"description": "Named input mapping: semantic name -> { nodeId, field }",
|
|
26569
26628
|
"optional": true
|
|
26570
26629
|
},
|
|
26571
|
-
"
|
|
26572
|
-
"type": "
|
|
26573
|
-
"description": "",
|
|
26630
|
+
"outputDir": {
|
|
26631
|
+
"type": "string",
|
|
26632
|
+
"description": "If provided, output images are downloaded to this directory",
|
|
26574
26633
|
"optional": true
|
|
26575
26634
|
}
|
|
26576
26635
|
}
|
|
26577
26636
|
},
|
|
26578
|
-
"
|
|
26637
|
+
"WorkflowResult": {
|
|
26579
26638
|
"description": "",
|
|
26580
26639
|
"properties": {
|
|
26581
|
-
"
|
|
26582
|
-
"type": "
|
|
26583
|
-
"description": ""
|
|
26584
|
-
"optional": true
|
|
26585
|
-
},
|
|
26586
|
-
"similarityBoost": {
|
|
26587
|
-
"type": "number",
|
|
26588
|
-
"description": "",
|
|
26589
|
-
"optional": true
|
|
26590
|
-
},
|
|
26591
|
-
"style": {
|
|
26592
|
-
"type": "number",
|
|
26593
|
-
"description": "",
|
|
26594
|
-
"optional": true
|
|
26640
|
+
"promptId": {
|
|
26641
|
+
"type": "string",
|
|
26642
|
+
"description": ""
|
|
26595
26643
|
},
|
|
26596
|
-
"
|
|
26597
|
-
"type": "
|
|
26598
|
-
"description": ""
|
|
26599
|
-
"optional": true
|
|
26644
|
+
"outputs": {
|
|
26645
|
+
"type": "Record<string, any>",
|
|
26646
|
+
"description": ""
|
|
26600
26647
|
},
|
|
26601
|
-
"
|
|
26602
|
-
"type": "
|
|
26648
|
+
"images": {
|
|
26649
|
+
"type": "Array<{ filename: string; subfolder: string; type: string; localPath?: string }>",
|
|
26603
26650
|
"description": "",
|
|
26604
26651
|
"optional": true
|
|
26605
26652
|
}
|
|
@@ -26625,7 +26672,7 @@ export const introspectionData = [
|
|
|
26625
26672
|
"description": "Tool schema, description, and handler",
|
|
26626
26673
|
"properties": {
|
|
26627
26674
|
"schema": {
|
|
26628
|
-
"type": "z.
|
|
26675
|
+
"type": "z.ZodType",
|
|
26629
26676
|
"description": ""
|
|
26630
26677
|
},
|
|
26631
26678
|
"description": {
|
|
@@ -26633,7 +26680,7 @@ export const introspectionData = [
|
|
|
26633
26680
|
"description": ""
|
|
26634
26681
|
},
|
|
26635
26682
|
"handler": {
|
|
26636
|
-
"type": "(args: any, ctx:
|
|
26683
|
+
"type": "Function | ((args: any, ctx: any) => any)",
|
|
26637
26684
|
"description": ""
|
|
26638
26685
|
}
|
|
26639
26686
|
}
|
|
@@ -26775,7 +26822,7 @@ export const introspectionData = [
|
|
|
26775
26822
|
"description": "",
|
|
26776
26823
|
"properties": {
|
|
26777
26824
|
"schema": {
|
|
26778
|
-
"type": "z.
|
|
26825
|
+
"type": "z.ZodType",
|
|
26779
26826
|
"description": "",
|
|
26780
26827
|
"optional": true
|
|
26781
26828
|
},
|
|
@@ -26785,17 +26832,9 @@ export const introspectionData = [
|
|
|
26785
26832
|
"optional": true
|
|
26786
26833
|
},
|
|
26787
26834
|
"handler": {
|
|
26788
|
-
"type": "(args: any, ctx:
|
|
26789
|
-
"description": ""
|
|
26790
|
-
|
|
26791
|
-
}
|
|
26792
|
-
},
|
|
26793
|
-
"MCPContext": {
|
|
26794
|
-
"description": "Context object passed to all MCP tool, resource, and prompt handlers.",
|
|
26795
|
-
"properties": {
|
|
26796
|
-
"container": {
|
|
26797
|
-
"type": "NodeContainer",
|
|
26798
|
-
"description": ""
|
|
26835
|
+
"type": "Function | ((args: any, ctx: any) => any)",
|
|
26836
|
+
"description": "",
|
|
26837
|
+
"optional": true
|
|
26799
26838
|
}
|
|
26800
26839
|
}
|
|
26801
26840
|
},
|
|
@@ -26823,6 +26862,15 @@ export const introspectionData = [
|
|
|
26823
26862
|
}
|
|
26824
26863
|
}
|
|
26825
26864
|
},
|
|
26865
|
+
"MCPContext": {
|
|
26866
|
+
"description": "Context object passed to all MCP tool, resource, and prompt handlers.",
|
|
26867
|
+
"properties": {
|
|
26868
|
+
"container": {
|
|
26869
|
+
"type": "NodeContainer",
|
|
26870
|
+
"description": ""
|
|
26871
|
+
}
|
|
26872
|
+
}
|
|
26873
|
+
},
|
|
26826
26874
|
"PromptRegistrationOptions": {
|
|
26827
26875
|
"description": "",
|
|
26828
26876
|
"properties": {
|
|
@@ -27215,7 +27263,7 @@ export const containerIntrospectionData = [
|
|
|
27215
27263
|
"description": "The id of the feature to create."
|
|
27216
27264
|
},
|
|
27217
27265
|
"options": {
|
|
27218
|
-
"type": "
|
|
27266
|
+
"type": "FeatureInputOptions<Features>[T] | Record<string, unknown>",
|
|
27219
27267
|
"description": "The options to pass to the feature constructor."
|
|
27220
27268
|
}
|
|
27221
27269
|
},
|
|
@@ -27224,6 +27272,52 @@ export const containerIntrospectionData = [
|
|
|
27224
27272
|
],
|
|
27225
27273
|
"returns": "InstanceType<Features[T]>"
|
|
27226
27274
|
},
|
|
27275
|
+
"entity": {
|
|
27276
|
+
"description": "Creates a lightweight entity object with observable state, a typed event bus, and access to the container. Same id + options always returns the same cached base instance. An optional third argument auto-extends the entity with functions and getters. All extended methods and getters can access the entity (state, options, container, on/off/emit, etc.) via `this`.",
|
|
27277
|
+
"parameters": {
|
|
27278
|
+
"id": {
|
|
27279
|
+
"type": "string",
|
|
27280
|
+
"description": "Stable identifier for this entity (included in cache key)"
|
|
27281
|
+
},
|
|
27282
|
+
"options": {
|
|
27283
|
+
"type": "TOptions",
|
|
27284
|
+
"description": "Arbitrary options stored on `entity.options` (included in cache key)"
|
|
27285
|
+
},
|
|
27286
|
+
"extensions": {
|
|
27287
|
+
"type": "Ext & ThisType<Entity<TState, TOptions, TEvents> & Ext>",
|
|
27288
|
+
"description": "Optional object of functions/getters to graft onto the entity"
|
|
27289
|
+
}
|
|
27290
|
+
},
|
|
27291
|
+
"required": [
|
|
27292
|
+
"id"
|
|
27293
|
+
],
|
|
27294
|
+
"returns": "Entity<TState, TOptions, TEvents> & Ext",
|
|
27295
|
+
"examples": [
|
|
27296
|
+
{
|
|
27297
|
+
"language": "ts",
|
|
27298
|
+
"code": "// Basic entity with typed state and events\nconst counter = container.entity<{ count: number }>('counter')\ncounter.setState({ count: 0 })\ncounter.on('tick', () => counter.setState(s => ({ count: s.count + 1 })))\n\n// With options and auto-extension\nconst user = container.entity('user:42', { name: 'Alice' }, {\n greet() { return `Hello ${this.options.name}` },\n get label() { return `User: ${this.options.name}` },\n})\nuser.greet() // \"Hello Alice\""
|
|
27299
|
+
}
|
|
27300
|
+
]
|
|
27301
|
+
},
|
|
27302
|
+
"getHelperByUUID": {
|
|
27303
|
+
"description": "Look up any helper instance (feature, client, server) by its UUID. Returns undefined if the UUID is unknown or the instance was never created.",
|
|
27304
|
+
"parameters": {
|
|
27305
|
+
"uuid": {
|
|
27306
|
+
"type": "string",
|
|
27307
|
+
"description": "The `instance.uuid` value assigned at construction time"
|
|
27308
|
+
}
|
|
27309
|
+
},
|
|
27310
|
+
"required": [
|
|
27311
|
+
"uuid"
|
|
27312
|
+
],
|
|
27313
|
+
"returns": "Helper | undefined",
|
|
27314
|
+
"examples": [
|
|
27315
|
+
{
|
|
27316
|
+
"language": "ts",
|
|
27317
|
+
"code": "const assistant = container.feature('assistant')\nconst { uuid } = assistant\n// ... later ...\nconst same = container.getHelperByUUID(uuid) // === assistant"
|
|
27318
|
+
}
|
|
27319
|
+
]
|
|
27320
|
+
},
|
|
27227
27321
|
"start": {
|
|
27228
27322
|
"description": "Start the container. Emits the 'started' event and sets `state.started` to true. Plugins and features can listen for this event to perform initialization.",
|
|
27229
27323
|
"parameters": {},
|
|
@@ -27529,7 +27623,7 @@ export const containerIntrospectionData = [
|
|
|
27529
27623
|
},
|
|
27530
27624
|
"urlUtils": {
|
|
27531
27625
|
"description": "Returns URL utility functions for parsing URIs.",
|
|
27532
|
-
"returns": "{ parse: (uri: string) => url.
|
|
27626
|
+
"returns": "{ parse: (uri: string) => url.UrlWithStringQuery }"
|
|
27533
27627
|
},
|
|
27534
27628
|
"paths": {
|
|
27535
27629
|
"description": "Returns path utility functions scoped to the current working directory (join, resolve, relative, dirname, parse).",
|