@oh-story/dsh 0.1.5 → 0.1.7
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.
- package/README.md +10 -8
- package/lib/client.js +322 -96
- package/lib/client.js.map +4 -4
- package/lib/drama/manifest.json +34 -34
- package/lib/drama/skills/short-drama/SKILL.md +4 -1
- package/lib/drama/skills/short-drama/references/contract-and-ownership.md +2 -0
- package/lib/drama/skills/short-drama/references/creator-documents.md +30 -4
- package/lib/drama/skills/short-drama/references/creator-workflow.md +8 -2
- package/lib/drama/skills/short-drama/references/reference-roles.md +16 -2
- package/lib/drama/skills/short-drama/scripts/creator_markdown_check.py +328 -48
- package/lib/drama/skills/short-drama-produce/SKILL.md +4 -1
- package/lib/drama/skills/short-drama-produce/scripts/production_tool.py +34 -2
- package/lib/drama/skills/short-drama-storyboard/SKILL.md +27 -5
- package/lib/drama/skills/short-drama-storyboard/references/review-and-fixtures.md +2 -1
- package/lib/drama/skills/short-drama-storyboard/references/stage-contract.md +2 -2
- package/lib/drama/skills/short-drama-video-prompts/SKILL.md +11 -2
- package/lib/drama/skills/short-drama-video-prompts/assets/video-prompts.md +6 -1
- package/lib/drama/skills/short-drama-video-prompts/references/minimax-h3.md +19 -3
- package/lib/drama/skills/short-drama-video-prompts/references/stage-contract.md +8 -2
- package/lib/drama/skills/short-drama-video-prompts/references/target-model-profile.md +1 -0
- package/lib/index.js +194 -62
- package/lib/index.js.map +4 -4
- package/lib/types/client/drama-production-view.d.ts +1 -0
- package/lib/types/client/drama-production-view.d.ts.map +1 -1
- package/lib/types/client/drama-production.d.ts +3 -0
- package/lib/types/client/drama-production.d.ts.map +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/video-studio.d.ts +2 -1
- package/lib/types/client/video-studio.d.ts.map +1 -1
- package/lib/types/client/workbench-presence.d.ts +29 -0
- package/lib/types/client/workbench-presence.d.ts.map +1 -0
- package/lib/types/drama-adapters.d.ts +65 -0
- package/lib/types/drama-adapters.d.ts.map +1 -0
- package/lib/types/host-python.d.ts +19 -0
- package/lib/types/host-python.d.ts.map +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/skill-provider.d.ts +1 -1
- package/lib/types/skill-provider.d.ts.map +1 -1
- package/lib/types/workspace-route.d.ts.map +1 -1
- package/package.json +41 -41
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
`oh-story-dsh` 是基于 DeepSeek Harness(DSH)构建的社区小说、短剧、互动游戏与视频解说创作插件,提供:
|
|
8
8
|
|
|
9
9
|
- 13 个 Oh Story 小说 Skills 与 7 个专业 Roles;
|
|
10
|
-
- 10 个 Drama Skills 0.6.
|
|
10
|
+
- 10 个 Drama Skills 0.6.5 短剧流程,每集按请求维护最多五份 creator-first Markdown;
|
|
11
11
|
- 7 个 NovelToGame 0.3.0 Skills、`game-adaptations/<project>` 产物协议与《金瓶梅 · 风月总账》可玩构建;
|
|
12
12
|
- 6 个 video-recap-skills 0.4.0 Skills、`video-recaps/<project>` 项目约定与轻量视频预览工作台;
|
|
13
13
|
- 小说协议 hooks 与安全的 Session workspace 文件路由;
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
## 安装
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npx -y @deepseek-ai/dsh@0.1.2-
|
|
25
|
-
npx -y @deepseek-ai/dsh@0.1.2-
|
|
24
|
+
npx -y @deepseek-ai/dsh@0.1.2-rc.1 plugin --profile web add @oh-story/dsh@0.1.7
|
|
25
|
+
npx -y @deepseek-ai/dsh@0.1.2-rc.1 web
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
也可以直接安装 GitHub Release 中的预构建包:
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
npx -y @deepseek-ai/dsh@0.1.2-
|
|
32
|
-
npx -y @deepseek-ai/dsh@0.1.2-
|
|
31
|
+
npx -y @deepseek-ai/dsh@0.1.2-rc.1 plugin --profile web add https://github.com/zenstory-ai/oh-story-dsh/releases/download/v0.1.7/oh-story-dsh-0.1.7.tgz
|
|
32
|
+
npx -y @deepseek-ai/dsh@0.1.2-rc.1 web
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
需要 Node.js 24+。首次使用需要在 DSH 的「设置 → 模型」中添加 Provider 并填入 API Key,或在启动前设置环境变量 `DEEPSEEK_API_KEY`。
|
|
@@ -60,6 +60,8 @@ npx -y @deepseek-ai/dsh@0.1.2-alpha.3 web
|
|
|
60
60
|
|
|
61
61
|
宿主机需要 Python 3.10+、`PATH` 上的 ffmpeg/ffprobe(默认烧录字幕,因此 ffmpeg 需带 libass 的 `subtitles` 滤镜),以及 `MIMO_API_KEY`;Fish Audio TTS 另需 `FISH_API_KEY`。安装按上游说明即可(macOS `brew install ffmpeg`、Debian/Ubuntu `sudo apt install ffmpeg`)。工作台的「运行环境」检查只报告 DSH Host 进程是否就绪,不返回 Key 内容,密钥也不会写入项目;Agent 实际的执行世界以 `video-recap --doctor` 为准。
|
|
62
62
|
|
|
63
|
+
短剧生产的图片、视频与音乐不由 DeepSeek 生成,而是由 `short-drama-produce` 调用 GPT Image 2(`OPENAI_API_KEY`)、Seedance(`ARK_API_KEY` + `SEEDANCE_MODEL`)、MiniMax H3(`MINIMAX_API_KEY` + `MINIMAX_VIDEO_MODEL` + `MINIMAX_VIDEO_RESOLUTIONS`)或 MiniMax Music(`MINIMAX_API_KEY`)生成;Key 在启动 DSH 前写入环境变量,「生产」视图会显示每个供应商是否就绪,插件从不读取 Key 的值。内置 adapter 会自动登记到一份不含凭据的配置文件,自定义时用 `OH_STORY_DRAMA_ADAPTER_CONFIG` 指向自己的文件。
|
|
64
|
+
|
|
63
65
|
Drama Skills 0.6.0 不支持把 v0.5 结构化项目原地升级为 creator-first 项目。旧项目应继续锁定 v0.5 并只读保留;迁移时请新建项目根,逐集人工确认当前工作实际需要的 `剧本.md`、`视觉设定.md`、`分镜.md`、`图片提示词.md` 或 `视频提示词.md`,不要预建空文档。
|
|
64
66
|
|
|
65
67
|
## 按需加载
|
|
@@ -67,14 +69,14 @@ Drama Skills 0.6.0 不支持把 v0.5 结构化项目原地升级为 creator-firs
|
|
|
67
69
|
插件装进哪个 profile,那个 profile 的每个 Session 就都会加载创作 Skills 与三栏工作台。想让原版 `web` 保持干净、只在创作时打开工作台,就装进独立 profile:
|
|
68
70
|
|
|
69
71
|
```bash
|
|
70
|
-
npx -y @deepseek-ai/dsh@0.1.2-
|
|
72
|
+
npx -y @deepseek-ai/dsh@0.1.2-rc.1 plugin --profile story add @oh-story/dsh@0.1.7
|
|
71
73
|
```
|
|
72
74
|
|
|
73
75
|
新 profile 默认没有界面。编辑 `~/.dsh/profiles/story/package.json`,把 `dsh.profile.bundles` 改成 `["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "@oh-story/dsh"]`,顺序照抄,这个包不用另外安装。
|
|
74
76
|
|
|
75
77
|
```bash
|
|
76
|
-
npx -y @deepseek-ai/dsh@0.1.2-
|
|
77
|
-
npx -y @deepseek-ai/dsh@0.1.2-
|
|
78
|
+
npx -y @deepseek-ai/dsh@0.1.2-rc.1 web # 原版 DSH
|
|
79
|
+
npx -y @deepseek-ai/dsh@0.1.2-rc.1 --profile story --port 3081 # 创作工作台
|
|
78
80
|
```
|
|
79
81
|
|
|
80
82
|
模型、凭据、workspace 与历史会话由 DSH 统一保存,切换 profile 不会丢。安装与启动请使用同一个 dsh 版本。
|