limixbot 0.3.30 → 0.3.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/assets/{ActivityPanel-Ca93mwbG.js → ActivityPanel-DTPq6b6A.js} +1 -1
  2. package/dist/assets/{App-BNTTjhsV.js → App-Bj6vt28W.js} +10 -10
  3. package/dist/assets/{AppEventEditor-cfYkXfeJ.js → AppEventEditor-CIN9KfeN.js} +1 -1
  4. package/dist/assets/{BotSettingsDialog-DSlyshDi.js → BotSettingsDialog-CiDt0xV-.js} +1 -1
  5. package/dist/assets/{BrowserPanel-KrCVA3c6.js → BrowserPanel-CYEYQdY9.js} +1 -1
  6. package/dist/assets/{BrowserProfilesManager-C-Vt0eJi.js → BrowserProfilesManager-BZviBIr_.js} +1 -1
  7. package/dist/assets/{CloudAddDialog-D6ATLiSR.js → CloudAddDialog-CKOoPJ3V.js} +1 -1
  8. package/dist/assets/{ComputerFilesPane-DvNcD0u0.js → ComputerFilesPane-DIDi3dyq.js} +1 -1
  9. package/dist/assets/{ComputerPanel-BButaK92.js → ComputerPanel-CIfRLDu5.js} +2 -2
  10. package/dist/assets/{DataPanel-iOCJJ-ic.js → DataPanel-Cg_iZFBB.js} +1 -1
  11. package/dist/assets/{DesktopViewer-DbEC8oPW.js → DesktopViewer-CdrtMd2T.js} +1 -1
  12. package/dist/assets/{FilesView-tnqRwvfh.js → FilesView-DnL4MjaW.js} +1 -1
  13. package/dist/assets/{GrokMoveDialog-DcD2N9NJ.js → GrokMoveDialog-C6j6PaOl.js} +1 -1
  14. package/dist/assets/{InspectorPanel-neNG3E93.js → InspectorPanel-AS99t3t_.js} +1 -1
  15. package/dist/assets/{KeyboardShortcutsModal-CGzUNFhz.js → KeyboardShortcutsModal-B9MXqWn_.js} +1 -1
  16. package/dist/assets/{LiveDesktop-DJnRvtY5.js → LiveDesktop-CeMAfpqi.js} +1 -1
  17. package/dist/assets/{LocalVmWorkspace-B4yOJABf.js → LocalVmWorkspace-BjpJidzP.js} +1 -1
  18. package/dist/assets/{MacLocalControl-ClcDNzDl.js → MacLocalControl-10Me_JS2.js} +1 -1
  19. package/dist/assets/{MarkdownFilePreview-ufl-s03V.js → MarkdownFilePreview-BqtpdMVD.js} +1 -1
  20. package/dist/assets/{MenuMotion-Dj4rtEj4.js → MenuMotion-DEol1e9x.js} +1 -1
  21. package/dist/assets/{NewBotDialog-BniS1lPX.js → NewBotDialog-VLJL3Wg1.js} +1 -1
  22. package/dist/assets/{PhoneAppDialog-CG3KQVI4.js → PhoneAppDialog-DA5gvq4c.js} +1 -1
  23. package/dist/assets/{PlacesRail-bn7tEIBM.js → PlacesRail-CLjAh1E0.js} +1 -1
  24. package/dist/assets/{PluginsPanel-DHTTKAon.js → PluginsPanel-vWuf5IUu.js} +1 -1
  25. package/dist/assets/{ProIntroduction-uJD0s7Me.js → ProIntroduction-Di0HbUFO.js} +1 -1
  26. package/dist/assets/{RemoteAgentSettingsPanel-DCKwqq0d.js → RemoteAgentSettingsPanel-Cfw7teQ2.js} +1 -1
  27. package/dist/assets/{RoomPanel-aIa7Diz1.js → RoomPanel-Beu1uKue.js} +1 -1
  28. package/dist/assets/{RoutinesPage-CLHjhuBJ.js → RoutinesPage-B2nYtQla.js} +1 -1
  29. package/dist/assets/SettingsModal-CxvxkC4x.js +19 -0
  30. package/dist/assets/{ShareTeamDialog-BOzHCj2n.js → ShareTeamDialog-CIgmHhv0.js} +1 -1
  31. package/dist/assets/{SignedInSites-C-nx8of8.js → SignedInSites-DdJipkZg.js} +1 -1
  32. package/dist/assets/{TeamLibraryPanel-Bp1ZcEZQ.js → TeamLibraryPanel-BbDoilAy.js} +1 -1
  33. package/dist/assets/{TeamMapPage-BL5CHTBF.js → TeamMapPage-BdJoToiU.js} +1 -1
  34. package/dist/assets/{TriggersPage-BEHK5XH1.js → TriggersPage-tsPRVnW8.js} +1 -1
  35. package/dist/assets/{VisibilitySection-DxR_98SK.js → VisibilitySection-DtqlyqWE.js} +1 -1
  36. package/dist/assets/{WebhookTrigger-DaoCLzsd.js → WebhookTrigger-uKcCBfwA.js} +1 -1
  37. package/dist/assets/{WorksOnGrid-DrO1qcZh.js → WorksOnGrid-W7nCND-A.js} +1 -1
  38. package/dist/assets/{abnfDiagram-YUKMZFIV-BcUIfOEe.js → abnfDiagram-YUKMZFIV-1x7ZPsZh.js} +1 -1
  39. package/dist/assets/{activity-BNFKxy1b.js → activity-GpccG6_T.js} +1 -1
  40. package/dist/assets/{architectureDiagram-47P4ROYG-C7ht62Bt.js → architectureDiagram-47P4ROYG-DPgLYL_N.js} +1 -1
  41. package/dist/assets/{blockDiagram-E7TT5TSB-CaczmOHs.js → blockDiagram-E7TT5TSB-B8UWaM8D.js} +1 -1
  42. package/dist/assets/{c4Diagram-CRA5TL53-DSPaJBwh.js → c4Diagram-CRA5TL53-PhITusI3.js} +1 -1
  43. package/dist/assets/{calendar-days-DU-aFzFs.js → calendar-days-P76kOKJY.js} +1 -1
  44. package/dist/assets/channel-CJO5KL4z.js +1 -0
  45. package/dist/assets/{chunk-2Q5K7J3B-D4erYHrR.js → chunk-2Q5K7J3B-C-oGd3d2.js} +1 -1
  46. package/dist/assets/{chunk-5VM5RSS4-D8syTc7K.js → chunk-5VM5RSS4-CVMG7tfk.js} +1 -1
  47. package/dist/assets/{chunk-7TKQ45FW-qZ8vN88Y.js → chunk-7TKQ45FW-DIyFSChV.js} +1 -1
  48. package/dist/assets/{chunk-AW2ZBBNX-COZ0RY0p.js → chunk-AW2ZBBNX-C3UOIXSH.js} +1 -1
  49. package/dist/assets/{chunk-FVRAUYC3-B9WP6gNL.js → chunk-FVRAUYC3-DVAx09Rs.js} +2 -2
  50. package/dist/assets/{chunk-HTAEGDNF-DpLxKDYN.js → chunk-HTAEGDNF-BI4rDzDQ.js} +1 -1
  51. package/dist/assets/{chunk-JWPE2WC7-CyI6_v_4.js → chunk-JWPE2WC7-B6xY9PZq.js} +1 -1
  52. package/dist/assets/{chunk-KQW6MTUR-C3xLM0DV.js → chunk-KQW6MTUR-ws1ilD7-.js} +1 -1
  53. package/dist/assets/{chunk-XXDRQBXY-C7oc9LKJ.js → chunk-XXDRQBXY-BwfcVKlj.js} +1 -1
  54. package/dist/assets/{classDiagram-v2-K4WV4PDN-DtYcyxMZ.js → classDiagram-v2-K4WV4PDN-DPeRWn_e.js} +1 -1
  55. package/dist/assets/{coins-C8BnHs7A.js → coins-VtDzkYpc.js} +1 -1
  56. package/dist/assets/{core-CuBqcMgK.js → core-CV44ZFYc.js} +1 -1
  57. package/dist/assets/{cose-bilkent-JH36ORCC-BACClH_n.js → cose-bilkent-JH36ORCC-CR5hRFOZ.js} +1 -1
  58. package/dist/assets/{cynefin-EF2NZ3EQ-DZo-gx9_.js → cynefin-EF2NZ3EQ-BdW2wt4-.js} +1 -1
  59. package/dist/assets/{cynefinDiagram-3GCD6N5R-CB9Tufy-.js → cynefinDiagram-3GCD6N5R-EhtqWRNM.js} +1 -1
  60. package/dist/assets/{dagre-W4DXFKR2-QmMefB-F.js → dagre-W4DXFKR2-Di0n1jqp.js} +1 -1
  61. package/dist/assets/{diagram-2UJZ2QOL-BB9UdSXb.js → diagram-2UJZ2QOL-CgMGoKY7.js} +1 -1
  62. package/dist/assets/{diagram-OVF4WLC6-BT1xV_u3.js → diagram-OVF4WLC6-BXlgzlCn.js} +1 -1
  63. package/dist/assets/{diagram-PFPMY2P6-Bb8Gcrwm.js → diagram-PFPMY2P6-CdQkKIW8.js} +1 -1
  64. package/dist/assets/{diagram-UMYRVEAY-CuhVtw_K.js → diagram-UMYRVEAY-DZl5kJRn.js} +1 -1
  65. package/dist/assets/{diagram-YEKJPTXX-BKeM2V-v.js → diagram-YEKJPTXX-Bzz0W_ze.js} +1 -1
  66. package/dist/assets/{diagram-ZIFT7M5P-CWJdSX39.js → diagram-ZIFT7M5P-CMS1E0WQ.js} +1 -1
  67. package/dist/assets/{ebnfDiagram-VR2GEFS7-CQt0qwgC.js → ebnfDiagram-VR2GEFS7-DoPCvtki.js} +1 -1
  68. package/dist/assets/{elk-IJKZMXRS-DTpYboxu.js → elk-IJKZMXRS-Bj-Bb2qu.js} +1 -1
  69. package/dist/assets/{erDiagram-O2IAPWRE-CRmD7TiT.js → erDiagram-O2IAPWRE-CB5nst9m.js} +1 -1
  70. package/dist/assets/{file-up-DA-MGVqh.js → file-up-C-A7EgY2.js} +1 -1
  71. package/dist/assets/{flowDiagram-OXPTDLAJ-C3OIuz51.js → flowDiagram-OXPTDLAJ-CCgbFCEu.js} +1 -1
  72. package/dist/assets/{ganttDiagram-R7TSEDQI-DRztzQgb.js → ganttDiagram-R7TSEDQI-DQVyHiAx.js} +1 -1
  73. package/dist/assets/{gitGraphDiagram-XJZIOB7I-DljlrTI8.js → gitGraphDiagram-XJZIOB7I-jS2mWNam.js} +1 -1
  74. package/dist/assets/{import-name-D7OVVg4a.js → import-name-X30o5z1B.js} +1 -1
  75. package/dist/assets/{index-Bt5WwBKC.js → index-D8oAKMU6.js} +2 -2
  76. package/dist/assets/{index-C6I9mMp7.js → index-SxUH0lfM.js} +1 -1
  77. package/dist/assets/{infoDiagram-5W2HQ5XZ-sZgtYSBR.js → infoDiagram-5W2HQ5XZ-DzRRVnLP.js} +1 -1
  78. package/dist/assets/{ishikawaDiagram-K3B6WC7H-C3hf18HZ.js → ishikawaDiagram-K3B6WC7H-BHZdIugB.js} +1 -1
  79. package/dist/assets/{journeyDiagram-COXZFDF6-Cx7iVI1Y.js → journeyDiagram-COXZFDF6-DNwsxsaw.js} +1 -1
  80. package/dist/assets/{kanban-definition-P3RFRI5V-BCfPOAwE.js → kanban-definition-P3RFRI5V-DpBOTH95.js} +1 -1
  81. package/dist/assets/{mcp-servers-byTznZvJ.js → mcp-servers-DjbULZwc.js} +1 -1
  82. package/dist/assets/{mermaid.core-u5mM9R6c.js → mermaid.core-DuHmv3Xq.js} +4 -4
  83. package/dist/assets/{mindmap-definition-LZFPQGKD-Bl1ss-w7.js → mindmap-definition-LZFPQGKD-BBiNJgPA.js} +1 -1
  84. package/dist/assets/{minimize-CQhJEKJt.js → minimize-CRS6u26E.js} +1 -1
  85. package/dist/assets/{monitor-DUalxLhV.js → monitor-CyzqeASh.js} +1 -1
  86. package/dist/assets/{new-bot-B_nigkqj.js → new-bot-Bs8pJ7Bw.js} +1 -1
  87. package/dist/assets/{org-library-tjVQPsZw.js → org-library-CC1En5aB.js} +1 -1
  88. package/dist/assets/{package-format-TOf-oPLr.js → package-format-BCGzeYHa.js} +1 -1
  89. package/dist/assets/{pegDiagram-BGZESJAR-DYVS4bK_.js → pegDiagram-BGZESJAR-DqEbd745.js} +1 -1
  90. package/dist/assets/{pieDiagram-CAPJLFHJ-Dd2OI03J.js → pieDiagram-CAPJLFHJ-D9U2FmuX.js} +1 -1
  91. package/dist/assets/{quadrantDiagram-GDMTTRAM-DftvCum7.js → quadrantDiagram-GDMTTRAM-PKCaSgAj.js} +1 -1
  92. package/dist/assets/{rail-5xabqdtQ.js → rail-DKRV3i4L.js} +1 -1
  93. package/dist/assets/{railroadDiagram-SM67HX2B-CMUXYZoX.js → railroadDiagram-SM67HX2B-DqwQrNIl.js} +1 -1
  94. package/dist/assets/{remote-desktop-panel-CnvMPI4j.js → remote-desktop-panel-B3m0CdWN.js} +1 -1
  95. package/dist/assets/{requirementDiagram-X7JNWC4A-TUFFobBi.js → requirementDiagram-X7JNWC4A-DyFQPw-w.js} +1 -1
  96. package/dist/assets/{sankeyDiagram-UM26HJRW-BoWUtM1O.js → sankeyDiagram-UM26HJRW-D_-3g90K.js} +1 -1
  97. package/dist/assets/{sequenceDiagram-ZO4K6R2Y-BJGhu1J3.js → sequenceDiagram-ZO4K6R2Y-BxkfrM9A.js} +1 -1
  98. package/dist/assets/{sizeCapture-INFHLROL-BjWOwFei.js → sizeCapture-INFHLROL-VDgtfHsZ.js} +1 -1
  99. package/dist/assets/{stateDiagram-v2-TBUQTH76-BHnqACBE.js → stateDiagram-v2-TBUQTH76-ey-mFs--.js} +1 -1
  100. package/dist/assets/{styles-DnwnyZpR.js → styles-Dd_7YOJG.js} +3 -3
  101. package/dist/assets/{swimlanes-N4OXWK64-w7Jh9mLp.js → swimlanes-N4OXWK64-DYpwISFq.js} +1 -1
  102. package/dist/assets/swimlanesDiagram-K3J5GTZL-BNLJTe-b.js +8 -0
  103. package/dist/assets/{team-share-iEP9Zjr-.js → team-share-CVqY6tnj.js} +1 -1
  104. package/dist/assets/{timeline-definition-YOQAKGHF-D0trOSBD.js → timeline-definition-YOQAKGHF-D9iKG2OF.js} +1 -1
  105. package/dist/assets/{usecaseDiagram-VIAY4XPW-A_NiPbx_.js → usecaseDiagram-VIAY4XPW-Bfbw61-j.js} +1 -1
  106. package/dist/assets/{vennDiagram-BLWOH2XV-iEyMv06N.js → vennDiagram-BLWOH2XV-DYVrjpQ_.js} +1 -1
  107. package/dist/assets/{vi-C-E3a4Tv.js → vi-DrsTFzsG.js} +2 -2
  108. package/dist/assets/{wardleyDiagram-YMQ3BMBF-yIcnyDG1.js → wardleyDiagram-YMQ3BMBF-3Aod1B1D.js} +1 -1
  109. package/dist/assets/{xychartDiagram-TAQBALBS-BbKfuPA4.js → xychartDiagram-TAQBALBS-BgJsKil4.js} +1 -1
  110. package/dist/index.html +2 -2
  111. package/dist/rail.html +4 -4
  112. package/dist-server/index.js +695 -692
  113. package/dist-server/package.json +1 -1
  114. package/dist-server/server/limix-hub-download.js +8 -0
  115. package/dist-server/server/limix-skill-hub.js +3 -2
  116. package/dist-server/server/limix-transfer-version.js +36 -0
  117. package/dist-server/server/workspace-backup-http.js +2 -2
  118. package/dist-server/server/workspace-backup.js +6 -10
  119. package/dist-server/workspace-backup.worker.js +19 -18
  120. package/package.json +1 -1
  121. package/skills/agent-reach/references/capabilities.md +19 -26
  122. package/skills/agent-reach/references/maintenance.md +11 -11
  123. package/skills/agent-reach/references/sessions.md +32 -41
  124. package/skills/rea-video/SKILL.md +35 -96
  125. package/skills/rea-video/references/audio.md +21 -87
  126. package/skills/rea-video/references/materials.md +9 -28
  127. package/skills/rea-video/references/memory.md +5 -6
  128. package/skills/rea-video/references/output-template.md +17 -46
  129. package/skills/rea-video/references/remake.md +23 -35
  130. package/skills/rea-video/references/review.md +16 -36
  131. package/skills/rea-video/references/setup.md +21 -40
  132. package/skills/rea-video/references/taxonomy.md +39 -137
  133. package/skills/windows-computer-automation/SKILL.md +1 -1
  134. package/skills/windows-computer-automation/assets/HERIONIX-LEADER-PROMPT.md +12 -22
  135. package/dist/assets/SettingsModal-Dx_ELHpv.js +0 -19
  136. package/dist/assets/channel-BXNHTVIL.js +0 -1
  137. package/dist/assets/swimlanesDiagram-K3J5GTZL-zIHpuU63.js +0 -8
