dsh-ppt 0.13.0 → 0.15.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 +17 -0
- package/README.en.md +50 -47
- package/README.md +52 -48
- package/docs/COACHING.md +44 -0
- package/docs/DATA.md +43 -0
- package/docs/USAGE.en.md +196 -196
- package/docs/USAGE.md +218 -217
- package/docs/VALIDATION.md +4 -0
- package/docs/validation/0.8.0.md +10 -10
- package/docs/validation-0.14.0.md +24 -0
- package/docs/validation-0.15.0.md +25 -0
- package/lib/client.js +613 -326
- package/lib/coaching-model.d.ts +12 -0
- package/lib/coaching-model.js +93 -0
- package/lib/coaching.d.ts +197 -0
- package/lib/coaching.js +317 -0
- package/lib/execution.d.ts +3 -0
- package/lib/execution.js +11 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +8 -1
- package/lib/tools.js +27 -0
- package/lib/types.d.ts +43 -0
- package/lib/workbench-language.js +2 -0
- package/lib/workbench.d.ts +4 -0
- package/lib/workbench.js +68 -10
- package/package.json +5 -3
- package/skills/dsh-ppt/SKILL.md +80 -76
- package/skills/dsh-ppt/package.json +11 -11
- package/skills/dsh-ppt/references/advanced.md +41 -41
- package/skills/dsh-ppt/references/data.md +67 -0
- package/skills/dsh-ppt/references/syntax.md +43 -43
- package/skills/dsh-ppt/references/troubleshooting.md +19 -19
- package/skills/dsh-ppt/scripts/build-deck.mjs +3 -0
- package/skills/dsh-ppt/scripts/deck-advanced.mjs +574 -538
- package/skills/dsh-ppt/scripts/deck-core.mjs +2388 -2380
- package/skills/dsh-ppt/scripts/deck-data-math.mjs +76 -0
- package/skills/dsh-ppt/scripts/deck-data-view.mjs +113 -0
- package/skills/dsh-ppt/scripts/deck-data.mjs +190 -0
- package/skills/dsh-ppt/scripts/deck-delivery.mjs +104 -104
- package/skills/dsh-ppt/scripts/deck-render.mjs +270 -270
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
[历史英文记录](docs/CHANGELOG.en.md)
|
|
6
6
|
|
|
7
|
+
## 0.15.0(2026-10-23)
|
|
8
|
+
|
|
9
|
+
- 新增可选数据模型:数字绑定原始材料行、CSV / TSV 单元格或受限算术公式;点击 HTML 数字逐层追问来源,未绑定数字明确提示。
|
|
10
|
+
- 工作台与离线 HTML 支持假设滑杆,文字、表格和图表联动;不修改来源事实。离线参数可导回 DSH,确认后生成相符的静态 PPTX。
|
|
11
|
+
- 来源更新和推演先显示指标、页面及字段差异,再确认保存;默认新副本保留原稿,支持撤销。旧预览、其他工程参数与外部 Office 修改受保护。
|
|
12
|
+
- PPTX 备注与 Markdown 报告附上来源摘录、定位、快照校验值、公式和假设。HTML 不嵌入完整材料;JSON 工程保留导入材料供后续编辑。
|
|
13
|
+
- 修复离线放映中隐藏页外框拦截数字点击的问题。验收范围见 [0.15.0 验证记录](docs/validation-0.15.0.md)。
|
|
14
|
+
|
|
15
|
+
## 0.14.0(2026-10-22)
|
|
16
|
+
|
|
17
|
+
- 成品页新增按需开启的 AI 预审与人机模拟答辩,复用宿主已有模型,不影响直接交付。
|
|
18
|
+
- 预审区分表达、逻辑与证据问题;引用必须匹配所提供的原文。仅表达建议可选中改稿,新增数字没有匹配来源时不提供采纳按钮。
|
|
19
|
+
- 采纳所选修改或备用问答页时另存副本,原稿保留,副本可撤销。旧修订的报告可查看,禁止继续调用和套用。
|
|
20
|
+
- 提供中英文配置、回答输入、取消与提前结束、报告历史和 Markdown 问答 / 材料清单。预审最多 3 次插件调用,答辩最多 5 题、6 次调用;失败不自动重试。
|
|
21
|
+
- 演练只发送选定页面的文字、图表数据、备注及用户补充材料,不带工具或图片文件。验收范围见 [0.14.0 验证记录](docs/validation-0.14.0.md)。
|
|
22
|
+
- PPT 工作台使用当前 DSH 的主题变量,修复深色主题下仍显示浅色面板的问题。
|
|
23
|
+
|
|
7
24
|
## 0.13.0(2026-10-20)
|
|
8
25
|
|
|
9
26
|
- **设置面板体验**:新增 Ctrl/⌘+S 保存、Esc 取消或返回、Alt+←/→ 切换页面;HTML 预览 iframe 内同样生效。
|
package/README.en.md
CHANGED
|
@@ -1,52 +1,55 @@
|
|
|
1
|
-
# dsh-ppt
|
|
2
|
-
|
|
3
|
-
[中文](README.md)
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
Turn source material into an HTML slideshow, editable PPTX and a reusable project.
|
|
8
|
-
|
|
1
|
+
# dsh-ppt
|
|
2
|
+
|
|
3
|
+
[中文](README.md)
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
Turn source material into an HTML slideshow, editable PPTX and a reusable project.
|
|
8
|
+
|
|
9
|
+
Optional **AI review** and **rehearsal** reuse models configured in DSH. Both are off by default: download the finished presentation directly, or explicitly start a bounded rehearsal. Compare proposed wording edits, save selected changes and backup Q&A slides to an undoable copy, and export Q&A with an evidence checklist. See [the rehearsal guide](docs/COACHING.md#english). AI suggestions are not fact checks.
|
|
10
|
+
|
|
9
11
|
[](https://www.npmjs.com/package/dsh-ppt) [](https://www.npmjs.com/package/dsh-ppt)
|
|
10
12
|
|
|
11
13
|
Feedback and contributions are welcome: report [issues](https://github.com/STARDUSTLC666/dsh-ppt/issues) or submit [pull requests](https://github.com/STARDUSTLC666/dsh-ppt/pulls).
|
|
12
14
|
|
|
13
|
-
## What it does
|
|
14
|
-
|
|
15
|
-
- Create branded decks with text, images, tables and native charts.
|
|
16
|
-
-
|
|
17
|
-
-
|
|
15
|
+
## What it does
|
|
16
|
+
|
|
17
|
+
- Create branded decks with text, images, tables and native charts.
|
|
18
|
+
- Optionally trace numbers to material, CSV cells or formulas; adjust assumptions, preview affected slides, and save an undoable copy. HTML stays interactive; PPTX includes confirmed static values with formulas and assumptions. See the [data guide](docs/DATA.md#english).
|
|
19
|
+
- Edit text and images in Settings, reorder, duplicate or delete slides, and undo changes.
|
|
20
|
+
- Check quality and optionally render the final PPTX as images or PDF.
|
|
18
21
|
- Download Markdown speaker notes with each slide's current title and notes.
|
|
19
|
-
- Keyboard support: Ctrl/⌘+S save, Esc cancel or go back, Alt+←/→ switch slides; leaving with unsaved edits prompts first.
|
|
20
|
-
|
|
21
|
-
## Install
|
|
22
|
-
|
|
23
|
-
In DSH Desktop, install `dsh-ppt` from the Plugins panel. If the bundled dsh command is available:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
dsh plugin --profile desktop add dsh-ppt
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
For the web version, replace `desktop` with `web`. Restart DSH after installation.
|
|
30
|
-
|
|
31
|
-
## Start using it
|
|
32
|
-
|
|
33
|
-
Ask to turn your material into a deliverable deck with HTML, PPTX and project files. From 0.8.0, use Settings → Presentations to edit projects generated by this plugin, or continue editing the PPTX in PowerPoint or WPS.
|
|
34
|
-
|
|
35
|
-
Office changes do not sync back to JSON. Externally changed outputs and legacy projects without integrity records cannot be overwritten. Use **Save a copy** or `ppt_edit(saveAs:true)` to rebuild a new trio from JSON while preserving the originals. The copy does not import Office edits.
|
|
36
|
-
|
|
37
|
-
## Requirements and configuration
|
|
38
|
-
|
|
39
|
-
Normal generation does not require Office. Final PPTX rendering uses the optional official LibreOffice Kit; see the guide for dependencies, fonts and installation.
|
|
40
|
-
|
|
41
|
-
Detailed configuration, tool arguments and troubleshooting are in the [usage guide](docs/USAGE.en.md). For standalone development, follow the Node requirement in [package.json](package.json).
|
|
42
|
-
|
|
43
|
-
## Documentation
|
|
44
|
-
|
|
45
|
-
- [Usage and troubleshooting](docs/USAGE.en.md)
|
|
46
|
-
- [Changelog](CHANGELOG.md)
|
|
47
|
-
- [Validation scope and history](docs/VALIDATION.md)
|
|
48
|
-
- [Report a problem or suggest a feature](https://github.com/STARDUSTLC666/dsh-ppt/issues)
|
|
49
|
-
|
|
50
|
-
## License
|
|
51
|
-
|
|
52
|
-
[MIT](LICENSE)
|
|
22
|
+
- Keyboard support: Ctrl/⌘+S save, Esc cancel or go back, Alt+←/→ switch slides; leaving with unsaved edits prompts first.
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
In DSH Desktop, install `dsh-ppt` from the Plugins panel. If the bundled dsh command is available:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
dsh plugin --profile desktop add dsh-ppt
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
For the web version, replace `desktop` with `web`. Restart DSH after installation.
|
|
33
|
+
|
|
34
|
+
## Start using it
|
|
35
|
+
|
|
36
|
+
Ask to turn your material into a deliverable deck with HTML, PPTX and project files. From 0.8.0, use Settings → Presentations to edit projects generated by this plugin, or continue editing the PPTX in PowerPoint or WPS.
|
|
37
|
+
|
|
38
|
+
Office changes do not sync back to JSON. Externally changed outputs and legacy projects without integrity records cannot be overwritten. Use **Save a copy** or `ppt_edit(saveAs:true)` to rebuild a new trio from JSON while preserving the originals. The copy does not import Office edits.
|
|
39
|
+
|
|
40
|
+
## Requirements and configuration
|
|
41
|
+
|
|
42
|
+
Normal generation does not require Office. Final PPTX rendering uses the optional official LibreOffice Kit; see the guide for dependencies, fonts and installation.
|
|
43
|
+
|
|
44
|
+
Detailed configuration, tool arguments and troubleshooting are in the [usage guide](docs/USAGE.en.md). For standalone development, follow the Node requirement in [package.json](package.json).
|
|
45
|
+
|
|
46
|
+
## Documentation
|
|
47
|
+
|
|
48
|
+
- [Usage and troubleshooting](docs/USAGE.en.md)
|
|
49
|
+
- [Changelog](CHANGELOG.md)
|
|
50
|
+
- [Validation scope and history](docs/VALIDATION.md)
|
|
51
|
+
- [Report a problem or suggest a feature](https://github.com/STARDUSTLC666/dsh-ppt/issues)
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
[MIT](LICENSE)
|
package/README.md
CHANGED
|
@@ -1,52 +1,56 @@
|
|
|
1
|
-
# dsh-ppt
|
|
2
|
-
|
|
3
|
-
[English](README.en.md)
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
把材料制作成 HTML 放映、可编辑 PPTX 和可继续修改的工程文件。
|
|
8
|
-
|
|
1
|
+
# dsh-ppt
|
|
2
|
+
|
|
3
|
+
[English](README.en.md)
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
把材料制作成 HTML 放映、可编辑 PPTX 和可继续修改的工程文件。
|
|
8
|
+
|
|
9
9
|
[](https://www.npmjs.com/package/dsh-ppt) [](https://www.npmjs.com/package/dsh-ppt)
|
|
10
10
|
|
|
11
11
|
欢迎使用,遇到问题或有改进建议,请提交 [issues](https://github.com/STARDUSTLC666/dsh-ppt/issues) 和 [PR](https://github.com/STARDUSTLC666/dsh-ppt/pulls)。
|
|
12
12
|
|
|
13
|
-
## 功能
|
|
14
|
-
|
|
15
|
-
- 生成图文、表格、原生图表和品牌化演示文稿。
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
[
|
|
13
|
+
## 功能
|
|
14
|
+
|
|
15
|
+
- 生成图文、表格、原生图表和品牌化演示文稿。
|
|
16
|
+
- 可选数字溯源与现场推演:点击数字追到原始材料、CSV 单元格或公式;调整假设、预览影响并确认保存。HTML 保留交互,PPTX 保存静态结果及公式 / 假设,见[数据说明](docs/DATA.md)。
|
|
17
|
+
- 在设置页编辑文字和图片、调整顺序、复制或删除页面,并支持撤销。
|
|
18
|
+
- 提供质量检查与可选的最终 PPTX 图片 / PDF 渲染。
|
|
19
|
+
- 下载按页整理的 Markdown 讲稿,保留当前版本的标题与演讲备注。
|
|
20
|
+
- 可选 AI 预审与模拟答辩:复用 DSH 已配置模型,按需提问、比较改稿、另存可撤销副本,并导出问答与待补充材料清单。默认关闭,直接下载成品无需预审。
|
|
21
|
+
- 键盘操作:Ctrl/⌘+S 保存、Esc 取消或返回、Alt+←/→ 切换页面;有未保存修改时离开会提示。
|
|
22
|
+
|
|
23
|
+
## 安装
|
|
24
|
+
|
|
25
|
+
桌面版可在「插件」面板按包名 `dsh-ppt` 安装。已配置 dsh 命令时也可使用:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
dsh plugin --profile desktop add dsh-ppt
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
网页版把命令中的 `desktop` 改为 `web`。安装后重启 DSH。
|
|
32
|
+
|
|
33
|
+
## 开始使用
|
|
34
|
+
|
|
35
|
+
可说:“把这份材料做成可直接交付的演示文稿,生成 HTML、PPTX 和工程文件。”0.8.0 起可在「设置 → 演示文稿」轻量修改自产工程,也可在 PowerPoint / WPS 中继续编辑 PPTX。
|
|
36
|
+
|
|
37
|
+
Office 中的修改不会同步回 JSON。插件检测到成品在外部修改,或旧工程没有校验记录时,会拒绝直接覆盖;可用面板「另存副本」或 `ppt_edit(saveAs:true)` 从 JSON 生成新文件,保留原成品。副本不包含 Office 手工修改。
|
|
38
|
+
|
|
39
|
+
成品页下方可主动开启「AI 预审」或「模拟答辩」。前者根据材料模拟质疑与回答,后者由 AI 一次问一题、你来回答。可以先选模型、听众、强度和范围,再决定是否发送。具体流程与调用上限见[演练说明](docs/COACHING.md)。AI 建议不等于事实核验;普通成品生成、编辑和下载仍不要求配置模型。
|
|
40
|
+
|
|
41
|
+
## 依赖与配置
|
|
42
|
+
|
|
43
|
+
普通生成不需要 Office。最终 PPTX 渲染使用可选的官方 LibreOffice Kit;依赖版本、字体环境和安装方法见使用说明。
|
|
44
|
+
|
|
45
|
+
详细配置、工具参数与排错见[使用说明](docs/USAGE.md)。从源码独立开发时,Node 要求以 [package.json](package.json) 为准。
|
|
46
|
+
|
|
47
|
+
## 文档
|
|
48
|
+
|
|
49
|
+
- [使用与排错](docs/USAGE.md)
|
|
50
|
+
- [更新记录](CHANGELOG.md)
|
|
51
|
+
- [验证范围与历史记录](docs/VALIDATION.md)
|
|
52
|
+
- [问题反馈与功能建议](https://github.com/STARDUSTLC666/dsh-ppt/issues)
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
[MIT](LICENSE)
|
package/docs/COACHING.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# 可选 AI 预审与模拟答辩
|
|
2
|
+
|
|
3
|
+
常规流程仍是「提供材料 → 生成 HTML、可编辑 PPTX 和工程 → 预览与下载」。演练不是交付前置条件,也不会自动启动。
|
|
4
|
+
|
|
5
|
+
在「设置 → 演示文稿」打开工程,成品下载区下方有两个次级入口:
|
|
6
|
+
|
|
7
|
+
| 入口 | 适合做什么 | 调用上限 |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| AI 预审 | AI 根据所给材料模拟质疑与回答,整理最多 5 条值得处理的问题 | 选择 1–3 轮,最多 3 次插件调用 |
|
|
10
|
+
| 模拟答辩 | AI 一次提一个问题,用户回答后获取反馈及下一题 | 选择 1–5 题,首次出题加每题反馈,最多 6 次插件调用 |
|
|
11
|
+
|
|
12
|
+
先选择 DSH 已配置的文字模型、听众、温和 / 普通 / 严格的提问强度,以及整个工程或当前页。需要时粘贴补充材料,或导入 TXT / Markdown(最多 20,000 字符,文件最多 100 KB)。开始按钮说明将发送哪些内容和最多调用几次;点击后才发起生成。可用时优先选中生成工程时的模型;旧工程需要自行核对模型。
|
|
13
|
+
|
|
14
|
+
只发送所选页面的文字、表格 / 图表数据、备注及主动提供的补充材料,不发送图片文件、密钥或工作区文件。模型调用不附带文件、终端等工具。请在开始前检查输入是否适合交给所选模型服务。供应商自身的重试和计费规则仍然适用,次数上限指插件主动发起的调用。
|
|
15
|
+
|
|
16
|
+
## 如何使用结果
|
|
17
|
+
|
|
18
|
+
- **表达建议**:查看对应页、材料原文和修改前后比较,自行勾选采纳。程序核对原文引用,并阻止缺少数字来源的表达改稿;这不证明内容真实,也不能保证 AI 保留了所有含义。
|
|
19
|
+
- **逻辑问题与证据缺口**:作为待办整理,不会由 AI 自动填入杜撰的实验、数据或引用。请补充真实材料后重跑。
|
|
20
|
+
- **模拟答辩**:输入你的回答,再提交下一步。难度只影响提问方式,不能预测真实评委或客户会如何提问。
|
|
21
|
+
- **备用问答页**:自行选中需要的问答,追加到新副本末尾。页面及备注标明来自演练、需要核对;不会默默扩充原稿。
|
|
22
|
+
- **下载问答与材料清单**:输出 Markdown,包含问题、回答、建议、来源、缺口及模型和调用次数,不导出全部补充材料。
|
|
23
|
+
|
|
24
|
+
采纳总是另存新副本,原 HTML / PPTX / JSON 的字节保持原样。在副本点击「撤销上次修改」,可一次撤回本次采纳和新增备用页。副本从工程 JSON 生成,不包含 Office 中的手动编辑。
|
|
25
|
+
|
|
26
|
+
## 取消、历史与恢复
|
|
27
|
+
|
|
28
|
+
点击「停止」会向模型发送取消信号,保留已完成的结果。被停止或失败的尝试仍占本次调用额度,也可能已产生费用;插件不会自动重试。模型生成最长等待 120 秒。答辩可以点击「结束并整理已有结果」,该操作不调用模型。
|
|
29
|
+
|
|
30
|
+
报告保存在当前 `DSH_HOME/plugins/dsh-ppt/rehearsals/`,绑定本机工程、稳定页面 ID 和修订内容。每个工程最多保留 20 次,本机共 200 次;到上限后请在历史中删除旧记录,不会自动删除。工程修改后旧报告仍保留,可重新打开最新工程后导出;不能继续旧演练或套用旧建议。丢失响应时可从历史重新打开记录。删除记录不会删除幻灯片成品。
|
|
31
|
+
|
|
32
|
+
未配置模型时显示配置引导,普通生成与下载照常可用。模型不输出有效 JSON、尝试调用工具、超出输出上限或被中断时,本次记录会暂停,已完成结果保留。历史文件损坏时不覆盖它,其他可读报告仍可访问。
|
|
33
|
+
|
|
34
|
+
## English
|
|
35
|
+
|
|
36
|
+
Finished files remain the primary output. AI review and rehearsal are optional and never start automatically.
|
|
37
|
+
|
|
38
|
+
Choose a configured DSH text model, audience, difficulty, scope and optional supporting material. Click Start to send selected slide text, table/chart data, notes and the supplied material; image files are excluded. No file or shell tools are offered to the model. No additional account is needed beyond the chosen DSH provider.
|
|
39
|
+
|
|
40
|
+
Review makes up to three plugin calls. Practice asks one question at a time and accepts human answers: one initial question plus feedback for up to five questions, at most six plugin calls. Provider retries and billing rules still apply. You can stop a call or finish early; stopping may still incur a charge, and failed attempts use the current budget. There is no automatic retry.
|
|
41
|
+
|
|
42
|
+
Compare source quotes and proposed edits before adopting them. Only eligible expression suggestions can directly change wording; logic and evidence gaps remain preparation tasks. Exact quote and numeric checks are limited safeguards, not factual certification. Save selected edits and Q&A backup slides to a new copy; the original artifacts remain intact and Undo restores the copy to its pre-adoption content. Copies are generated from JSON and do not import Office edits.
|
|
43
|
+
|
|
44
|
+
Export Q&A, feedback and the evidence checklist as Markdown. Local reports are bound to the source revision. Changed presentations require a new rehearsal; old reports remain readable and exportable after reopening the current project. Keep up to 20 reports per project and 200 total, then delete old reports explicitly. Deleting a report keeps the presentation files.
|
package/docs/DATA.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# 数字溯源与现场推演
|
|
2
|
+
|
|
3
|
+
这两个功能按需启用。只需要成品时,照常给材料并下载,不必配置数据模型或开启演练。
|
|
4
|
+
|
|
5
|
+
## 怎么用
|
|
6
|
+
|
|
7
|
+
可以对 DSH 说:“用这份经营数据做汇报,给数字关联出处,并把增长率设为可调整的假设。”助手使用真实材料建立绑定后,打开「设置 → 演示文稿」:
|
|
8
|
+
|
|
9
|
+
1. 点击预览中带点状下划线的数字,查看材料行、CSV 单元格或计算公式。公式中的输入可继续点开。灰色下划线表示没有关联来源,不会因数值相同自动认定来源相同。
|
|
10
|
+
2. 调整「现场推演参数」中的滑杆或数值,预览文字、表格和图表的变化。只有明确声明的假设可调,原始事实保持只读。
|
|
11
|
+
3. 点击「预览差异」,核对指标、受影响页面及字段的之前 / 之后。默认「保存为新副本」保留原稿,确认后才更新三件套,副本也可撤销。
|
|
12
|
+
4. 来源有更新时,在「更新来源材料」选择已有来源,导入或粘贴新材料,再走同样的预览和确认流程。不会监视文件,也不会回写源文件。
|
|
13
|
+
|
|
14
|
+
指标还没有绑定到页面时,预览会说明仅更新数据模型;来源摘录变了但数值没变,也会提示受影响页面。
|
|
15
|
+
|
|
16
|
+
## 离线放映和静态 PPTX
|
|
17
|
+
|
|
18
|
+
离线 HTML 保留推演面板(快捷键 D)、数字来源及公式,调整参数无需模型或网络。推演尚未保存时,旧 PPTX / JSON 的下载被暂缓。
|
|
19
|
+
|
|
20
|
+
要交付对应的可编辑 PPTX,在 HTML 中「保存推演参数」,再回到同一 DSH 工程导入该 JSON、预览并确认保存。其他工程、旧修订的参数会被拒绝;新副本有自己的工程身份,不能继续套用原稿参数文件。
|
|
21
|
+
|
|
22
|
+
PPTX 保留确认后的静态数值及原生可编辑图表。每页的演讲备注附上该页用到的来源摘录、定位、快照校验值、公式及假设;也可单独下载 Markdown 溯源报告。它不是在 PowerPoint 中运行网页滑杆。
|
|
23
|
+
|
|
24
|
+
## 材料与分享
|
|
25
|
+
|
|
26
|
+
支持 UTF-8 CSV、TSV、TXT、Markdown 或内嵌表格。Excel 可先导出 CSV。本版不直接解析 XLSX,不自动联网寻找来源。
|
|
27
|
+
|
|
28
|
+
来源只能说明“这个数字如何得到”,不代表材料真实或结论正确。JSON 工程包含导入的完整材料;HTML / PPTX 包含指标引用的材料行摘录和来源名称,摘录可能包含同一行的其他字段,分享前应核对。
|
|
29
|
+
|
|
30
|
+
开发者示例、工具参数和范围见[数据模型参考](../skills/dsh-ppt/references/data.md)。
|
|
31
|
+
|
|
32
|
+
## English
|
|
33
|
+
|
|
34
|
+
Both features are optional. Ordinary finished-deck delivery does not require a data model or rehearsal.
|
|
35
|
+
|
|
36
|
+
- Supply actual material and ask DSH to link its numbers and expose selected assumptions. In Settings → Presentations, click a linked number to inspect its source row, CSV cell or formula. Follow formula inputs to their origins. Unlinked numbers are labelled explicitly.
|
|
37
|
+
- Adjust declared assumptions; text, tables and charts change together. Source facts are read-only in what-if mode. Preview metric and slide differences before confirming. The default is an undoable new copy, preserving the original.
|
|
38
|
+
- Replace an existing source by importing or pasting UTF-8 CSV, TSV, TXT or Markdown. Excel tables can be exported as CSV. Nothing watches or writes the original source file; XLSX parsing and automatic online research are not included.
|
|
39
|
+
- Offline HTML retains controls and lineage (D opens the panel). Export scenario parameters, import them into the same DSH project, preview and confirm to create a matching static PPTX. Foreign or stale packets are rejected. Downloads of older PPTX/JSON files are blocked while the HTML has unsaved values.
|
|
40
|
+
- PPTX contains confirmed static values and native editable charts, with formulas, assumptions, source excerpts/locators and checksums in speaker notes. Download the Markdown lineage report separately. It does not execute HTML controls inside PowerPoint.
|
|
41
|
+
- A source link is not factual verification. JSON retains full imported material; HTML/PPTX include metric-referenced row excerpts, which may contain other fields from that row. Review before sharing.
|
|
42
|
+
|
|
43
|
+
See the [model reference](../skills/dsh-ppt/references/data.md) for schema, limits and tool examples.
|