dsh-huobao-drama
Manifest validA DSH sidebar panel that embeds the Huobao Drama short-video studio Web UI in an iframe, plus 19 huobao_* bridge tools for the local backend (health, drama and model CRUD, generation tasks, config and
DSH 火宝短剧桥接插件(dsh-huobao-drama)
把 火宝短剧 的后端 HTTP API 桥接成一组的 DSH Agent 工具:项目管理、剧本/分镜拆解、角色/场景/素材、图片/视频生成任务、导入导出与配置查询。
本插件不内置后端。火宝短剧是一个 Hono + Drizzle(SQLite) + Mastra 的全栈 TS 应用,需要单独运行它的 backend 服务(默认端口 5679)。本插件只负责把它的能力以工具形式暴露给 DSH 里的大模型。
致谢与声明
- 本插件的后端能力来自开源项目 火宝短剧(chatfire-AI/huobao-drama),在此向原作者及所有贡献者致以诚挚感谢;正是他们的开源工作让本项目成为可能。
- 本项目是一个非官方的第三方桥接/封装插件,与火宝短剧官方团队无隶属、赞助或背书关系。
- 火宝短剧相关的代码、名称、商标及文档版权归原权利人所有,并遵循其原仓库声明的开源许可证。本项目仅作技术集成与便利化使用,不主张任何所有权;如涉及侵权或授权问题,请联系处理。
侧栏面板
插件提供一个 DSH 侧栏入口「火宝短剧」,点击后在主区域以面板(iframe)嵌入火宝完整 Web UI(默认 http://127.0.0.1:5679/)。这是官方界面的嵌入展示,功能与直接用浏览器打开一致;前端页面同样来自上述官方项目。
安装
在 DSH 配置文件的 profile 里:
dsh.profile.bundles加入"dsh-huobao-drama"dependencies加入"dsh-huobao-drama": "link:E:/DshConfig/dsh-huobao-drama"(link 表示直接读源码,改代码即时生效)
工具注册型插件必须在 profile 里声明并完整重启 DSH(仅刷新网页无效)。
配置
在插件配置(plugins.bundle.config,key = dsh-huobao-drama)里可设置:
| 键 | 默认 | 说明 |
|---|---|---|
baseUrl | http://127.0.0.1:5679 | 火宝后端地址 |
apiPrefix | /api/v1 | API 前缀;后端若改了前缀在这里同步 |
timeoutMs | 60000 | 单次请求超时(图片/视频生成可按需调大) |
启动后端
cd <huobao-drama>/backend
npm install
npm run dev # 默认监听 5679,数据写在仓库 data/huobao.sqlite3
验证:curl http://127.0.0.1:5679/api/v1/health 应返回 {"status":"ok",...}。
工具集
安装后可用工具以 huobao_ 前缀命名,覆盖了后端 /api/v1/* 的主要资源与动作。所有工具返回的是拆过信封的可读结果(后端的 {code,data,message} 信封会被拆开,错误变成人话),不含裸数据结构。
说明
- 后端 AI 模型配置存在它自己的 SQLite 表
ai_service_configs里,不在本插件中;请用huobao_list_models_and_configs一类工具或在火宝前端里配置。 - 视频/图片生成是异步任务,用
huobao_generate_task提交、huobao_get_task_status轮询。
Comments
Loading…
Similar plugins
Five web UI tools in one plugin: a provider + model two-button selector with reasoning-level control, collapse/expand-all for sidebar workspace groups, a session tab listing the files the session chan
★ 0
NOASSERTION
JavaScript
dsh plugin --profile web add dsh-ui-toolsby HengryLiang
DeepSeek Harness 插件:AI 短剧工作区(立项/总纲/人物/剧本/分镜/导出)+「短剧模式」Agent 预设(34 个 drama_* 工具、9 个随包技能)· AI short-drama workspace plugin for DSH
★ 11
MIT
JavaScript
Nov 14, 2026
dsh plugin --profile web add dsh-plugin-ai-drama为模型展示交付成果和下达精细微调指示的dsh desktop面板
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-plugin-middle-panelA Codex-style right side panel for the DSH Web UI — session artifacts browser (live file tree, scan include, preview, reveal) plus a side chat that forks the current session with a model picker, human
★ 0
dsh plugin --profile web add dsh-sidepanelby xing-shuyin
Developer tools panel for the DSH web UI: file browser with preview, edit, and path-only file mentions; multi-tab terminals with quick commands; Git panel with commit, push, pull, and branch switching
★ 6
↓ 78/wk
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-ui-toolsby NINKCH
A node-based short-drama studio inside DeepSeek Harness. Start from a one-line idea, walk out with a storyboarded, voiced, subtitled video cut — right on an infinite canvas.
★ 156
↓ 3k/wk
Apache-2.0
JavaScript
Nov 18, 2026
dsh plugin --profile web add @ninkch/dsh-infinite-canvas