@@ -1,51 +1,32 @@
1
- # 安装与 VLM 配置
1
+ # Installation and VLM configuration
2
2
 
3
- ## 安装(一次性)
3
+ Use Limix Bot's bundled Python 3.12 and uv where available; prefer the commit-pinned installation in SKILL.md. FFmpeg and Python >=3.10 are required. Check `rea-video --help` before installing.
4
4
 
5
+ Upstream installation alternatives:
5
6
  ```bash
6
- pip install "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video" # 需要 ffmpeg;Python ≥ 3.10
7
- # 或在仓库里:bash scripts/install_skill.sh(装 CLI 并把 skill 链接到各 agent 目录)
8
- rea-video --help
7
+ pip install "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video"
8
+ pipx install "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video"
9
+ pipx install --python python3.12 "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video"
10
+ PYTHON_BIN=python3.12 bash scripts/install_skill.sh
9
11
  ```
10
12
 
11
- pip 报 `externally-managed-environment`(Homebrew / 新版 Ubuntu 的系统 Python)时,不要加 `--break-system-packages`,改用
12
- `pipx install "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video"`,或直接跑 `install_skill.sh`(会自动改用 pipx 或仓库内 `.venv`)。
13
-
14
- 报 `onnxruntime` 找不到匹配的安装包(如 `no wheels with a matching Python ABI tag`)时,是默认 Python 太新、依赖还没出对应版本:换一个 3.10–3.14 的解释器,`pipx install --python python3.12 "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video"` 或 `PYTHON_BIN=python3.12 bash scripts/install_skill.sh`。`install_skill.sh` 自动选解释器时已经优先 3.10–3.14。3.10–3.14 都能装全 `[ocr]`:3.12 及以下用 `rapidocr-onnxruntime`,3.13 起自动换成 `rapidocr` 3。
15
-
16
- 在 Python 3.12 及以下手动装了 `[ocr]` 时,OCR 依赖会再装一套 `opencv-python`,和 rea-video 用的 `opencv-python-headless` 抢同一个 `cv2` 目录。装完跑一次:
17
- `pip uninstall -y opencv-python && pip install --force-reinstall --no-deps "opencv-python-headless>=4.8,<5"`(`install_skill.sh` 会自动做)。
18
-
19
- ## 本地语音识别(可选)
20
-
21
- 没有烧录字幕、也没开能听声音的 VLM 时,台词从哪来?装上可选的语音识别:
22
-
13
+ For `externally-managed-environment`, use pipx or an isolated venv, never `--break-system-packages`. Missing onnxruntime wheels may mean the interpreter is too new: the pinned upstream supports Python 3.10-3.14, preferring that range in its installer. OCR uses rapidocr-onnxruntime on <=3.12 and rapidocr 3 on >=3.13. On <=3.12, conflicting OpenCV distributions may need the upstream repair in that isolated environment:
23
14
  ```bash
24
- pip install "rea-video[ocr,asr] @ git+https://github.com/JuneYaooo/rea-video" # 已装过就 pip install sherpa-onnx
15
+ pip uninstall -y opencv-python
16
+ pip install --force-reinstall --no-deps "opencv-python-headless>=4.8,<5"
25
17
  ```
