diff --git a/docs/plans/2026-04-19-comfyui-node-pack-implementation.md b/docs/plans/2026-04-19-comfyui-node-pack-implementation.md new file mode 100644 index 0000000..e837ebd --- /dev/null +++ b/docs/plans/2026-04-19-comfyui-node-pack-implementation.md @@ -0,0 +1,1041 @@ +# ComfyUI-8cut Node Pack Implementation Plan + +> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. + +**Goal:** Build a ComfyUI node pack that ports 8-cut's video scan/review/train/export workflow to a browser-based interface, using file paths instead of image tensors. + +**Architecture:** 5 nodes (LoadVideo, AudioScan, VideoReview, TrainModel, ExportClips) passing custom types (`VIDEO_PATH`, `SCAN_REGIONS`, `SCAN_MODEL`). The interactive VideoReview node uses ComfyUI's `ExecutionBlocker` for a two-pass flow: first pass sends data to the frontend widget, second pass (after user clicks Continue) passes edited regions downstream. The `8-cut/core/` package is reused unchanged. + +**Tech Stack:** ComfyUI (LiteGraph.js frontend, aiohttp server), Python 3.12, HTML5 `