Commit Graph

3 Commits

Author SHA1 Message Date
doum1004
9e8f913bc1 feat: implement Git backend support for wiki storage and commands 2026-04-11 00:37:50 -04:00
doum1004
2a591b6f5d Refactor storage management and command handling
- Introduced a new StorageProvider interface to abstract storage operations.
- Implemented createProvider function to create a filesystem-based storage provider.
- Updated commands to use the new provider for reading, writing, and managing pages.
- Refactored IndexManager and LogManager to work with the StorageProvider.
- Modified resolveWiki function to return a context with the provider.
- Added requireFilesystem utility to enforce filesystem backend requirements in commands.
- Updated tests to validate the new storage provider functionality and ensure compatibility.
2026-04-11 00:37:50 -04:00
doum1004
b23e8c0b81 Phase 3: Index + Log + Git Commands
Add bookkeeping and git operations:
- wiki index show/add/remove with auto-section detection
- wiki log show/append with --last and --type filters
- wiki commit with auto-message from last log entry
- wiki history with per-file support, wiki diff
- IndexManager and LogManager in src/lib/
- 22 new tests (68 total)
2026-04-10 02:05:59 -04:00