26
18
 
27
- 装了之后 `decompose` 会自动在分离出的人声干声上识别(SenseVoice,中 / 英 / 日 / 韩 / 粤;首次使用下载约 160 MB 模型到 `$REA_VIDEO_MODELS`,默认 `~/.cache/rea-video/models`),
28
- 一分钟的片子几秒钟。结果在 `breakdown.json` 的 `speech.lines`(每句有起止时间),报告「脚本」表和 `review_tasks.json` 每镜的 `said` 会用它。`--no-asr` 可跳过。
29
-
30
- 这是机器听写,会有同音错字、专有名词听错:画面上有字幕时以字幕为准,VLM 给了台词时报告用 VLM 的;引用台词给用户时注明"语音识别,未校对"。
31
- 长句里逐句的时间是按字数估的(`timing: estimated`),整段的起止是测出来的。没装时 `speech.reason` 是 `not_installed`,其余照常。
32
-
33
- ## VLM 配置(建议,不强制)
34
-
35
- **VLM(建议配置,不强制)**:VLM 是能看图/看视频的多模态大模型(Gemini、GPT-4o、豆包、Qwen-VL 等)。不开 VLM,工具只靠像素统计、帧率、OCR、元数据判断,照样能跑完、出报告,但**实拍 / AI / 3D 的区分明显变弱**,音效清单也只有信号层的低置信候选。开了 VLM,工具会把每个镜头的短片段和关键帧发给它,再和确定性结果融合。
36
-
37
- 配置走 OpenAI 兼容接口,按以下顺序读取:
38
-
39
- 1. `REA_VLM_BASE_URL` / `REA_VLM_API_KEY` / `REA_VLM_MODEL`(`REA_VLM_MODEL` 可写多个模型、逗号分隔,前一个失败自动换下一个)
40
- 2. 如果没有,回落到 capsule-cinema 的 `VIDEO_ANALYSIS_*` 或 `GEMINI3_*`
41
-
42
- 用 `--env-file <某个 .env>` 读取配置(例如复用 capsule-cinema 的)。**不要把密钥写进对话、仓库或报告,也不要打开 .env 看内容。**
19
+ ## Optional local ASR
20
+ `pip install "rea-video[ocr,asr] @ git+https://github.com/JuneYaooo/rea-video"`, or install `sherpa-onnx` in the existing environment. SenseVoice transcribes isolated vocals in Chinese, English, Japanese, Korean and Cantonese. First use downloads about 160 MB into `$REA_VIDEO_MODELS` (default `~/.cache/rea-video/models`). Results populate `speech.lines`, report scripts and review-task `said`; `--no-asr` skips it. Without installation, `speech.reason=not_installed` and other analysis continues.
21
+ Machine transcripts can mishear names/homophones. Prefer visible subtitles or verified VLM dialogue. Mark unreviewed transcripts accordingly. Per-line `timing: estimated` is estimated by character counts; segment endpoints are measured.
43
22
 
