Commit Graph

3 Commits

Author SHA1 Message Date
fegger 49278723b1 Update build system and path handling
- Use Node filesystem APIs instead of shell commands for temp cleanup
- Add absolute path helpers for cross-platform compatibility
- Generate both main.js and dist/main.js artifacts
- Improve error handling in document downloader
- Track additional document metadata in sync tracker
- Replace Unix-specific `find` with recursive directory traversal

The build system now generates two output files (main.js and dist/main.js) for
better compatibility with Obsidian's plugin loading. Path handling has been
centralized in new utilities to ensure cross-platform behavior, replacing shell
commands that had Windows compatibility issues.
2026-05-31 16:01:44 +02:00
fegger 0211cf33f3 ```
Add handwriting OCR pipeline and update documentation

- Introduce full OCR workflow: HWR extraction → PNG rendering → GLM-OCR → Ollama refinement
- Add new modules for page rendering, GLM-OCR client, style refinement, and ZIP utilities
- Update settings with drawj2d path and batch size controls
- Document Phase 2 completion and known limitations in IMPLEMENTATION.md
- Validate dependencies and handle cross-platform temp directory cleanup
  ```
2026-05-31 14:34:38 +02:00
fegger e39fbca087 initial commit 2026-05-31 14:23:01 +02:00