grandClaude Opus 5.5 04e6b7cba7 Fix storyboard breaker: full timelines, binding checks, stale scripts
The storyboard breaker produced half-length episodes and unusable
prompts. Root causes and fixes:

- The prompt mapped each shot to 1-2 three-second lines, so a 3-shot
  segment always stopped at 9 s regardless of its duration. The rule
  now requires the timeline to run from 0 s to the segment duration,
  and save_storyboards rejects any batch whose timeline is incomplete
  or discontinuous.
- Total length was only a sentence in the prompt. read_storyboard_context
  now returns target_total_seconds (chars / 500 per minute) and
  save_storyboards reports progress against it so the agent keeps
  splitting to the end of the script.
- Editing the source text after a rewrite/skip left script_content stale
  and storyboards were split from the old version silently. Episodes now
  store script_source_hash; pipeline-status reports "stale" and
  read_storyboard_context refuses with an explanation.
- @Name mentions were never checked against character_ids (e.g. "@Name"
  while the costume variant was bound), so references silently failed.
  Saves now reject unbound mentions; rules clarify that partial on-screen
  appearances are bound and voice-only characters are not.
- No rule kept on-screen text (rules, captions, red text) out of image
  and video prompts; video models render it as garbled glyphs. Added the
  rule plus a save-time check that ignores negated phrasing.

Template version bumped to 5; built-in skills are now re-synced on
upgrade alongside prompts (user-created skills are untouched).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:08:56 +08:00

火宝短剧 · 本地多显卡版

基于 chatfire-AI/huobao-drama 4.0.11 的本地定制代码。上游源码基线为 b48e6b2312166e25b1ff141832d2e82e5d63c142,原项目说明和许可证保留在 huobao-source/。

已集成功能

  • 模型桥接与多显卡图片、视频调度;可按单个分镜选择显卡重新生成。
  • 显示实际执行节点:GPU1 / ComfyUI 8189、GPU2 / ComfyUI 8188、GPU3 / ComfyUI 8191。
  • MiniMax H3 视频及 VDN-H3 2K/4K 高清版本,保留原版供对比。
  • 角色、场景、道具的图片参考图上传与编辑接口。
  • 本地长任务持续查询、重启后恢复查询和原任务结果恢复。
  • 固定数据目录、一键启动、升级备份与真人实拍、仙侠风格预设。

目录

目录或文件 用途
huobao-source/ 前端、后端、Electron 桌面端源码及上游文档
model-bridge/ 模型桥接、启动、打包、升级、数据检查和测试脚本
integration-work/*.py、*.ps1、*.cjs 服务器适配、部署、迁移及验证脚本;部分为历史维护步骤,运行前阅读脚本
integration-work/browser-test/ 浏览器界面验证脚本
一键启动火宝.cmd 当前 Windows 工作站的启动入口
升级与高清制作说明.txt 本地升级和高清制作说明

本地数据与配置

此仓库保存代码,不包含项目数据库、模型密钥、生成素材、视频、安装包和备份。现有机器上的这些文件不会因为加入 .gitignore 而被删除。

  • huobao-data/:项目、模型配置、素材和生成记录,必须单独备份。
  • HuobaoDrama/:安装后的桌面应用,不随代码上传。
  • model-bridge/client.json、grok-client.json:本机连接配置和令牌,不上传。
  • integration-work/backups/、previous-app-*/、stage-4.0.11/:升级备份及打包产物,不上传。
  • 所有常见视频扩展名均已加入忽略规则;TypeScript 的 .ts 源码正常跟踪。

在新机器上仅克隆代码不会恢复原项目和模型配置,需要另外恢复数据备份并配置私有接口。维护脚本含当前工作站路径和内网节点约定,迁移前需按部署环境检查。

开发与构建

按 huobao-source/README.md 和各目录的 package.json 安装对应依赖并构建。当前本地升级流程还使用 model-bridge/build_upgrade.py 与 switch_upgrade.ps1,需要准备已验证的 4.0.11 桌面运行包;安装包与暂存包不存入 Git。

一键启动火宝.cmd 面向已经安装、已有数据的工作站,不是全新安装程序。升级前先保存编辑并完成数据库、素材和配置备份。

Git 同步

git pull --ff-only origin main
git status
git add <需要提交的代码路径>
git commit -m "说明本次修改"
git push origin main

拉取代码不会自动替换正在运行的桌面程序。构建和升级需单独执行。当前工作站 huobao-source/.git 中的上游历史保留在本地,不作为子模块提交;新克隆会直接得到完整源码。

S
Description
No description provided
Readme
9 MiB
Languages
Python 40.3%
TypeScript 28.2%
Vue 22.1%
JavaScript 8.1%
CSS 0.7%
Other 0.5%