44
- 用户没配 VLM 时:照常不加 `--vlm` 跑,不要因此中止任务。
23
+ ## Optional VLM
24
+ A multimodal model can inspect shot clips/keyframes and, where supported, audio. Without one, deterministic statistics/OCR/metadata still produce reports, but live-action/AI/3D distinctions weaken and SFX remain low-confidence candidates.
25
+ Configuration precedence:
26
+ 1. `REA_VLM_BASE_URL`, `REA_VLM_API_KEY`, `REA_VLM_MODEL`; comma-separated models fail over in order.
27
+ 2. capsule-cinema `VIDEO_ANALYSIS_*` or `GEMINI3_*` fallback.
28
+ Load settings with `--env-file <file>`. Never print keys, read secret file contents into chat, or commit credentials.
45
29
 
46
- - **你自己能看图(多模态 agent)**:你就是这次的"VLM",不需要建议用户另配。按 SKILL.md 第 1 节的「看图复核并入」做:`rea-video review` → 逐镜看图填答案 → `rea-video apply-review`,你的判断会并入工具结论和报告。结论里写"未开 VLM,由 agent 看图复核"。
47
- - **你看不了图**:遵守 `review.md` 的「看不了图时的规则」,并在回复末尾用一句话建议配置 VLM(说明能提升实拍/AI/3D 的区分和音效识别)。
48
- - 实测(仓库 eval/RESULTS.md):agent 看图复核并入比单开 Gemini VLM 更准;Gemini 容易把卡通 3D 风格的 AI 视频判成 3D 渲染、把画进画面的游戏界面判成录屏。所以能看图时**一定要做看图复核**,开了 VLM 也要做,并且独立判断,不要照抄 VLM。
49
- - 外部 VLM 仍有你替代不了的部分:它能直接看视频片段的运动、听音轨。你只能看静帧、听不了声音时,音效和人声来源照样标"待确认"。
30
+ If no VLM is configured, continue without `--vlm`. If you can inspect images, run review -> inspect -> apply-review yourself, independently of any VLM. Static frames do not replace video motion or audio inspection. If you cannot inspect images either, follow review.md and briefly suggest configuring a multimodal model.
50
31
 
51
- **VLM 是否真的生效,以 `rea-video summary` 的 `VLM:` 一行为准**(也在 `breakdown.json` 的 `analysis.vlm.status`):`ok` 已生效、`partial` 部分镜头有结果、`failed` 请求了但全部调用失败(例如服务端 503)、`not_configured` 请求了但没找到配置、`off` 没请求。`failed` / `not_configured` 等同没开 VLM,报告里要如实写,不能写"已开 VLM"。镜头很多时这一行会写"只送了 a/n 个镜头":默认最多 60 次调用,没送的镜头只靠确定性取证,需要全看就加 `--max-vlm-shots N` 重跑,或对这些镜头做看图复核。
32
+ The summary's `VLM:` line and `analysis.vlm.status` are authoritative: `ok` effective, `partial` some results, `failed` all requested calls failed, `not_configured` missing setup, `off` not requested. Partial coverage may show a/n shots; default budget is 60 calls. Use `--max-vlm-shots N` only when appropriate, or visually review unsent shots. Upstream evaluation suggests independent agent review can correct VLM confusion between cartoon AI/3D and game footage/screen capture; this is upstream evidence, not a local accuracy benchmark.
@@ -1,139 +1,41 @@
1
- # 制作方式分类与易混对照
1
+ # Production taxonomy and confusion checks
2
2
 
