Commit graph

39 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
3e47cc5ef6 feat(ui): add adaptive diagram history drawer 2026-07-19 14:55:32 +08:00
aliyun1121003339
dce330172d fix(ui): complete scheme A preview and navigation 2026-07-19 00:35:57 +08:00
aliyun1121003339
8c32069f6b feat(settings): complete discovery feedback 2026-07-11 23:21:02 +08:00
aliyun1121003339
3ee24d8e43 feat(ui): localize and harden history management 2026-07-11 23:11:01 +08:00
aliyun1121003339
d2ffcb3262 feat: add vault history and settings discovery 2026-07-11 21:55:53 +08:00
aliyun1121003339
d7dc6c49aa feat: summarize diagram preview diagnostics 2026-07-06 00:26:19 +08:00
aliyun1121003339
e9fd5643cc feat: add source-only diagram preview fallback 2026-07-05 21:21:23 +08:00
aliyun1121003339
87ecb59877 feat: surface diagram artifact diagnostics in preview 2026-07-05 21:01:49 +08:00
Jacobinwwey
9f75624043 fix: align slide export environment guidance 2026-06-21 07:38:02 -05:00
Jacobinwwey
71c77ed26e fix(slidev-export): refine sidebar workflow 2026-06-20 07:49:31 -05:00
Jacobinwwey
9da5b7ab19 feat(slide-export): add layout-audited export workflow 2026-06-18 00:02:42 -05:00
Jacobinwwey
c68637c06c feat: add slide export feature using Slidev CLI
Implement one-click Markdown to presentation export with format support
for HTML, PDF, PNG, and MP4. Desktop-only feature with environment
detection, auto-install for Slidev/Playwright, and manual ffmpeg guidance.

Architecture:
- External Slidev CLI via child_process.execFile (not bundled)
- Dynamic imports gated by Platform.isDesktopApp for mobile safety
- No shell injection - all args passed as arrays

New modules (src/slideExport/):
- types.ts: TypeScript interfaces for probes, configs, capabilities
- platformUtils.ts: Safe Node.js access, execFile wrapper, npx resolver
- environmentProber.ts: Parallel tool detection (node/slidev/playwright/ffmpeg)
- slidevExporter.ts: Slidev CLI wrapper for HTML/PDF/PNG export
- videoExporter.ts: ffmpeg wrapper for PNG→MP4 conversion
- EnvironmentProbeModal.ts: UI for probe results with auto-install buttons
- index.ts: Barrel export

Integration:
- src/types.ts: Added 8 slideExport settings fields
- src/constants.ts: Default values for all settings
- src/workflowButtons.ts: Added probe-slide-export-env + export-slides actions
- src/ui/NotemdSidebarView.ts: Added export category + action handlers
- src/main.ts: Desktop-guarded command registration + exportSlidesCommand
- src/ui/NotemdSettingTab.ts: Settings UI with conditional fields
- styles.css: Probe modal grid, status indicators, ffmpeg instructions
- src/i18n/: English + Chinese translations for all UI strings
- src/tests/__mocks__/settings.ts: Added mock settings for tests

Verification:
- Build succeeds (npm run build)
- Mobile-safe: no child_process at top level, dynamic imports only
- Desktop commands gated by Platform.isDesktopApp check

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 06:19:59 -05:00
Jacobinwwey
4260ac4749 fix(sidebar): restore footer scroll and api observability styles 2026-06-06 01:03:21 -05:00
Jacobinwwey
63903bdd3d feat(provider-settings): widen bounded model discovery support 2026-05-28 01:36:29 -05:00
Jacobinwwey
baafc9c87d fix(settings): polish discovered model selection ux 2026-05-27 06:07:16 -05:00
Jacobinwwey
0cdd4acc8c feat(settings): land metadata-driven provider panel 2026-05-27 05:33:21 -05:00
Jacobinwwey
042be618e8 feat(stage-c): ship 1.9.0 advanced batch input slice 2026-05-26 05:36:26 -05:00
Jacobinwwey
5ea5fce0c8 feat(mainline): complete bounded backup recovery 2026-05-25 03:57:12 -05:00
Jacobinwwey
98ff08329a feat(provider): expand provider and extraction workflows 2026-05-07 08:37:10 -05:00
Jacobinwwey
fbf1df2a1d feat: harden themed diagram preview exports 2026-04-14 06:52:29 -05:00
Jacobinwwey
2ad2a4b50a feat: add json canvas preview rendering 2026-04-14 06:15:15 -05:00
Jacobinwwey
684aa53d44 feat: render vega-lite previews as svg 2026-04-14 04:41:22 -05:00
Jacobinwwey
1de0d85b72 feat: preview experimental mermaid diagrams in modal 2026-04-14 03:11:28 -05:00
Jacobinwwey
a61ef462b7 feat: implement first-principles language support architecture 2026-04-09 06:21:17 -05:00
Jacobinwwey
b978fc8e9d feat(ui): polish sidebar interactions and CTA readability 2026-03-30 07:13:54 -05:00
Jacobinwwey
36ea330fb7 fix: harden runtime llm transport and sidebar footer 2026-03-26 22:20:43 -05:00
Jacobinwwey
d354676f06 fix: stabilize sidebar progress and log layout 2026-03-26 20:16:00 -05:00
Jacobinwwey
7972626a65 fix: harden transient llm network retries 2026-03-26 20:01:39 -05:00
Jacobinwwey
d5350cc7db fix: clear tavily timeout handles 2026-03-26 19:32:34 -05:00
Jacobinwwey
0759fc4e07 feat: add agent guide and extend provider presets 2026-03-26 07:44:43 -05:00
Jacobinwwey
d44f2ae1a8 feat: expand china-ready llm provider support 2026-03-26 07:15:04 -05:00
Jacobinwwey
c5f6967653 feat: add workflow builder, mermaid coupling, and sidebar trigger tests 2026-03-25 00:44:13 -05:00
Jacobinwwey
eed6054787 update 1.3.0 2025-06-19 23:57:13 +08:00
Jacobinwwey
73fbea3094 update 2025-04-29 12:20:41 +08:00
Jacobinwwey
820f5e94a1 css 2025-04-24 21:46:16 +08:00
Jacobinwwey
d0a074a9b7 split all and debug 2025-04-24 21:29:30 +08:00
Jacobinwwey
066d1db786 format update 2025-04-18 16:02:13 +08:00
Jacobinwwey
d384839af4 Initial commit 2025-04-17 23:31:56 +08:00