dsh-ppt 0.22.1 → 0.23.0
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/CHANGELOG.md +9 -0
- package/README.en.md +33 -19
- package/README.md +34 -19
- package/docs/REFERENCE.en.md +3 -3
- package/docs/REFERENCE.zh.md +3 -3
- package/docs/USAGE.en.md +3 -3
- package/docs/USAGE.md +3 -3
- package/docs/WORKBENCH.md +2 -2
- package/docs/assets/intro/screen-en.webp +0 -0
- package/docs/assets/intro/screen-zh.webp +0 -0
- package/lib/client.js +399 -24
- package/lib/config.d.ts +1 -1
- package/lib/config.js +6 -0
- package/lib/tools.js +17 -9
- package/lib/types.d.ts +10 -3
- package/lib/workbench-language.js +4 -0
- package/lib/workbench.js +132 -17
- package/package.json +1 -1
- package/skills/dsh-ppt/SKILL.md +6 -6
- package/skills/dsh-ppt/package.json +17 -5
- package/skills/dsh-ppt/references/advanced.md +4 -3
- package/skills/dsh-ppt/references/syntax.md +1 -1
- package/skills/dsh-ppt/references/themes.md +10 -4
- package/skills/dsh-ppt/scripts/build-deck.mjs +4 -4
- package/skills/dsh-ppt/scripts/deck-absorb.mjs +419 -110
- package/skills/dsh-ppt/scripts/deck-advanced.mjs +22 -12
- package/skills/dsh-ppt/scripts/deck-core.mjs +4 -0
- package/skills/dsh-ppt/scripts/deck-director.mjs +343 -3
- package/skills/dsh-ppt/scripts/deck-layouts.mjs +116 -0
- package/skills/dsh-ppt/scripts/deck-themes.mjs +364 -13
|
@@ -28,14 +28,14 @@ const HELP = `dsh-ppt —— 一句话 / 一篇文档 → HTML 放映 + PPTX 导
|
|
|
28
28
|
--title <text> 演示文稿标题(必填)
|
|
29
29
|
--content <text|@path> Markdown 正文;或文件路径(自动读取);或 @- 从 stdin 读
|
|
30
30
|
--slides <json> 结构化 slides JSON(可选,与 --content 二选一)
|
|
31
|
-
--template <id>
|
|
31
|
+
--template <id> 20 套行业结构蓝图 ID(可用 --list-templates 查看全部)
|
|
32
32
|
--persona <id> auto / consulting / tech-pitch / academic / gov-exec / education / editorial
|
|
33
|
-
--reference-pptx <path> 只读吸收本地参考 .pptx
|
|
33
|
+
--reference-pptx <path> 只读吸收本地参考 .pptx 的净化双色板、双字体、封面反白、母版 Logo 与骨架
|
|
34
34
|
--clone-structure 配合 --reference-pptx 使用,克隆参考文稿的逐页版式骨架与母版 chrome
|
|
35
35
|
--chrome <style> 母版骨架风格:${CHROME_STYLE_IDS.join(' / ')}
|
|
36
36
|
--absorb <deck.pptx> 只读检查并输出参考 .pptx 的净化主题、推荐内置主题/骨架与逐页分布 JSON
|
|
37
37
|
--smart-layout 显式开启多版式叙事节奏自动升维(配合 --no-smart-layout 可关闭)
|
|
38
|
-
--brand <json|@path>
|
|
38
|
+
--brand <json|@path> 品牌主辅颜色、标题/正文字体、封面反白、Logo、页脚、chromeStyle
|
|
39
39
|
--data-model <json|@path> 可选数字来源、公式与推演假设;配合 --slides
|
|
40
40
|
--edit <deck.json> 修改指定页或整套换肤,配合 --edits / --theme / --reference-pptx / --brand
|
|
41
41
|
--edits <json|@path> 页面修改指令数组
|
|
@@ -47,7 +47,7 @@ const HELP = `dsh-ppt —— 一句话 / 一篇文档 → HTML 放映 + PPTX 导
|
|
|
47
47
|
--timeout <ms> 渲染整体期限,默认 120000 毫秒
|
|
48
48
|
--render-receipt <path> 配合 --check 核验当前渲染收据
|
|
49
49
|
--revision <n> 编辑 / 撤销预期修订号,防止覆盖他人修改
|
|
50
|
-
--list-templates 列出
|
|
50
|
+
--list-templates 列出 20 套行业结构蓝图
|
|
51
51
|
--theme <id> 视觉主题:auto / ${THEME_IDS.join(' / ')}(裸 CLI 缺省为 ${DEFAULT_THEME},推荐显式传 auto)
|
|
52
52
|
--lang <id> 界面语言:zh / en / bilingual(默认 zh)
|
|
53
53
|
--motion <on|off> 页间转场与要点入场动画(默认 on;off 产出纯静态)
|