3
- ## 11 类底层画面
4
-
5
- | 标签 | 中文 | 典型证据 | 复刻路线 |
6
- |---|---|---|---|
7
- | live_action | 实拍 | 传感器噪声 σ>1、时域噪声 >0.8、逐像素不变比例 <0.55、手持抖动、原生 60fps、拍摄设备元数据 | 实拍素材(用户提供)或 AI 图生视频近似 |
8
- | ai_video | AI 生成视频 | 无传感器噪声的照片纹理、24→30 重复帧或插帧周期、平滑漂浮的运镜;VLM 看到手指、文字、物体形变或纹理闪烁 | capsule-cinema 首尾帧生成 |
9
- | avatar | 数字人口播 | 固定机位正脸,只有嘴和头在动,音频驱动 | TTS/克隆 + 数字人 |
10
- | cg_3d | 3D 渲染 | 平涂/干净材质但背景不是逐像素冻结,几何稳定、无形变 | Blender/C4D,或 AI 首尾帧近似 |
11
- | code_render | 代码/模板渲染 | 平坦块 >20%、用色 <70、横竖直边多;背景逐像素冻结、只有局部元素在动;没有材质纹理(平滑彩色渐变、大块饱和纯色、暗底辉光、分形/着色器色场);暗底上亮部全是细碎亮点/细线(粒子、点云、线框) | Remotion/HTML 重建;报告按画面类型给做法(粒子 → Three.js,色场 → GLSL,渐变 → CSS blur,图表 → SVG/D3) |
12
- | screen_capture | 录屏/截图 | 大面积浅色界面、密集小字号文字、低饱和、整页滚动 | 真实界面录制(用户提供) |
13
- | still_motion | 静态图推拉 | 刚体变换内点率 >95%、残差 <0.3px、补偿后无残余、无 24fps 帧率痕迹 | 一张图 + 本地 ffmpeg 按测得参数重建 |
14
- | static_hold | 静帧 | 85% 以上帧逐像素重复 | 一张图 |
15
- | anim_2d | 2D 动画 | 工具测不出,只能看图:线条和平涂色块稳定、角色有骨骼或逐帧动作、常见"一拍二" | 角色设定图 + 首尾帧生成;要精确口型动作时做 AE / Live2D / Spine |
16
- | stop_motion | 定格动画 | 工具测不出,只能看图:真实材质(黏土、毛毡、纸)、动作一顿一顿、帧间轻微闪烁、同一实物光照不变 | 首选真的拍(固定机位、每秒约 12 张);AI 只能近似 |
17
- | film_footage | 影视片段 | 工具测不出,只给线索:画面嵌在黑边里、24/25fps 源。看图看:认得出的演员或剧集、专业布光和多机位正反打、大量群演和成套布景、台标或平台水印 | 找原片对应片段再剪(版权属于片方,商用要授权);不用原片就按同样景别和打光自己拍,或 AI 近似 |
18
-
19
- `anim_2d` / `stop_motion` / `film_footage` 只由看图来源判断:只有一方看图时结论标「待确认」,VLM 和 agent 都看过才去掉。
20
-
21
- `live_action` 只用于视频作者或客户自己拍的画面;剪自已有电影、电视剧、短剧的画面一律是 `film_footage`,哪怕拍得再像实拍。
22
-
23
- ## 实拍上的 AI 加工(ai_edits)
24
-
25
- 底层是实拍或定格时,再看有没有被 AI 二次加工,写在 `ai_edits` 里,复刻方案会在拍摄场次后面加"拍完后要做的 AI 加工":
26
-
27
- | kind | 中文 | 看什么 | 复刻 |
28
- |---|---|---|---|
29
- | face_swap | 换脸 | 脸部边缘和发际线闪烁、脸和脖子肤色/光线不一致、侧脸时五官漂移 | R12 视频编辑模型换人 |
30
- | lip_sync | 对口型/改台词 | 嘴型和下巴不跟、牙齿模糊、只有嘴部区域画质不同 | R13 口型重配 |
31
- | restyle | 整段风格化重绘 | 动作是真人的,但画面是动漫/油画/黏土等风格,纹理在帧间游移 | R12 视频编辑模型 |
32
- | outfit_swap | AI 换装 | 衣服纹理闪烁、和手臂交界处糊 | R05 试穿图 + 视频 |
33
- | bg_replace | 抠像换背景 | 头发边缘有光晕或锯齿、人和背景光线方向不一致、背景透视不对 | 绿幕抠像,或 R12 |
34
- | object_edit | 加/删/换物体 | 物体边缘闪烁、阴影缺失 | R12 |
35
- | beautify | 美颜/瘦脸 | 皮肤过度光滑、背景直线在脸边弯曲 | 剪映等美颜 |
36
-
37
- ## 判断要点速查
38
-
39
- | 现象 | 指向 |
3
+ ## Eleven underlying-image labels
4
+ | Enum | Evidence and recreation |
40
5
  |---|---|
