dsh-ppt 0.16.0 → 0.17.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 +13 -0
- package/README.en.md +2 -0
- package/README.md +2 -0
- package/docs/COACHING.md +4 -0
- package/docs/VISUAL.md +4 -0
- package/docs/WORKBENCH.md +29 -0
- package/docs/validation-0.16.1.md +29 -0
- package/lib/client.js +1167 -815
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
[历史英文记录](docs/CHANGELOG.en.md)
|
|
6
6
|
|
|
7
|
+
## 0.17.0(2026-10-25)
|
|
8
|
+
|
|
9
|
+
- 演示文稿主工作台,页面、画布与属性分栏;数据推演切页保留预览联动,未保存保护和画面内全屏退出更完整。
|
|
10
|
+
- 提供 DSH 原生侧栏入口,保留设置页;统一中英、深浅色、窄屏、键盘焦点与真实空/失败状态。
|
|
11
|
+
- 浏览器源码移至 templates/client.js、templates/panels/ 与共享组件,独立构建为 lib/client.js;移除重复的首次引导。
|
|
12
|
+
- 官方 DSH 0.2.1-rc.3 Web 逐项实际操作验收,账户模拟和未验收范围见 [工作台说明](docs/WORKBENCH.md)。
|
|
13
|
+
|
|
14
|
+
## 0.16.1(2026-10-24)
|
|
15
|
+
|
|
16
|
+
- 适配 DSH 0.2.1-rc.3 的动态模型目录:视觉检查、AI 预审与模拟答辩按提供方和模型 ID 保留选择,刷新或重排目录不会悄悄更换模型。
|
|
17
|
+
- 已选模型下线时清空选择并禁用开始按钮,等待重新选择。首次仅沿用仍然可用的工程模型,不自动选择目录里的第一个模型。
|
|
18
|
+
- Windows 测试、官方 RC.3 发布包安装和实际浏览器范围见 [0.16.1 验证记录](docs/validation-0.16.1.md)。
|
|
19
|
+
|
|
7
20
|
## 0.16.0(2026-10-23)
|
|
8
21
|
|
|
9
22
|
- 新增可选 AI 看图检查与排版修复:通过官方 DSH 图片附件和预备模型接口检查最终 PPTX 渲染图片,记录页面与问题区域。
|
package/README.en.md
CHANGED
|
@@ -14,6 +14,8 @@ Optional **AI review** and **rehearsal** reuse models configured in DSH. Both ar
|
|
|
14
14
|
|
|
15
15
|
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).
|
|
16
16
|
|
|
17
|
+
Open the new native sidebar workbench after updating and restarting DSH. Settings remains available. See the [workbench guide and validation boundaries](docs/WORKBENCH.md).
|
|
18
|
+
|
|
17
19
|
## What it does
|
|
18
20
|
|
|
19
21
|
- Create branded decks with text, images, tables and native charts.
|
package/README.md
CHANGED
package/docs/COACHING.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
先选择 DSH 已配置的文字模型、听众、温和 / 普通 / 严格的提问强度,以及整个工程或当前页。需要时粘贴补充材料,或导入 TXT / Markdown(最多 20,000 字符,文件最多 100 KB)。开始按钮说明将发送哪些内容和最多调用几次;点击后才发起生成。可用时优先选中生成工程时的模型;旧工程需要自行核对模型。
|
|
13
13
|
|
|
14
|
+
刷新目录或切换预审 / 答辩时会保留仍然可用的已选模型。原提供方或模型下线后,必须重新选择才能开始,不会自动换用目录中的其他模型。
|
|
15
|
+
|
|
14
16
|
只发送所选页面的文字、表格 / 图表数据、备注及主动提供的补充材料,不发送图片文件、密钥或工作区文件。模型调用不附带文件、终端等工具。请在开始前检查输入是否适合交给所选模型服务。供应商自身的重试和计费规则仍然适用,次数上限指插件主动发起的调用。
|
|
15
17
|
|
|
16
18
|
## 如何使用结果
|
|
@@ -37,6 +39,8 @@ Finished files remain the primary output. AI review and rehearsal are optional a
|
|
|
37
39
|
|
|
38
40
|
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
41
|
|
|
42
|
+
Catalog refresh and mode changes preserve an available selection by provider and model ID. If the selected route disappears, choose again before starting; another model is never substituted automatically.
|
|
43
|
+
|
|
40
44
|
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
45
|
|
|
42
46
|
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.
|
package/docs/VISUAL.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
普通生成仍直接提供 PPTX、HTML 和工程文件。需要进一步检查时,在 **设置 → 演示文稿 → 打开工程 → 视觉检查与修复** 主动开启。
|
|
6
6
|
|
|
7
|
+
模型目录可随 DSH 更新。点击“刷新视觉模型”会保留仍然可用的原选择;原模型下线时清空选择,重新选定后才能开始,不会自动换成另一个模型。
|
|
8
|
+
|
|
7
9
|
## 怎么用
|
|
8
10
|
|
|
9
11
|
1. 选择 DSH 已配置、明确声明支持图片输入的视觉模型。选当前页,或一次检查最多 12 页。
|
|
@@ -45,6 +47,8 @@
|
|
|
45
47
|
|
|
46
48
|
Open **Settings → Presentations → a project → Visual review and repair**. Choose a configured image-capable model, the current slide or up to 12 original slides, and inspection only or up to two repair rounds.
|
|
47
49
|
|
|
50
|
+
Refreshing the catalog preserves an available selection by provider and model ID. If that route disappears, selection is cleared and Start stays disabled until you choose again; another model is never substituted automatically.
|
|
51
|
+
|
|
48
52
|
The plugin renders the actual PPTX using the optional official LibreOffice Kit, sends the selected images and visible slide content through native DSH model and attachment services, and records image-based findings. A small formatting vocabulary may create an undoable copy: font sizes, bullet/table splits, horizontal bars or uncropped images. Original wording, values, formulas and source bindings remain intact.
|
|
49
53
|
|
|
50
54
|
Each repaired PPTX is rendered and inspected again, including newly split pages. Compare actual before/after images before adopting the copy. AI findings are not human verification. Unsupported issues and missing fonts remain explicit; errors, truncated output or cancellation stop the run without automatic plugin retries. The source presentation is preserved.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# dsh-ppt 工作台 / Workbench
|
|
2
|
+
|
|
3
|
+
演示文稿主工作台,页面、画布与属性分栏;数据推演切页保留预览联动,未保存保护和画面内全屏退出更完整。
|
|
4
|
+
|
|
5
|
+
Presentation workbench with slide outline, canvas and inspector; preserves live what-if previews across tabs, dirty navigation and visible fullscreen exit.
|
|
6
|
+
|
|
7
|
+
## 使用 / Use
|
|
8
|
+
|
|
9
|
+
更新插件并重启 DSH,在原生左侧栏打开工作台;没有固定时可在“更多”中找到。原有“设置”入口继续可用。侧栏排序和固定由 DSH 管理。
|
|
10
|
+
|
|
11
|
+
Update the plugin, restart DSH and open its native sidebar panel (or More if it is not pinned). The existing Settings entry remains available. DSH owns sidebar order and pinning.
|
|
12
|
+
|
|
13
|
+
界面跟随宿主中英文和深浅色,保留用户内容原文。窄窗口中先显示列表,打开详情后可返回;编辑器按可用宽度分栏或顺序排列。危险操作需要明确确认,未保存内容不会因切页而静默丢失。
|
|
14
|
+
|
|
15
|
+
The UI follows host language and theme without translating user content. Narrow master/detail views have a Back action; editors adapt their columns to available space. Destructive actions require confirmation and edits are protected.
|
|
16
|
+
|
|
17
|
+
## 源码 / Source
|
|
18
|
+
|
|
19
|
+
编辑 templates/client.js、templates/panels/*.js 与 templates/workbench-ui.js,运行 pnpm run build。lib/client.js 是确定性产物,请随源码提交。公共组件的规范源位于 dsh-suite/ui/workbench-ui.js,Suite 的同步脚本显式分发副本;单个仓库可独立构建和安装。
|
|
20
|
+
|
|
21
|
+
Edit the template sources and run pnpm run build. Commit generated lib/client.js with source changes. The vendored UI has no Suite runtime dependency.
|
|
22
|
+
|
|
23
|
+
## 验收范围 / Validation boundary
|
|
24
|
+
|
|
25
|
+
2026-10-25:Windows、官方 DSH 0.2.1-rc.3 Web,后台 Chrome/Playwright 实际点击和输入;覆盖中英文、浅深色、1536px 与 390px、状态读回与控制台。Browser plugin 不可用,因此使用本地 Playwright。
|
|
26
|
+
|
|
27
|
+
邮件使用受控 AgentMail HTTP 服务,日历使用受控 CalDAV 协议传输;插件处理器、存储、校验和原生宿主均实际运行。未使用真实邮箱、真实日历账号或付费模型。RSS 访问 Node.js 官方公开来源。PPT 实际生成并渲染 PPTX、下载 ZIP;两个视频插件实际运行官方引擎并播放 MP4。
|
|
28
|
+
|
|
29
|
+
这些是 Web 共用界面的验收结果,不代表已验收 Electron 专属菜单、系统权限、真实账号、全部外部来源或所有可选模型/引擎。Docker、Slack、钉钉继续按用户约定搁置。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# 0.16.1 / DSH RC.3 验证范围
|
|
2
|
+
|
|
3
|
+
日期:2026-10-24。目标为官方 DSH `0.2.1-rc.3`(tag `dsh-v0.2.1-rc.3`),使用公开 npm 运行时和 Windows / Node 24。
|
|
4
|
+
|
|
5
|
+
## 问题与修复
|
|
6
|
+
|
|
7
|
+
在公开 PPT 0.16.0 的真实 Web 面板中复现:选择目录中的模型后,更新目录再点击“刷新视觉模型”,序号被重新解释为另一个模型,开始按钮仍可用。RC.3 让官方 API Key 路由跟随动态模型列表,使目录变动成为正常使用场景。
|
|
8
|
+
|
|
9
|
+
0.16.1 的视觉检查、AI 预审和模拟答辩统一按提供方及模型 ID 保存选择。重排、改显示名称不会改路由;原路由消失就清空选择并禁用开始按钮。没有可用的工程模型时,首次打开也要求明确选择,不自动采用列表首项。
|
|
10
|
+
|
|
11
|
+
## 自动检查
|
|
12
|
+
|
|
13
|
+
- Windows 完整测试通过,新增 6 项模型选择回归,覆盖目录重排、路由删除、空选择、精确初始偏好、提供方与分隔符碰撞、显示名称变化。
|
|
14
|
+
- TypeScript 构建、浏览器脚本语法和 diff 空白检查通过。
|
|
15
|
+
|
|
16
|
+
## 发布包与真实浏览器
|
|
17
|
+
|
|
18
|
+
- 候选 npm tarball 通过官方 CLI 安装到全新隔离 Web profile;普通生成器生成四页 PPTX、HTML 和 JSON 作为界面夹具。
|
|
19
|
+
- Browser plugin not available;使用已安装的无头 Chrome / Playwright,不切换用户前台窗口。
|
|
20
|
+
- 1440×1000 中文界面实际操作三处选择器:模型消失后选择清空且开始按钮禁用;视觉检查和 AI 预审的目录重排保留原路由,切换到模拟答辩也保留选择。仅文字模型不进入视觉模型列表。
|
|
21
|
+
- 390×844 英文深色界面:占位选项、刷新和禁用状态正常;PPT 面板 clientWidth / scrollWidth 均为 366px,无横向溢出。页面未捕获异常为 0。
|
|
22
|
+
- 模型目录变化由注册进官方 LLM 服务的隔离适配器控制。它没有 API Key、外网请求或模型生成能力;目录切换验收期间生成调用数为 0。这是接口与交互验收,不是实际 DeepSeek 模型效果验收。
|
|
23
|
+
|
|
24
|
+
## 其他插件与边界
|
|
25
|
+
|
|
26
|
+
- 既有 Suite 0.2.35 的 18 组件在官方 RC.3 上通过契约与公开 npm 全新安装,19 个包的完整性匹配;实际共同启动为 112 个工具、36 项技能,PTC、完整 SDK 及四个官方调度工具可用,认证检查为 303 / 401 / 200。
|
|
27
|
+
- 加载独立 Review 0.3.0 与 Computer Use 0.1.2 的隔离宿主共同启动为 138 个工具、37 项技能,随后关闭。该检查不代表两者所有业务动作都已测试。
|
|
28
|
+
- 打开九个已有设置工作台检查入口与渲染。未配置账号的邮件工作台明确返回配置提示;这不是实际收发邮件验收。
|
|
29
|
+
- 本轮未逐项操作桌面原生窗口、PowerPoint / WPS,也未重复真实模型和原生渲染质量验收。Docker、Slack、钉钉的真实外部服务验收继续按用户要求搁置。既有 issue 不因兼容启动通过而视为解决。
|