HEL-892: add source-bound reverse-video Chinese reference document

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 18:37:43 +08:00
co-authored by multica-agent
parent ab18cd31a3
commit dcfbf7fe19
79 changed files with 29644 additions and 12 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,24 @@
{
"total": 155,
"audit_scope": "current_delivery",
"source_files": 156,
"target_files": 155,
"user_excluded": 1,
"source_structure_purpose_partially_reviewed": 155,
"full_documents_completed": 0,
"files_with_selected_named_fields_reviewed": 41,
"selected_named_fields_reviewed": 1217,
"real_executions": 0,
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"named_values_preserved": 1217,
"unnamed_widget_nodes": 3660,
"semantic_batch_files": 139,
"semantic_batch_without_named_fields": 114,
"semantic_batch_named_fields": 490,
"named_values_without_manual_field_review": 0,
"named_values_without_verified_units_ranges_effects": 1217,
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
}
@@ -0,0 +1,728 @@
{
"base": "ab18cd31a370785b104ec5c65d1b3303215e93a5",
"files": [
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/routers/workflows.py",
"sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97"
},
{
"path": "calliope-backend/src/calliope/queue/worker.py",
"sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b"
},
{
"path": "docs/hel-892/h3-chain-evidence/library.json",
"sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4"
},
{
"path": "docs/hel-892/media-evidence/protected-six-cases.json",
"sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
}
],
"originals": 163,
"old_seventeen_blocks_unchanged": true,
"drawer_css_unchanged": true,
"drawer_whole_file_unchanged": true,
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
"conversion_rerun": false,
"profiles_28_candidates_9_diffs_6": "unchanged"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,4 @@
Building source distribution...
Building wheel from source distribution...
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
@@ -0,0 +1,574 @@
"""Static Chinese editorial document; no upstream imports or media access."""
from __future__ import annotations
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
PATHS = [
(
"example_ComfyUI_workflows/0-"
"基础处理:图像合并-音频分离-视频截取合并-图像视频放大"
"/视频倒放.json"
)
]
def canonical(value):
return json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
def build(index=0):
path = PATHS[index]
raw = (REPO / path).read_bytes()
graph = json.loads(raw)
base = OUT.parent / "reverse-reference"
entries = json.loads((base / "sources.json").read_bytes())["sources"]
refs = []
def ref(key, file, first, last, claim):
e = next(e for e in entries if e["id"] == key and e["file"] == file)
data = (base / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
assert 1 <= first <= last <= len(data.decode().splitlines())
refs.append(
{
**e,
"local_file": "../reverse-reference/" + e["local_file"],
"lines": [first, last],
"claim": claim,
}
)
return len(refs) - 1
kj = ref(
"kj",
"nodes/image_nodes.py",
2205,
2224,
"仅torch.flip图像批次第0维;无音频输入,无保存控件",
)
kjreg = ref("kj", "__init__.py", 1, 110, "image_nodes导入与ReverseImageBatch注册")
core = ref(
"core", "nodes.py", 1561, 1630, "PreviewImage继承SaveImage、空RETURN_TYPES、临时PNG写入"
)
corereg = ref("core", "nodes.py", 1966, 1966, "PreviewImage真实注册")
load = ref(
"vhs",
"videohelpersuite/load_video_nodes.py",
423,
473,
"上传目录枚举、schema/输出槽/路径验证",
)
sampling = ref(
"vhs",
"videohelpersuite/load_video_nodes.py",
24,
168,
"格式表、尺寸对齐、重采样/跳帧/抽帧/帧数上限",
)
loadrun = ref(
"vhs",
"videohelpersuite/load_video_nodes.py",
293,
420,
"内存限制、VAE/格式条件、懒音频裁切及返回",
)
audio = ref(
"vhs", "videohelpersuite/utils.py", 207, 252, "懒音频首次访问时ffmpeg提取;未访问不加载"
)
utils = ref("vhs", "videohelpersuite/utils.py", 20, 56, "BIGMAX/DIMMAX与floatOrInt类型")
combine = ref(
"vhs", "videohelpersuite/nodes.py", 234, 340, "合成schema、可选输入、输出目录选择"
)
formats = ref("vhs", "videohelpersuite/nodes.py", 45, 135, "格式动态枚举/额外控件默认/模板替换")
combinewrite = ref(
"vhs", "videohelpersuite/nodes.py", 340, 394, "首帧workflow PNG写入与保存目录条件"
)
combineloop = ref("vhs", "videohelpersuite/nodes.py", 441, 494, "pingpong/循环/FFmpeg帧率参数")
mux = ref(
"vhs",
"videohelpersuite/nodes.py",
558,
625,
"可用音频才混流;trim控制apad、shortest、返回历史预览",
)
metadata = ref(
"vhs", "videohelpersuite/nodes.py", 140, 163, "save_metadata条件写临时元数据并交FFmpeg"
)
vhsreg = ref(
"vhs", "videohelpersuite/nodes.py", 1023, 1030, "VHS_LoadVideo和VHS_VideoCombine真实注册"
)
vhsinit = ref("vhs", "__init__.py", 1, 9, "包注册入口与WEB_DIRECTORY")
fmt = ref(
"vhs", "video_formats/h264-mp4.json", 1, 15, "h264-mp4编码器/像素格式/CRF/元数据/裁切默认"
)
restore = ref(
"vhs", "web/js/VHS.core.js", 41, 168, "按键恢复/回调,序列化全部控件值;不等于实际运行输入"
)
loadformat = ref(
"vhs", "web/js/VHS.core.js", 648, 720, "加载format动态回调、reset条件及控件选项调整"
)
upload = ref(
"vhs", "web/js/VHS.core.js", 721, 824, "上传按钮值/回调与video引用分离,不当服务端参数"
)
fmtjs = ref("vhs", "web/js/VHS.core.js", 1222, 1282, "合成格式回调动态重建编码控件")
previewjs = ref(
"vhs", "web/js/VHS.core.js", 915, 970, "历史videopreview控件状态;本轮仅纯文本,不请求媒体"
)
for key, file in [("kj", "LICENSE"), ("core", "LICENSE"), ("vhs", "LICENSE")]:
e = next(e for e in entries if e["id"] == key and e["file"] == file)
ref(
key,
file,
1,
len((base / e["local_file"]).read_text().splitlines()),
"该准确版本许可原文,未安装或执行上游",
)
specs = {}
def spec(cls, name, label, typ, default, unit, limits, effect, evidence, role="scalar"):
specs[cls, name] = dict(
field=name,
label=label,
type=typ,
schema_default=default,
unit=unit,
limits=limits,
effect=effect,
evidence=evidence,
role=role,
)
load_specs = [
(
"video",
"输入视频文件引用",
"COMBO",
"input目录视频动态枚举,无固定默认",
"文件名",
"webm/mp4/mkv/gif/mov;实际目录列表未知",
("保存WanVideo_InfiniteTalk_00004-audio.mp4,仅引用名;未读文件,-audio不证明有音轨。"),
),
(
"force_rate",
"强制加载采样帧率",
"FLOAT/INT(floatOrInt)",
"0",
"帧/秒",
"0~60,step1,0不强制",
(
"源JSON int=16;加载采样时间设为1/16,并非原片真实帧率。"
"合成也保存16,仍不证明音画同步。"
),
),
(
"custom_width",
"自定义加载宽度",
"INT",
"0",
"像素",
"0~8192;0不指定,受格式dim影响",
"源0;两宽高均0先取素材尺寸,但AnimateDiff按8倍数近似对齐,不保证原尺寸或输出宽度。",
),
(
"custom_height",
"自定义加载高度",
"INT",
"0",
"像素",
"0~8192;0不指定,单边指定则按比例算另一边",
"源0;与宽度/格式共同计算并按dim对齐;实际素材尺寸未读取。",
),
(
"frame_load_cap",
"加载帧数上限",
"INT",
"0",
"帧",
"0~2**53-1,step1;0不设此上限",
"源0不设控件帧数上限,仍受素材、可用内存及格式约束,不是零帧或保证全片成功。",
),
(
"skip_first_frames",
"跳过起始采样帧",
"INT",
"0",
"采样帧",
"0~2**53-1,step1",
"源0不跳过;源码按采样后的计数判定,懒音频起点为skip乘target_frame_time,不当原始帧索引。",
),
(
"select_every_nth",
"间隔抽取采样帧",
"INT",
"1",
"采样间隔",
"1~2**53-1,step1",
"源1保留每个采样位置;大于1才间隔取帧,音频裁切时长和loaded_fps有对应计算,不反转声音。",
),
(
"format",
"加载格式约束",
"COMBO",
"AnimateDiff",
"格式名",
("内置None/AnimateDiff/Mochi/LTXV/Hunyuan/Cosmos/Wan及外部扩展;目标动态列表未知"),
(
"保存AnimateDiff,固定内置target_rate8、dim=(8,"
"0,512,512),无frames约束。Python使用dim,不直接将f"
"orce_rate改8;JS回调有条件reset,不能据此重写保存16/0/"
"0。"
),
),
]
for name, label, typ, default, unit, limits, effect in load_specs:
spec(
"VHS_LoadVideo",
name,
label,
typ,
default,
unit,
limits,
effect,
[load, sampling, loadrun, audio, utils, restore, loadformat, vhsreg, vhsinit],
)
spec(
"VHS_LoadVideo",
"choose video to upload",
"前端上传选择保存状态",
"前端按钮状态",
"按钮初值image",
"前端状态",
"不在服务端INPUT_TYPES;不等于已上传文件",
(
"原值image是按钮初值,options.serialize=false但包"
"内useKVState仍遍历所有w.value保存;恢复按键时跳过butto"
"n。与video文件名分开,不当运行输入,未点击上传或读取媒体。"
),
[upload, restore, load],
"frontend_control",
)
combine_specs = [
(
"frame_rate",
"合成播放帧率",
"FLOAT/INT(floatOrInt)",
"8",
"帧/秒",
"min1,step1,schema无max",
(
"源JSON int=16,无FPS外线。FFmpeg原始画面输入以此-r编码;"
"不证明原片FPS或与直连声音同步。"
),
),
(
"loop_count",
"合成画面循环次数",
"INT",
"0",
"次数",
"0~100,step1",
"源0,视频分支不追加loop滤镜;不套GIF的循环语义,实际时长未知。",
),
(
"filename_prefix",
"输出文件名前缀",
"STRING",
"AnimateDiff",
"相对前缀",
"由folder_paths路径规则及计数决定;实际目录权限未知",
"源video/ComfyUI,save_output=true时在输出目录下分配名称,非历史E盘路径绑定。",
),
(
"format",
"合成编码格式",
"COMBO",
"schema首项image/gif;函数缺省image/gif",
"格式名",
"image/gif、image/webp和动态video格式列表",
(
"源video/h264-mp4采用包内libx264/A"
"AC mp4规则;动态回调产生pix_fmt/crf等额"
"外项,不证明目标编码器存在。"
),
),
(
"pix_fmt",
"编码像素格式",
"COMBO",
"首项yuv420p",
"编码格式",
"yuv420p/yuv420p10le",
"源yuv420p,传给libx264的-pix_fmt,颜色变换按包内bt709滤镜,实际画质未知。",
),
(
"crf",
"H264质量控制数值",
"INT",
"19",
"CRF数值",
"schema 0~100,step1;编码器接受范围/效果仍需环境验证",
"源19传-crf;通常调节质量/体积,但不把schema上限当目标libx264有效范围或效果承诺。",
),
(
"save_metadata",
"保存编码元数据",
"BOOLEAN",
"true",
"布尔",
"true/false;格式模板与FFmpeg分支条件",
(
"源true,格式模板转字符串True启用临时metadata.txt及编码元"
"数据。首帧workflow PNG另受VHS_MetadataImage控制"
",不能把两个开关混同。"
),
),
(
"trim_to_audio",
"合成时按音频裁切开关",
"BOOLEAN",
"false",
"布尔",
"仅有可取waveform且走视频音频混流分支时生效",
(
"源false不是关闭音频;固定实现保留apad=whole_dur(画面时长"
"+1)并用-shortest。true移除apad。音轨不存在/提取失败可能"
"跳过混流,未验证实际同步。"
),
),
(
"pingpong",
"合成往返帧序开关",
"BOOLEAN",
"false",
"布尔",
"true/false;视频meta_batch旁路条件另有限制",
"源false不在合成器追加往返帧,但上游Reverse20已经倒序,不能称画面没有反向。",
),
(
"save_output",
"合成保存目录选择",
"BOOLEAN",
"true",
"布尔",
"true输出目录,false临时目录;均可能写文件",
(
"源true选择output目录;会产生视频并可能写首帧workflow PN"
"G、临时元数据,有音频可另写-audio文件。当前仅GET浏览,没有图执行文"
"件副作用。"
),
),
]
for name, label, typ, default, unit, limits, effect in combine_specs:
spec(
"VHS_VideoCombine",
name,
label,
typ,
default,
unit,
limits,
effect,
[combine, formats, fmt, combinewrite, combineloop, mux, metadata, fmtjs, restore],
)
for cls in ["VHS_LoadVideo", "VHS_VideoCombine"]:
spec(
cls,
"videopreview",
"历史视频预览完整对象",
"前端历史状态",
"无服务端默认",
"结构对象",
"嵌套值和JSON类型原样;不递归计入保存位置",
(
"原hidden/paused/params完整保留,仅历史缓存。DOM控件s"
"erialize=false但包内useKVState仍保存w.value;"
"合成缓存的E盘fullpath、16fps、workflow PNG和-au"
"dio文件名不是当前产物/音轨证明;加载缓存同样不是实际参数执行证据。不读盘"
"、不请求api/view或媒体。"
),
[previewjs, restore, mux],
"frontend_history",
)
fields = []
for i, n in enumerate(graph["nodes"]):
values = n["widgets_values"]
assert isinstance(values, dict) or values == []
for name, value in values.items() if isinstance(values, dict) else []:
fields.append(
{
**specs[n["type"], name],
"node_id": str(n["id"]),
"definition_node_id": str(n["id"]),
"class_type": n["type"],
"scope": "root",
"pointer": f"/nodes/{i}/widgets_values/{name}",
"value": value,
"json_type": type(value).__name__,
"execution_note": (
"源mode0;UE7.5.1空映射不证明无改写,目标安装"
"/钩子次序/动态选项未知;保存类型与schema类型分列"
",未构造prompt/实跑。"
),
}
)
assert len(fields) == 21
overview = (
"这张图用于把视频画面倒序:加载画面经过倒序节点后分到预览和视频合成,音频则从"
"加载器直接进入合成器,没有声音倒序节点。两处保存16fps不保证原片帧率或音"
"画同步;两份预览只是历史缓存。准确版本仅作参考,前端版本未声明、UE与目标环"
"境未知,未实跑、转换仍关闭。"
)
flow = [
(
"4节点/4物理边/全部mode0,无子图和源注释。21顶层保存位置=19标量"
"(含上传状态)+2完整videopreview历史对象;Reverse20与"
"Preview15均widgets_values=[]零位置,不是缺键/nu"
"ll/{}。旧17图495+15保持,本图0新注释。"
),
(
"画面主链link15:Load1槽0 IMAGE→Reverse20.ima"
"ges;link16:Reverse20槽0 IMAGE→Preview15"
".images;link17:Reverse20槽0 IMAGE→Combi"
"ne21.images。固定KJ仅torch.flip(images,[0]"
")反转批次第0维,不倒转像素左右,也没有音频处理。"
),
(
"音频link18:Load1槽2 AUDIO→Combine21.audio"
",绕过Reverse20。声音直连而非倒放;只有懒waveform取值成功才"
"进入混流。加载器按skip/采样时间和cap裁切音频,源cap0时durat"
"ion0不加-t;-audio文件名不保证真实音轨存在。"
),
(
"Load.force_rate与Combine.frame_rate源均in"
"t16,无FPS外线;前者采样、后者合成播放率,不能证明原片帧率、同步、节奏"
"或成功输出。加载宽高0仍可能按AnimateDiff dim8对齐,cap0"
"仍受内存和素材限制;nth1/skip0按固定实现解释。"
),
(
"两节点meta_batch/vae均未接;Load.frame_count."
"links=[]、video_info.links=null不当有线。Com"
"bine的VHS_FILENAMES.links=null未接;Previe"
"wImage继承空RETURN_TYPES,仅ui.images临时PNG预"
"览,无服务端图像出口。"
),
(
"准确VHS1.7.7包的Python格式表与JS恢复分开:useKVStat"
"e按键赋值并调用回调,format回调可能重建编码控件;加载format的r"
"eset条件也可能改值。本图没有frontendVersion,不写按源声明"
";不借目标未知UE钩子次序断言最终prompt值。"
),
(
"Combine保存h264-mp4/yuv420p/crf19、loop0、"
"元数据true、trimfalse、pingpongfalse、save_o"
"utput=true。false裁切保留apad并-shortest,不关闭"
"音频;false往返也不否定上游已倒序。"
),
(
"本图无模型节点,不编模型依赖。实际执行可读媒体/调用ffmpeg/libx2"
"64/AAC、写正式视频、首帧PNG/临时元数据及PreviewImage临"
"时PNG。只读详情浏览不执行这些操作。目标媒体/依赖/编码器/目录权限/安装"
"与效果未知。"
),
(
"两个历史预览对象仅纯文本:E盘旧fullpath、缓存16fps、workf"
"low PNG/-audio文件名与隐藏/暂停状态不证明当前文件、音轨或产物"
",不读取源媒体、文件、不请求api/view;嵌套逐项列于下方但不重复计位置"
"。"
),
]
flow += ["源物理边:" + json.dumps(e, ensure_ascii=False) for e in graph["links"]]
flow += [
f"节点{n['id']} {n['type']} mode={n['mode']};"
f"保存位置={len(n['widgets_values'])};原properties="
+ json.dumps(n["properties"], ensure_ascii=False)
for n in graph["nodes"]
]
def leaves(obj, pointer):
if isinstance(obj, dict):
for key, value in obj.items():
yield from leaves(value, pointer + "/" + key)
else:
yield pointer, obj
for f in fields:
if f["role"] == "frontend_history":
flow += [
f"历史嵌套(不另计){p} [{type(v).__name__}]=" + json.dumps(v, ensure_ascii=False)
for p, v in leaves(f["value"], f["pointer"])
]
identity = json.loads((base / "identity.json").read_bytes())
versions = [
f"{e['id']}准确来源:"
+ e.get("commit", "registry1.7.7包SHA256:" + e.get("package_sha256", ""))
+ ";不是目标安装证明"
for e in identity
]
versions += [
(
"VHS发布包Git提交绑定未知,不用1.7.9或其他commit补证;本图无"
"frontendVersion,前端恢复只引用包自带JS,不假设目标前端版本"
"。"
),
"四节点UE7.5.1且空映射;身份/钩子次序/动态选项未知,不等于无改写。",
]
return dict(
source_path=path,
source_sha1=hashlib.sha1(raw).hexdigest(),
source_sha256=hashlib.sha256(raw).hexdigest(),
canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),
notice="固定版本参考;画面倒序、音频直连,历史预览非实跑;前端版本未声明,目标环境与UE未知,转换保持关闭。",
user_overview=overview,
versions=versions,
counts=dict(
saved_fields=21,
scalar_saved_positions=19,
history_objects=2,
source_nodes=4,
physical_edges=4,
source_notes=0,
linked_saved_fields=0,
frontend_only=3,
final_scalars=0,
final_prompt_constructed=False,
),
fields=fields,
sources=refs,
comments=[],
flow=flow,
flow_evidence=list(range(len(refs))),
zero_saved_nodes=[
dict(
node_id="20",
class_type="ReverseImageBatch",
evidence=[kj, kjreg],
effect="widgets_values=[];仅images输入,torch.flip第0维倒序;无音频输入或控件。",
),
dict(
node_id="15",
class_type="PreviewImage",
evidence=[core, corereg],
effect=(
"widgets_values=[];只images和hi"
"dden输入,继承空RETURN_TYPES及临时PNG"
"预览,未运行写图。"
),
),
],
steps=[
overview,
"先核视频可用性和四节点精确安装;本轮只看文本,不上传、不读素材,不调用执行入口。",
"核采样与合成帧率、音频直连、裁切/往返/保存目录条件;真实同步与输出必须另行实跑。",
"保持停用、未检查、未定稿/未实跑,编码器、UE、媒体和目标目录未知。",
],
)
if __name__ == "__main__":
print(json.dumps(build(), ensure_ascii=False, indent=2))
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,139 @@
"""Fetch fixed source text and registry archive; never import upstream code."""
import hashlib
import io
import json
import subprocess
import urllib.request
import zipfile
from pathlib import Path
OUT = Path(__file__).resolve().parent.parent / "reverse-reference"
FILES = {
"kj": (
"kijai/ComfyUI-KJNodes",
"c661baadd9683c0033cd2a6ad90157c6d099a6c2",
["LICENSE", "__init__.py", "nodes/image_nodes.py", "pyproject.toml"],
),
"core": ("Comfy-Org/ComfyUI", "v0.3.75", ["LICENSE", "nodes.py"]),
}
VHS = [
"LICENSE",
"__init__.py",
"pyproject.toml",
"videohelpersuite/nodes.py",
"videohelpersuite/load_video_nodes.py",
"videohelpersuite/utils.py",
"video_formats/h264-mp4.json",
"web/js/VHS.core.js",
"web/js/videoinfo.js",
]
def get(url):
return urllib.request.urlopen(
urllib.request.Request(url, headers={"User-Agent": "static-reference"}), timeout=30
).read()
def main():
OUT.mkdir(exist_ok=True)
sources, identities = [], []
for key, (repo, revision, files) in FILES.items():
if revision.startswith("v"):
raw = subprocess.check_output(
[
"git",
"ls-remote",
"https://github.com/" + repo + ".git",
"refs/tags/" + revision,
],
timeout=45,
)
commit = raw.decode().split()[0]
(OUT / (key + "-tag.txt")).write_bytes(raw)
else:
commit = revision
url = f"https://github.com/{repo}/commit/{commit}.patch"
raw = get(url)
assert b"diff --git" in raw
(OUT / (key + "-commit.patch")).write_bytes(raw)
identities.append(
dict(repo=repo, id=key, revision=revision, commit=commit, installed=False)
)
for file in files:
url = f"https://raw.githubusercontent.com/{repo}/{commit}/{file}"
raw = get(url)
local = key + "__" + file.replace("/", "__")
(OUT / local).write_bytes(raw)
sources.append(
dict(
id=key,
file=file,
local_file=local,
url=url,
commit=commit,
sha256=hashlib.sha256(raw).hexdigest(),
)
)
url = "https://api.comfy.org/nodes/comfyui-videohelpersuite/versions/1.7.7"
raw = get(url)
(OUT / "vhs-registry.json").write_bytes(raw)
release = json.loads(raw)
raw = get(release["downloadUrl"])
(OUT / "vhs-1.7.7.zip").write_bytes(raw)
sha = hashlib.sha256(raw).hexdigest()
with zipfile.ZipFile(io.BytesIO(raw)) as z:
members = [
dict(file=n, sha256=hashlib.sha256(z.read(n)).hexdigest())
for n in z.namelist()
if not n.endswith("/")
]
for file in VHS:
raw = z.read(file)
local = "vhs__" + file.replace("/", "__")
(OUT / local).write_bytes(raw)
sources.append(
dict(
id="vhs",
file=file,
local_file=local,
url=release["downloadUrl"],
commit="发布包SHA256:" + sha,
sha256=hashlib.sha256(raw).hexdigest(),
git_commit_binding="unknown",
)
)
(OUT / "vhs-package-index.json").write_text(
json.dumps(
dict(
url=release["downloadUrl"],
sha256=sha,
members=members,
git_commit_binding="unknown",
note="发布包同字节不等于提交绑定",
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
identities.append(
dict(
id="vhs",
version="1.7.7",
package_sha256=sha,
git_commit_binding="unknown",
installed=False,
)
)
(OUT / "sources.json").write_text(
json.dumps(dict(sources=sources), ensure_ascii=False, indent=2) + "\n"
)
(OUT / "identity.json").write_text(json.dumps(identities, ensure_ascii=False, indent=2) + "\n")
print("Fixed KJ, core0.3.75 and VHS1.7.7 package source text only")
if __name__ == "__main__":
main()
@@ -0,0 +1,386 @@
[
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "kj",
"file": "nodes/image_nodes.py",
"local_file": "../reverse-reference/kj__nodes__image_nodes.py",
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/c661baadd9683c0033cd2a6ad90157c6d099a6c2/nodes/image_nodes.py",
"commit": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
"sha256": "1b8f83356f515e0efef20daa2c82c095503133ef84f1931782b43d176ec92609",
"lines": [
2205,
2224
],
"claim": "仅torch.flip图像批次第0维;无音频输入,无保存控件"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "kj",
"file": "__init__.py",
"local_file": "../reverse-reference/kj____init__.py",
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/c661baadd9683c0033cd2a6ad90157c6d099a6c2/__init__.py",
"commit": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
"sha256": "43852013e532d868d7e3b5ca5ba5bb2e6697d7333f2ade4a4cbab517b976adc6",
"lines": [
1,
110
],
"claim": "image_nodes导入与ReverseImageBatch注册"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "core",
"file": "nodes.py",
"local_file": "../reverse-reference/core__nodes.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8402c8700a29a97bc5d706d6a0b14c41bc2c2d8a/nodes.py",
"commit": "8402c8700a29a97bc5d706d6a0b14c41bc2c2d8a",
"sha256": "c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc",
"lines": [
1561,
1630
],
"claim": "PreviewImage继承SaveImage、空RETURN_TYPES、临时PNG写入"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "core",
"file": "nodes.py",
"local_file": "../reverse-reference/core__nodes.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8402c8700a29a97bc5d706d6a0b14c41bc2c2d8a/nodes.py",
"commit": "8402c8700a29a97bc5d706d6a0b14c41bc2c2d8a",
"sha256": "c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc",
"lines": [
1966,
1966
],
"claim": "PreviewImage真实注册"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/load_video_nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__load_video_nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
"git_commit_binding": "unknown",
"lines": [
423,
473
],
"claim": "上传目录枚举、schema/输出槽/路径验证"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/load_video_nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__load_video_nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
"git_commit_binding": "unknown",
"lines": [
24,
168
],
"claim": "格式表、尺寸对齐、重采样/跳帧/抽帧/帧数上限"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/load_video_nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__load_video_nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
"git_commit_binding": "unknown",
"lines": [
293,
420
],
"claim": "内存限制、VAE/格式条件、懒音频裁切及返回"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/utils.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__utils.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504",
"git_commit_binding": "unknown",
"lines": [
207,
252
],
"claim": "懒音频首次访问时ffmpeg提取;未访问不加载"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/utils.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__utils.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504",
"git_commit_binding": "unknown",
"lines": [
20,
56
],
"claim": "BIGMAX/DIMMAX与floatOrInt类型"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
"git_commit_binding": "unknown",
"lines": [
234,
340
],
"claim": "合成schema、可选输入、输出目录选择"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
"git_commit_binding": "unknown",
"lines": [
45,
135
],
"claim": "格式动态枚举/额外控件默认/模板替换"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
"git_commit_binding": "unknown",
"lines": [
340,
394
],
"claim": "首帧workflow PNG写入与保存目录条件"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
"git_commit_binding": "unknown",
"lines": [
441,
494
],
"claim": "pingpong/循环/FFmpeg帧率参数"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
"git_commit_binding": "unknown",
"lines": [
558,
625
],
"claim": "可用音频才混流;trim控制apad、shortest、返回历史预览"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
"git_commit_binding": "unknown",
"lines": [
140,
163
],
"claim": "save_metadata条件写临时元数据并交FFmpeg"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "videohelpersuite/nodes.py",
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
"git_commit_binding": "unknown",
"lines": [
1023,
1030
],
"claim": "VHS_LoadVideo和VHS_VideoCombine真实注册"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "__init__.py",
"local_file": "../reverse-reference/vhs____init__.py",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f",
"git_commit_binding": "unknown",
"lines": [
1,
9
],
"claim": "包注册入口与WEB_DIRECTORY"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "video_formats/h264-mp4.json",
"local_file": "../reverse-reference/vhs__video_formats__h264-mp4.json",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8",
"git_commit_binding": "unknown",
"lines": [
1,
15
],
"claim": "h264-mp4编码器/像素格式/CRF/元数据/裁切默认"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "web/js/VHS.core.js",
"local_file": "../reverse-reference/vhs__web__js__VHS.core.js",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
"git_commit_binding": "unknown",
"lines": [
41,
168
],
"claim": "按键恢复/回调,序列化全部控件值;不等于实际运行输入"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "web/js/VHS.core.js",
"local_file": "../reverse-reference/vhs__web__js__VHS.core.js",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
"git_commit_binding": "unknown",
"lines": [
648,
720
],
"claim": "加载format动态回调、reset条件及控件选项调整"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "web/js/VHS.core.js",
"local_file": "../reverse-reference/vhs__web__js__VHS.core.js",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
"git_commit_binding": "unknown",
"lines": [
721,
824
],
"claim": "上传按钮值/回调与video引用分离,不当服务端参数"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "web/js/VHS.core.js",
"local_file": "../reverse-reference/vhs__web__js__VHS.core.js",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
"git_commit_binding": "unknown",
"lines": [
1222,
1282
],
"claim": "合成格式回调动态重建编码控件"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "web/js/VHS.core.js",
"local_file": "../reverse-reference/vhs__web__js__VHS.core.js",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
"git_commit_binding": "unknown",
"lines": [
915,
970
],
"claim": "历史videopreview控件状态;本轮仅纯文本,不请求媒体"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "kj",
"file": "LICENSE",
"local_file": "../reverse-reference/kj__LICENSE",
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/c661baadd9683c0033cd2a6ad90157c6d099a6c2/LICENSE",
"commit": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"lines": [
1,
674
],
"claim": "该准确版本许可原文,未安装或执行上游"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "core",
"file": "LICENSE",
"local_file": "../reverse-reference/core__LICENSE",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8402c8700a29a97bc5d706d6a0b14c41bc2c2d8a/LICENSE",
"commit": "8402c8700a29a97bc5d706d6a0b14c41bc2c2d8a",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"lines": [
1,
674
],
"claim": "该准确版本许可原文,未安装或执行上游"
},
{
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"id": "vhs",
"file": "LICENSE",
"local_file": "../reverse-reference/vhs__LICENSE",
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_commit_binding": "unknown",
"lines": [
1,
674
],
"claim": "该准确版本许可原文,未安装或执行上游"
}
]
@@ -0,0 +1 @@
1 file reformatted, 20 files left unchanged
@@ -0,0 +1 @@
18 files already formatted
@@ -0,0 +1,69 @@
{
"base": "ab18cd31a370785b104ec5c65d1b3303215e93a5",
"first": {
"imported": 155,
"user_excluded": 1
},
"upgrade": {
"skipped": 154,
"updated": 1,
"user_excluded": 1
},
"repeat": {
"skipped": 155,
"user_excluded": 1
},
"restored_rows": 1,
"untouched_whole_rows": 154,
"eligibility_unchanged": true,
"redo": {
"skipped": 154,
"updated": 1,
"user_excluded": 1
},
"user_protection": [
{
"phase": "user-before",
"counts": {
"skipped": 154,
"conflict": 1,
"user_excluded": 1
},
"whole_rows": 1,
"columns": 29
},
{
"phase": "user-after",
"counts": {
"skipped": 154,
"conflict": 1,
"user_excluded": 1
},
"whole_rows": 1,
"columns": 29
}
],
"fresh": {
"imported": 155,
"user_excluded": 1
},
"fresh_repeat": {
"skipped": 155,
"user_excluded": 1
},
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"source_named_fields": 1217,
"positional_widgets": 3660,
"companion_values": 294,
"new_saved": 21,
"new_notes": 0,
"old_saved": 495,
"old_notes": 15,
"overviews": 18,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1,23 @@
[
{
"file": "fixed_document.py",
"sha256": "41b383532b9407f644ebdd93fd538f2950d9580395f0bc554a1c9f281facab87",
"wheel": true,
"sdist": true,
"definitions": 18
},
{
"file": "source_reviews.json",
"sha256": "ade5946074540c0f46d28e6ab559380cf5d1d896c7eac583ded89cbe7aa03e42",
"wheel": true,
"sdist": true,
"definitions": 18
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 18
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json": "4d88f1a0eaae7510344402e81e837bf0df28db8dc3f808ad2af56ca47c3ed937"
}
@@ -0,0 +1,10 @@
{
"number": 25,
"title": "WIP: HEL-892 离线全量工作流库与后台兼容框架",
"state": "open",
"merged": false,
"head_ref": "agent/agent/a64a969a6a44",
"head_sha": "ab18cd31a370785b104ec5c65d1b3303215e93a5",
"base_ref": "main",
"base_sha": "1fc8bdb8bb2a88ccace6f21a507fd77bcf22f532"
}
@@ -0,0 +1,64 @@
"""Add one reviewed definition; preserve every other review object exactly."""
from __future__ import annotations
import hashlib
import json
import subprocess
from build_definition import OUT, PATHS, REPO, build, canonical
BASE = "ab18cd31a370785b104ec5c65d1b3303215e93a5"
RESOURCE = "calliope-backend/src/calliope/comfyui/source_reviews.json"
def build_all():
previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO))
reviews = json.loads(json.dumps(previous, ensure_ascii=False))
for i, path in enumerate(PATHS):
block = build(i)
assert reviews[path]["source_sha"] == block["source_sha1"]
assert "fixed_version_document" not in previous[path]
reviews[path]["fixed_version_document"] = block
return reviews, previous
def main():
current = json.loads((REPO / RESOURCE).read_bytes())
reviews, previous = build_all()
(REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n")
pins = {}
for i, path in enumerate(PATHS):
block = reviews[path]["fixed_version_document"]
pins[path] = hashlib.sha256(canonical(block)).hexdigest()
(OUT / f"definition-{i}.json").write_text(
json.dumps(block, ensure_ascii=False, indent=2) + "\n"
)
# Explicit maintenance of the code-owned allowlist, never trust runtime caller digests.
module = REPO / "calliope-backend/src/calliope/comfyui/fixed_document.py"
text = module.read_text()
for path, digest in pins.items():
old_block = current[path].get("fixed_version_document")
old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None
if old_digest and old_digest in text:
text = text.replace(old_digest, digest)
elif digest in text:
pass
else:
text = text.replace(
"DEFINITIONS = {",
"DEFINITIONS = {\n (\n"
+ "".join(
" " + repr(path[i : i + 40]) + "\n" for i in range(0, len(path), 40)
)
+ " ): "
+ repr(digest)
+ ",",
)
module.write_text(text)
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
print("PASS one definition; other 155 reviews and old 17 blocks unchanged")
if __name__ == "__main__":
main()
@@ -0,0 +1,369 @@
"""Actual ab18cd3 database upgrade, one-row protection/rollback, frozen boundaries and packages."""
from __future__ import annotations
import hashlib
import io
import json
import os
import sqlite3
import subprocess
import sys
import tarfile
import tempfile
import zipfile
from pathlib import Path
from build_definition import OUT, PATHS, REPO, canonical
from rebuild import BASE, RESOURCE, build_all
sys.path.insert(0, str(REPO / "calliope-backend"))
def write(name, value):
(OUT / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n")
def require_packages():
dist = REPO / "calliope-backend/dist"
w = sorted(dist.glob("*.whl"))
s = sorted(dist.glob("*.tar.gz"))
if not w or not s:
raise SystemExit(
(
"缺少wheel/sdist包产物,请先在仓库根执行:"
"uv build --project calliop"
"e-backend --offline"
)
)
return w[-1], s[-1]
def main():
from calliope.comfyui.fixed_document import DEFINITIONS
from calliope.comfyui.library import rollback_batch
from scripts.audit_library_documents import audit
wheels, sdists = require_packages()
reference = OUT.parent / "reverse-reference"
source_records = json.loads((reference / "sources.json").read_bytes())["sources"]
for e in source_records:
raw = (reference / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
assert len(e["commit"]) == 40 or e["commit"].startswith("发布包SHA256:")
package = json.loads((reference / "vhs-package-index.json").read_bytes())
archive = (reference / "vhs-1.7.7.zip").read_bytes()
assert hashlib.sha256(archive).hexdigest() == package["sha256"]
with zipfile.ZipFile(io.BytesIO(archive)) as z:
for e in package["members"]:
assert hashlib.sha256(z.read(e["file"])).hexdigest() == e["sha256"]
for e in source_records:
if e["id"] == "vhs":
assert z.read(e["file"]) == (reference / e["local_file"]).read_bytes()
assert (reference / "core-tag.txt").read_text().split() == [
"8402c8700a29a97bc5d706d6a0b14c41bc2c2d8a",
"refs/tags/v0.3.75",
]
write(
"source-check.json",
dict(
fixed_originals=len(source_records),
checked_sha256=True,
package_sha256=package["sha256"],
package_members=len(package["members"]),
git_commit_binding="unknown",
frontend_not_declared=True,
imported_upstream=False,
target_installation=False,
local_file_base="docs/hel-892/reverse-reference",
),
)
graph_raw = (REPO / PATHS[0]).read_bytes()
graph = json.loads(graph_raw)
nodes = graph["nodes"]
assert len(nodes) == 4 and len(graph["links"]) == 4
assert "definitions" not in graph and "frontendVersion" not in graph["extra"]
assert sum(len(n["widgets_values"]) for n in nodes) == 21
by_id = {n["id"]: n for n in nodes}
assert all(n["mode"] == 0 for n in nodes)
assert by_id[20]["widgets_values"] == by_id[15]["widgets_values"] == []
assert graph["links"] == [
[15, 1, 0, 20, 0, "IMAGE"],
[16, 20, 0, 15, 0, "IMAGE"],
[17, 20, 0, 21, 0, "IMAGE"],
[18, 1, 2, 21, 1, "AUDIO"],
]
for eid, origin, slot, target, inp, typ in graph["links"]:
assert eid in by_id[origin]["outputs"][slot]["links"]
assert by_id[origin]["outputs"][slot]["type"] == typ
assert by_id[target]["inputs"][inp]["link"] == eid
assert by_id[target]["inputs"][inp]["type"] == typ
write(
"source-graph.json",
dict(
source_path=PATHS[0],
raw_sha256=hashlib.sha256(graph_raw).hexdigest(),
canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),
nodes=nodes,
links=graph["links"],
no_subgraphs=True,
saved_fields=21,
scalar_positions=19,
history_objects=2,
notes=0,
extra_sha256=hashlib.sha256(canonical(graph["extra"])).hexdigest(),
),
)
rebuilt, previous = build_all()
assert rebuilt == json.loads((REPO / RESOURCE).read_bytes())
old_blocks = {
p: r["fixed_version_document"] for p, r in previous.items() if "fixed_version_document" in r
}
assert len(old_blocks) == 17
assert all(rebuilt[p]["fixed_version_document"] == b for p, b in old_blocks.items())
write(
"review-delta.json",
dict(
base=BASE,
changed_paths=PATHS,
other_reviews_unchanged=len(previous) - 1,
old_blocks_unchanged=17,
old_saved=495,
old_notes=15,
new_saved=21,
new_notes=0,
total_documents=18,
total_saved=516,
total_notes=15,
),
)
for p, d in DEFINITIONS.items():
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
with tempfile.TemporaryDirectory() as directory:
work = Path(directory)
old = work / "old"
old.mkdir()
data = subprocess.check_output(["git", "archive", BASE, "calliope-backend/src"], cwd=REPO)
with tarfile.open(fileobj=io.BytesIO(data)) as a:
a.extractall(old, filter="data")
db = work / "library.db"
def run(name, historical=False):
out = work / name
env = {
**os.environ,
"PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"),
}
subprocess.run(
[
sys.executable,
"-m",
"calliope.comfyui.library_cli",
"import",
"--root",
str(REPO / "example_ComfyUI_workflows"),
"--db",
str(db),
"--source-commit",
BASE,
"--companions",
str(REPO / "docs/hel-892/supplied-api/manifest.json"),
"--output-dir",
str(out),
],
cwd=REPO,
env=env,
check=True,
stdout=subprocess.DEVNULL,
)
return json.loads((out / "import_report.json").read_bytes()), out
def rows():
with sqlite3.connect(db) as c:
c.row_factory = sqlite3.Row
return {
r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows")
}
first, _ = run("historical", True)
before = rows()
assert first["counts"] == {"imported": 155, "user_excluded": 1}
assert all("fixed_version" not in json.loads(before[p]["doc_json"]) for p in PATHS)
assert all(
json.loads(before[p]["doc_json"])["fixed_version"]["matched"]
for p in DEFINITIONS
if p not in PATHS
)
original = db
protected = []
def protect(name):
nonlocal db
db = work / (name + ".db")
with sqlite3.connect(original) as src, sqlite3.connect(db) as dst:
src.backup(dst)
for p in PATHS:
dst.execute(
"UPDATE workflows SET description=? WHERE source_repo_path=?",
(name, p),
)
snapshot = rows()
r, _ = run(name)
assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1}
assert rows() == snapshot and all(len(snapshot[p]) == 29 for p in PATHS)
protected.append(dict(phase=name, counts=r["counts"], whole_rows=1, columns=29))
db = original
protect("user-before")
upgrade, exported = run("upgrade")
after = rows()
assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1}
for p, row in after.items():
if p not in PATHS:
assert row == before[p]
continue
assert len(row) == 29
assert all(
row[k] == before[p][k]
for k in row.keys() - {"doc_json", "batch_id", "imported_at", "library_fingerprint"}
)
d = json.loads(row["doc_json"])
assert d["fixed_version"]["matched"]
old_doc = json.loads(before[p]["doc_json"])
without = dict(d)
fixed = without.pop("fixed_version")
assert without["steps"] == old_doc["steps"][:-3] + fixed["steps"]
without["steps"] = old_doc["steps"]
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
assert without == old_doc
write("actual-" + Path(p).stem + ".json", d)
repeat, _ = run("repeat")
assert repeat["counts"] == {"skipped": 155, "user_excluded": 1}
with sqlite3.connect(db) as c:
c.row_factory = sqlite3.Row
r = rollback_batch(c, upgrade["batch_id"])
assert len(r["files"]) == 1 and all(f["result"] == "restored" for f in r["files"])
assert rows() == before
redo, _ = run("redo")
assert redo["counts"] == upgrade["counts"]
protect("user-after")
db = work / "fresh.db"
fresh, exported = run("fresh")
fresh_repeat, _ = run("fresh-repeat")
assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"]
assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139}
companion = 0
for row in rows().values():
d = json.loads(row["doc_json"])
companion += sum(p.get("value_origin") == "supplied_api_companion" for p in d["params"])
assert (
not row["is_enabled"]
and row["doc_completed_at"] is None
and row["exec_verified_at"] is None
)
assert not d["status"]["doc_done"] and not d["status"]["exec_verified"]
assert d["dependencies"]["check_state"] == "unchecked"
report = audit(REPO, exported)
assert (
report["named_values_preserved"] == 1217
and report["unnamed_widget_nodes"] == 3660
and companion == 294
)
assert report["full_documents_completed"] == report["real_executions"] == 0
write("audit-summary.json", {k: v for k, v in report.items() if k != "files"})
write(
"import-protection.json",
dict(
base=BASE,
first=first["counts"],
upgrade=upgrade["counts"],
repeat=repeat["counts"],
restored_rows=1,
untouched_whole_rows=154,
eligibility_unchanged=True,
redo=redo["counts"],
user_protection=protected,
fresh=fresh["counts"],
fresh_repeat=fresh_repeat["counts"],
states=fresh["states"],
source_named_fields=1217,
positional_widgets=3660,
companion_values=companion,
new_saved=21,
new_notes=0,
old_saved=495,
old_notes=15,
overviews=18,
all_disabled=True,
doc_done=0,
executed=0,
),
)
old_reviews = json.loads(
subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)
)
current = json.loads((REPO / RESOURCE).read_bytes())
for p in PATHS:
current[p].pop("fixed_version_document")
assert current == old_reviews
boundaries = json.loads(
(REPO / "docs/hel-892/h3-document-evidence/unchanged-boundaries.json").read_bytes()
)
paths = (
[f["path"] for f in boundaries["files"]]
+ boundaries["frozen_conversion_and_audits"]
+ ["calliope-backend/src/calliope/comfyui/library.py"]
)
kept = []
for p in paths:
raw = (REPO / p).read_bytes()
assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO)
kept.append(dict(path=p, sha256=hashlib.sha256(raw).hexdigest()))
ui = "calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte"
drawer_bytes = (REPO / ui).read_bytes()
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
write(
"boundaries.json",
dict(
base=BASE,
files=kept,
originals=163,
old_seventeen_blocks_unchanged=True,
drawer_css_unchanged=True,
drawer_whole_file_unchanged=True,
drawer_sha256=hashlib.sha256(drawer_bytes).hexdigest(),
conversion_rerun=False,
profiles_28_candidates_9_diffs_6="unchanged",
),
)
packages = []
with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s:
for name in ["fixed_document.py", "source_reviews.json", "library.py"]:
raw = (REPO / "calliope-backend/src/calliope/comfyui" / name).read_bytes()
assert w.read("calliope/comfyui/" + name) == raw
member = next(n for n in s.getnames() if n.endswith("/src/calliope/comfyui/" + name))
assert s.extractfile(member).read() == raw
packages.append(
dict(
file=name,
sha256=hashlib.sha256(raw).hexdigest(),
wheel=True,
sdist=True,
definitions=18,
)
)
write("package-check.json", packages)
print(
(
"PASS actual ab18cd3 upgrade1/skip154, "
"repeat155, rollback1, edits1/29cols, f"
"resh155, 1217/3660/294, 18 definitions"
", frozen boundaries, wheel/sdist"
)
)
if __name__ == "__main__":
main()
@@ -0,0 +1,109 @@
"""Readable complete Chinese definitions and fixed source index from delivered data."""
from __future__ import annotations
import hashlib
import json
from pathlib import Path
OUT = Path(__file__).resolve().parent
def main():
lines = [
"# 视频倒放图固定参考中文说明",
"",
"21新顶层保存位置(19标量含上传状态+2历史对象)+0新注释;旧17图495保存位置+15注释逐对象不变。18图516位置+15注释展示,155定稿0、实跑0、新增转换0。",
"",
"复用SQLite来源库→正常GET详情→现有说明抽屉;仅新增source_reviews说明块和显式受信摘要,不改变转换/执行链。来源索引local_file以docs/hel-892/reverse-document-evidence为解析基准。",
"",
]
index = []
for i in range(1):
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
lines += [
"## " + Path(b["source_path"]).stem,
"",
b["user_overview"],
"",
b["notice"],
"",
"源路径:`" + b["source_path"] + "`",
"",
"SHA1:" + b["source_sha1"],
"",
"原字节SHA256:" + b["source_sha256"],
"",
"规范全图SHA256:" + b["canonical_sha256"],
"",
*[v + "\n" for v in b["versions"]],
"### 具体连线与处理条件",
"",
*[v + "\n" for v in b["flow"]],
"### 使用与核对",
"",
*[v + "\n" for v in b["steps"]],
"### 逐保存位置说明",
"",
]
for j, f in enumerate(b["fields"], 1):
lines += [
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
"",
f["effect"],
"",
"```json",
json.dumps(f["value"], ensure_ascii=False, indent=2),
"```",
"",
f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。",
"",
"源位置:`" + f["pointer"] + "`",
"",
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
"",
"范围/条件:" + f["limits"],
"",
f["execution_note"],
"",
"依据:",
]
for k in f["evidence"]:
e = b["sources"][k]
lines += [
f"- [{k}] {e['claim']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
f"commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
]
lines += [""]
lines += ["### 零保存节点与源注释", ""]
for z in b["zero_saved_nodes"]:
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
for n in b["comments"]:
lines += [
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
"",
n["meaning"],
"",
"```text",
n["text"],
"```",
"",
]
lines += ["### 固定原件索引", ""]
for k, e in enumerate(b["sources"]):
data = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
lines += [
f"{k}. {e['claim']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
f"提交{e['commit']};SHA256 {e['sha256']};{e['url']}",
"",
]
index.append(dict(document=b["source_path"], **e))
(OUT.parent / "视频倒放图固定参考中文说明.md").write_text("\n".join(lines).rstrip() + "\n")
(OUT / "fixed-source-index.json").write_text(
json.dumps(index, ensure_ascii=False, indent=2) + "\n"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,50 @@
"""Repeat every deterministic audit and compare reviewed resource/package byte identities."""
from __future__ import annotations
import hashlib
import json
import subprocess
import sys
from build_definition import OUT, REPO, canonical
from rebuild import RESOURCE, build_all
def main():
a, overview = build_all()
b, again = build_all()
assert a == b and overview == again
assert a == json.loads((REPO / RESOURCE).read_bytes())
names = [
"audit-summary.json",
"review-delta.json",
"import-protection.json",
"boundaries.json",
"package-check.json",
"source-check.json",
"source-graph.json",
]
subprocess.run([sys.executable, str(OUT / "recompute.py")], cwd=REPO, check=True)
before = {p: hashlib.sha256((OUT / p).read_bytes()).hexdigest() for p in names}
subprocess.run([sys.executable, str(OUT / "recompute.py")], cwd=REPO, check=True)
assert before == {p: hashlib.sha256((OUT / p).read_bytes()).hexdigest() for p in names}
(OUT / "repeatability.json").write_text(
json.dumps(
dict(
definitions=18,
repeated_build_equal=True,
repeated_audits_equal=True,
resource_sha256=hashlib.sha256(canonical(a)).hexdigest(),
artifacts=before,
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS repeated 18 definitions and upgrade/audit/package recomputation: zero difference")
if __name__ == "__main__":
main()
@@ -0,0 +1,3 @@
PASS actual ab18cd3 upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 18 definitions, frozen boundaries, wheel/sdist
PASS actual ab18cd3 upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 18 definitions, frozen boundaries, wheel/sdist
PASS repeated 18 definitions and upgrade/audit/package recomputation: zero difference
@@ -0,0 +1,15 @@
{
"definitions": 18,
"repeated_build_equal": true,
"repeated_audits_equal": true,
"resource_sha256": "6d29e9df18f6aae526ea3aa7f8c3325a23ad133aaf47592805b75c8180f87ead",
"artifacts": {
"audit-summary.json": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
"review-delta.json": "abeeed329480ddd1502125f30bf278c2767934e1cfcf4f64500a6b4d77ce5c1c",
"import-protection.json": "644caad441f76e04c69f7ef499812140843c94381a9db2a4fb24419d93681763",
"boundaries.json": "0c1bf79006dd996da737cc21579598a713d42283ce96482f2095db828c7a25d8",
"package-check.json": "e3a943748d2a24f3d0277d47f062bbb88fe64e8469e5c4f65867a8b33930d8da",
"source-check.json": "98b7023653cf99ae646c4dfcc26bddbc6bd6f2064b2a2e95cb67aff0cb451c01",
"source-graph.json": "36c0171293fe86eb48966210923878786482e5662b997a17cadee8cd8c340027"
}
}
@@ -0,0 +1 @@
{"total": 70, "fixed_count": 62, "polling_count": 8, "paths": {"/api/workflows": 3, "/api/workflows/22": 4, "/api/workflows/5": 4, "/api/workflows/6": 3, "/api/workflows/7": 3, "/api/workflows/19": 3, "/api/workflows/13": 3, "/api/workflows/12": 3, "/api/workflows/64": 3, "/api/workflows/62": 3, "/api/workflows/70": 3, "/api/workflows/1": 3, "/api/workflows/36": 3, "/api/workflows/35": 3, "/api/workflows/2": 3, "/api/workflows/25": 3, "/api/workflows/24": 3, "/api/workflows/21": 3, "/api/workflows/14": 3, "/api/jobs": 8, "/api/settings": 1, "/api/workflows/156": 1, "/api/workflows/157": 1}, "readiness_included": 1, "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"}
@@ -0,0 +1,39 @@
"""Count actual local server GETs separately from browser intercepted requests."""
import collections
import json
import re
from pathlib import Path
OUT = Path(__file__).resolve().parent
def main():
text = (OUT / "service-0.txt").read_text()
gets = re.findall(r'"GET ([^ ]+) HTTP/', text)
polling = [p for p in gets if p in ["/api/jobs", "/api/events"]]
result = dict(
total=len(gets),
fixed_count=len(gets) - len(polling),
polling_count=len(polling),
paths=dict(collections.Counter(gets)),
readiness_included=1,
reason=(
"就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,"
"服务日志只含真正到后端者,不机械等同。"
"轮询可随计时边界±1,禁止请求始终零容忍。"
),
)
browser = json.loads((OUT / "browser-results.json").read_bytes())
assert browser["errors"] == []
assert all(r["method"] == "GET" for r in browser["requests"])
assert all(not p.startswith("/api/view") for p in gets)
assert abs(result["polling_count"] - browser["request_accounting"]["polling_count"]) <= 1
(OUT / "server-request-accounting.json").write_text(
json.dumps(result, ensure_ascii=False, indent=2) + "\n"
)
print(json.dumps(result, ensure_ascii=False))
if __name__ == "__main__":
main()
@@ -0,0 +1,15 @@
{
"base": "ab18cd31a370785b104ec5c65d1b3303215e93a5",
"changed_paths": [
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 17,
"old_saved": 495,
"old_notes": 15,
"new_saved": 21,
"new_notes": 0,
"total_documents": 18,
"total_saved": 516,
"total_notes": 15
}
@@ -0,0 +1,32 @@
{
"total": 70,
"fixed_count": 62,
"polling_count": 8,
"paths": {
"/api/workflows": 3,
"/api/workflows/22": 4,
"/api/workflows/5": 4,
"/api/workflows/6": 3,
"/api/workflows/7": 3,
"/api/workflows/19": 3,
"/api/workflows/13": 3,
"/api/workflows/12": 3,
"/api/workflows/64": 3,
"/api/workflows/62": 3,
"/api/workflows/70": 3,
"/api/workflows/1": 3,
"/api/workflows/36": 3,
"/api/workflows/35": 3,
"/api/workflows/2": 3,
"/api/workflows/25": 3,
"/api/workflows/24": 3,
"/api/workflows/21": 3,
"/api/workflows/14": 3,
"/api/jobs": 8,
"/api/settings": 1,
"/api/workflows/156": 1,
"/api/workflows/157": 1
},
"readiness_included": 1,
"reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"
}
@@ -0,0 +1,79 @@
INFO: Started server process [575126]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit)
{'counts': {'skipped': 155, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
INFO: 127.0.0.1:51582 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51590 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51610 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51606 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:51612 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:51614 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51618 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:33724 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33738 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33740 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33754 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33756 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33764 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33778 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33792 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33794 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33798 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:33806 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33810 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33824 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:33826 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33834 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33842 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33844 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33858 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33866 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47184 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47192 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47208 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47220 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47226 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47230 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47240 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47254 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47256 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47272 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47276 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47286 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47298 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47314 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58330 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58342 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58348 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58352 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58364 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58370 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58376 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58380 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58384 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58400 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58410 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58422 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [575126]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 298 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1,11 @@
{
"fixed_originals": 15,
"checked_sha256": true,
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
"package_members": 45,
"git_commit_binding": "unknown",
"frontend_not_declared": true,
"imported_upstream": false,
"target_installation": false,
"local_file_base": "docs/hel-892/reverse-reference"
}
@@ -0,0 +1,488 @@
{
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"raw_sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24",
"canonical_sha256": "e960a56eaec1c0c9b133a1d4dd7f6a6e6b3fa998a50a90379324910fe7c0684b",
"nodes": [
{
"id": 20,
"type": "ReverseImageBatch",
"pos": [
-620.9775234615648,
1056.768479983669
],
"size": [
231.32826576258094,
27.255371350688392
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"label": "图像",
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 15
}
],
"outputs": [
{
"label": "图像",
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
16,
17
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
"Node name for S&R": "ReverseImageBatch",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": []
},
{
"id": 21,
"type": "VHS_VideoCombine",
"pos": [
-687.3796266794396,
1205.259933171069
],
"size": [
367.1672509556887,
547.621169299521
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"label": "图像",
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 17
},
{
"label": "音频",
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 18
},
{
"label": "批次管理",
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "帧率",
"name": "frame_rate",
"type": "FLOAT",
"widget": {
"name": "frame_rate"
},
"link": null
},
{
"localized_name": "循环次数",
"name": "loop_count",
"type": "INT",
"widget": {
"name": "loop_count"
},
"link": null
},
{
"localized_name": "文件名前缀",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": null
},
{
"localized_name": "格式",
"name": "format",
"type": "COMBO",
"widget": {
"name": "format"
},
"link": null
},
{
"localized_name": "Ping-Pong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": {
"name": "pingpong"
},
"link": null
},
{
"localized_name": "保存到输出文件夹",
"name": "save_output",
"type": "BOOLEAN",
"widget": {
"name": "save_output"
},
"link": null
},
{
"name": "pix_fmt",
"type": [
"yuv420p",
"yuv420p10le"
],
"widget": {
"name": "pix_fmt"
},
"link": null
},
{
"name": "crf",
"type": "INT",
"widget": {
"name": "crf"
},
"link": null
},
{
"label": "保存元数据",
"localized_name": "保存元数据",
"name": "save_metadata",
"type": "BOOLEAN",
"widget": {
"name": "save_metadata"
},
"link": null
},
{
"label": "修剪音频",
"localized_name": "修剪音频",
"name": "trim_to_audio",
"type": "BOOLEAN",
"widget": {
"name": "trim_to_audio"
},
"link": null
}
],
"outputs": [
{
"label": "文件名",
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "1.7.7",
"Node name for S&R": "VHS_VideoCombine",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "video/ComfyUI",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "ComfyUI_00238-audio.mp4",
"subfolder": "video",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "ComfyUI_00238.png",
"fullpath": "E:\\ComfyUI-Data\\output\\video\\ComfyUI_00238-audio.mp4"
}
}
}
},
{
"id": 1,
"type": "VHS_LoadVideo",
"pos": [
-1145.3755907196448,
1208.911328363667
],
"size": [
422.47719061893906,
555.4243846058899
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"label": "批次管理",
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "视频",
"name": "video",
"type": "COMBO",
"widget": {
"name": "video"
},
"link": null
},
{
"localized_name": "强制帧率",
"name": "force_rate",
"type": "FLOAT",
"widget": {
"name": "force_rate"
},
"link": null
},
{
"localized_name": "自定义宽度",
"name": "custom_width",
"type": "INT",
"widget": {
"name": "custom_width"
},
"link": null
},
{
"localized_name": "自定义高度",
"name": "custom_height",
"type": "INT",
"widget": {
"name": "custom_height"
},
"link": null
},
{
"localized_name": "帧数读取上限",
"name": "frame_load_cap",
"type": "INT",
"widget": {
"name": "frame_load_cap"
},
"link": null
},
{
"localized_name": "跳过前X帧",
"name": "skip_first_frames",
"type": "INT",
"widget": {
"name": "skip_first_frames"
},
"link": null
},
{
"localized_name": "间隔",
"name": "select_every_nth",
"type": "INT",
"widget": {
"name": "select_every_nth"
},
"link": null
},
{
"localized_name": "格式",
"name": "format",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "format"
},
"link": null
}
],
"outputs": [
{
"label": "图像",
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
]
},
{
"label": "帧计数",
"localized_name": "frame_count",
"name": "frame_count",
"type": "INT",
"links": []
},
{
"label": "音频",
"localized_name": "audio",
"name": "audio",
"type": "AUDIO",
"links": [
18
]
},
{
"label": "视频信息",
"localized_name": "video_info",
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "1.7.7",
"Node name for S&R": "VHS_LoadVideo",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": {
"video": "WanVideo_InfiniteTalk_00004-audio.mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideo_InfiniteTalk_00004-audio.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 15,
"type": "PreviewImage",
"pos": [
-257.7732163729658,
1206.7330004579348
],
"size": [
488.0115541286282,
618.9281956909451
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "images",
"type": "IMAGE",
"link": 16
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.75",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": []
}
],
"links": [
[
15,
1,
0,
20,
0,
"IMAGE"
],
[
16,
20,
0,
15,
0,
"IMAGE"
],
[
17,
20,
0,
21,
0,
"IMAGE"
],
[
18,
1,
2,
21,
1,
"AUDIO"
]
],
"no_subgraphs": true,
"saved_fields": 21,
"scalar_positions": 19,
"history_objects": 2,
"notes": 0,
"extra_sha256": "80ddbce4ee0dbd7a245a143d585ce2a4f134be8194c4a9d597879f2de102afff"
}
@@ -0,0 +1,82 @@
[
{
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
"sha256": "41b383532b9407f644ebdd93fd538f2950d9580395f0bc554a1c9f281facab87"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"sha256": "ade5946074540c0f46d28e6ab559380cf5d1d896c7eac583ded89cbe7aa03e42"
},
{
"path": "calliope-backend/tests/test_background_fixed_document.py",
"sha256": "7dad72d3585bc8c68ae597f7ebe1f2478c0dc36f85173c9c3c3cbf42b9370a8e"
},
{
"path": "calliope-backend/tests/test_controlnet_fixed_document.py",
"sha256": "7a31ee1301f64ed6448bf1d55d36d19ce4949879b0d522202559b226fc4f7c52"
},
{
"path": "calliope-backend/tests/test_gemma_fixed_document.py",
"sha256": "37ea70c172c17383f6729dc68e08bdcaca2d1126672e27b9795c6662f9ddf680"
},
{
"path": "calliope-backend/tests/test_grid_fixed_document.py",
"sha256": "793a35cac41482eb12af0e7c892af2cf3463ebe2be722a6607ffb91ecc5c27ab"
},
{
"path": "calliope-backend/tests/test_nlf_fixed_document.py",
"sha256": "51fc66af5f7ecd60dafa7e38c1815ebee5cffc316b0529c3bb8f5822fd06c8a5"
},
{
"path": "calliope-backend/tests/test_openpose_fixed_document.py",
"sha256": "e19873a7f52ab3ccefe1c9db94676125415e56885cd642c69fe0189fc38de24a"
},
{
"path": "calliope-backend/tests/test_qwen_edit_fixed_document.py",
"sha256": "16f850da65cbf7c80b02fb7676b68a942dfb85803b5648f0050f4273a05e7c9d"
},
{
"path": "calliope-backend/tests/test_reverse_fixed_document.py",
"sha256": "484756a7a31da068d67dad9f3dc3ebebc426e4bcf4cff87c0d464c3a6ab9fdc9"
},
{
"path": "calliope-backend/tests/test_sdpose_fixed_document.py",
"sha256": "672957e0638818599a1146b3908a2d9734b1589f6db36da00018f1bfc1d1c270"
},
{
"path": "docs/hel-892/reverse-document-evidence/build_definition.py",
"sha256": "ef16223dd65188fd056bb1c02c96e7b4f4115829e9c99a6e4c98bbf8c831d69b"
},
{
"path": "docs/hel-892/reverse-document-evidence/fetch_sources.py",
"sha256": "946c52ebc12ae71705115ba2cefb57a2eb9b89e597634d63e1f5b7682b73c12c"
},
{
"path": "docs/hel-892/reverse-document-evidence/rebuild.py",
"sha256": "55a1301648d4a020e3dfb0e8b97ca7f783572025056abf4302b4b843ee130666"
},
{
"path": "docs/hel-892/reverse-document-evidence/recompute.py",
"sha256": "dc6220bec144b9ebc6fb225f4c20d54cbb2d5cc46684c2eb413507e907e5b47c"
},
{
"path": "docs/hel-892/reverse-document-evidence/render_report.py",
"sha256": "c28ce7d8cbab856316b930eb95c2a69d4c5b0c4e6c528691a044cd0deb67cc7c"
},
{
"path": "docs/hel-892/reverse-document-evidence/repeat.py",
"sha256": "1a42416cb2f62751b58ad9ae8e627374a77f5eccf0220e5dae74fdf36d36b4d6"
},
{
"path": "docs/hel-892/reverse-document-evidence/request_counts.py",
"sha256": "16fb2ba598a5b58f0704cc4535bfdd1d6ba8ade927db81f7f48875b23b83b020"
},
{
"path": "e2e/reverse-document.mjs",
"sha256": "3028a2963c0cd0bd0f454fcb2febd46d4b820bd26517b025adbe2b5f0703670b"
},
{
"path": "e2e/run-reverse-document.py",
"sha256": "89a6a6f844c5fcfb4bd7171ebf3fd681f9e436124a4cea5514d31e68f7d96f0c"
}
]
@@ -0,0 +1,66 @@
........................................................................ [ 1%]
........................................................................ [ 3%]
........................................................................ [ 4%]
........................................................................ [ 6%]
........................................................................ [ 7%]
........................................................................ [ 9%]
........................................................................ [ 10%]
........................................................................ [ 12%]
........................................................................ [ 13%]
........................................................................ [ 15%]
........................................................................ [ 17%]
........................................................................ [ 18%]
........................................................................ [ 20%]
........................................................................ [ 21%]
........................................................................ [ 23%]
........................................................................ [ 24%]
........................................................................ [ 26%]
........................................................................ [ 27%]
........................................................................ [ 29%]
........................................................................ [ 30%]
........................................................................ [ 32%]
........................................................................ [ 34%]
........................................................................ [ 35%]
........................................................................ [ 37%]
........................................................................ [ 38%]
........................................................................ [ 40%]
........................................................................ [ 41%]
........................................................................ [ 43%]
........................................................................ [ 44%]
........................................................................ [ 46%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 51%]
........................................................................ [ 52%]
........................................................................ [ 54%]
........................................................................ [ 55%]
........................................................................ [ 57%]
........................................................................ [ 58%]
........................................................................ [ 60%]
........................................................................ [ 61%]
........................................................................ [ 63%]
........................................................................ [ 65%]
........................................................................ [ 66%]
........................................................................ [ 68%]
........................................................................ [ 69%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 74%]
........................................................................ [ 75%]
........................................................................ [ 77%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 82%]
........................................................................ [ 83%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 88%]
........................................................................ [ 89%]
........................................................................ [ 91%]
........................................................................ [ 92%]
........................................................................ [ 94%]
........................................................................ [ 96%]
........................................................................ [ 97%]
........................................................................ [ 99%]
...................................... [100%]
4646 passed, 1 warning in 21.26s
@@ -0,0 +1,238 @@
........................................................................ [ 1%]
........................................................................ [ 3%]
........................................................................ [ 4%]
........................................................................ [ 6%]
........................................................................ [ 7%]
........................................................................ [ 9%]
........................................................................ [ 10%]
........................................................................ [ 12%]
........................................................................ [ 13%]
........................................................................ [ 15%]
........................................................................ [ 17%]
........................................................................ [ 18%]
........................................................................ [ 20%]
........................................................................ [ 21%]
........................................................................ [ 23%]
........................................................................ [ 24%]
........................................................................ [ 26%]
........................................................................ [ 27%]
........................................................................ [ 29%]
........................................................................ [ 31%]
........................................................................ [ 32%]
........................................................................ [ 34%]
........................................................................ [ 35%]
........................................................................ [ 37%]
........................................................................ [ 38%]
........................................................................ [ 40%]
...........................................F............................ [ 41%]
........................................................................ [ 43%]
........................................................................ [ 45%]
........................................................................ [ 46%]
.....................................F.................................. [ 48%]
........................................................................ [ 49%]
........................................................................ [ 51%]
........................................................................ [ 52%]
........................................................................ [ 54%]
........................................................................ [ 55%]
........................................................................ [ 57%]
........................................................................ [ 59%]
........................................................................ [ 60%]
........................................................................ [ 62%]
........................................................................ [ 63%]
........................................................................ [ 65%]
........................................................................ [ 66%]
........................................................................ [ 68%]
........................................................................ [ 69%]
........................................................................ [ 71%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 76%]
........................................................................ [ 77%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 82%]
........................................................................ [ 83%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 88%]
........................................................................ [ 90%]
........................................................................ [ 91%]
........................................................................ [ 93%]
........................................................................ [ 94%]
........................................................................ [ 96%]
........................................................................ [ 97%]
........................................................................ [ 99%]
........................... [100%]
=================================== FAILURES ===================================
__________ test_exact_topology_counts_modes_unknowns_and_old_objects ___________
def test_exact_topology_counts_modes_unknowns_and_old_objects():
d = doc()
assert d["fixed_version"]["matched"] and d["fixed_version"]["fields"] == BLOCK["fields"]
assert len(BLOCK["fields"]) == 74 and len(BLOCK["comments"]) == 0
assert sum(isinstance(f["value"], dict) for f in BLOCK["fields"]) == 3
assert sum(f["value"] is None for f in BLOCK["fields"]) == 1
assert sum(f["role"] == "unknown_saved" for f in BLOCK["fields"]) == 7
expected = {
203: 1,
334: 1,
340: 1,
137: 11,
339: 1,
373: 11,
364: 3,
362: 7,
363: 0,
106: 2,
374: 9,
370: 1,
130: 9,
208: 1,
376: 1,
375: 9,
365: 0,
335: 2,
372: 4,
}
nodes = {n["id"]: n for n in SOURCE["nodes"]}
assert {nid: len(n["widgets_values"]) for nid, n in nodes.items()} == expected
assert {nid for nid, n in nodes.items() if n["mode"] == 4} == {106, 375, 365}
assert len(SOURCE["links"]) == 22 and "definitions" not in SOURCE
assert [e[0] for e in SOURCE["links"]] == [
570,
621,
623,
624,
625,
627,
629,
648,
650,
651,
653,
654,
655,
656,
657,
658,
659,
660,
661,
662,
663,
665,
]
for eid, origin, slot, target, inp, typ in SOURCE["links"]:
assert eid in nodes[origin]["outputs"][slot]["links"]
assert nodes[target]["inputs"][inp]["link"] == eid
assert nodes[target]["inputs"][inp]["type"] == (
{648: "INT", 661: "INT,FLOAT", 662: "INT,FLOAT"}.get(eid, typ)
)
text = "".join(BLOCK["flow"])
assert all(
t in text
for t in [
"没有warmup",
"没有per_batch",
"round(result)",
"两Combine.audio都未接",
"临时目录",
"UE",
"mode4",
"0新源注释",
"冲突不抹平",
"taichi",
"提供方",
"未实跑",
]
)
assert not BLOCK["counts"]["final_prompt_constructed"]
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
old = json.loads(subprocess.check_output(["git", "show", "7e76510:" + resource], cwd=REPO))
now = json.loads((REPO / resource).read_bytes())
reverse = next(p for p in now if p.endswith("/视频倒放.json"))
now[reverse].pop("fixed_version_document")
assert now[PATH].pop("fixed_version_document") == BLOCK
assert now == old and len(DEFINITIONS) == 18
old_blocks = [
r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r
]
assert len(old_blocks) == 16 and sum(len(b["fields"]) for b in old_blocks) == 421
assert (
sum(len(b.get("comments", [])) for b in old_blocks) == 14
) # separate historical ASR flow note
assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False)
assert d["dependencies"]["check_state"] == "unchecked"
for p in DEFINITIONS:
if p == PATH:
continue
r = copy.deepcopy(REVIEW)
> r["fixed_version_document"] = old[p]["fixed_version_document"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E KeyError: 'fixed_version_document'
calliope-backend/tests/test_nlf_fixed_document.py:280: KeyError
________________ test_exact_document_topology_and_preservation _________________
def test_exact_document_topology_and_preservation():
d = doc()
assert d["fixed_version"]["matched"] and d["fixed_version"]["fields"] == BLOCK["fields"]
assert len(BLOCK["fields"]) == 27 and len(BLOCK["comments"]) == 1
assert sum(isinstance(f["value"], dict) for f in BLOCK["fields"]) == 2
assert len(SOURCE["nodes"]) == 5 and len(SOURCE["links"]) == 4
assert SOURCE["links"] == [
[4, 1, 0, 4, 0, "IMAGE"],
[10, 2, 0, 1, 0, "IMAGE"],
[11, 2, 3, 9, 0, "VHS_VIDEOINFO"],
[12, 9, 0, 4, 4, "FLOAT"],
]
nodes = {n["id"]: n for n in SOURCE["nodes"]}
for edge, origin, slot, target, inp, typ in SOURCE["links"]:
assert edge in nodes[origin]["outputs"][slot]["links"]
assert nodes[target]["inputs"][inp]["link"] == edge
assert nodes[target]["inputs"][inp]["type"] == typ
assert nodes[9]["widgets_values"] == {} and type(nodes[9]["widgets_values"]) is dict
assert all(n["mode"] == 0 for n in SOURCE["nodes"])
assert pointer(SOURCE, BLOCK["comments"][0]["pointer"]) == BLOCK["comments"][0]["text"]
assert not BLOCK["counts"]["final_prompt_constructed"]
assert all(
s in "".join(BLOCK["flow"])
for s in [
"未实跑",
"包同字节不等于提交绑定",
"loaded_fps",
"外线覆盖",
"音频",
"UE7.5.2",
"空对象",
"不是缺键/null/[]",
]
)
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
previous = json.loads(subprocess.check_output(["git", "show", "fec5cca:" + resource], cwd=REPO))
current = json.loads((REPO / resource).read_bytes())
reverse = next(p for p in current if p.endswith("/视频倒放.json"))
current[reverse].pop("fixed_version_document")
nlf = next(p for p in current if p.endswith("NLF_视频人物动作骨架获取.json"))
current[nlf].pop("fixed_version_document")
assert current[PATH].pop("fixed_version_document") == BLOCK
assert current == previous and len(DEFINITIONS) == 18
old = [r["fixed_version_document"] for r in previous.values() if "fixed_version_document" in r]
assert len(old) == 15 and sum(len(b["fields"]) for b in old) == 394
assert sum(len(b.get("comments", [])) for b in old) == 13 # one historical ASR flow note
assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False)
assert d["dependencies"]["check_state"] == "unchecked"
assert not doc(path="untrusted.json").get("fixed_version")
for p in DEFINITIONS:
if p in [PATH, nlf]:
continue
r = copy.deepcopy(REVIEW)
> r["fixed_version_document"] = previous[p]["fixed_version_document"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E KeyError: 'fixed_version_document'
calliope-backend/tests/test_openpose_fixed_document.py:221: KeyError
=========================== short test summary info ============================
FAILED calliope-backend/tests/test_nlf_fixed_document.py::test_exact_topology_counts_modes_unknowns_and_old_objects
FAILED calliope-backend/tests/test_openpose_fixed_document.py::test_exact_document_topology_and_preservation
2 failed, 4633 passed, 1 warning in 22.05s
@@ -0,0 +1,13 @@
........................................................................ [ 18%]
........................................................................ [ 36%]
........................................................................ [ 54%]
........................................................................ [ 72%]
........................................................................ [ 90%]
........................................ [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-036299438fa5/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
400 passed, 1 warning in 0.61s
@@ -0,0 +1,66 @@
........................................................................ [ 1%]
........................................................................ [ 3%]
........................................................................ [ 4%]
........................................................................ [ 6%]
........................................................................ [ 7%]
........................................................................ [ 9%]
........................................................................ [ 10%]
........................................................................ [ 12%]
........................................................................ [ 13%]
........................................................................ [ 15%]
........................................................................ [ 17%]
........................................................................ [ 18%]
........................................................................ [ 20%]
........................................................................ [ 21%]
........................................................................ [ 23%]
........................................................................ [ 24%]
........................................................................ [ 26%]
........................................................................ [ 27%]
........................................................................ [ 29%]
........................................................................ [ 31%]
........................................................................ [ 32%]
........................................................................ [ 34%]
........................................................................ [ 35%]
........................................................................ [ 37%]
........................................................................ [ 38%]
........................................................................ [ 40%]
........................................................................ [ 41%]
........................................................................ [ 43%]
........................................................................ [ 45%]
........................................................................ [ 46%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 51%]
........................................................................ [ 52%]
........................................................................ [ 54%]
........................................................................ [ 55%]
........................................................................ [ 57%]
........................................................................ [ 59%]
........................................................................ [ 60%]
........................................................................ [ 62%]
........................................................................ [ 63%]
........................................................................ [ 65%]
........................................................................ [ 66%]
........................................................................ [ 68%]
........................................................................ [ 69%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 74%]
........................................................................ [ 76%]
........................................................................ [ 77%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 82%]
........................................................................ [ 83%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 88%]
........................................................................ [ 90%]
........................................................................ [ 91%]
........................................................................ [ 93%]
........................................................................ [ 94%]
........................................................................ [ 96%]
........................................................................ [ 97%]
........................................................................ [ 99%]
............................ [100%]
4636 passed, 1 warning in 21.82s
@@ -0,0 +1,18 @@
# 仓库根;Python3.11及既有锁定依赖。fetch_sources/fetch_identity仅按需在线重取静态原件;以下离线。
uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline
npm ci --prefix calliope-web --ignore-scripts --offline
python3 docs/hel-892/reverse-document-evidence/rebuild.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/reverse-document-evidence/recompute.py
uv run --project calliope-backend --offline python docs/hel-892/reverse-document-evidence/repeat.py
python3 docs/hel-892/reverse-document-evidence/render_report.py
uv run --project calliope-backend --offline pytest calliope-backend/tests/test_reverse_fixed_document.py calliope-backend/tests/test_nlf_fixed_document.py calliope-backend/tests/test_openpose_fixed_document.py calliope-backend/tests/test_sdpose_fixed_document.py calliope-backend/tests/test_gemma_fixed_document.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_qwen_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_asr_fixed_document.py calliope-backend/tests/test_media_fixed_document.py calliope-backend/tests/test_audio_fixed_document.py calliope-backend/tests/test_fixed_document.py calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_supplied_companions.py calliope-backend/tests/test_delivery_scope.py calliope-backend/tests/test_case04_saved_reference.py -q --disable-warnings
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/reverse-document-evidence e2e/run-reverse-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_reverse_fixed_document.py calliope-backend/tests/test_nlf_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_gemma_fixed_document.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_openpose_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_sdpose_fixed_document.py
uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/reverse-document-evidence e2e/run-reverse-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_reverse_fixed_document.py calliope-backend/tests/test_nlf_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_gemma_fixed_document.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_openpose_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_sdpose_fixed_document.py
node --check e2e/reverse-document.mjs
LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-reverse-document.py
# 两本地服务在runner finally停止;无模型、媒体、写API、生成、目标机请求。
# 最终浏览产物/服务日志复制到本目录后,分别复算固定GET与定时轮询:
python3 docs/hel-892/reverse-document-evidence/request_counts.py
# 完整中文与逐源索引(local_file以reverse-document-evidence为解析基准):
python3 docs/hel-892/reverse-document-evidence/render_report.py