41
- | 相邻帧逐像素重复、首尾无变化 | 静帧;如果是平涂渲染卡片,归为代码渲染 |
42
- | 整帧按一个刚体变换缩放/平移,补偿后无残差,且**没有** 24fps 源的帧率痕迹 | 静态图推拉 |
43
- | 平涂色块多、用色少、横竖直边多 | 渲染(代码或 3D);背景像素逐帧完全不变、只有局部在动 → 2D 代码动效 |
44
- | 约 20% 帧重复、周期 4–6(24→30) | 源是 24fps:AI 生成 / 3D / 电影或电视剧素材,不是手机原生拍摄 |
45
- | 竖屏里一块 16:9 或更宽的画面嵌在黑边中间,上面标题、下面解说字幕 | 影视解说版式 → 倾向影视片段;AI 电影感短片也会加黑边,要看图 |
46
- | 画面上有「年份 ·《剧名》」、台标、平台水印,或多段画风和调色互不相同的片段快速切换 | 影视混剪 / 名场面合集 → 倾向影视片段 |
47
- | 只有清晰度按周期起伏、没有重复帧(插帧) | 弱证据:插帧和重新压缩都会造出来,要看图确认 |
48
- | 原生 ≥48fps 且无重复、无插帧周期 | 多为手机/相机实拍 |
49
- | 传感器噪声和时域噪声明显、手持抖动 | 实拍 |
50
- | 平台转码文件:整片原生 30fps、实拍类镜头没有重复帧 | 倾向手机实拍(转码后噪声证据失效,以帧率为准) |
51
- | 几乎无彩色、只用个位数颜色的平面画面 | 界面/文档动效(代码渲染),不是 3D |
52
- | 近黑底上的亮部几乎全是细碎亮点或细线、没有连续的明暗表面 | 粒子/点云/线框图形(代码渲染),不是 3D 实体、AI 或夜景实拍 |
53
- | 整幅画面几乎没有细纹理:平滑彩色渐变、大块饱和纯色、暗底辉光,或彩虹色场 | 代码绘制的渐变/矢量/着色器画面,不是 3D 渲染(3D 有布料、木纹等材质纹理);整帧都在动也一样 |
54
- | 整片铺满音乐、人声在唱(持续音高多) | 音乐 MV → 歌大概率 AI 生成 |
55
- | 旁白说话 + 垫底 BGM | 普通配乐 → 倾向现成曲库(待确认,AI 工作流常用 Suno) |
56
- | 切镜处底噪跳变 | 声音跟着片段走:AI 视频原生出声或实拍同期声 |
57
- | 文件带 GB 45438 AIGC 隐式标识 Label=1 | 声明为 AI 生成(只说明整片声明过,具体镜头仍要逐个判断) |
58
- | 浅色面板内有大量小字号文字 | 嵌入的界面截图 → 真实素材 |
59
- | 人声间隙里仍有响亮且有音调的声音 | 有 BGM 垫底 |
60
- | 大面积近黑但带颗粒、亮部不平坦、有人脸 | 夜景/弱光实拍(转码压暗部造成的平坦块不是渲染特征) |
61
- | 人脸占画面 ≥6%、整镜都在、说话 | 人物近景实拍或数字人;墙面/衣服的平坦块不算渲染证据 |
62
-
63
- ## 易混对照(复核时逐条看)
64
-
65
- **实拍 vs AI 视频**
66
- - 实拍:噪声颗粒随帧变化;手部、文字、远处人物正常;物理正确(布料、液体、碰撞)。
67
- - AI:皮肤和光线过于完美;背景人物或文字乱码;物体边缘"沸腾";动作缓慢漂浮;镜头末尾容易定格。
68
- - 帧率:24fps 源(AI/电影)vs 60fps 原生(手机)。注意 AI 插帧到 60fps 会留下清晰度周期,`sharp_period_ac>0.45`。
69
- - 确定性层对这一对最弱,**必须结合 VLM 和你自己看帧**。
70
-
71
- **卡通 3D 风格的 AI 视频 vs 真 3D 渲染**
72
- - 真 3D:几何、材质逐帧稳定,毛发和布料按物理运动,可以精确循环,平坦块多、用色少。
73
- - AI:同一物体在镜头内轻微变形,纹理闪烁,噪声更像照片(用色 >100)。
74
- - 抖音上大量"3D 卡通"账号是 AI 生成的,但没有标识时只能写倾向。
75
-
76
- **暗底粒子图形 vs 3D 渲染 vs AI 视频 / 夜景实拍**
77
- - 粒子图形(代码渲染):器官、人体、地球、分子等由成千上万个发光点或细线拼成,没有连续的明暗表面;常配左上角章节牌、引线标注、跳动的数字。Three.js、AE Plexus / Trapcode 都能做,复刻按代码工程走。
78
- - 3D 渲染:有连续的表面明暗、材质和阴影。
79
- - 夜景实拍 / AI:亮部是有明暗过渡的物体和光斑,带颗粒或形变。
80
- - 复核时 `description` 要写清每镜粒子拼成什么形状、颜色、怎么动(粒子流向、变形、推镜/环绕)、标注和数字在哪;报告「代码合成」一节的逐镜表就用它。只写"粒子背景"复刻出来就是一团光斑。
81
-
82
- **代码绘制的渐变 / 辉光 / 色场 vs 3D 渲染**
83
- - 代码画面:整幅几乎没有细纹理,只有平滑渐变、纯色块、辉光和文字;常见渐变光斑背景、毛玻璃卡片、霓虹字、CSS 3D 翻转卡片、分形缩放和 plasma 着色器。即使整帧都在动(背景漂移、辉光呼吸),也是代码渲染。
84
- - 3D 渲染:物体有材质纹理(布料、木纹、金属、塑料颗粒)、有投影和物体间的光影关系。
85
- - 加了胶片颗粒的扁平海报:颗粒去掉后是纯色块,算代码渲染;颗粒很重(工具测到噪声 σ≥3)时工具可能看不穿,要看图判断。
86
- - 平滑渐变缓慢变色容易被误认成交叉溶解;工具按"变化速度是否平稳"排除,复核时如果一个连续的背景动效仍被切成多镜,按一镜处理。
87
-
88
- **代码渲染 vs 录屏截图**
89
- - 代码渲染:字号大、品牌配色、矢量清晰、元素有动画入场。
90
- - 截图:浅色底、密集小字、界面控件(按钮、图标、导航),往往被整体缩放或滚动。
91
- - 模板里嵌入了截图:底层算代码渲染,截图在"真实素材"里单独列出。
92
-
93
- **代码渲染镜头怎么写 description**
94
- - 报告「代码合成」一节的「逐镜动效时间轴」是工具测的:每个元素的位置、出现时间、方向、快慢曲线、色值,依次出现的元素合并成一条"间隔 X 秒";关键帧条是 `shots/shot_XXX_strip.jpg`,元素截图和编号拼图是 `shots/shot_XXX_elements.jpg`。
95
- - 对照它们在 `description` 里按编号写清每个元素是什么("1–12:圆角图标卡片,依次弹入"),不用重复测量值。
96
-
97
- **静态图推拉 vs AI 视频的缓慢推镜**
98
- - 推拉:剪辑软件按时间线帧率渲染,每帧都不同,没有 24→30 的重复规律。
99
- - AI 推镜:带 24fps 源的重复帧规律,主体常有细微动作(呼吸、眨眼)。
100
-
101
- **2D 动画 vs 代码动效 vs AI 动画风视频**
102
- - 2D 动画:有角色和表演,线条稳定、按帧精确,常一拍二(每两帧才变一次)。
103
- - 代码动效:文字、图形、UI 的入场和缓动,没有角色表演。
104
- - AI 动画风:线条在帧间游移、细节形变,24fps 源痕迹。
105
-
106
- **定格动画 vs AI 视频 vs 实拍**
107
- - 定格:同一实物逐帧挪动,光照恒定,帧间有轻微闪烁和顿挫,材质上有指纹、毛边。
108
- - AI 仿定格:材质本身在帧间变化(黏土纹理漂移),没有真实的顿挫节奏。
109
- - 工具常把定格判成 AI(帧率规律相似),看图时重点看材质是否稳定。
110
-
111
- **影视片段 vs AI 短剧 vs 自己拍的实拍**
112
- - 影视片段:认得出的演员或剧集;专业剧组的布光(主光、轮廓光、布景里的实用光源)、景深和多机位正反打;大量群演、成套布景和道具、动作戏有替身和威亚;画面里的文字(招牌、报纸、屏幕)清楚可读;常带台标、平台水印、片头片尾字幕,或嵌在黑边里的宽画幅。
113
- - AI 短剧:脸过于完美、不同角色长得很像;手、牙齿、文字出错;背景人物少且模糊;物体和衣服纹理在帧间漂移;镜头多是 5–10 秒的单人近景。「影视效果」「剧情需要」这类免责声明在 AI 短剧解说里也常见,不能单独当证据。
114
- - 自己拍的实拍:口播、vlog、开箱这类作者本人或客户出镜,手机或小团队拍摄,没有剧组规模的布景和群演。
115
- - 解说类视频里如果插了作者自己的口播或 AI 画面,按镜头分别标。
116
- - 工具只开像素时会把影视片段判成「AI 视频」或「实拍」并标出「待确认」,复核时要改判。
117
-
118
- **游戏画面 vs 3D 渲染 vs 录屏**
119
- - 游戏实况、游戏解说、游戏混剪:底层归 `screen_capture`(录的是屏幕上实时渲染的游戏),不是 `cg_3d`。看血条、小地图、准星、技能图标、伤害数字、聊天框这类 HUD。复刻是录游戏,`description` 写明游戏名(认得出时)、视角和 HUD 位置。
120
- - 游戏 CG 宣传片、过场动画:没有 HUD、镜头调度像电影,归 `cg_3d`。
121
- - 工具和 VLM 都可能把带 HUD 的游戏画面判成 3D 或录屏界面,复核时以 HUD 为准。
122
-
123
- **动态漫 / 漫剧 vs 2D 动画 vs AI 视频**
124
- - 静态漫画分格只做推拉摇移 → `still_motion`;分格上叠了眨眼、头发飘、嘴动这类局部动画 → `anim_2d`;线条在帧间游移、细节形变 → `ai_video`。
125
- - 漫剧常是 AI 图 + 局部动效,`image_source` 填 `ai_image` 还是手绘,看线条和手指等细节。
126
-
127
- **静帧:AI 图 vs 真实照片 vs 渲染卡片**
128
- - 渲染卡片(平涂、少色)→ 归为代码渲染。
129
- - AI 图和真实照片在确定性层无法区分,交给 VLM;判断不了就写"图片素材(真实/AI 待确认)"。
130
-
131
- ## 切镜
132
-
133
- - 硬切:直方图距离与像素差的尖峰,且变化面积超过 25%。元素弹出不算切镜。
134
- - 跳剪 / 推近切:同机位同背景,人物位置或景别在一帧内跳变。变化面积只有 17% 以上,但比前后几帧的变化高出 2.5 倍以上,前后两帧都平稳,画面也不会回到切之前。
135
- - 闪光、枪口火光、频闪:画面一两帧内变亮又恢复原样,不算切镜;闪白转场褪去后露出新画面,仍算切镜。
136
- - 短镜头:两刀干净的硬切之间、画面稳定的镜头,最短保留 0.12 秒(快剪插入、开头封面帧);更近的几处边界属于同一个转场,保留最强的一处。
137
- - 交叉溶解:中间帧是两端帧的线性混合(α 在 0.2–0.8,残差 <0.2),并用光流排除推拉运动。
138
- - 淡入淡出:亮度降到极暗或极亮再回来。
139
- - MG 节拍:长镜头内"定格 → 动画 → 定格",两个定格内容差异超过 12%,记为镜头内节拍,不算切镜。
6
+ | `live_action` | Author/client-shot footage: sensor noise sigma>1, temporal noise>0.8, unchanged-pixel share<0.55, handheld motion, native 60fps, camera metadata. Request originals or propose a disclosed AI approximation |
7
+ | `ai_video` | Photographic texture without sensor noise, 24->30 duplicate/interpolation cadence, floating camera, deforming hands/text/objects or flicker. Recreate with reviewed first/last-frame generation |
8
+ | `avatar` | Fixed frontal talking head with audio-driven mouth/head movement; authorized voice/avatar workflow |
9
+ | `cg_3d` | Stable geometry/materials and physically coherent movement; clean but not pixel-frozen background. Blender/C4D or disclosed AI approximation |
10
+ | `code_render` | Flat blocks>20%, colors<70, straight edges, frozen background/local animation; smooth gradients, saturated shapes, dark glows, shader fields, particles/point clouds/wireframes without material texture. Remotion/HTML; Three.js for particles, GLSL for fields, CSS blur for gradients, SVG/D3 for charts |
11
+ | `screen_capture` | Dense small UI text, light panels, low saturation, page scrolling or game HUD. Request actual recording/screenshots |
12
+ | `still_motion` | Rigid-transform inliers>95%, residual<0.3px, no remaining compensated motion and no 24fps cadence. Rebuild from one image with FFmpeg |
13
+ | `static_hold` | >85% pixel-duplicate frames; one image, unless a flat rendered card is more appropriately code_render |
14
+ | `anim_2d` | Visual-only recognition: stable linework/flat colors, skeletal/frame animation, often on twos; character sheet plus animation or AE/Live2D/Spine for precision |
15
+ | `stop_motion` | Visual-only: stable real clay/felt/paper texture, stepped motion, slight flicker and stable lighting. Prefer actual fixed-camera capture (~12 images/sec); AI is an approximation |
16
+ | `film_footage` | Existing film/TV/short-drama excerpts: recognizable actors, professional sets/lighting, extras, readable scene text, watermarks/credits, wide frame in black bars. Source and license footage or reshoot; do not call it client-shot live_action |
17
+
18
+ Visual-only labels remain uncertain with one visual source; independent agent+VLM review can strengthen them. No label is established solely by style, metadata absence or a platform disclaimer.
19
+
20
+ ## AI edits on live action/stop motion
21
+ Use exact `ai_edits.kind` enums: `face_swap` (flickering face/hair edges, lighting mismatch, drifting profile; R12), `lip_sync` (jaw/mouth mismatch, blurred teeth/local quality; R13), `restyle` (human motion with drifting anime/painting/clay texture; R12), `outfit_swap` (flickering clothes/arm boundaries; R05+video), `bg_replace` (hair halos, mismatched lighting/perspective; keying or R12), `object_edit` (unstable edges/missing shadows; R12), `beautify` (over-smoothed skin/warped nearby straight lines; beauty editor). Add required post-shoot AI processing to the filming plan.
22
+
23
+ ## Evidence checks
24
+ - Around 20% duplicate frames with a 4-6 cadence suggests 24->30 conversion: AI, CG or film, not necessarily AI. Native >=48fps without duplicates/interpolation favors camera footage. Sharpness periodicity alone is weak; AI upsampling to 60fps may have `sharp_period_ac>0.45`.
25
+ - Platform transcoding invalidates missing-noise arguments. Native 30fps with no shot duplicates can support phone footage; combine with visual evidence.
26
+ - Sparse glowing points/lines without continuous shaded surfaces are code particles, not solid CG. Describe the shape, color, particle flow/morph/camera, labels and numbers, not merely particle background.
27
+ - Smooth gradients/glows/flat saturated shapes remain code_render even if the entire frame moves. CG has material texture, shadows and object-light interaction. Flat posters with added film grain may fool noise tests (sigma>=3); inspect visually. A continuous slow gradient is not automatically a dissolve.
28
+ - Code typography is large/branded/vector-like with entrances; screenshots contain dense UI controls/small text. A screenshot inside a template is an embedded real asset over code_render.
29
+ - Code descriptions identify numbered elements in `shots/shot_XXX_elements.jpg` and `shot_XXX_strip.jpg`; measured position/time/easing/colors belong to the report timeline and need not be re-invented.
30
+ - A slowly zoomed still has rigid motion and timeline-rate changes; AI push-ins often retain 24fps cadence and tiny breathing/blinking movements.
31
+ - 2D character animation has stable lines and performance; code motion animates text/UI/shapes; AI animation style drifts/deforms. Comic panels with pan/zoom are still_motion; local blinking/hair/mouth animation is anim_2d; drifting details support ai_video. Record `image_source=ai_image` only when supported.
32
+ - Stop motion preserves physical fingerprints/fibers with stepped movement; AI imitation changes the material itself. Verify stability rather than cadence alone.
33
+ - Film has identifiable actors/sets/extras, readable signs and coherent professional shooting. AI shorts may have overperfect similar faces, malformed teeth/hands/text, drifting clothes and repeated 5-10-second closeups. Commentary layouts/disclaimers do not distinguish them. Label inserted author footage and AI shots separately.
34
+ - Game recordings/commentary/montages are screen_capture: inspect health bars, minimaps, reticles, abilities, damage/chat HUD. State game/viewpoint/HUD positions when recognized. HUD-free cinematic cutscenes/promos may be cg_3d.
35
+ - A static AI image vs real photo is not reliably separated by deterministic metrics; use visual review or keep origin unresolved. Flat low-color cards are code_render.
36
+ - Dark grainy footage with faces and non-flat highlights may be night live action, even if transcoding flattened shadows. A speaking face occupying >=6% throughout the shot supports a close-up/avatar, not a rendering label based only on a flat wall or clothing.
37
+ - Whole-file GB 45438 AIGC `Label=1` declares AI involvement in the file; classify individual shots separately. Audio across cuts and BGM in speech gaps are supporting contextual cues, not image-production proof.
38
+
39
+ ## Cuts
40
+ Hard cuts require histogram/pixel spikes affecting >25%; element entrances are not cuts. Jump/punch-in cuts may affect >17% but exceed surrounding frame changes by >2.5x, with stable adjacent frames and no return to the previous image. Flashes that return after 1-2 frames are not cuts; a white-flash transition revealing a new scene is.
41
+ Keep stable shots between clean cuts as short as 0.12 seconds. Merge closer boundaries from one transition using the strongest boundary. Dissolves fit an alpha blend of endpoints (alpha0.2-0.8, residual<0.2), with optical flow excluding zoom/pan. Fades pass through very dark/light frames. Within-shot motion-graphics holds with content difference>12% are internal beats, not separate cuts.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: windows-computer-automation
3
- description: Coordinate an AI agent or bot that controls Windows through Agent Desktop and Windows-MCP. Use it to read the screen, work windows, type, drive a browser, and manage apps, files or processes; pick the right tool, respect permissions, keep bots from fighting over the mouse, verify results and never repeat an action blindly. Also helps design or fix the integration of these two MCP servers into a multi-agent AI app. (vi: điều khiển máy tính, tự động hóa Windows, thao tác cửa sổ, chụp màn hình)
3
+ description: "Coordinate an AI agent or bot that controls Windows through Agent Desktop and Windows-MCP. Use it to read the screen, work windows, type, drive a browser, and manage apps, files or processes; pick the right tool, respect permissions, keep bots from fighting over the mouse, verify results and never repeat an action blindly. Also helps design or fix the integration of these two MCP servers into a multi-agent AI app. (vi: điều khiển máy tính, tự động hóa Windows, thao tác cửa sổ, chụp màn hình)"
4
4
  ---
