9 Commits

Author SHA1 Message Date
6858acfafa feat: update electron main and React components 2026-03-19 23:06:26 +08:00
ad58bed418 feat: add HTTP API endpoints for headless mode 2026-03-19 16:21:05 +08:00
207b56bf69 feat: add headless mode support for electron
- Add --headless flag to run electron without GUI
- Add startup logging for debugging
- Improve headless mode exit handling (auto-exit after 5s)
- Refactor args variable to argsGlobal for clarity

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 15:58:36 +08:00
2f24b0f522 feat: add HTTP server and port argument support for electron 2026-03-19 14:49:25 +08:00
58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00
d66f5b09e6 feat: migrate to react-markdown for robust markdown rendering
- Replace custom markdown parser with react-markdown + remark-gfm
- Fix document link navigation (./ and ../ references)
- Simplify doc viewing flow (direct markdown content instead of parsed structure)
- Update electron main process to only use api folder for docs
- Add blueprint loading from docs/blueprint.md dynamically
- Fix sidebar file selection path matching
- Update preload scripts for new API structure
2026-03-18 18:50:26 +08:00
14fbd07462 fix: correct dist path for packaged electron app 2026-03-18 15:33:08 +08:00
53d4f2aa94 fix: use ESM imports instead of require in Electron main 2026-03-18 15:27:24 +08:00
3d703ba7ef feat: add Electron support for headless exe service
- Add folder selection button in UI
- Add Electron main process with IPC handlers
- Support --port and --docs command line arguments
- Support --headless mode for headless service
- Add portable exe build configuration
2026-03-18 15:05:37 +08:00