Commit graph

32 commits

Author SHA1 Message Date
aliyun1121003339
bac0fb8dc1 feat(diagrams): add managed CircuitikZ runtime and fix history scrolling
Add an optional ownership-scoped Tectonic environment with secure installation, native compile verification, and topology-preserving repair support. Harden CircuitikZ generation and preview routing, fix the history drawer scroll model, and synchronize bilingual architecture, user guidance, and localized README documentation.
2026-07-20 03:49:24 +08:00
aliyun1121003339
9efff590e9 fix(slidev): enforce rendered standalone export gates 2026-07-04 13:57:21 +08:00
aliyun1121003339
b09d2869ad chore(mainline): close out process alignment and archive root docs 2026-07-03 13:51:50 +08:00
Jacobinwwey
eb777ef93e fix(slide-export): cross-page mermaid/heading integrity, MP4 order+clarity, Windows probe
Slide export improvements across all 6 formats (HTML standalone, HTML
server-script, PDF, PNG, PPTX, MP4):

Cross-page split integrity:
- isTopLevelListItem now anchors to column 0 only, so indented nested
  children (e.g. - Responsibility: under - Module:) stay attached to
  their parent block instead of being orphaned as top-level items on the
  next slide. Regression test added.

PDF/PNG Mermaid blank pages:
- Slidev one-piece export only waits on one shared #mermaid-rendering-container,
  so late Mermaid blocks capture blank. Append --per-slide to PDF/PNG CLI
  invocations so each slide gets its own Mermaid container-wait cycle.
  Keep --wait-until networkidle --wait 3000 as belt-and-suspenders.
  PDF p3 content went 0.00% -> 2.64%.

MP4 slide ordering:
- Replace shell glob (*.png, lexicographic: 1,10,11,...,2) with a
  numerically-sorted concat-demuxer list fed to ffmpeg with explicit
  per-frame durations. Slides encode in deck order regardless of
  zero-padding width or --with-clicks suffix.

Image clarity setting (>=300 ppi default):
- Add slideExportImageClarity setting (standard/high/ultra, default ultra
  = scale 3 ~432 ppi) wired into Slidev --scale on PNG export; MP4
  inherits via PNG sequence. Settings UI dropdown in EN + ZH.
- Add -vf pad=ceil(iw/2)*2:ceil(ih/2)*2 to ffmpeg args so libx264/yuv420p
  encodes odd-height frames (scale 3 -> 2940x1653 -> 1654 padded).

Windows spawn EINVAL on environment probe:
- execFileAsync sets shell:true + windowsHide:true on win32 only so Node
  resolves PATHEXT for .cmd/.bat/.exe shims (npx.cmd, slidev.cmd, ffmpeg).
  macOS/Linux keep direct exec (shell:false), unchanged.
- resolvePlaywrightBrowsersPath covers AppData/Roaming/ms-playwright and
  PLAYWRIGHT_BROWSERS_PATH env var.

Mermaid pre-fit in standalone HTML:
- Inject mermaidPostFitScript into standalone HTML via main.ts export path.
- Add mermaidFitScript.ts, mermaidPostFitScript.txt, assets.d.ts.
- esbuild .txt loader, jest txt transform.

Tests: 1557 pass (1 pre-existing mainlineProgressAuditContract GEO drift
unrelated). tsc clean. Built main.js verified in live Obsidian.
2026-07-01 10:26:57 -05:00
Jacobinwwey
4ecb244756 test: report pptx advisory metric and layer contracts 2026-06-22 04:20:09 -05:00
Jacobinwwey
6e109c9a0e feat: improve editable pptx text coverage 2026-06-22 01:57:23 -05:00
Jacobinwwey
0ecafc133d test: add rendered-html pptx reference diff 2026-06-22 00:53:55 -05:00
Jacobinwwey
2d7751f263 fix: add slidev pptx external visual diagnostics 2026-06-21 22:30:37 -05:00
Jacobinwwey
3e1a61731a fix: harden slidev pptx export reporting 2026-06-21 21:28:44 -05:00
Jacobinwwey
61b0e84435 fix: stabilize slidev pptx visual gate 2026-06-21 07:15:46 -05:00
Jacobinwwey
8260f18dc1 test: add pptx visual diff gate 2026-06-21 05:37:51 -05:00
Jacobinwwey
2ed3d018ff test(local-kb): execute repo-owned research docs through fixtures 2026-06-09 10:45:41 -05:00
Jacobinwwey
71b84b380e test(local-kb): add failure-state inspect examples 2026-06-09 04:38:43 -05:00
Jacobinwwey
ad325db691 docs(cli): align local-kb inspect examples 2026-06-06 11:15:36 -05:00
Jacobinwwey
04ddd13c61 test(packaging): centralize render-host reference contract 2026-06-06 08:33:17 -05:00
Jacobinwwey
824d07eed4 test(local-kb): cover chapter split showcase retrieval 2026-06-06 07:56:21 -05:00
Jacobinwwey
b1c799f3b7 refactor(release): centralize workflow trigger contract 2026-06-06 05:40:03 -05:00
Jacobinwwey
9a3f19cb31 refactor(release): centralize workflow branch contract 2026-06-06 05:18:43 -05:00
Jacobinwwey
34c6589b08 refactor(release): centralize release contract truth 2026-06-06 04:17:42 -05:00
Jacobinwwey
5b29430189 chore(packaging): drop obsolete render-host contract shim 2026-06-06 04:05:30 -05:00
Jacobinwwey
d9cbf30afe refactor(packaging): converge bundle truth sources 2026-06-06 04:04:58 -05:00
Jacobinwwey
cecad88847 refactor(packaging): unify render-host contract truth 2026-06-06 03:49:00 -05:00
Jacobinwwey
402a33ff0b fix(local-kb): align docs-vault inspect examples 2026-06-06 00:49:20 -05:00
Jacobinwwey
2ecfbe91a2 test(local-kb): deepen stage-c retrieval evidence 2026-05-28 03:13:55 -05:00
Jacobinwwey
ec3c4dd271 feat(stage-c): harden local kb inspect explainability 2026-05-27 03:21:19 -05:00
Jacobinwwey
d92e2979f8 feat(stage-c): harden local-kb telemetry and maintainer help 2026-05-25 08:40:54 -05:00
Jacobinwwey
1f90dd426d feat(mainline): tighten render-host truth and chapter split contracts 2026-05-25 07:37:42 -05:00
Jacobinwwey
5ea5fce0c8 feat(mainline): complete bounded backup recovery 2026-05-25 03:57:12 -05:00
Jacobinwwey
17aa3dda2d feat(mainline): recover bounded backup-branch slices 2026-05-25 03:02:41 -05:00
Jacobinwwey
6ea5c39e81 fix(ci): harden repo-saga package-manager fallback probing 2026-05-08 04:40:55 -05:00
Jacobinwwey
ee40ee885e fix(ci): harden repo-saga chronicle fallback 2026-05-08 03:54:56 -05:00
Jacobinwwey
5164cce270 feat: ship 1.7.9 long-request diagnostics and cross-provider streaming fallback 2026-03-30 03:23:16 -05:00