5
5
 
6
6
  # Windows Computer Automation
@@ -1,25 +1,15 @@
1
- # Prompt dành cho Leader — triển khai Windows Computer Automation vào Herionix
1
+ # Technical leader prompt: integrate Windows Computer Automation into Herionix
2
2
 
3
- Bạn là Leader kỹ thuật của dự án Herionix (desktop Windows). Hãy tích hợp Skill `windows-computer-automation` đính kèm vào hệ thống Bot/Teammate. Mục tiêu: mỗi bot được sử dụng có phân quyền cả Agent Desktop MCP và Windows-MCP; không có hai bot cùng tác động input trên một Windows interactive session.
3
+ You are the technical lead for Herionix, a Windows desktop application. Integrate the attached `windows-computer-automation` skill with the Bot/Teammate system. Every authorized bot must have access to Agent Desktop MCP and Windows-MCP. Two bots must never send input to the same Windows interactive session simultaneously.
4
4
 
5
- ## Quy tắc làm việc
5
+ 1. Inspect the actual repository and existing MCP/tool/skill architecture. Do not guess frameworks, paths or versions. Make a brief plan and change only necessary files; coordinate file ownership if teammates are explicitly requested.
6
+ 2. Read `SKILL.md`, `references/herionix-integration.md`, `references/security.md`, and `references/routing.md`. Treat `assets/mcp-servers.example.json` as a reference, not an assumed compatible schema.
7
+ 3. Connect Agent Desktop (`agent-desktop mcp`) and Windows-MCP (`uvx windows-mcp serve` over stdio). Discover `list_tools` dynamically. Verify health, startup/shutdown, timeouts and transport failures. Do not spawn duplicate servers for bots sharing one desktop.
8
+ 4. Implement ToolRegistry, ComputerControlManager, AuthorizationService, DesktopSessionScheduler, ExecutionLedger and Verifier, or equivalents appropriate to the existing architecture.
9
+ 5. Prefer Agent Desktop for accessibility references; use Windows-MCP for App/FileSystem/Process and suitable UI fallback. Observe before acting and verify postconditions. Never retry blindly after a side effect.
10
+ 6. Enforce canonical Windows path allowlists, per-bot permissions, genuine host UI approvals, disabled-by-default PowerShell/Registry, a single desktop writer, per-step idempotency, at most one technical retry and two cycles without progress. Model-supplied approval flags cannot bypass policy.
11
+ 7. Provide Vietnamese UI under `Tools > Windows Computer Automation`: provider switches/status, allowed folders, bot permissions, current desktop owner/queue, minimal logs and an emergency stop.
12
+ 8. Test all eight scenarios in `references/herionix-integration.md`, including no GUI session, server crashes, stale references and user mouse input.
13
+ 9. Preserve Hermes, AionUI Teammate, bot configuration and user data. Do not expose MCP publicly.
6
14
 
