@soederpop/luca 0.1.3 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yaml +167 -0
- package/README.md +3 -0
- package/assistants/codingAssistant/ABOUT.md +3 -0
- package/assistants/codingAssistant/CORE.md +22 -17
- package/assistants/codingAssistant/hooks.ts +19 -2
- package/assistants/codingAssistant/tools.ts +1 -106
- package/assistants/inkbot/ABOUT.md +5 -0
- package/assistants/inkbot/CORE.md +2 -0
- package/bun.lock +20 -4
- package/commands/release.ts +75 -181
- package/docs/ideas/assistant-factory-pattern.md +142 -0
- package/package.json +3 -2
- package/src/agi/container.server.ts +10 -0
- package/src/agi/features/agent-memory.ts +694 -0
- package/src/agi/features/assistant.ts +1 -1
- package/src/agi/features/assistants-manager.ts +25 -0
- package/src/agi/features/browser-use.ts +30 -0
- package/src/agi/features/coding-tools.ts +175 -0
- package/src/agi/features/file-tools.ts +33 -26
- package/src/agi/features/skills-library.ts +28 -11
- package/src/bootstrap/generated.ts +1 -1
- package/src/cli/build-info.ts +2 -2
- package/src/clients/voicebox/index.ts +300 -0
- package/src/introspection/generated.agi.ts +1997 -789
- package/src/introspection/generated.node.ts +788 -736
- package/src/introspection/generated.web.ts +1 -1
- package/src/node/features/content-db.ts +54 -27
- package/src/node/features/process-manager.ts +50 -17
- package/src/python/generated.ts +1 -1
- package/src/scaffolds/generated.ts +1 -1
- package/test/assistant.test.ts +14 -5
- package/test-integration/memory.test.ts +204 -0
|
@@ -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-04-
|
|
4
|
+
// Generated at: 2026-04-05T06:58:06.158Z
|
|
5
5
|
|
|
6
6
|
setBuildTimeData('features.googleDocs', {
|
|
7
7
|
"id": "features.googleDocs",
|
|
@@ -8692,6 +8692,19 @@ setBuildTimeData('features.processManager', {
|
|
|
8692
8692
|
],
|
|
8693
8693
|
"returns": "void"
|
|
8694
8694
|
},
|
|
8695
|
+
"setupToolsConsumer": {
|
|
8696
|
+
"description": "When an assistant uses processManager, inject system prompt guidance about how to manage processes safely and effectively.",
|
|
8697
|
+
"parameters": {
|
|
8698
|
+
"consumer": {
|
|
8699
|
+
"type": "Helper",
|
|
8700
|
+
"description": "Parameter consumer"
|
|
8701
|
+
}
|
|
8702
|
+
},
|
|
8703
|
+
"required": [
|
|
8704
|
+
"consumer"
|
|
8705
|
+
],
|
|
8706
|
+
"returns": "void"
|
|
8707
|
+
},
|
|
8695
8708
|
"spawn": {
|
|
8696
8709
|
"description": "Spawn a long-running process and return a handle immediately. The returned SpawnHandler provides events for stdout/stderr streaming, exit/crash notifications, and methods to kill or await the process.",
|
|
8697
8710
|
"parameters": {
|
|
@@ -11111,6 +11124,19 @@ setBuildTimeData('features.contentDb', {
|
|
|
11111
11124
|
"shortcut": "features.contentDb",
|
|
11112
11125
|
"className": "ContentDb",
|
|
11113
11126
|
"methods": {
|
|
11127
|
+
"setupToolsConsumer": {
|
|
11128
|
+
"description": "When an assistant uses contentDb, inject system prompt guidance about progressive document exploration.",
|
|
11129
|
+
"parameters": {
|
|
11130
|
+
"consumer": {
|
|
11131
|
+
"type": "Helper",
|
|
11132
|
+
"description": "Parameter consumer"
|
|
11133
|
+
}
|
|
11134
|
+
},
|
|
11135
|
+
"required": [
|
|
11136
|
+
"consumer"
|
|
11137
|
+
],
|
|
11138
|
+
"returns": "void"
|
|
11139
|
+
},
|
|
11114
11140
|
"renderTree": {
|
|
11115
11141
|
"description": "Render a tree view of the collection directory structure. Built with container.fs so it works without the `tree` binary.",
|
|
11116
11142
|
"parameters": {
|
|
@@ -12302,404 +12328,140 @@ setBuildTimeData('clients.supabase', {
|
|
|
12302
12328
|
]
|
|
12303
12329
|
});
|
|
12304
12330
|
|
|
12305
|
-
setBuildTimeData('clients.
|
|
12306
|
-
"id": "clients.
|
|
12307
|
-
"description": "
|
|
12308
|
-
"shortcut": "clients.
|
|
12309
|
-
"className": "
|
|
12331
|
+
setBuildTimeData('clients.comfyui', {
|
|
12332
|
+
"id": "clients.comfyui",
|
|
12333
|
+
"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.",
|
|
12334
|
+
"shortcut": "clients.comfyui",
|
|
12335
|
+
"className": "ComfyUIClient",
|
|
12310
12336
|
"methods": {
|
|
12311
|
-
"
|
|
12312
|
-
"description": "
|
|
12313
|
-
"parameters": {
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
|
|
12321
|
-
|
|
12337
|
+
"queuePrompt": {
|
|
12338
|
+
"description": "Queue a prompt (API-format workflow) for execution.",
|
|
12339
|
+
"parameters": {
|
|
12340
|
+
"prompt": {
|
|
12341
|
+
"type": "Record<string, any>",
|
|
12342
|
+
"description": "The API-format workflow object"
|
|
12343
|
+
},
|
|
12344
|
+
"clientId": {
|
|
12345
|
+
"type": "string",
|
|
12346
|
+
"description": "Override the client ID for this request"
|
|
12347
|
+
}
|
|
12348
|
+
},
|
|
12349
|
+
"required": [
|
|
12350
|
+
"prompt"
|
|
12351
|
+
],
|
|
12352
|
+
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
12322
12353
|
"examples": [
|
|
12323
12354
|
{
|
|
12324
12355
|
"language": "ts",
|
|
12325
|
-
"code": "await
|
|
12356
|
+
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
12326
12357
|
}
|
|
12327
12358
|
]
|
|
12328
12359
|
},
|
|
12329
|
-
"
|
|
12330
|
-
"description": "
|
|
12360
|
+
"getQueue": {
|
|
12361
|
+
"description": "Get the current prompt queue status.",
|
|
12362
|
+
"parameters": {},
|
|
12363
|
+
"required": [],
|
|
12364
|
+
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
12365
|
+
},
|
|
12366
|
+
"getHistory": {
|
|
12367
|
+
"description": "Get execution history, optionally for a specific prompt.",
|
|
12331
12368
|
"parameters": {
|
|
12332
|
-
"
|
|
12333
|
-
"type": "
|
|
12334
|
-
"description": "
|
|
12369
|
+
"promptId": {
|
|
12370
|
+
"type": "string",
|
|
12371
|
+
"description": "If provided, returns history for this prompt only"
|
|
12335
12372
|
}
|
|
12336
12373
|
},
|
|
12337
12374
|
"required": [],
|
|
12338
|
-
"returns": "Promise<any
|
|
12339
|
-
"examples": [
|
|
12340
|
-
{
|
|
12341
|
-
"language": "ts",
|
|
12342
|
-
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
12343
|
-
}
|
|
12344
|
-
]
|
|
12375
|
+
"returns": "Promise<Record<string, any>>"
|
|
12345
12376
|
},
|
|
12346
|
-
"
|
|
12347
|
-
"description": "Get
|
|
12377
|
+
"getSystemStats": {
|
|
12378
|
+
"description": "Get system stats including GPU memory and queue info.",
|
|
12379
|
+
"parameters": {},
|
|
12380
|
+
"required": [],
|
|
12381
|
+
"returns": "Promise<any>"
|
|
12382
|
+
},
|
|
12383
|
+
"getObjectInfo": {
|
|
12384
|
+
"description": "Get node type info with input/output schemas.",
|
|
12348
12385
|
"parameters": {
|
|
12349
|
-
"
|
|
12386
|
+
"nodeClass": {
|
|
12350
12387
|
"type": "string",
|
|
12351
|
-
"description": "
|
|
12388
|
+
"description": "If provided, returns info for this node type only"
|
|
12352
12389
|
}
|
|
12353
12390
|
},
|
|
12354
|
-
"required": [
|
|
12355
|
-
|
|
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
|
-
]
|
|
12391
|
+
"required": [],
|
|
12392
|
+
"returns": "Promise<any>"
|
|
12364
12393
|
},
|
|
12365
|
-
"
|
|
12366
|
-
"description": "
|
|
12394
|
+
"interrupt": {
|
|
12395
|
+
"description": "Interrupt the currently executing prompt.",
|
|
12367
12396
|
"parameters": {},
|
|
12368
12397
|
"required": [],
|
|
12369
|
-
"returns": "Promise<
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12398
|
+
"returns": "Promise<void>"
|
|
12399
|
+
},
|
|
12400
|
+
"getModels": {
|
|
12401
|
+
"description": "List available models, optionally filtered by type.",
|
|
12402
|
+
"parameters": {
|
|
12403
|
+
"type": {
|
|
12404
|
+
"type": "string",
|
|
12405
|
+
"description": "Model type filter (e.g., 'checkpoints', 'loras')"
|
|
12374
12406
|
}
|
|
12375
|
-
|
|
12407
|
+
},
|
|
12408
|
+
"required": [],
|
|
12409
|
+
"returns": "Promise<string[]>"
|
|
12376
12410
|
},
|
|
12377
|
-
"
|
|
12378
|
-
"description": "
|
|
12411
|
+
"getEmbeddings": {
|
|
12412
|
+
"description": "List available embedding models.",
|
|
12413
|
+
"parameters": {},
|
|
12414
|
+
"required": [],
|
|
12415
|
+
"returns": "Promise<string[]>"
|
|
12416
|
+
},
|
|
12417
|
+
"uploadImage": {
|
|
12418
|
+
"description": "Upload an image to ComfyUI's input directory.",
|
|
12379
12419
|
"parameters": {
|
|
12380
|
-
"
|
|
12420
|
+
"file": {
|
|
12421
|
+
"type": "Buffer | Blob",
|
|
12422
|
+
"description": "The image data as Buffer or Blob"
|
|
12423
|
+
},
|
|
12424
|
+
"filename": {
|
|
12381
12425
|
"type": "string",
|
|
12382
|
-
"description": "
|
|
12426
|
+
"description": "File name for the upload"
|
|
12383
12427
|
},
|
|
12384
|
-
"
|
|
12385
|
-
"type": "
|
|
12386
|
-
"description": "
|
|
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
|
-
}
|
|
12428
|
+
"opts": {
|
|
12429
|
+
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
12430
|
+
"description": "Upload options (subfolder, type, overwrite)"
|
|
12409
12431
|
}
|
|
12410
12432
|
},
|
|
12411
12433
|
"required": [
|
|
12412
|
-
"
|
|
12434
|
+
"file",
|
|
12435
|
+
"filename"
|
|
12413
12436
|
],
|
|
12414
|
-
"returns": "Promise<
|
|
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})"
|
|
12419
|
-
}
|
|
12420
|
-
]
|
|
12437
|
+
"returns": "Promise<any>"
|
|
12421
12438
|
},
|
|
12422
|
-
"
|
|
12423
|
-
"description": "
|
|
12439
|
+
"viewImage": {
|
|
12440
|
+
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
12424
12441
|
"parameters": {
|
|
12425
|
-
"
|
|
12442
|
+
"filename": {
|
|
12426
12443
|
"type": "string",
|
|
12427
|
-
"description": "The
|
|
12444
|
+
"description": "The image filename"
|
|
12428
12445
|
},
|
|
12429
|
-
"
|
|
12430
|
-
"type": "
|
|
12431
|
-
"description": "
|
|
12446
|
+
"subfolder": {
|
|
12447
|
+
"type": "any",
|
|
12448
|
+
"description": "Subfolder within the output directory"
|
|
12432
12449
|
},
|
|
12433
|
-
"
|
|
12434
|
-
"type": "
|
|
12435
|
-
"description": "
|
|
12436
|
-
"properties": {
|
|
12437
|
-
"voiceId": {
|
|
12438
|
-
"type": "string",
|
|
12439
|
-
"description": ""
|
|
12440
|
-
},
|
|
12441
|
-
"modelId": {
|
|
12442
|
-
"type": "string",
|
|
12443
|
-
"description": ""
|
|
12444
|
-
},
|
|
12445
|
-
"outputFormat": {
|
|
12446
|
-
"type": "string",
|
|
12447
|
-
"description": ""
|
|
12448
|
-
},
|
|
12449
|
-
"voiceSettings": {
|
|
12450
|
-
"type": "ElevenLabsVoiceSettings",
|
|
12451
|
-
"description": ""
|
|
12452
|
-
},
|
|
12453
|
-
"disableCache": {
|
|
12454
|
-
"type": "boolean",
|
|
12455
|
-
"description": ""
|
|
12456
|
-
}
|
|
12457
|
-
}
|
|
12450
|
+
"type": {
|
|
12451
|
+
"type": "any",
|
|
12452
|
+
"description": "Image type ('output', 'input', 'temp')"
|
|
12458
12453
|
}
|
|
12459
12454
|
},
|
|
12460
12455
|
"required": [
|
|
12461
|
-
"
|
|
12462
|
-
"outputPath"
|
|
12456
|
+
"filename"
|
|
12463
12457
|
],
|
|
12464
|
-
"returns": "Promise<
|
|
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
|
-
]
|
|
12471
|
-
}
|
|
12472
|
-
},
|
|
12473
|
-
"getters": {
|
|
12474
|
-
"apiKey": {
|
|
12475
|
-
"description": "The resolved API key from options or environment.",
|
|
12476
|
-
"returns": "string"
|
|
12477
|
-
}
|
|
12478
|
-
},
|
|
12479
|
-
"events": {
|
|
12480
|
-
"failure": {
|
|
12481
|
-
"name": "failure",
|
|
12482
|
-
"description": "Event emitted by ElevenLabsClient",
|
|
12483
|
-
"arguments": {}
|
|
12458
|
+
"returns": "Promise<Buffer>"
|
|
12484
12459
|
},
|
|
12485
|
-
"
|
|
12486
|
-
"
|
|
12487
|
-
"
|
|
12488
|
-
"
|
|
12489
|
-
|
|
12490
|
-
"speech": {
|
|
12491
|
-
"name": "speech",
|
|
12492
|
-
"description": "Event emitted by ElevenLabsClient",
|
|
12493
|
-
"arguments": {}
|
|
12494
|
-
}
|
|
12495
|
-
},
|
|
12496
|
-
"state": {},
|
|
12497
|
-
"options": {},
|
|
12498
|
-
"envVars": [],
|
|
12499
|
-
"examples": [
|
|
12500
|
-
{
|
|
12501
|
-
"language": "ts",
|
|
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"
|
|
12503
|
-
}
|
|
12504
|
-
],
|
|
12505
|
-
"types": {
|
|
12506
|
-
"SynthesizeOptions": {
|
|
12507
|
-
"description": "",
|
|
12508
|
-
"properties": {
|
|
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": {
|
|
12530
|
-
"type": "boolean",
|
|
12531
|
-
"description": "",
|
|
12532
|
-
"optional": true
|
|
12533
|
-
}
|
|
12534
|
-
}
|
|
12535
|
-
},
|
|
12536
|
-
"ElevenLabsVoiceSettings": {
|
|
12537
|
-
"description": "",
|
|
12538
|
-
"properties": {
|
|
12539
|
-
"stability": {
|
|
12540
|
-
"type": "number",
|
|
12541
|
-
"description": "",
|
|
12542
|
-
"optional": true
|
|
12543
|
-
},
|
|
12544
|
-
"similarityBoost": {
|
|
12545
|
-
"type": "number",
|
|
12546
|
-
"description": "",
|
|
12547
|
-
"optional": true
|
|
12548
|
-
},
|
|
12549
|
-
"style": {
|
|
12550
|
-
"type": "number",
|
|
12551
|
-
"description": "",
|
|
12552
|
-
"optional": true
|
|
12553
|
-
},
|
|
12554
|
-
"speed": {
|
|
12555
|
-
"type": "number",
|
|
12556
|
-
"description": "",
|
|
12557
|
-
"optional": true
|
|
12558
|
-
},
|
|
12559
|
-
"useSpeakerBoost": {
|
|
12560
|
-
"type": "boolean",
|
|
12561
|
-
"description": "",
|
|
12562
|
-
"optional": true
|
|
12563
|
-
}
|
|
12564
|
-
}
|
|
12565
|
-
}
|
|
12566
|
-
}
|
|
12567
|
-
});
|
|
12568
|
-
|
|
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",
|
|
12574
|
-
"methods": {
|
|
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 }>",
|
|
12591
|
-
"examples": [
|
|
12592
|
-
{
|
|
12593
|
-
"language": "ts",
|
|
12594
|
-
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
12595
|
-
}
|
|
12596
|
-
]
|
|
12597
|
-
},
|
|
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.",
|
|
12606
|
-
"parameters": {
|
|
12607
|
-
"promptId": {
|
|
12608
|
-
"type": "string",
|
|
12609
|
-
"description": "If provided, returns history for this prompt only"
|
|
12610
|
-
}
|
|
12611
|
-
},
|
|
12612
|
-
"required": [],
|
|
12613
|
-
"returns": "Promise<Record<string, any>>"
|
|
12614
|
-
},
|
|
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.",
|
|
12623
|
-
"parameters": {
|
|
12624
|
-
"nodeClass": {
|
|
12625
|
-
"type": "string",
|
|
12626
|
-
"description": "If provided, returns info for this node type only"
|
|
12627
|
-
}
|
|
12628
|
-
},
|
|
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')"
|
|
12644
|
-
}
|
|
12645
|
-
},
|
|
12646
|
-
"required": [],
|
|
12647
|
-
"returns": "Promise<string[]>"
|
|
12648
|
-
},
|
|
12649
|
-
"getEmbeddings": {
|
|
12650
|
-
"description": "List available embedding models.",
|
|
12651
|
-
"parameters": {},
|
|
12652
|
-
"required": [],
|
|
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)"
|
|
12669
|
-
}
|
|
12670
|
-
},
|
|
12671
|
-
"required": [
|
|
12672
|
-
"file",
|
|
12673
|
-
"filename"
|
|
12674
|
-
],
|
|
12675
|
-
"returns": "Promise<any>"
|
|
12676
|
-
},
|
|
12677
|
-
"viewImage": {
|
|
12678
|
-
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
12679
|
-
"parameters": {
|
|
12680
|
-
"filename": {
|
|
12681
|
-
"type": "string",
|
|
12682
|
-
"description": "The image filename"
|
|
12683
|
-
},
|
|
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')"
|
|
12691
|
-
}
|
|
12692
|
-
},
|
|
12693
|
-
"required": [
|
|
12694
|
-
"filename"
|
|
12695
|
-
],
|
|
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>"
|
|
12460
|
+
"connectWs": {
|
|
12461
|
+
"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`.",
|
|
12462
|
+
"parameters": {},
|
|
12463
|
+
"required": [],
|
|
12464
|
+
"returns": "Promise<void>"
|
|
12703
12465
|
},
|
|
12704
12466
|
"disconnectWs": {
|
|
12705
12467
|
"description": "Close the WebSocket connection.",
|
|
@@ -12863,26 +12625,290 @@ setBuildTimeData('clients.comfyui', {
|
|
|
12863
12625
|
}
|
|
12864
12626
|
});
|
|
12865
12627
|
|
|
12866
|
-
setBuildTimeData('
|
|
12867
|
-
"id": "
|
|
12868
|
-
"description": "
|
|
12869
|
-
"shortcut": "
|
|
12870
|
-
"className": "
|
|
12628
|
+
setBuildTimeData('clients.elevenlabs', {
|
|
12629
|
+
"id": "clients.elevenlabs",
|
|
12630
|
+
"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.",
|
|
12631
|
+
"shortcut": "clients.elevenlabs",
|
|
12632
|
+
"className": "ElevenLabsClient",
|
|
12871
12633
|
"methods": {
|
|
12872
|
-
"
|
|
12873
|
-
"description": "
|
|
12634
|
+
"beforeRequest": {
|
|
12635
|
+
"description": "Inject the xi-api-key header before each request.",
|
|
12636
|
+
"parameters": {},
|
|
12637
|
+
"required": [],
|
|
12638
|
+
"returns": "void"
|
|
12639
|
+
},
|
|
12640
|
+
"connect": {
|
|
12641
|
+
"description": "Validate the API key by listing available models.",
|
|
12642
|
+
"parameters": {},
|
|
12643
|
+
"required": [],
|
|
12644
|
+
"returns": "Promise<this>",
|
|
12645
|
+
"examples": [
|
|
12646
|
+
{
|
|
12647
|
+
"language": "ts",
|
|
12648
|
+
"code": "await el.connect()"
|
|
12649
|
+
}
|
|
12650
|
+
]
|
|
12651
|
+
},
|
|
12652
|
+
"listVoices": {
|
|
12653
|
+
"description": "List available voices with optional search and filtering.",
|
|
12874
12654
|
"parameters": {
|
|
12875
|
-
"name": {
|
|
12876
|
-
"type": "string",
|
|
12877
|
-
"description": "Unique tool name"
|
|
12878
|
-
},
|
|
12879
12655
|
"options": {
|
|
12880
|
-
"type": "
|
|
12881
|
-
"description": "
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
12656
|
+
"type": "{\n search?: string\n category?: string\n voice_type?: string\n page_size?: number\n next_page_token?: string\n }",
|
|
12657
|
+
"description": "Query parameters for filtering voices"
|
|
12658
|
+
}
|
|
12659
|
+
},
|
|
12660
|
+
"required": [],
|
|
12661
|
+
"returns": "Promise<any>",
|
|
12662
|
+
"examples": [
|
|
12663
|
+
{
|
|
12664
|
+
"language": "ts",
|
|
12665
|
+
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
12666
|
+
}
|
|
12667
|
+
]
|
|
12668
|
+
},
|
|
12669
|
+
"getVoice": {
|
|
12670
|
+
"description": "Get details for a single voice.",
|
|
12671
|
+
"parameters": {
|
|
12672
|
+
"voiceId": {
|
|
12673
|
+
"type": "string",
|
|
12674
|
+
"description": "The voice ID to look up"
|
|
12675
|
+
}
|
|
12676
|
+
},
|
|
12677
|
+
"required": [
|
|
12678
|
+
"voiceId"
|
|
12679
|
+
],
|
|
12680
|
+
"returns": "Promise<any>",
|
|
12681
|
+
"examples": [
|
|
12682
|
+
{
|
|
12683
|
+
"language": "ts",
|
|
12684
|
+
"code": "const voice = await el.getVoice('21m00Tcm4TlvDq8ikWAM')\nconsole.log(voice.name, voice.settings)"
|
|
12685
|
+
}
|
|
12686
|
+
]
|
|
12687
|
+
},
|
|
12688
|
+
"listModels": {
|
|
12689
|
+
"description": "List available TTS models.",
|
|
12690
|
+
"parameters": {},
|
|
12691
|
+
"required": [],
|
|
12692
|
+
"returns": "Promise<any[]>",
|
|
12693
|
+
"examples": [
|
|
12694
|
+
{
|
|
12695
|
+
"language": "ts",
|
|
12696
|
+
"code": "const models = await el.listModels()\nconsole.log(models.map(m => m.model_id))"
|
|
12697
|
+
}
|
|
12698
|
+
]
|
|
12699
|
+
},
|
|
12700
|
+
"synthesize": {
|
|
12701
|
+
"description": "Synthesize speech from text, returning audio as a Buffer.",
|
|
12702
|
+
"parameters": {
|
|
12703
|
+
"text": {
|
|
12704
|
+
"type": "string",
|
|
12705
|
+
"description": "The text to convert to speech"
|
|
12706
|
+
},
|
|
12707
|
+
"options": {
|
|
12708
|
+
"type": "SynthesizeOptions",
|
|
12709
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
12710
|
+
"properties": {
|
|
12711
|
+
"voiceId": {
|
|
12712
|
+
"type": "string",
|
|
12713
|
+
"description": ""
|
|
12714
|
+
},
|
|
12715
|
+
"modelId": {
|
|
12716
|
+
"type": "string",
|
|
12717
|
+
"description": ""
|
|
12718
|
+
},
|
|
12719
|
+
"outputFormat": {
|
|
12720
|
+
"type": "string",
|
|
12721
|
+
"description": ""
|
|
12722
|
+
},
|
|
12723
|
+
"voiceSettings": {
|
|
12724
|
+
"type": "ElevenLabsVoiceSettings",
|
|
12725
|
+
"description": ""
|
|
12726
|
+
},
|
|
12727
|
+
"disableCache": {
|
|
12728
|
+
"type": "boolean",
|
|
12729
|
+
"description": ""
|
|
12730
|
+
}
|
|
12731
|
+
}
|
|
12732
|
+
}
|
|
12733
|
+
},
|
|
12734
|
+
"required": [
|
|
12735
|
+
"text"
|
|
12736
|
+
],
|
|
12737
|
+
"returns": "Promise<Buffer>",
|
|
12738
|
+
"examples": [
|
|
12739
|
+
{
|
|
12740
|
+
"language": "ts",
|
|
12741
|
+
"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})"
|
|
12742
|
+
}
|
|
12743
|
+
]
|
|
12744
|
+
},
|
|
12745
|
+
"say": {
|
|
12746
|
+
"description": "Synthesize speech and write the audio to a file.",
|
|
12747
|
+
"parameters": {
|
|
12748
|
+
"text": {
|
|
12749
|
+
"type": "string",
|
|
12750
|
+
"description": "The text to convert to speech"
|
|
12751
|
+
},
|
|
12752
|
+
"outputPath": {
|
|
12753
|
+
"type": "string",
|
|
12754
|
+
"description": "File path to write the audio to"
|
|
12755
|
+
},
|
|
12756
|
+
"options": {
|
|
12757
|
+
"type": "SynthesizeOptions",
|
|
12758
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
12759
|
+
"properties": {
|
|
12760
|
+
"voiceId": {
|
|
12761
|
+
"type": "string",
|
|
12762
|
+
"description": ""
|
|
12763
|
+
},
|
|
12764
|
+
"modelId": {
|
|
12765
|
+
"type": "string",
|
|
12766
|
+
"description": ""
|
|
12767
|
+
},
|
|
12768
|
+
"outputFormat": {
|
|
12769
|
+
"type": "string",
|
|
12770
|
+
"description": ""
|
|
12771
|
+
},
|
|
12772
|
+
"voiceSettings": {
|
|
12773
|
+
"type": "ElevenLabsVoiceSettings",
|
|
12774
|
+
"description": ""
|
|
12775
|
+
},
|
|
12776
|
+
"disableCache": {
|
|
12777
|
+
"type": "boolean",
|
|
12778
|
+
"description": ""
|
|
12779
|
+
}
|
|
12780
|
+
}
|
|
12781
|
+
}
|
|
12782
|
+
},
|
|
12783
|
+
"required": [
|
|
12784
|
+
"text",
|
|
12785
|
+
"outputPath"
|
|
12786
|
+
],
|
|
12787
|
+
"returns": "Promise<string>",
|
|
12788
|
+
"examples": [
|
|
12789
|
+
{
|
|
12790
|
+
"language": "ts",
|
|
12791
|
+
"code": "const path = await el.say('Hello world', './hello.mp3')\nconsole.log(`Audio saved to ${path}`)"
|
|
12792
|
+
}
|
|
12793
|
+
]
|
|
12794
|
+
}
|
|
12795
|
+
},
|
|
12796
|
+
"getters": {
|
|
12797
|
+
"apiKey": {
|
|
12798
|
+
"description": "The resolved API key from options or environment.",
|
|
12799
|
+
"returns": "string"
|
|
12800
|
+
}
|
|
12801
|
+
},
|
|
12802
|
+
"events": {
|
|
12803
|
+
"failure": {
|
|
12804
|
+
"name": "failure",
|
|
12805
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
12806
|
+
"arguments": {}
|
|
12807
|
+
},
|
|
12808
|
+
"voices": {
|
|
12809
|
+
"name": "voices",
|
|
12810
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
12811
|
+
"arguments": {}
|
|
12812
|
+
},
|
|
12813
|
+
"speech": {
|
|
12814
|
+
"name": "speech",
|
|
12815
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
12816
|
+
"arguments": {}
|
|
12817
|
+
}
|
|
12818
|
+
},
|
|
12819
|
+
"state": {},
|
|
12820
|
+
"options": {},
|
|
12821
|
+
"envVars": [],
|
|
12822
|
+
"examples": [
|
|
12823
|
+
{
|
|
12824
|
+
"language": "ts",
|
|
12825
|
+
"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"
|
|
12826
|
+
}
|
|
12827
|
+
],
|
|
12828
|
+
"types": {
|
|
12829
|
+
"SynthesizeOptions": {
|
|
12830
|
+
"description": "",
|
|
12831
|
+
"properties": {
|
|
12832
|
+
"voiceId": {
|
|
12833
|
+
"type": "string",
|
|
12834
|
+
"description": "",
|
|
12835
|
+
"optional": true
|
|
12836
|
+
},
|
|
12837
|
+
"modelId": {
|
|
12838
|
+
"type": "string",
|
|
12839
|
+
"description": "",
|
|
12840
|
+
"optional": true
|
|
12841
|
+
},
|
|
12842
|
+
"outputFormat": {
|
|
12843
|
+
"type": "string",
|
|
12844
|
+
"description": "",
|
|
12845
|
+
"optional": true
|
|
12846
|
+
},
|
|
12847
|
+
"voiceSettings": {
|
|
12848
|
+
"type": "ElevenLabsVoiceSettings",
|
|
12849
|
+
"description": "",
|
|
12850
|
+
"optional": true
|
|
12851
|
+
},
|
|
12852
|
+
"disableCache": {
|
|
12853
|
+
"type": "boolean",
|
|
12854
|
+
"description": "",
|
|
12855
|
+
"optional": true
|
|
12856
|
+
}
|
|
12857
|
+
}
|
|
12858
|
+
},
|
|
12859
|
+
"ElevenLabsVoiceSettings": {
|
|
12860
|
+
"description": "",
|
|
12861
|
+
"properties": {
|
|
12862
|
+
"stability": {
|
|
12863
|
+
"type": "number",
|
|
12864
|
+
"description": "",
|
|
12865
|
+
"optional": true
|
|
12866
|
+
},
|
|
12867
|
+
"similarityBoost": {
|
|
12868
|
+
"type": "number",
|
|
12869
|
+
"description": "",
|
|
12870
|
+
"optional": true
|
|
12871
|
+
},
|
|
12872
|
+
"style": {
|
|
12873
|
+
"type": "number",
|
|
12874
|
+
"description": "",
|
|
12875
|
+
"optional": true
|
|
12876
|
+
},
|
|
12877
|
+
"speed": {
|
|
12878
|
+
"type": "number",
|
|
12879
|
+
"description": "",
|
|
12880
|
+
"optional": true
|
|
12881
|
+
},
|
|
12882
|
+
"useSpeakerBoost": {
|
|
12883
|
+
"type": "boolean",
|
|
12884
|
+
"description": "",
|
|
12885
|
+
"optional": true
|
|
12886
|
+
}
|
|
12887
|
+
}
|
|
12888
|
+
}
|
|
12889
|
+
}
|
|
12890
|
+
});
|
|
12891
|
+
|
|
12892
|
+
setBuildTimeData('servers.mcp', {
|
|
12893
|
+
"id": "servers.mcp",
|
|
12894
|
+
"description": "MCP (Model Context Protocol) server for exposing tools, resources, and prompts to AI clients like Claude Code. Uses the low-level MCP SDK Server class directly with Zod 4 native JSON Schema conversion. Register tools, resources, and prompts programmatically, then start the server over stdio (for CLI integration) or HTTP (for remote access).",
|
|
12895
|
+
"shortcut": "servers.mcp",
|
|
12896
|
+
"className": "MCPServer",
|
|
12897
|
+
"methods": {
|
|
12898
|
+
"tool": {
|
|
12899
|
+
"description": "Register an MCP tool. The tool's Zod schema is converted to JSON Schema for the protocol listing, and used for runtime argument validation. Tool handlers can return a string (auto-wrapped as text content) or a full CallToolResult object for advanced responses (images, errors, etc).",
|
|
12900
|
+
"parameters": {
|
|
12901
|
+
"name": {
|
|
12902
|
+
"type": "string",
|
|
12903
|
+
"description": "Unique tool name"
|
|
12904
|
+
},
|
|
12905
|
+
"options": {
|
|
12906
|
+
"type": "ToolRegistrationOptions",
|
|
12907
|
+
"description": "Tool schema, description, and handler",
|
|
12908
|
+
"properties": {
|
|
12909
|
+
"schema": {
|
|
12910
|
+
"type": "z.ZodType",
|
|
12911
|
+
"description": ""
|
|
12886
12912
|
},
|
|
12887
12913
|
"description": {
|
|
12888
12914
|
"type": "string",
|
|
@@ -22498,6 +22524,19 @@ export const introspectionData = [
|
|
|
22498
22524
|
],
|
|
22499
22525
|
"returns": "void"
|
|
22500
22526
|
},
|
|
22527
|
+
"setupToolsConsumer": {
|
|
22528
|
+
"description": "When an assistant uses processManager, inject system prompt guidance about how to manage processes safely and effectively.",
|
|
22529
|
+
"parameters": {
|
|
22530
|
+
"consumer": {
|
|
22531
|
+
"type": "Helper",
|
|
22532
|
+
"description": "Parameter consumer"
|
|
22533
|
+
}
|
|
22534
|
+
},
|
|
22535
|
+
"required": [
|
|
22536
|
+
"consumer"
|
|
22537
|
+
],
|
|
22538
|
+
"returns": "void"
|
|
22539
|
+
},
|
|
22501
22540
|
"spawn": {
|
|
22502
22541
|
"description": "Spawn a long-running process and return a handle immediately. The returned SpawnHandler provides events for stdout/stderr streaming, exit/crash notifications, and methods to kill or await the process.",
|
|
22503
22542
|
"parameters": {
|
|
@@ -24910,6 +24949,19 @@ export const introspectionData = [
|
|
|
24910
24949
|
"shortcut": "features.contentDb",
|
|
24911
24950
|
"className": "ContentDb",
|
|
24912
24951
|
"methods": {
|
|
24952
|
+
"setupToolsConsumer": {
|
|
24953
|
+
"description": "When an assistant uses contentDb, inject system prompt guidance about progressive document exploration.",
|
|
24954
|
+
"parameters": {
|
|
24955
|
+
"consumer": {
|
|
24956
|
+
"type": "Helper",
|
|
24957
|
+
"description": "Parameter consumer"
|
|
24958
|
+
}
|
|
24959
|
+
},
|
|
24960
|
+
"required": [
|
|
24961
|
+
"consumer"
|
|
24962
|
+
],
|
|
24963
|
+
"returns": "void"
|
|
24964
|
+
},
|
|
24913
24965
|
"renderTree": {
|
|
24914
24966
|
"description": "Render a tree view of the collection directory structure. Built with container.fs so it works without the `tree` binary.",
|
|
24915
24967
|
"parameters": {
|
|
@@ -26096,402 +26148,139 @@ export const introspectionData = [
|
|
|
26096
26148
|
]
|
|
26097
26149
|
},
|
|
26098
26150
|
{
|
|
26099
|
-
"id": "clients.
|
|
26100
|
-
"description": "
|
|
26101
|
-
"shortcut": "clients.
|
|
26102
|
-
"className": "
|
|
26151
|
+
"id": "clients.comfyui",
|
|
26152
|
+
"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.",
|
|
26153
|
+
"shortcut": "clients.comfyui",
|
|
26154
|
+
"className": "ComfyUIClient",
|
|
26103
26155
|
"methods": {
|
|
26104
|
-
"
|
|
26105
|
-
"description": "
|
|
26106
|
-
"parameters": {
|
|
26107
|
-
|
|
26108
|
-
|
|
26109
|
-
|
|
26110
|
-
|
|
26111
|
-
|
|
26112
|
-
|
|
26113
|
-
|
|
26114
|
-
|
|
26156
|
+
"queuePrompt": {
|
|
26157
|
+
"description": "Queue a prompt (API-format workflow) for execution.",
|
|
26158
|
+
"parameters": {
|
|
26159
|
+
"prompt": {
|
|
26160
|
+
"type": "Record<string, any>",
|
|
26161
|
+
"description": "The API-format workflow object"
|
|
26162
|
+
},
|
|
26163
|
+
"clientId": {
|
|
26164
|
+
"type": "string",
|
|
26165
|
+
"description": "Override the client ID for this request"
|
|
26166
|
+
}
|
|
26167
|
+
},
|
|
26168
|
+
"required": [
|
|
26169
|
+
"prompt"
|
|
26170
|
+
],
|
|
26171
|
+
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
26115
26172
|
"examples": [
|
|
26116
26173
|
{
|
|
26117
26174
|
"language": "ts",
|
|
26118
|
-
"code": "await
|
|
26175
|
+
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
26119
26176
|
}
|
|
26120
26177
|
]
|
|
26121
26178
|
},
|
|
26122
|
-
"
|
|
26123
|
-
"description": "
|
|
26179
|
+
"getQueue": {
|
|
26180
|
+
"description": "Get the current prompt queue status.",
|
|
26181
|
+
"parameters": {},
|
|
26182
|
+
"required": [],
|
|
26183
|
+
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
26184
|
+
},
|
|
26185
|
+
"getHistory": {
|
|
26186
|
+
"description": "Get execution history, optionally for a specific prompt.",
|
|
26124
26187
|
"parameters": {
|
|
26125
|
-
"
|
|
26126
|
-
"type": "
|
|
26127
|
-
"description": "
|
|
26188
|
+
"promptId": {
|
|
26189
|
+
"type": "string",
|
|
26190
|
+
"description": "If provided, returns history for this prompt only"
|
|
26128
26191
|
}
|
|
26129
26192
|
},
|
|
26130
26193
|
"required": [],
|
|
26131
|
-
"returns": "Promise<any
|
|
26132
|
-
"examples": [
|
|
26133
|
-
{
|
|
26134
|
-
"language": "ts",
|
|
26135
|
-
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
26136
|
-
}
|
|
26137
|
-
]
|
|
26194
|
+
"returns": "Promise<Record<string, any>>"
|
|
26138
26195
|
},
|
|
26139
|
-
"
|
|
26140
|
-
"description": "Get
|
|
26196
|
+
"getSystemStats": {
|
|
26197
|
+
"description": "Get system stats including GPU memory and queue info.",
|
|
26198
|
+
"parameters": {},
|
|
26199
|
+
"required": [],
|
|
26200
|
+
"returns": "Promise<any>"
|
|
26201
|
+
},
|
|
26202
|
+
"getObjectInfo": {
|
|
26203
|
+
"description": "Get node type info with input/output schemas.",
|
|
26141
26204
|
"parameters": {
|
|
26142
|
-
"
|
|
26205
|
+
"nodeClass": {
|
|
26143
26206
|
"type": "string",
|
|
26144
|
-
"description": "
|
|
26207
|
+
"description": "If provided, returns info for this node type only"
|
|
26145
26208
|
}
|
|
26146
26209
|
},
|
|
26147
|
-
"required": [
|
|
26148
|
-
|
|
26149
|
-
],
|
|
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
|
-
]
|
|
26210
|
+
"required": [],
|
|
26211
|
+
"returns": "Promise<any>"
|
|
26157
26212
|
},
|
|
26158
|
-
"
|
|
26159
|
-
"description": "
|
|
26213
|
+
"interrupt": {
|
|
26214
|
+
"description": "Interrupt the currently executing prompt.",
|
|
26160
26215
|
"parameters": {},
|
|
26161
26216
|
"required": [],
|
|
26162
|
-
"returns": "Promise<
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
|
|
26217
|
+
"returns": "Promise<void>"
|
|
26218
|
+
},
|
|
26219
|
+
"getModels": {
|
|
26220
|
+
"description": "List available models, optionally filtered by type.",
|
|
26221
|
+
"parameters": {
|
|
26222
|
+
"type": {
|
|
26223
|
+
"type": "string",
|
|
26224
|
+
"description": "Model type filter (e.g., 'checkpoints', 'loras')"
|
|
26167
26225
|
}
|
|
26168
|
-
|
|
26226
|
+
},
|
|
26227
|
+
"required": [],
|
|
26228
|
+
"returns": "Promise<string[]>"
|
|
26169
26229
|
},
|
|
26170
|
-
"
|
|
26171
|
-
"description": "
|
|
26230
|
+
"getEmbeddings": {
|
|
26231
|
+
"description": "List available embedding models.",
|
|
26232
|
+
"parameters": {},
|
|
26233
|
+
"required": [],
|
|
26234
|
+
"returns": "Promise<string[]>"
|
|
26235
|
+
},
|
|
26236
|
+
"uploadImage": {
|
|
26237
|
+
"description": "Upload an image to ComfyUI's input directory.",
|
|
26172
26238
|
"parameters": {
|
|
26173
|
-
"
|
|
26239
|
+
"file": {
|
|
26240
|
+
"type": "Buffer | Blob",
|
|
26241
|
+
"description": "The image data as Buffer or Blob"
|
|
26242
|
+
},
|
|
26243
|
+
"filename": {
|
|
26174
26244
|
"type": "string",
|
|
26175
|
-
"description": "
|
|
26245
|
+
"description": "File name for the upload"
|
|
26176
26246
|
},
|
|
26177
|
-
"
|
|
26178
|
-
"type": "
|
|
26179
|
-
"description": "
|
|
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
|
-
}
|
|
26247
|
+
"opts": {
|
|
26248
|
+
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
26249
|
+
"description": "Upload options (subfolder, type, overwrite)"
|
|
26202
26250
|
}
|
|
26203
26251
|
},
|
|
26204
26252
|
"required": [
|
|
26205
|
-
"
|
|
26253
|
+
"file",
|
|
26254
|
+
"filename"
|
|
26206
26255
|
],
|
|
26207
|
-
"returns": "Promise<
|
|
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
|
-
]
|
|
26256
|
+
"returns": "Promise<any>"
|
|
26214
26257
|
},
|
|
26215
|
-
"
|
|
26216
|
-
"description": "
|
|
26258
|
+
"viewImage": {
|
|
26259
|
+
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
26217
26260
|
"parameters": {
|
|
26218
|
-
"
|
|
26261
|
+
"filename": {
|
|
26219
26262
|
"type": "string",
|
|
26220
|
-
"description": "The
|
|
26263
|
+
"description": "The image filename"
|
|
26221
26264
|
},
|
|
26222
|
-
"
|
|
26223
|
-
"type": "
|
|
26224
|
-
"description": "
|
|
26265
|
+
"subfolder": {
|
|
26266
|
+
"type": "any",
|
|
26267
|
+
"description": "Subfolder within the output directory"
|
|
26225
26268
|
},
|
|
26226
|
-
"
|
|
26227
|
-
"type": "
|
|
26228
|
-
"description": "
|
|
26229
|
-
"properties": {
|
|
26230
|
-
"voiceId": {
|
|
26231
|
-
"type": "string",
|
|
26232
|
-
"description": ""
|
|
26233
|
-
},
|
|
26234
|
-
"modelId": {
|
|
26235
|
-
"type": "string",
|
|
26236
|
-
"description": ""
|
|
26237
|
-
},
|
|
26238
|
-
"outputFormat": {
|
|
26239
|
-
"type": "string",
|
|
26240
|
-
"description": ""
|
|
26241
|
-
},
|
|
26242
|
-
"voiceSettings": {
|
|
26243
|
-
"type": "ElevenLabsVoiceSettings",
|
|
26244
|
-
"description": ""
|
|
26245
|
-
},
|
|
26246
|
-
"disableCache": {
|
|
26247
|
-
"type": "boolean",
|
|
26248
|
-
"description": ""
|
|
26249
|
-
}
|
|
26250
|
-
}
|
|
26269
|
+
"type": {
|
|
26270
|
+
"type": "any",
|
|
26271
|
+
"description": "Image type ('output', 'input', 'temp')"
|
|
26251
26272
|
}
|
|
26252
26273
|
},
|
|
26253
26274
|
"required": [
|
|
26254
|
-
"
|
|
26255
|
-
"outputPath"
|
|
26275
|
+
"filename"
|
|
26256
26276
|
],
|
|
26257
|
-
"returns": "Promise<
|
|
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
|
-
]
|
|
26264
|
-
}
|
|
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",
|
|
26276
|
-
"arguments": {}
|
|
26277
|
+
"returns": "Promise<Buffer>"
|
|
26277
26278
|
},
|
|
26278
|
-
"
|
|
26279
|
-
"
|
|
26280
|
-
"
|
|
26281
|
-
"
|
|
26282
|
-
|
|
26283
|
-
"speech": {
|
|
26284
|
-
"name": "speech",
|
|
26285
|
-
"description": "Event emitted by ElevenLabsClient",
|
|
26286
|
-
"arguments": {}
|
|
26287
|
-
}
|
|
26288
|
-
},
|
|
26289
|
-
"state": {},
|
|
26290
|
-
"options": {},
|
|
26291
|
-
"envVars": [],
|
|
26292
|
-
"examples": [
|
|
26293
|
-
{
|
|
26294
|
-
"language": "ts",
|
|
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"
|
|
26296
|
-
}
|
|
26297
|
-
],
|
|
26298
|
-
"types": {
|
|
26299
|
-
"SynthesizeOptions": {
|
|
26300
|
-
"description": "",
|
|
26301
|
-
"properties": {
|
|
26302
|
-
"voiceId": {
|
|
26303
|
-
"type": "string",
|
|
26304
|
-
"description": "",
|
|
26305
|
-
"optional": true
|
|
26306
|
-
},
|
|
26307
|
-
"modelId": {
|
|
26308
|
-
"type": "string",
|
|
26309
|
-
"description": "",
|
|
26310
|
-
"optional": true
|
|
26311
|
-
},
|
|
26312
|
-
"outputFormat": {
|
|
26313
|
-
"type": "string",
|
|
26314
|
-
"description": "",
|
|
26315
|
-
"optional": true
|
|
26316
|
-
},
|
|
26317
|
-
"voiceSettings": {
|
|
26318
|
-
"type": "ElevenLabsVoiceSettings",
|
|
26319
|
-
"description": "",
|
|
26320
|
-
"optional": true
|
|
26321
|
-
},
|
|
26322
|
-
"disableCache": {
|
|
26323
|
-
"type": "boolean",
|
|
26324
|
-
"description": "",
|
|
26325
|
-
"optional": true
|
|
26326
|
-
}
|
|
26327
|
-
}
|
|
26328
|
-
},
|
|
26329
|
-
"ElevenLabsVoiceSettings": {
|
|
26330
|
-
"description": "",
|
|
26331
|
-
"properties": {
|
|
26332
|
-
"stability": {
|
|
26333
|
-
"type": "number",
|
|
26334
|
-
"description": "",
|
|
26335
|
-
"optional": true
|
|
26336
|
-
},
|
|
26337
|
-
"similarityBoost": {
|
|
26338
|
-
"type": "number",
|
|
26339
|
-
"description": "",
|
|
26340
|
-
"optional": true
|
|
26341
|
-
},
|
|
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",
|
|
26354
|
-
"description": "",
|
|
26355
|
-
"optional": true
|
|
26356
|
-
}
|
|
26357
|
-
}
|
|
26358
|
-
}
|
|
26359
|
-
}
|
|
26360
|
-
},
|
|
26361
|
-
{
|
|
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",
|
|
26366
|
-
"methods": {
|
|
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 }>",
|
|
26383
|
-
"examples": [
|
|
26384
|
-
{
|
|
26385
|
-
"language": "ts",
|
|
26386
|
-
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
26387
|
-
}
|
|
26388
|
-
]
|
|
26389
|
-
},
|
|
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.",
|
|
26398
|
-
"parameters": {
|
|
26399
|
-
"promptId": {
|
|
26400
|
-
"type": "string",
|
|
26401
|
-
"description": "If provided, returns history for this prompt only"
|
|
26402
|
-
}
|
|
26403
|
-
},
|
|
26404
|
-
"required": [],
|
|
26405
|
-
"returns": "Promise<Record<string, any>>"
|
|
26406
|
-
},
|
|
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.",
|
|
26415
|
-
"parameters": {
|
|
26416
|
-
"nodeClass": {
|
|
26417
|
-
"type": "string",
|
|
26418
|
-
"description": "If provided, returns info for this node type only"
|
|
26419
|
-
}
|
|
26420
|
-
},
|
|
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')"
|
|
26436
|
-
}
|
|
26437
|
-
},
|
|
26438
|
-
"required": [],
|
|
26439
|
-
"returns": "Promise<string[]>"
|
|
26440
|
-
},
|
|
26441
|
-
"getEmbeddings": {
|
|
26442
|
-
"description": "List available embedding models.",
|
|
26443
|
-
"parameters": {},
|
|
26444
|
-
"required": [],
|
|
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)"
|
|
26461
|
-
}
|
|
26462
|
-
},
|
|
26463
|
-
"required": [
|
|
26464
|
-
"file",
|
|
26465
|
-
"filename"
|
|
26466
|
-
],
|
|
26467
|
-
"returns": "Promise<any>"
|
|
26468
|
-
},
|
|
26469
|
-
"viewImage": {
|
|
26470
|
-
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
26471
|
-
"parameters": {
|
|
26472
|
-
"filename": {
|
|
26473
|
-
"type": "string",
|
|
26474
|
-
"description": "The image filename"
|
|
26475
|
-
},
|
|
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')"
|
|
26483
|
-
}
|
|
26484
|
-
},
|
|
26485
|
-
"required": [
|
|
26486
|
-
"filename"
|
|
26487
|
-
],
|
|
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>"
|
|
26279
|
+
"connectWs": {
|
|
26280
|
+
"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`.",
|
|
26281
|
+
"parameters": {},
|
|
26282
|
+
"required": [],
|
|
26283
|
+
"returns": "Promise<void>"
|
|
26495
26284
|
},
|
|
26496
26285
|
"disconnectWs": {
|
|
26497
26286
|
"description": "Close the WebSocket connection.",
|
|
@@ -26654,6 +26443,269 @@ export const introspectionData = [
|
|
|
26654
26443
|
}
|
|
26655
26444
|
}
|
|
26656
26445
|
},
|
|
26446
|
+
{
|
|
26447
|
+
"id": "clients.elevenlabs",
|
|
26448
|
+
"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.",
|
|
26449
|
+
"shortcut": "clients.elevenlabs",
|
|
26450
|
+
"className": "ElevenLabsClient",
|
|
26451
|
+
"methods": {
|
|
26452
|
+
"beforeRequest": {
|
|
26453
|
+
"description": "Inject the xi-api-key header before each request.",
|
|
26454
|
+
"parameters": {},
|
|
26455
|
+
"required": [],
|
|
26456
|
+
"returns": "void"
|
|
26457
|
+
},
|
|
26458
|
+
"connect": {
|
|
26459
|
+
"description": "Validate the API key by listing available models.",
|
|
26460
|
+
"parameters": {},
|
|
26461
|
+
"required": [],
|
|
26462
|
+
"returns": "Promise<this>",
|
|
26463
|
+
"examples": [
|
|
26464
|
+
{
|
|
26465
|
+
"language": "ts",
|
|
26466
|
+
"code": "await el.connect()"
|
|
26467
|
+
}
|
|
26468
|
+
]
|
|
26469
|
+
},
|
|
26470
|
+
"listVoices": {
|
|
26471
|
+
"description": "List available voices with optional search and filtering.",
|
|
26472
|
+
"parameters": {
|
|
26473
|
+
"options": {
|
|
26474
|
+
"type": "{\n search?: string\n category?: string\n voice_type?: string\n page_size?: number\n next_page_token?: string\n }",
|
|
26475
|
+
"description": "Query parameters for filtering voices"
|
|
26476
|
+
}
|
|
26477
|
+
},
|
|
26478
|
+
"required": [],
|
|
26479
|
+
"returns": "Promise<any>",
|
|
26480
|
+
"examples": [
|
|
26481
|
+
{
|
|
26482
|
+
"language": "ts",
|
|
26483
|
+
"code": "const voices = await el.listVoices()\nconst premade = await el.listVoices({ category: 'premade' })"
|
|
26484
|
+
}
|
|
26485
|
+
]
|
|
26486
|
+
},
|
|
26487
|
+
"getVoice": {
|
|
26488
|
+
"description": "Get details for a single voice.",
|
|
26489
|
+
"parameters": {
|
|
26490
|
+
"voiceId": {
|
|
26491
|
+
"type": "string",
|
|
26492
|
+
"description": "The voice ID to look up"
|
|
26493
|
+
}
|
|
26494
|
+
},
|
|
26495
|
+
"required": [
|
|
26496
|
+
"voiceId"
|
|
26497
|
+
],
|
|
26498
|
+
"returns": "Promise<any>",
|
|
26499
|
+
"examples": [
|
|
26500
|
+
{
|
|
26501
|
+
"language": "ts",
|
|
26502
|
+
"code": "const voice = await el.getVoice('21m00Tcm4TlvDq8ikWAM')\nconsole.log(voice.name, voice.settings)"
|
|
26503
|
+
}
|
|
26504
|
+
]
|
|
26505
|
+
},
|
|
26506
|
+
"listModels": {
|
|
26507
|
+
"description": "List available TTS models.",
|
|
26508
|
+
"parameters": {},
|
|
26509
|
+
"required": [],
|
|
26510
|
+
"returns": "Promise<any[]>",
|
|
26511
|
+
"examples": [
|
|
26512
|
+
{
|
|
26513
|
+
"language": "ts",
|
|
26514
|
+
"code": "const models = await el.listModels()\nconsole.log(models.map(m => m.model_id))"
|
|
26515
|
+
}
|
|
26516
|
+
]
|
|
26517
|
+
},
|
|
26518
|
+
"synthesize": {
|
|
26519
|
+
"description": "Synthesize speech from text, returning audio as a Buffer.",
|
|
26520
|
+
"parameters": {
|
|
26521
|
+
"text": {
|
|
26522
|
+
"type": "string",
|
|
26523
|
+
"description": "The text to convert to speech"
|
|
26524
|
+
},
|
|
26525
|
+
"options": {
|
|
26526
|
+
"type": "SynthesizeOptions",
|
|
26527
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
26528
|
+
"properties": {
|
|
26529
|
+
"voiceId": {
|
|
26530
|
+
"type": "string",
|
|
26531
|
+
"description": ""
|
|
26532
|
+
},
|
|
26533
|
+
"modelId": {
|
|
26534
|
+
"type": "string",
|
|
26535
|
+
"description": ""
|
|
26536
|
+
},
|
|
26537
|
+
"outputFormat": {
|
|
26538
|
+
"type": "string",
|
|
26539
|
+
"description": ""
|
|
26540
|
+
},
|
|
26541
|
+
"voiceSettings": {
|
|
26542
|
+
"type": "ElevenLabsVoiceSettings",
|
|
26543
|
+
"description": ""
|
|
26544
|
+
},
|
|
26545
|
+
"disableCache": {
|
|
26546
|
+
"type": "boolean",
|
|
26547
|
+
"description": ""
|
|
26548
|
+
}
|
|
26549
|
+
}
|
|
26550
|
+
}
|
|
26551
|
+
},
|
|
26552
|
+
"required": [
|
|
26553
|
+
"text"
|
|
26554
|
+
],
|
|
26555
|
+
"returns": "Promise<Buffer>",
|
|
26556
|
+
"examples": [
|
|
26557
|
+
{
|
|
26558
|
+
"language": "ts",
|
|
26559
|
+
"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})"
|
|
26560
|
+
}
|
|
26561
|
+
]
|
|
26562
|
+
},
|
|
26563
|
+
"say": {
|
|
26564
|
+
"description": "Synthesize speech and write the audio to a file.",
|
|
26565
|
+
"parameters": {
|
|
26566
|
+
"text": {
|
|
26567
|
+
"type": "string",
|
|
26568
|
+
"description": "The text to convert to speech"
|
|
26569
|
+
},
|
|
26570
|
+
"outputPath": {
|
|
26571
|
+
"type": "string",
|
|
26572
|
+
"description": "File path to write the audio to"
|
|
26573
|
+
},
|
|
26574
|
+
"options": {
|
|
26575
|
+
"type": "SynthesizeOptions",
|
|
26576
|
+
"description": "Voice, model, format, and voice settings overrides",
|
|
26577
|
+
"properties": {
|
|
26578
|
+
"voiceId": {
|
|
26579
|
+
"type": "string",
|
|
26580
|
+
"description": ""
|
|
26581
|
+
},
|
|
26582
|
+
"modelId": {
|
|
26583
|
+
"type": "string",
|
|
26584
|
+
"description": ""
|
|
26585
|
+
},
|
|
26586
|
+
"outputFormat": {
|
|
26587
|
+
"type": "string",
|
|
26588
|
+
"description": ""
|
|
26589
|
+
},
|
|
26590
|
+
"voiceSettings": {
|
|
26591
|
+
"type": "ElevenLabsVoiceSettings",
|
|
26592
|
+
"description": ""
|
|
26593
|
+
},
|
|
26594
|
+
"disableCache": {
|
|
26595
|
+
"type": "boolean",
|
|
26596
|
+
"description": ""
|
|
26597
|
+
}
|
|
26598
|
+
}
|
|
26599
|
+
}
|
|
26600
|
+
},
|
|
26601
|
+
"required": [
|
|
26602
|
+
"text",
|
|
26603
|
+
"outputPath"
|
|
26604
|
+
],
|
|
26605
|
+
"returns": "Promise<string>",
|
|
26606
|
+
"examples": [
|
|
26607
|
+
{
|
|
26608
|
+
"language": "ts",
|
|
26609
|
+
"code": "const path = await el.say('Hello world', './hello.mp3')\nconsole.log(`Audio saved to ${path}`)"
|
|
26610
|
+
}
|
|
26611
|
+
]
|
|
26612
|
+
}
|
|
26613
|
+
},
|
|
26614
|
+
"getters": {
|
|
26615
|
+
"apiKey": {
|
|
26616
|
+
"description": "The resolved API key from options or environment.",
|
|
26617
|
+
"returns": "string"
|
|
26618
|
+
}
|
|
26619
|
+
},
|
|
26620
|
+
"events": {
|
|
26621
|
+
"failure": {
|
|
26622
|
+
"name": "failure",
|
|
26623
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
26624
|
+
"arguments": {}
|
|
26625
|
+
},
|
|
26626
|
+
"voices": {
|
|
26627
|
+
"name": "voices",
|
|
26628
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
26629
|
+
"arguments": {}
|
|
26630
|
+
},
|
|
26631
|
+
"speech": {
|
|
26632
|
+
"name": "speech",
|
|
26633
|
+
"description": "Event emitted by ElevenLabsClient",
|
|
26634
|
+
"arguments": {}
|
|
26635
|
+
}
|
|
26636
|
+
},
|
|
26637
|
+
"state": {},
|
|
26638
|
+
"options": {},
|
|
26639
|
+
"envVars": [],
|
|
26640
|
+
"examples": [
|
|
26641
|
+
{
|
|
26642
|
+
"language": "ts",
|
|
26643
|
+
"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"
|
|
26644
|
+
}
|
|
26645
|
+
],
|
|
26646
|
+
"types": {
|
|
26647
|
+
"SynthesizeOptions": {
|
|
26648
|
+
"description": "",
|
|
26649
|
+
"properties": {
|
|
26650
|
+
"voiceId": {
|
|
26651
|
+
"type": "string",
|
|
26652
|
+
"description": "",
|
|
26653
|
+
"optional": true
|
|
26654
|
+
},
|
|
26655
|
+
"modelId": {
|
|
26656
|
+
"type": "string",
|
|
26657
|
+
"description": "",
|
|
26658
|
+
"optional": true
|
|
26659
|
+
},
|
|
26660
|
+
"outputFormat": {
|
|
26661
|
+
"type": "string",
|
|
26662
|
+
"description": "",
|
|
26663
|
+
"optional": true
|
|
26664
|
+
},
|
|
26665
|
+
"voiceSettings": {
|
|
26666
|
+
"type": "ElevenLabsVoiceSettings",
|
|
26667
|
+
"description": "",
|
|
26668
|
+
"optional": true
|
|
26669
|
+
},
|
|
26670
|
+
"disableCache": {
|
|
26671
|
+
"type": "boolean",
|
|
26672
|
+
"description": "",
|
|
26673
|
+
"optional": true
|
|
26674
|
+
}
|
|
26675
|
+
}
|
|
26676
|
+
},
|
|
26677
|
+
"ElevenLabsVoiceSettings": {
|
|
26678
|
+
"description": "",
|
|
26679
|
+
"properties": {
|
|
26680
|
+
"stability": {
|
|
26681
|
+
"type": "number",
|
|
26682
|
+
"description": "",
|
|
26683
|
+
"optional": true
|
|
26684
|
+
},
|
|
26685
|
+
"similarityBoost": {
|
|
26686
|
+
"type": "number",
|
|
26687
|
+
"description": "",
|
|
26688
|
+
"optional": true
|
|
26689
|
+
},
|
|
26690
|
+
"style": {
|
|
26691
|
+
"type": "number",
|
|
26692
|
+
"description": "",
|
|
26693
|
+
"optional": true
|
|
26694
|
+
},
|
|
26695
|
+
"speed": {
|
|
26696
|
+
"type": "number",
|
|
26697
|
+
"description": "",
|
|
26698
|
+
"optional": true
|
|
26699
|
+
},
|
|
26700
|
+
"useSpeakerBoost": {
|
|
26701
|
+
"type": "boolean",
|
|
26702
|
+
"description": "",
|
|
26703
|
+
"optional": true
|
|
26704
|
+
}
|
|
26705
|
+
}
|
|
26706
|
+
}
|
|
26707
|
+
}
|
|
26708
|
+
},
|
|
26657
26709
|
{
|
|
26658
26710
|
"id": "servers.mcp",
|
|
26659
26711
|
"description": "MCP (Model Context Protocol) server for exposing tools, resources, and prompts to AI clients like Claude Code. Uses the low-level MCP SDK Server class directly with Zod 4 native JSON Schema conversion. Register tools, resources, and prompts programmatically, then start the server over stdio (for CLI integration) or HTTP (for remote access).",
|