dsh-ppt 0.31.0 → 0.32.1
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 +20 -0
- package/README.en.md +2 -1
- package/README.md +2 -1
- package/docs/USAGE.en.md +1 -0
- package/docs/USAGE.md +1 -0
- package/docs/VALIDATION.md +4 -0
- package/lib/client.js +35 -198
- package/lib/execution.d.ts +7 -0
- package/lib/execution.js +21 -0
- package/lib/tools.js +30 -2
- package/lib/types.d.ts +17 -0
- package/lib/workbench.js +16 -5
- package/package.json +3 -3
- package/skills/dsh-ppt/SKILL.md +11 -5
- package/skills/dsh-ppt/package.json +1 -1
- package/skills/dsh-ppt/references/research-plan.md +133 -0
- package/skills/dsh-ppt/scripts/build-deck.mjs +23 -3
- package/skills/dsh-ppt/scripts/deck-advanced.mjs +21 -3
- package/skills/dsh-ppt/scripts/deck-core.mjs +5 -0
- package/skills/dsh-ppt/scripts/deck-delivery.mjs +4 -0
- package/skills/dsh-ppt/scripts/deck-evidence.mjs +628 -0
- package/skills/dsh-ppt/scripts/deck-exemplars.mjs +15 -6
- package/skills/dsh-ppt/scripts/deck-store.mjs +18 -0
- package/skills/dsh-ppt/scripts/deck-taste.mjs +12 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# 更新记录
|
|
2
2
|
|
|
3
|
+
## 0.32.1 (2026-11-20)
|
|
4
|
+
|
|
5
|
+
- 修复预览 iframe 编辑脚本的正则转义及单击字段聚焦与双击原地编辑的竞争,恢复文字录入、Enter 提交与 Escape 取消。
|
|
6
|
+
- 撤销后同步记录项目索引修订号与页数,刷新和重启后的工程列表保持正确;索引半行不再吞掉下一条完整记录。
|
|
7
|
+
- 批量吸收在取消后停止处理和保存;损坏的范本/配方 JSON 在保存前保留原文件,成功完整写入后原子替换。
|
|
8
|
+
- 升级共享更新组件至 0.2.10,移除全局浮动提醒,保留工作台及插件详情页的更新控制。保留 0.32.0 的调研策划、Evidence Ledger 与 0.31.0 叙事重排/静态修复功能。
|
|
9
|
+
|
|
10
|
+
## 0.32.0 (2026-11-20)
|
|
11
|
+
|
|
12
|
+
- **零资料深度调研、事实核验与策划出稿引擎(`deck-evidence.mjs` + `references/research-plan.md`)**:专为「用户手头无现成文档/数据,仅给主题要求 Agent 自主检索资料、交叉核验准确性、先策划 PPT 方案再出稿」场景构建确定性离线引擎(0 新增依赖、0 引擎内联外网,严格保持 13 个注册工具):
|
|
13
|
+
- **调研与分镜策划器(`buildResearchPlan` / `ppt_templates({ topic, evidence })` / CLI `--plan`)**:按主题自动匹配 20 套标杆范本,生成 3 轮定向检索指南(权威基线 → 竞品实测 → 最新进展与反方风险)、量化槽位证据缺口诊断(`evidenceAudit.gaps`)、逐页分镜蓝图(`storyboard`)及可直接供用户确认的 `planMarkdown`。
|
|
14
|
+
- **结构化证据账本绑定(`evidence[]` + `slides[].evidenceIds` + `evidenceAppendix: true`)**:严格校验 `E1..En` 条目(含 `claim`/`source`/`date`/`scope`/`http(s)://` URL 防护/`confidence: verified|estimated|conflicting|unverified`);自动为引用 `[E#]` 的页面生成单行精简 `source` 脚注,将完整原文 URL 与口径说明写入演讲备注 `notes` 与讲义 `.handout.md` 证据总表;开启 `evidenceAppendix: true` 时在封底前自动插入零溢出、按编号自然排序的 4 列 `booktabs` 三线表核验清单页,并在 `editDeck` / `undoDeck` 中完整保留 `manifest.evidence`。
|
|
15
|
+
- **`SLOP-13` 事实出处与证据卫生静态门禁(`auditEvidenceAndSourcing`)**:零误报拦截 4 类事实风险——悬空 `[E99]` 引用(`dangling-evidence-ref`)、将 `unverified`/`conflicting` 证据当作无声明定论展示(`unverified-evidence-claim`,严格要求画面可见文案声明口径/区间)、空洞假出处如「数据来源:网络整理 / 公开资料 / Internet」(`vague-placeholder-source`),以及调研模式下无出处的量化数据页(`unsourced-research-numbers`)。
|
|
16
|
+
- **Skill 双模路由 SOP(`SKILL.md` + `references/research-plan.md`)**:明确划分 **Mode A(有资料直出)** 与 **Mode B(零资料 4 步深研 → Tier 1/2/3 双源核验 → 方案确认 → 带证据成稿)**,严禁凭记忆编造数据。
|
|
17
|
+
- **Zero-Material Research-to-Deck Planner, Verified Evidence Ledger & `SLOP-13` Fact-Grounding Gate (`deck-evidence.mjs` + `references/research-plan.md`)**: Adds a 100%-offline, zero-new-dependency research & fact-grounding engine (strictly preserving 13 registered Agent tools and 0 wire JSON Schema `type` arrays):
|
|
18
|
+
- **Storyboard & Retrieval Planner (`buildResearchPlan` / `ppt_templates({ topic, evidence })` / CLI `--plan`)**: Matches the best of 20 Gold Exemplars, generates a 3-round retrieval & fact-check rubric, diagnoses missing quantitative evidence slots, and produces a user-ready `planMarkdown` storyboard before generation.
|
|
19
|
+
- **Verified Evidence Ledger (`evidence[]` + `slides[].evidenceIds` + `evidenceAppendix: true`)**: Validates `E1..En` entries (`claim`, `source`, `date`, `scope`, `http(s)://` URL sanitization, `confidence`), auto-injects single-line compact `source` footers, writes full provenance cards + URLs to speaker `notes` & `.handout.md`, optionally appends a naturally sorted zero-overflow 4-column `booktabs` Sources & Fact-Verification Ledger slide before `closing`, and preserves `manifest.evidence` across `editDeck` / `undoDeck`.
|
|
20
|
+
- **`SLOP-13` Grounding & Fact-Hygiene Audit (`auditEvidenceAndSourcing`)**: Deterministically intercepts `dangling-evidence-ref`, `unverified-evidence-claim` (requiring visible on-slide caveat/range disclosure), `vague-placeholder-source` (e.g. `"internet"`, `"网络整理"`), and `unsourced-research-numbers` in research mode with zero false positives on ordinary decks.
|
|
21
|
+
- **Dual-Mode Skill Protocol (`SKILL.md` + `references/research-plan.md`)**: Routes between Mode A (material provided → direct build) and Mode B (zero-material topic → 3-round search → Tier 1/2/3 dual-source cross-check → user plan gate → grounded build).
|
|
22
|
+
|
|
3
23
|
## 0.31.0 (2026-11-20)
|
|
4
24
|
|
|
5
25
|
- **标杆叙事弧线自动重排与槽位亲和投影(`resequenceSlidesToExemplar` / `alignOrder: true`)**:针对中弱模型(如 DeepSeek)输出页序散乱、把排期表塞在开篇或将核心 KPI 埋在末尾的痛点,`ppt_create` / CLI `--align-order` / 工作台新建向导新增 **`alignOrder: true`**,按目标标杆范本的经典叙事弧线(封面 → 核心判断/摘要 → 关键 KPI → 痛点对比 → 方案图谱 → 量化证明 → 排期路线 → 行动封底)确定性重排草稿页序,完整保留显式 `section` 分章边界并消除相邻同版式撞车。
|
package/README.en.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# PPT
|
|
4
4
|
|
|
5
|
-
**
|
|
5
|
+
**Publication-grade presentation engine & workbench for DeepSeek Harness: zero-material research & SLOP-13 fact-grounding, 20 Gold Exemplars & zero-LLM self-repair, 24 themes / 35+ native editable layouts & charts, direct Office ingestion, and offline HTML + 100% editable PPTX / PDF / PNG exports.**
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/dsh-ppt) [](https://www.npmjs.com/package/dsh-ppt) [](https://www.npmjs.com/package/dsh-ppt)
|
|
8
8
|
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
## Features
|
|
19
19
|
|
|
20
|
+
- **Zero-Material Research-to-Deck Planner, Verified Evidence Ledger & `SLOP-13` Fact-Grounding Gate**: When a user supplies only a topic with zero source material, `ppt_templates({ topic })` / CLI `--plan` matches the best Gold Exemplar, generates a 3-round retrieval & fact-check rubric, diagnoses missing quantitative slots, and outputs a user-ready storyboard plan (`planMarkdown`); once researched and confirmed, `ppt_create({ evidence, evidenceAppendix: true })` / CLI `--evidence --evidence-appendix` binds verified `E1..En` entries to single-line `source` footers, full URL/scope speaker notes, a naturally sorted zero-overflow 4-column `booktabs` Sources Appendix slide, and `.handout.md` ledger tables while **`SLOP-13`** flags dangling refs, undisclosed unverified/conflicting claims, vague `"internet"`/`"网络整理"` placeholders, and unsourced research numbers.
|
|
20
21
|
- **20 Curated Gold Exemplars (incl. 12 GitHub OSS-Distilled), Few-Shot JSON, Narrative Re-sequencing & Zero-LLM Self-Repair Loop**: Ships **20 scenario exemplars** (8 core + 12 distilled from visually-vetted Apache-2.0/MIT/CC-BY-4.0 GitHub `.pptx` decks: `mckinsey-evolution`, `luxury-budget-review`, `swiss-bauhaus-workshop`, `dark-stage-investor`, `blueprint-ai-factory`, `warm-brand-story`, `ted-storytelling-keynote`, `msft-enterprise-discovery`, `daylight-earnings-research`, `okr-performance-review`, `quiet-canvas-keynote`, `medical-clinical-course`) with **`exemplar: "auto"` semantic routing**, **`alignOrder: true`** exemplar narrative-arc re-sequencing, and ready-to-mirror **Few-Shot Gold Slide JSON** via `ppt_templates({ exemplarId })`; batch-ingest local/GitHub `.pptx` folders offline via `ppt_absorb` / `--ingest-exemplars <dir>` into `.dsh-ppt/exemplars.json`; built-in **Deterministic Weak-LLM Super-Upgrader & Zero-LLM Self-Repair Loop (`autoUpgrade` / `selfRepairDeck`)** runs pre-commit `checkManifest` + `SLOP-01..12` check→repair→recheck with 0 extra LLM calls, losslessly fixing overflowing titles, bullet walls, KPI/table overloads, pie spaghetti, missing chart spotlights/takeaways, and low-contrast/neon canvases before saving.
|
|
21
22
|
- **Aesthetic Studio (8 Curated Taste Recipes, 61 Native Vector Icons, Cover Photo Split & Geometric Patterns)**: Ships **8 world-class Taste Recipes** (`mckinsey-partner`, `apple-keynote-dark`, `apple-keynote-light`, `swiss-editorial`, `linear-craft`, `ft-data-journal`, `nature-academic`, `oriental-zen`) orchestrating **4 poster covers** (`keynote-glow`, `editorial-grid`, `architectural`, `split-bleed`), **Hero Photo Split covers** (`slide.image` on `cover`) & procedural **`coverPattern`** (`dots` | `grid` | `rings`), **live multi-chapter `section[agenda]` trackers**, **4 card surface materials** (`solid`, `frameless`, `glass`, `editorial-rule`), **anti-monotony asymmetric layouts** (`kpi[spotlight]`, `cards[bento-hero]`), **61 zero-dependency geometric vector icons** (HTML `<svg>` + editable OOXML `<a:custGeom>`), and **publication-grade chart finishing**; `ppt_absorb` extracts 6-signal aesthetic DNA (`styleRecipe`) from any benchmark `.pptx` into `.dsh-ppt/taste-recipes.json`.
|
|
22
23
|
- **Tech/Product Showcase & 35+ Native Editable Consulting Layouts & Charts**: Auto-matches **24 curated themes**, **6 Master Chrome Skeletons**, and **20 industry blueprints**; adds native vector **Device Mockups (`mockup`: `browser` | `mobile` | `split` with screenshot injection or live UI tiles)**, **9-language Zero-Dep Syntax-Highlighted Code (`code`, auto-promoting Markdown ```` ```lang ```` fences into macOS terminals + editable multi-color Consolas OOXML runs)**, and **4 Pinnacle Analyst Charts**: **Magic Quadrant (`quadrant`)**, **Multi-Series Radar (`radar`)**, **McKinsey Dumbbell Slope (`dumbbell`)**, and **WCAG Auto-Contrast Heatmap (`heatmap`)** — alongside native `<m:oMath>` equations, Mermaid-to-OOXML connectors, Marimekko, Sankey, Porter Value Chain, SWOT, Gantt, Architecture, Harvey balls, TAM concentric circles, academic 3-line tables, and 13 publication-grade charts.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# PPT
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**DeepSeek Harness 大师级演示文稿引擎与工作台:支持零资料调研核验与 SLOP-13 事实溯源、20 套标杆范本与弱模型零调用自检修复、24 主题 / 35+ 原生可编辑图谱与 Office 直吞,一键导出离线 HTML 放映、100% 可编辑 PPTX、PDF/PNG 与讲义包。**
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/dsh-ppt) [](https://www.npmjs.com/package/dsh-ppt) [](https://www.npmjs.com/package/dsh-ppt)
|
|
8
8
|
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
## 功能
|
|
19
19
|
|
|
20
|
+
- **零资料深度调研、事实核验与策划出稿协议(Evidence Ledger + `SLOP-13` 门禁)**:针对「用户无现成文档/数据,仅给主题要求 Agent 自主检索、查准数据、先出方案再做 PPT」的场景,`ppt_templates({ topic })` / CLI `--plan` 一键输出匹配标杆、3 轮定向检索清单、量化槽位缺口诊断与逐页分镜策划表;确认后经 `ppt_create({ evidence, evidenceAppendix: true })` / CLI `--evidence --evidence-appendix` 将交叉核验后的 `E1..En` 证据账本自动绑定为清爽单行 `source` 脚注、演讲备注完整 URL/口径溯源卡、封底前零溢出 4 列 `booktabs` 核验附录页及讲义总表,并由 **`SLOP-13` 事实出处门禁**自动拦截悬空引用、未注明口径差异的冲突数据、「网络整理」等空洞假出处及无出处量化页。
|
|
20
21
|
- **20 套标杆范本槽位契约(含 12 套 GitHub 开源实机蒸馏)、Few-Shot JSON 样板、标杆弧线重排与零模型自检修复闭环**:内置 **20 套满分标杆范本**(8 套核心场景 + 12 套源自 Apache-2.0/MIT/CC-BY-4.0 开源 GitHub `.pptx` 实机筛查蒸馏的 `mckinsey-evolution` / `luxury-budget-review` / `swiss-bauhaus-workshop` / `dark-stage-investor` / `blueprint-ai-factory` / `warm-brand-story` / `ted-storytelling-keynote` / `msft-enterprise-discovery` / `daylight-earnings-research` / `okr-performance-review` / `quiet-canvas-keynote` / `medical-clinical-course`),支持 `exemplar: "auto"` 智能匹配、`alignOrder: true` 按标杆叙事弧线重排乱序草稿,以及通过 `ppt_templates({ exemplarId })` 返回逐页槽位契约与 **Few-Shot 满分 JSON 样板**;支持 `ppt_absorb` / `--ingest-exemplars <dir>` 离线批量吸收本地或开源 `.pptx` 目录沉淀至 `.dsh-ppt/exemplars.json`;内置 **确定性弱模型补偿器 + 零模型自检修复闭环(`autoUpgrade` / `selfRepairDeck`)**,落盘前自动执行 `checkManifest` + `SLOP-01..12` 复检修复,0 额外模型调用、100% 无损解决标题溢出、超长文字墙、卡片/表格过载、碎块饼图、图表缺结论/聚光灯及低对比刺眼配色,直出零告警成品。
|
|
21
22
|
- **大师审美工坊(8 套品味配方 + 61 枚原生矢量图标 + 封面主图分屏与几何肌理)**:内置 **8 套大师级 Taste Recipes**(`mckinsey-partner`、`apple-keynote-dark`、`apple-keynote-light`、`swiss-editorial`、`linear-craft`、`ft-data-journal`、`nature-academic`、`oriental-zen`),一键驱动 **4 套海报级封面**(径向光晕 `keynote-glow` / 瑞士网格 `editorial-grid` / 建筑深色侧翼 `architectural` / `split-bleed`)、**Hero Photo Split 全出血主图分屏封面** 与 **程序化几何肌理**(`coverPattern: 'dots' | 'grid' | 'rings'`)、**`section[agenda]` 实时章节进度页**、**4 种卡片材质**(`solid` / `frameless` / `glass` / `editorial-rule`)、**反单调主次构图**(`kpi[spotlight]` / `cards[bento-hero]`)、**61 枚零依赖原生矢量图标**(HTML `<svg>` + PPTX 原生 `<a:custGeom>`)及出版级图表精修;上传任意优秀 `.pptx` 还可提取 6 维深层审美 DNA(`styleRecipe`)持久化复用。
|
|
22
23
|
- **科技产品展示 & 35+ 原生可编辑商业分析图谱**:自动匹配 **24 套大师主题**、**6 套差异化母版骨架** 与 **20 套行业蓝图**,新增原生矢量 **设备原型展示 `mockup`**(`browser` / `mobile` 灵动岛 / `split`,支持截图嵌入与内置 UI 卡片)、**9 语言零依赖语法高亮代码窗 `code`**(自动晋升 Markdown ```` ```lang ```` 代码块,PPTX 生成多色可编辑 Consolas 文本流),以及 **四大顶级商业分析矢量图谱**:**魔力象限 `quadrant`**、**多维雷达图 `radar`**、**麦肯锡哑铃跃迁图 `dumbbell`** 与 **WCAG 自适应热力矩阵 `heatmap`**;同时涵盖原生 `<m:oMath>` 数学公式、Mermaid 流程图/时序图直转原生吸附连线、不等宽市场图 `marimekko`、多层桑基图 `sankey`、波特价值链、SWOT、甘特图、分层架构、哈维球、TAM 同心圆、三线表与 13 种出版级图表。
|
package/docs/USAGE.en.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Current improvements
|
|
6
6
|
|
|
7
|
+
- **0.32.0 Zero-Material Research-to-Deck Planner, Verified Evidence Ledger & `SLOP-13` Fact-Grounding Gate**: Adds zero-dependency `deck-evidence.mjs` and the Dual-Mode research skill protocol (`skills/dsh-ppt/references/research-plan.md`, keeping strictly 13 registered tools and 100% offline engine execution); `ppt_templates({ topic, evidence })` and CLI `--plan` match the best Gold Exemplar and emit a 3-round retrieval checklist, quantitative gap diagnostics, and user-ready `planMarkdown` storyboard; `ppt_create({ evidence, evidenceAppendix: true })` and CLI `--evidence @file.json --evidence-appendix` bind verified `E1..En` entries into compact single-line `source` footers, full URL/scope speaker notes, a naturally sorted zero-overflow 4-column `booktabs` Sources Appendix slide before `closing`, and `.handout.md` ledger tables; `SLOP-13` intercepts dangling refs, undisclosed `unverified`/`conflicting` claims, vague placeholder sources, and unsourced research numbers with 0 false positives.
|
|
7
8
|
- **0.31.0 Exemplar Narrative-Arc Re-sequencing, Evidence-Anchored Action Titles & Zero-LLM Self-Repair Loop**: Upgrades `deck-upgrader.mjs` with `resequenceSlidesToExemplar` (`ppt_create({ alignOrder: true })` / CLI `--align-order` / Workbench toggle) to align scrambled draft slides to the active exemplar's cadence while keeping `section` chapter groupings intact; enhances `synthesizeActionTitle` to synthesize width-safe, verbatim evidence-backed Action Titles and grounded `takeaway` bars across KPI, dumbbell, chart, table, and quadrant slides without hallucinating numbers or mutating `{{metricId}}` bindings; adds pre-commit `selfRepairDeck` (bounded 2-pass `checkManifest` + `SLOP-01..12` check→repair→recheck loop with 0 LLM calls) losslessly fixing overflowing titles, bullet walls, KPI/table overloads, >6-slice pie spaghetti (to horizontal bar), missing chart spotlights/callouts, and low-contrast/saturated canvases before saving.
|
|
8
9
|
- **0.30.0 GitHub OSS `.pptx` Distilled Corpus (20 Built-in Exemplars), Few-Shot JSON & `exemplar: "auto"` Routing**: Adds zero-dependency `deck-exemplars-corpus.mjs` distilling **12 top Apache-2.0/MIT/CC-BY-4.0 GitHub `.pptx` benchmarks** (selected from 25 real vetted decks: `mckinsey-evolution`, `luxury-budget-review`, `swiss-bauhaus-workshop`, `dark-stage-investor`, `blueprint-ai-factory`, `warm-brand-story`, `ted-storytelling-keynote`, `msft-enterprise-discovery`, `daylight-earnings-research`, `okr-performance-review`, `quiet-canvas-keynote`, `medical-clinical-course`) alongside the original 8 (**20 built-in exemplars total**); appends bilingual **Few-Shot Gold Slide JSON (`fewShotSlides`)** in `ppt_templates({ exemplarId })`; adds `exemplar: "auto"` semantic routing across `ppt_create`, CLI (`--exemplar auto`), and Workbench; hardens `deck-absorb.mjs` against decorative margin dots, non-concentric ambient circles, generic `PowerPoint Presentation` `dc:title` ID collisions, and platform-locked macOS/Korean fonts.
|
|
9
10
|
- **0.29.0 8 Curated Gold Exemplars, Batch `.pptx` Corpus Ingestion & Deterministic Weak-LLM Compensator**: Adds zero-dependency `deck-exemplars.mjs` and `deck-upgrader.mjs` shipping 8 curated exemplars (`mckinsey-strategy`, `sequoia-pitch`, `stripe-product-launch`, `quarterly-exec-review`, `tech-arch-rfc`, `academic-defense`, `enterprise-proposal`, `gov-institutional`) with per-slide slot contracts via `ppt_templates({ exemplarId })` / `--list-exemplars`; upgrades `ppt_absorb` (`saveExemplarAs` / folder path / `corpusDir` / `--ingest-exemplars`) to batch-ingest GitHub/corporate `.pptx` folders into `.dsh-ppt/exemplars.json` while filtering hidden slides (`show="0"`); adds `exemplar` and deterministic `autoUpgrade` (0 extra LLM calls, 100% lossless promotion of buried `code[split]`/`dumbbell`/`radar`/`quadrant`/`heatmap`/`mockup`/`kpi[spotlight]`, `>6`-bullet wall splitting, streak breaking, and `SLOP-01`/`02`/`09` rescue); fixes `cards[bento-hero]` light-theme contrast and `dumbbell` edge-label collisions, and adds the Gold Exemplar selector to Workbench `PptCreateDialog`.
|
package/docs/USAGE.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## 本次改进
|
|
6
6
|
|
|
7
|
+
- **0.32.0 零资料深度调研、事实核验账本与 `SLOP-13` 事实出处门禁**:新增零外部依赖 `deck-evidence.mjs` 与技能协议 `skills/dsh-ppt/references/research-plan.md`(严格保持 13 个注册工具、0 引擎内联网);`ppt_templates({ topic, evidence })` 与 CLI `--plan` 可按选题自动匹配 20 套标杆范本并生成 3 轮检索清单、量化槽位缺口诊断与逐页分镜策划表(`planMarkdown`);`ppt_create({ evidence, evidenceAppendix: true })` 与 CLI `--evidence @file.json --evidence-appendix` 自动把核验后的 `E1..En` 证据账本注入单行精简 `source` 脚注、演讲备注完整 URL/口径溯源卡、封底前零溢出 4 列 `booktabs` 核验清单附录页及讲义总表;`SLOP-13` 静态门禁自动拦截悬空 `[E99]`、未标注口径的 `unverified`/`conflicting` 声明、「数据来源:网络整理」等空洞假出处及调研模式下无出处量化页。
|
|
7
8
|
- **0.31.0 标杆叙事弧线重排、证据锚定 Action-Title 与零模型自检修复闭环**:`deck-upgrader.mjs` 升级为三段式弱模型硬升维管线——新增 `resequenceSlidesToExemplar`(`ppt_create({ alignOrder: true })` / CLI `--align-order` / 工作台勾选框),按目标标杆范本槽位节奏重排乱序草稿并保护 `section` 分章边界;升级 `synthesizeActionTitle` 针对 KPI、哑铃图、柱/折/饼图、表格与象限图 100% 依据原文数字自动合成控宽结论标题与底部 `takeaway`;新增 `selfRepairDeck` 落盘前两轮 `checkManifest` + `SLOP-01..12` 确定性自检修复闭环(0 额外模型调用、100% 无损修复标题溢出、文字墙、组件/表格过载、>6 扇区碎块饼图转横向 bar、柱图补聚光灯与低对比刺眼画布净化),落盘即零告警成品。
|
|
8
9
|
- **0.30.0 GitHub 开源优质 `.pptx` 实机蒸馏语料库(内置 20 套范本)、Few-Shot JSON 样板与 `exemplar: "auto"` 路由**:新增零外部依赖 `deck-exemplars-corpus.mjs`,从 **25 份**真实 Apache-2.0 / MIT / CC0-1.0 / CC-BY-4.0 开源 GitHub `.pptx` 经实机渲染筛查蒸馏出 **12 套**新标杆范本(`mckinsey-evolution`、`luxury-budget-review`、`swiss-bauhaus-workshop`、`dark-stage-investor`、`blueprint-ai-factory`、`warm-brand-story`、`ted-storytelling-keynote`、`msft-enterprise-discovery`、`daylight-earnings-research`、`okr-performance-review`、`quiet-canvas-keynote`、`medical-clinical-course`),与原有 8 套合共 **20 套内置标杆**;`ppt_templates({ exemplarId })` 新增双语 **Few-Shot 满分 JSON 样板(`fewShotSlides`)** 供弱模型直接仿写;`ppt_create` / CLI `--exemplar auto` / 工作台新增 `exemplar: "auto"` 智能语义匹配;同步加固 `deck-absorb.mjs` 杜绝边缘装饰圆点、背景光晕圆、默认 `PowerPoint Presentation` 标题碰撞与 macOS 独占字体泄漏。
|
|
9
10
|
- **0.29.0 8 套标杆范本槽位契约、批量 `.pptx` 语料吸收与确定性弱模型升维补偿器**:新增零外部依赖 `deck-exemplars.mjs` 与 `deck-upgrader.mjs`,内置 8 套高审美标杆范本(`mckinsey-strategy` / `sequoia-pitch` / `stripe-product-launch` / `quarterly-exec-review` / `tech-arch-rfc` / `academic-defense` / `enterprise-proposal` / `gov-institutional`),支持 `ppt_templates({ exemplarId })` / `--list-exemplars` 返回逐页槽位填空契约;`ppt_absorb` 支持单份存范本(`saveExemplarAs`)或直接传 `.pptx` 文件夹(`corpusDir` / `--ingest-exemplars`)批量投喂沉淀至 `.dsh-ppt/exemplars.json`(自动跳过 `<p:sld show="0">` 隐藏页);`ppt_create` 新增 `exemplar` 与默认开启的确定性弱模型补偿器 `autoUpgrade`(0 额外模型调用、100% 文本无损自动晋升 `kpi[spotlight]` / `dumbbell` / `radar` / `quadrant` / `heatmap` / `code[split]` / `mockup`、拆分超长文字墙、抢救空洞标题与裸封底);同步修复亮色主题 `cards[bento-hero]` 反白英雄卡对比度与 `dumbbell` 近零轴数值防撞排版,并在工作台新建向导开放标杆范本选择器。
|
package/docs/VALIDATION.md
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
## 最新记录
|
|
8
8
|
|
|
9
|
+
**0.32.0 零资料调研策划器、证据账本溯源与 SLOP-13 事实出处门禁实机验收(2026-11-20)**:全量 `tsc`、客户端打包、`npm test`(**427 / 427 通过**,含新增 `test/v32-research-evidence-slop13.test.mjs` 4 套专项集成测试与 `deck-layouts.mjs` < 120 KB 守卫)及 `.github/scripts/npm-registry-verification.test.mjs` 全部通过(0 失败,13 个注册工具 Wire Schema 0 `type` 数组,`templates/workbench-ui.js` 与 `pnpm-lock.yaml` 零改动);实机 `@deepseek-ai/libreoffice-kit` 无头渲染(`missingFonts: []`)逐页目视核验零资料调研研报(`2026 固态电池商业化进展与产业研报`,6 条 `verified`/`conflicting`/`estimated` 证据账本 + `evidenceAppendix: true` + `handout: true`):全篇 7 页 **0 错误 / 0 告警**,单行精简 `source` 脚注清晰不换行,封底前自动生成的 4 列按编号自然排序 `booktabs` 核验附录页零溢出、零碰撞、无未闭合书名号,完整 URL 与口径说明准确落盘演讲备注与 `.handout.md`。
|
|
10
|
+
|
|
11
|
+
- **0.32.0 Bilingual Validation Record (2026-11-20)**: Full `tsc`, client bundle build, `npm test` (**427 / 427 passed**, including `test/v32-research-evidence-slop13.test.mjs` and the `deck-layouts.mjs` < 120 KB guard), and `.github/scripts/npm-registry-verification.test.mjs` passed with 0 failures, 0 `type` arrays across all 13 registered tools, and untouched `templates/workbench-ui.js` / `pnpm-lock.yaml`; real `@deepseek-ai/libreoffice-kit` headless rendering (`missingFonts: []`) visually verified a 7-slide zero-material researched deck with a 6-entry mixed-confidence Evidence Ledger, `evidenceAppendix: true`, and `handout: true` (0 errors, 0 warnings, crisp single-line `source` footers, and a clean naturally-sorted 4-column `booktabs` Sources Appendix slide with zero text wrapping or takeaway overlap).
|
|
12
|
+
|
|
9
13
|
**0.31.0 标杆弧线重排、证据锚定 Action-Title 与零模型自检修复闭环实机验收(2026-11-20)**:全量 `tsc`、客户端打包、`npm test`(**423 / 423 通过**,含新增 `test/v31-super-upgrader-self-repair.test.mjs` 4 套专项集成测试与 `deck-layouts.mjs` < 120 KB 守卫)及 `.github/scripts/npm-registry-verification.test.mjs` 全部通过(0 失败,13 个注册工具 Wire Schema 0 `type` 数组,`templates/workbench-ui.js` 与 `pnpm-lock.yaml` 零改动);实机 `@deepseek-ai/libreoffice-kit` 无头渲染(`missingFonts: []`)逐页目视核验 15 项叠加反模式噩梦弱模型草稿经 `exemplar: 'okr-performance-review'` + `alignOrder: true` + `selfRepairDeck` 一键修复前后对比:告警由 **15 → 0**、乱序甘特/KPI 重排归位、6 项 KPI 无损分拆为 3+3(续页标题自动重锚)、7 扇区碎块饼图无损转聚光灯横向 bar(关闭分类增长误标)、5 柱图自动补聚光灯与增长结论、裸「谢谢!」升级为 3 卡片行动封底,全篇 0 缺字、0 溢出、0 告警。
|
|
10
14
|
|
|
11
15
|
- **0.31.0 Bilingual Validation Record (2026-11-20)**: Full `tsc`, client bundle build, `npm test` (**423 / 423 passed**, including `test/v31-super-upgrader-self-repair.test.mjs` and the `deck-layouts.mjs` < 120 KB guard), and `.github/scripts/npm-registry-verification.test.mjs` passed with 0 failures, 0 `type` arrays across all 13 registered tools, and untouched `templates/workbench-ui.js` / `pnpm-lock.yaml`; real `@deepseek-ai/libreoffice-kit` headless rendering (`missingFonts: []`) visually verified a 15-warning nightmare weak-LLM draft transformed deterministically via `exemplar: 'okr-performance-review'`, `alignOrder: true`, and `selfRepairDeck` into a 0-warning, 0-overflow, 0-missing-font 8-slide deck.
|