7
- 1. Kiểm tra cấu trúc mã nguồn Herionix và cơ chế MCP/Tool/Skill hiện có; không đoán framework, đường dẫn hay version. Lập kế hoạch ngắn, phân task cho Teammate phù hợp, chỉ thay đổi các file cần thiết.
8
- 2. Đọc `SKILL.md`, `references/herionix-integration.md`, `references/security.md`, `references/routing.md` trong gói Skill; dùng file `assets/mcp-servers.example.json` như cấu hình tham khảo, không giả định schema Herionix tương thích.
9
- 3. Kết nối Agent Desktop (`agent-desktop mcp`) và Windows-MCP (`uvx windows-mcp serve` qua stdio). Cần kiểm tra `list_tools` động, healthcheck, startup/shutdown, timeout, lỗi transport; không spawn server trùng lặp cho từng bot dùng chung desktop.
10
- 4. Xây các module `ToolRegistry`, `ComputerControlManager`, `AuthorizationService`, `DesktopSessionScheduler`, `ExecutionLedger`, `Verifier` hoặc tương đương với kiến trúc dự án.
11
- 5. Ưu tiên Agent Desktop cho thao tác có ref accessibility; Windows-MCP cho App/FileSystem/Process và fallback UI. Quan sát trước thao tác, xác minh hậu điều kiện sau thao tác. Không retry mù sau side effect.
12
- 6. Bảo vệ ở backend: allowlist đường dẫn đã canonicalize trên Windows, quyền tool từng bot, approval UI do người dùng xác nhận, disable PowerShell/Registry mặc định, khóa single-writer desktop, idempotency từng step, max 1 retry kỹ thuật + 2 vòng không tiến triển. Model không được tự gửi cờ phê duyệt để vượt policy.
13
- 7. UI tiếng Việt trong `Tools > Windows Computer Automation`: bật/tắt providers, trạng thái kết nối, chọn thư mục cho phép, quyền Bot, hàng đợi đang giữ desktop, log tối giản, nút Dừng khẩn cấp.
14
- 8. Bổ sung unit/integration tests cho đúng 8 kịch bản trong `references/herionix-integration.md`; thử nghiệm khi không có GUI session, khi MCP server crash, khi ref UI stale và khi người dùng điều khiển chuột.
15
- 9. Không phá module Hermes, AionUI Teamate, các cấu hình Bot hoặc dữ liệu người dùng. Không expose MCP ra mạng công khai.
16
-
17
- ## Tiêu chuẩn hoàn tất
18
-
19
- - Có code thực thi trong Herionix, không chỉ prompt hoặc file SKILL.md.
20
- - Bot có thể chọn provider theo nhiệm vụ, nhưng mọi desktop input được serialize.
21
- - Không có quyền ngoài allowlist; thao tác rủi ro cần approval thật từ UI host.
22
- - Unit + integration tests đạt, báo cáo file thay đổi và cách chạy.
23
- - Không tuyên bố đã test GUI thật nếu chỉ chạy mock tests.
24
-
25
- Hãy bắt đầu bằng việc khám phá codebase, trình bày ngắn những module hiện có và triển khai theo từng phần kiểm chứng được. Không hỏi lại những thông tin đã thể hiện trong mã nguồn.
15
+ Completion requires executable integration, serialized input, permissions enforced by the host, passing unit/integration tests and a concise report of changed files and verification. Distinguish mocked tests from real GUI acceptance. Begin with repository evidence and implement verifiable slices; do not ask for information already present in the code.