@animastor/installer 0.2.10 → 0.2.11

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest_version": "1.0.0",
3
- "revision": "2026.11.07-r1",
3
+ "revision": "2026.11.12-r1",
4
4
  "status": "ready",
5
5
  "profile": {
6
6
  "id": "audio/qwen-tts",
@@ -10,11 +10,15 @@
10
10
  "provenance": {
11
11
  "workflows": [
12
12
  "tts-qwen-narrator",
13
- "tts-qwen-dialogue"
13
+ "tts-qwen-dialogue",
14
+ "tts-qwen-voice-reference",
15
+ "tts-qwen-voice-transcribe"
14
16
  ],
15
17
  "connectors_backend_only": [
16
18
  "conn-tts-narration",
17
- "conn-tts-dialogue"
19
+ "conn-tts-dialogue",
20
+ "conn-tts-voice-reference",
21
+ "conn-tts-voice-transcribe"
18
22
  ],
19
23
  "sources": [
20
24
  "docs/04-planning/private-worker-installer-dependency-research.md",
@@ -23,10 +27,10 @@
23
27
  "note": "Workflows are the single source of truth for 'required'. Connectors are backend-only execution metadata and are NOT installed. Runtime audits are reference only, never the source of truth."
24
28
  },
25
29
  "hardware": {
26
- "gpu_min_vram_gb": 12,
30
+ "gpu_min_vram_gb": 8,
27
31
  "basis": "minimum_supported",
28
32
  "reference_gpu": "NVIDIA L40S (46068 MiB)",
29
- "derivation": "Estimate, not a measured floor: tts-qwen-dialogue loads both 1.7B repos at once (VoiceDesign + Base: 2 x (3.57 GiB weights + 0.65 GiB speech tokenizer) = ~8.4 GiB) plus activations; 12 GB leaves headroom. Known to run on L40S 46 GB; installed on Tesla V100 (E2E, 2026-10-30). Lower it only after a measured run on a smaller card."
33
+ "derivation": "Estimate, not a measured floor (VOICE_REFERENCES.md): every workflow now loads ONE 1.7B repo — narrator/dialogue the Base model only (voice clone from a locked reference), voice-reference the VoiceDesign model only (3.57 GiB weights + 0.65 GiB speech tokenizer ≈ 4.2 GiB) plus faster-whisper small (≈ 0.5 GiB fp16) and activations; 8 GB leaves headroom. Was 12 GB while the dialogue workflow loaded VoiceDesign + Base together. Known to run on L40S 46 GB; installed on Tesla V100 (E2E, 2026-10-30). Lower it only after a measured run on a smaller card."
30
34
  },
31
35
  "runtime_requirements": {
32
36
  "comfyui": {
@@ -125,20 +129,22 @@
125
129
  "Qwen3TTSVoiceDesign",
126
130
  "Qwen3TTSLoader",
127
131
  "Qwen3TTSVoiceClonePrompt",
132
+ "Qwen3TTSVoiceClone",
128
133
  "Qwen3TTSRoleBank",
129
134
  "Qwen3TTSAdvancedDialogue",
130
- "Qwen3TTSScriptProcessor",
131
- "SaveAudioMP3"
135
+ "Qwen3TTSScriptProcessor"
132
136
  ],
133
137
  "provenance": {
134
138
  "workflows": [
135
139
  "tts-qwen-narrator",
136
- "tts-qwen-dialogue"
140
+ "tts-qwen-dialogue",
141
+ "tts-qwen-voice-reference"
137
142
  ],
138
143
  "evidence": "docs/04-planning/private-worker-installer-dependency-research.md §6.1; audit-2026-08-25.txt [6]"
139
144
  },
140
145
  "notes": [
141
- "SaveAudioMP3 attribution to this package is by elimination (only manager + qwen3-tts installed on the working instance); high confidence, needs /object_info confirmation (open question 5)."
146
+ "SaveAudioMP3 and LoadAudio are ComfyUI CORE nodes (not in nodes.py of this package at 2ee1131) — confirm both via /object_info on the reference fork (open question 5).",
147
+ "qwen-tts (pip) silently ignores `instruct` on the Base clone (0.1.1: kwargs swallowed by model.generate) — the clone copies the delivery of the reference."
142
148
  ]
143
149
  },
144
150
  {
@@ -186,8 +192,7 @@
186
192
  },
187
193
  "provenance": {
188
194
  "workflows": [
189
- "tts-qwen-narrator",
190
- "tts-qwen-dialogue"
195
+ "tts-qwen-voice-reference"
191
196
  ],
192
197
  "node_refs": [
193
198
  "78 Qwen3TTSLoader.model_repo"
@@ -239,6 +244,7 @@
239
244
  },
240
245
  "provenance": {
241
246
  "workflows": [
247
+ "tts-qwen-narrator",
242
248
  "tts-qwen-dialogue"
243
249
  ],
244
250
  "node_refs": [
@@ -246,6 +252,174 @@
246
252
  ]
247
253
  }
248
254
  },
255
+ {
256
+ "id": "custom-node:animastor-voice-ref",
257
+ "kind": "custom_node",
258
+ "name": "animastor-voice-ref",
259
+ "requirement": "required",
260
+ "basis": "known_working",
261
+ "install": {
262
+ "directory": "animastor-voice-ref",
263
+ "source": {
264
+ "kind": "github",
265
+ "repository": "https://github.com/Animastor/animastor-worker",
266
+ "commit": "6a88ad960e47df9fa6e76e4cce5308d9590297c3",
267
+ "subdirectory": "comfyui-nodes/animastor-voice-ref",
268
+ "verification": "confirmed"
269
+ }
270
+ },
271
+ "provides_classes": [
272
+ "SaveAudioAnimastorReference"
273
+ ],
274
+ "python_requirements": [
275
+ "faster-whisper==1.2.1",
276
+ "ctranslate2==4.6.0"
277
+ ],
278
+ "provenance": {
279
+ "workflows": [
280
+ "tts-qwen-voice-reference",
281
+ "tts-qwen-voice-transcribe"
282
+ ],
283
+ "evidence": "animastor-worker comfyui-nodes/animastor-voice-ref (MIT); animastor-docs architecture/VOICE_REFERENCES.md"
284
+ },
285
+ "notes": [
286
+ "Needs the ffmpeg binary on PATH (normalisation to WAV pcm_s16le mono 24 kHz).",
287
+ "faster-whisper device=auto: CUDA float16, else CPU int8 (recorded in the candidate metadata). The ctranslate2 4.6.0 CUDA path on a V100 (sm_70) is NOT verified yet — live check step in reports/2026-11-12/voice-references.md.",
288
+ "Installed from a SUBDIRECTORY of the repository (install.source.subdirectory); the installer writes .animastor-source.json (repository + commit) into the node folder so the pinned version stays verifiable."
289
+ ]
290
+ },
291
+ {
292
+ "id": "model:audio.whisper.faster-whisper-small.config-json",
293
+ "kind": "model",
294
+ "name": "faster-whisper-small/config.json",
295
+ "filename": "config.json",
296
+ "target_dir": "models/whisper/faster-whisper-small",
297
+ "requirement": "required",
298
+ "basis": "known_working",
299
+ "size_bytes_approx": 2370,
300
+ "checksum": {
301
+ "algo": "sha256",
302
+ "value": "b55496ac7940a7ae47d2c01eab40edfd8701feec1229d9cce3b40014383fb828"
303
+ },
304
+ "source": {
305
+ "kind": "huggingface",
306
+ "repository": "Systran/faster-whisper-small",
307
+ "file_path": "config.json",
308
+ "revision": "536b0662742c02347bc0e980a01041f333bce120",
309
+ "gated": false,
310
+ "verification": "confirmed",
311
+ "verified_at": "2026-11-12",
312
+ "download_url": "https://huggingface.co/Systran/faster-whisper-small/resolve/536b0662742c02347bc0e980a01041f333bce120/config.json"
313
+ },
314
+ "provenance": {
315
+ "workflows": [
316
+ "tts-qwen-voice-reference",
317
+ "tts-qwen-voice-transcribe"
318
+ ],
319
+ "node_refs": [
320
+ "1009 SaveAudioAnimastorReference.whisper_model=small"
321
+ ]
322
+ }
323
+ },
324
+ {
325
+ "id": "model:audio.whisper.faster-whisper-small.model-bin",
326
+ "kind": "model",
327
+ "name": "faster-whisper-small/model.bin",
328
+ "filename": "model.bin",
329
+ "target_dir": "models/whisper/faster-whisper-small",
330
+ "requirement": "required",
331
+ "basis": "known_working",
332
+ "size_bytes_approx": 483546902,
333
+ "checksum": {
334
+ "algo": "sha256",
335
+ "value": "3e305921506d8872816023e4c273e75d2419fb89b24da97b4fe7bce14170d671"
336
+ },
337
+ "source": {
338
+ "kind": "huggingface",
339
+ "repository": "Systran/faster-whisper-small",
340
+ "file_path": "model.bin",
341
+ "revision": "536b0662742c02347bc0e980a01041f333bce120",
342
+ "gated": false,
343
+ "verification": "confirmed",
344
+ "verified_at": "2026-11-12",
345
+ "download_url": "https://huggingface.co/Systran/faster-whisper-small/resolve/536b0662742c02347bc0e980a01041f333bce120/model.bin"
346
+ },
347
+ "provenance": {
348
+ "workflows": [
349
+ "tts-qwen-voice-reference",
350
+ "tts-qwen-voice-transcribe"
351
+ ],
352
+ "node_refs": [
353
+ "1009 SaveAudioAnimastorReference.whisper_model=small"
354
+ ]
355
+ }
356
+ },
357
+ {
358
+ "id": "model:audio.whisper.faster-whisper-small.tokenizer-json",
359
+ "kind": "model",
360
+ "name": "faster-whisper-small/tokenizer.json",
361
+ "filename": "tokenizer.json",
362
+ "target_dir": "models/whisper/faster-whisper-small",
363
+ "requirement": "required",
364
+ "basis": "known_working",
365
+ "size_bytes_approx": 2203239,
366
+ "checksum": {
367
+ "algo": "sha256",
368
+ "value": "fb7b63191e9bb045082c79fd742a3106a12c99513ab30df4a0d47fa6cb6fd0ab"
369
+ },
370
+ "source": {
371
+ "kind": "huggingface",
372
+ "repository": "Systran/faster-whisper-small",
373
+ "file_path": "tokenizer.json",
374
+ "revision": "536b0662742c02347bc0e980a01041f333bce120",
375
+ "gated": false,
376
+ "verification": "confirmed",
377
+ "verified_at": "2026-11-12",
378
+ "download_url": "https://huggingface.co/Systran/faster-whisper-small/resolve/536b0662742c02347bc0e980a01041f333bce120/tokenizer.json"
379
+ },
380
+ "provenance": {
381
+ "workflows": [
382
+ "tts-qwen-voice-reference",
383
+ "tts-qwen-voice-transcribe"
384
+ ],
385
+ "node_refs": [
386
+ "1009 SaveAudioAnimastorReference.whisper_model=small"
387
+ ]
388
+ }
389
+ },
390
+ {
391
+ "id": "model:audio.whisper.faster-whisper-small.vocabulary-txt",
392
+ "kind": "model",
393
+ "name": "faster-whisper-small/vocabulary.txt",
394
+ "filename": "vocabulary.txt",
395
+ "target_dir": "models/whisper/faster-whisper-small",
396
+ "requirement": "required",
397
+ "basis": "known_working",
398
+ "size_bytes_approx": 459861,
399
+ "checksum": {
400
+ "algo": "sha256",
401
+ "value": "34ce3fe1c5041027b3f8d42912270993f986dbc4bb34cf27f951e34a1e453913"
402
+ },
403
+ "source": {
404
+ "kind": "huggingface",
405
+ "repository": "Systran/faster-whisper-small",
406
+ "file_path": "vocabulary.txt",
407
+ "revision": "536b0662742c02347bc0e980a01041f333bce120",
408
+ "gated": false,
409
+ "verification": "confirmed",
410
+ "verified_at": "2026-11-12",
411
+ "download_url": "https://huggingface.co/Systran/faster-whisper-small/resolve/536b0662742c02347bc0e980a01041f333bce120/vocabulary.txt"
412
+ },
413
+ "provenance": {
414
+ "workflows": [
415
+ "tts-qwen-voice-reference",
416
+ "tts-qwen-voice-transcribe"
417
+ ],
418
+ "node_refs": [
419
+ "1009 SaveAudioAnimastorReference.whisper_model=small"
420
+ ]
421
+ }
422
+ },
249
423
  {
250
424
  "id": "custom-node:comfyui-manager",
251
425
  "kind": "custom_node",
@@ -278,13 +452,13 @@
278
452
  "artifacts": [
279
453
  {
280
454
  "id": "workflow:tts-qwen-narrator",
281
- "name": "Qwen TTS narrator",
455
+ "name": "Qwen TTS narrator (voice clone)",
282
456
  "filename": "tts-qwen-narrator.json",
283
457
  "requirement": "optional",
284
458
  "basis": "optional",
285
459
  "editable": true,
286
460
  "target_dir": "user/default/workflows/animastor/audio",
287
- "baseline_sha256": "87180aee01288be6e23240b2d873ce2d451f63cf404dec331a3b221bb9f8b8c1",
461
+ "baseline_sha256": "3c99707a3e78c2432bcbd6ec7be3dc8638c636185c79eabb732d671768ac561e",
288
462
  "source": {
289
463
  "kind": "animastor",
290
464
  "repository_path": "backend/ai/workflows/tts-qwen-narrator.json",
@@ -298,18 +472,18 @@
298
472
  "evidence": "backend/ai/workflows/tts-qwen-narrator.json (production workflow)"
299
473
  },
300
474
  "notes": [
301
- "sha256 of the canonical production workflow file in this repository (computed 2026-08-26); a differing hash on the target machine means the user customized it — that is allowed"
475
+ "sha256 of the canonical production workflow file in this repository (computed 2026-11-12); a differing hash on the target machine means the user customized it — that is allowed"
302
476
  ]
303
477
  },
304
478
  {
305
479
  "id": "workflow:tts-qwen-dialogue",
306
- "name": "Qwen TTS dialogue",
480
+ "name": "Qwen TTS dialogue (voice clone)",
307
481
  "filename": "tts-qwen-dialogue.json",
308
482
  "requirement": "optional",
309
483
  "basis": "optional",
310
484
  "editable": true,
311
485
  "target_dir": "user/default/workflows/animastor/audio",
312
- "baseline_sha256": "7dcdc6997d36aaeb1a54e1578c69f0c534be29698c7a7b48813f637c740e69db",
486
+ "baseline_sha256": "48db08cfcad19c25fd8bbb8d17e0cd0324a20afd012bcdeb085f5f672d5672da",
313
487
  "source": {
314
488
  "kind": "animastor",
315
489
  "repository_path": "backend/ai/workflows/tts-qwen-dialogue.json",
@@ -323,7 +497,57 @@
323
497
  "evidence": "backend/ai/workflows/tts-qwen-dialogue.json (production workflow)"
324
498
  },
325
499
  "notes": [
326
- "sha256 of the canonical production workflow file in this repository (computed 2026-08-26); a differing hash on the target machine means the user customized it — that is allowed"
500
+ "sha256 of the canonical production workflow file in this repository (computed 2026-11-12); a differing hash on the target machine means the user customized it — that is allowed"
501
+ ]
502
+ },
503
+ {
504
+ "id": "workflow:tts-qwen-voice-reference",
505
+ "name": "Qwen voice reference candidate",
506
+ "filename": "tts-qwen-voice-reference.json",
507
+ "requirement": "optional",
508
+ "basis": "optional",
509
+ "editable": true,
510
+ "target_dir": "user/default/workflows/animastor/audio",
511
+ "baseline_sha256": "f2df67267445bbf48df60dbd8219ef70b3c7db1ab808d99fadff33275392ef9e",
512
+ "source": {
513
+ "kind": "animastor",
514
+ "repository_path": "backend/ai/workflows/tts-qwen-voice-reference.json",
515
+ "endpoint": "GET {HUB_URL}/workflow/tts-qwen-voice-reference",
516
+ "verification": "confirmed"
517
+ },
518
+ "provenance": {
519
+ "workflows": [
520
+ "tts-qwen-voice-reference"
521
+ ],
522
+ "evidence": "backend/ai/workflows/tts-qwen-voice-reference.json (production workflow)"
523
+ },
524
+ "notes": [
525
+ "sha256 of the canonical production workflow file in this repository (computed 2026-11-12); a differing hash on the target machine means the user customized it — that is allowed"
526
+ ]
527
+ },
528
+ {
529
+ "id": "workflow:tts-qwen-voice-transcribe",
530
+ "name": "Uploaded voice sample → reference",
531
+ "filename": "tts-qwen-voice-transcribe.json",
532
+ "requirement": "optional",
533
+ "basis": "optional",
534
+ "editable": true,
535
+ "target_dir": "user/default/workflows/animastor/audio",
536
+ "baseline_sha256": "4df13e1d914cdac97fb552802fb0ccdfedb3926f0fe3a1333a8e1539dd2cb12b",
537
+ "source": {
538
+ "kind": "animastor",
539
+ "repository_path": "backend/ai/workflows/tts-qwen-voice-transcribe.json",
540
+ "endpoint": "GET {HUB_URL}/workflow/tts-qwen-voice-transcribe",
541
+ "verification": "confirmed"
542
+ },
543
+ "provenance": {
544
+ "workflows": [
545
+ "tts-qwen-voice-transcribe"
546
+ ],
547
+ "evidence": "backend/ai/workflows/tts-qwen-voice-transcribe.json (production workflow)"
548
+ },
549
+ "notes": [
550
+ "sha256 of the canonical production workflow file in this repository (computed 2026-11-12); a differing hash on the target machine means the user customized it — that is allowed"
327
551
  ]
328
552
  }
329
553
  ]
@@ -432,14 +656,17 @@
432
656
  }
433
657
  ],
434
658
  "disk_budget": {
435
- "models_bytes_approx": 9052587295,
436
- "note": "≈8.4 GiB of models (audit [5]) plus ComfyUI + venv overhead. Approximate: derived from human-readable audit sizes."
659
+ "models_bytes_approx": 9538799667,
660
+ "note": "≈8.4 GiB Qwen3-TTS repos (audit [5]) + 0.46 GiB faster-whisper small, plus ComfyUI + venv overhead. Approximate."
437
661
  },
438
662
  "open_questions": [
439
663
  "D1: canonical ComfyUI pin — fork c4cfee7 (known-working reference) vs official v0.27.0; golden run required",
440
664
  "D1: canonical torch/CUDA tier — cu128 reference vs cu124",
441
665
  "Open question 5: confirm SaveAudioMP3 belongs to ComfyUI-Qwen3-TTS via /object_info",
442
666
  "Open question 8: ComfyUI-Manager inclusion (D7)",
443
- "Open question 12: minimum VRAM is an estimate (12 GB, hardware.derivation) — measure on a smaller card"
667
+ "Open question 12: minimum VRAM is an estimate (12 GB, hardware.derivation) — measure on a smaller card",
668
+ "VOICE_REFERENCES: confirm LoadAudio (core) on the reference fork c4cfee7 via /object_info",
669
+ "VOICE_REFERENCES: ctranslate2 4.6.0 CUDA path on Tesla V100 (sm_70) — measure; CPU int8 fallback is automatic",
670
+ "VOICE_REFERENCES: qwen-tts pip version on the worker (`pip show qwen-tts`)"
444
671
  ]
445
672
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animastor/installer",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Animastor Private GPU Worker installer — self-contained CLI and library for GPU worker setup, verification, and management.",
5
5
  "main": "src/installer/index.js",
6
6
  "exports": {
@@ -58,6 +58,9 @@ function pipInstallRequirements(io, { root, reqPath, python, torchSpec, log = nu
58
58
  * retry a broken deps state would never heal).
59
59
  * @returns {{ status: 'installed'|'blocked'|'failed', origin?, reason?, directory? }}
60
60
  */
61
+ /** marker written into a node installed from a repository subdirectory (probe reads it) */
62
+ const SOURCE_MARKER = '.animastor-source.json';
63
+
61
64
  function installCustomNode(io, { root, dep, python = null, torchSpec = null, retryDeps = false, log = null }) {
62
65
  const src = (dep.install && dep.install.source) || {};
63
66
  const dirName = (dep.install && dep.install.directory) || dep.name;
@@ -84,15 +87,51 @@ function installCustomNode(io, { root, dep, python = null, torchSpec = null, ret
84
87
  return { status: 'installed', origin: 'pre-existing', directory: dirName, reason: 'already present — kept as-is' };
85
88
  }
86
89
 
87
- let r = io.exec('git', ['clone', src.repository, target]);
88
- if (r.code !== 0) {
89
- return { status: 'failed', reason: `git clone ${src.repository} failed: ${String(r.stderr || r.error).slice(-300)}` };
90
- }
91
-
92
- if (src.commit) {
93
- r = io.exec('git', ['-C', target, 'checkout', src.commit]);
90
+ if (src.subdirectory) {
91
+ // 0.2.11 — a node that lives in a SUBDIRECTORY of a repository (e.g.
92
+ // animastor-worker/comfyui-nodes/animastor-voice-ref): clone OUTSIDE
93
+ // custom_nodes (ComfyUI would load the whole checkout as a node),
94
+ // check out the pin, copy the subdirectory, record the source.
95
+ const sub = String(src.subdirectory);
96
+ if (path.isAbsolute(sub) || sub.split(/[\\/]/).includes('..')) {
97
+ return { status: 'blocked', reason: `bad subdirectory ${JSON.stringify(sub)} for ${dep.id}` };
98
+ }
99
+ if (!src.commit) {
100
+ return { status: 'blocked', reason: `${dep.id}: a subdirectory source needs a pinned commit` };
101
+ }
102
+ const staging = path.join(root, '.animastor-node-sources', dirName);
103
+ io.fs.rmSync(staging, { recursive: true, force: true });
104
+ io.fs.mkdirSync(path.dirname(staging), { recursive: true });
105
+ let c = io.exec('git', ['clone', src.repository, staging]);
106
+ if (c.code !== 0) {
107
+ io.fs.rmSync(staging, { recursive: true, force: true });
108
+ return { status: 'failed', reason: `git clone ${src.repository} failed: ${String(c.stderr || c.error).slice(-300)}` };
109
+ }
110
+ c = io.exec('git', ['-C', staging, 'checkout', src.commit]);
111
+ if (c.code !== 0) {
112
+ io.fs.rmSync(staging, { recursive: true, force: true });
113
+ return { status: 'failed', reason: `git checkout ${src.commit} failed: ${String(c.stderr).slice(-300)}` };
114
+ }
115
+ const from = path.join(staging, sub);
116
+ if (!io.fs.isDirectory(from)) {
117
+ io.fs.rmSync(staging, { recursive: true, force: true });
118
+ return { status: 'failed', reason: `subdirectory ${sub} not found in ${src.repository}@${src.commit}` };
119
+ }
120
+ c = io.exec('cp', ['-a', from, target]);
121
+ io.fs.rmSync(staging, { recursive: true, force: true });
122
+ if (c.code !== 0) return { status: 'failed', reason: `copy of ${sub} failed: ${String(c.stderr || c.error).slice(-300)}` };
123
+ io.fs.writeFileSync(path.join(target, SOURCE_MARKER), JSON.stringify({ repository: src.repository, commit: src.commit, subdirectory: sub }, null, 2) + '\n');
124
+ } else {
125
+ let r = io.exec('git', ['clone', src.repository, target]);
94
126
  if (r.code !== 0) {
95
- return { status: 'failed', reason: `git checkout ${src.commit} failed: ${String(r.stderr).slice(-300)}` };
127
+ return { status: 'failed', reason: `git clone ${src.repository} failed: ${String(r.stderr || r.error).slice(-300)}` };
128
+ }
129
+
130
+ if (src.commit) {
131
+ r = io.exec('git', ['-C', target, 'checkout', src.commit]);
132
+ if (r.code !== 0) {
133
+ return { status: 'failed', reason: `git checkout ${src.commit} failed: ${String(r.stderr).slice(-300)}` };
134
+ }
96
135
  }
97
136
  }
98
137
 
@@ -87,7 +87,17 @@ function probeCuda(io) {
87
87
  }
88
88
 
89
89
  function gitInfo(io, dir) {
90
- if (!io.fs.isDirectory(path.join(dir, '.git'))) return null;
90
+ if (!io.fs.isDirectory(path.join(dir, '.git'))) {
91
+ // 0.2.11: a node copied from a repository subdirectory carries its source
92
+ // in .animastor-source.json (engine/nodes.js) — the pin stays verifiable
93
+ const marker = path.join(dir, '.animastor-source.json');
94
+ if (!io.fs.existsSync(marker)) return null;
95
+ try {
96
+ const m = JSON.parse(io.fs.readFileSync(marker, 'utf8'));
97
+ if (m && typeof m.repository === 'string' && typeof m.commit === 'string') return { repository: m.repository, commit: m.commit, tag: null };
98
+ } catch (_) { /* unreadable marker → plain directory */ }
99
+ return null;
100
+ }
91
101
  const remote = io.exec('git', ['-C', dir, 'remote', 'get-url', 'origin']);
92
102
  const head = io.exec('git', ['-C', dir, 'rev-parse', 'HEAD']);
93
103
  const tag = io.exec('git', ['-C', dir, 'describe', '--tags', '--exact-match']);
@@ -599,6 +609,7 @@ module.exports = {
599
609
  probeNvidiaGpu,
600
610
  probeAmdGpu,
601
611
  probeComfyui,
612
+ probeCustomNodes,
602
613
  probeWorker,
603
614
  parseEnvKeys,
604
615
  renderDetection,