in .book dir support toml as well as heroscript #21

Closed
opened 2026-02-07 15:35:01 +00:00 by despiegk · 2 comments
Owner
No description provided.
despiegk added this to the now milestone 2026-02-07 15:35:01 +00:00
despiegk added this to the ACTIVE project 2026-02-07 15:35:01 +00:00
Owner

Addressed in PR #24 (branch development-fixes-feb).

Commit: 08591c5 Phase 1

  • Book scanner in src/books/scanner.rs now accepts .toml files from .book directories
  • TOML detection added alongside existing heroscript support
  • BookConfig::load_toml() and BookConfig::save_toml() were already implemented in src/book/config.rs
Addressed in PR #24 (branch `development-fixes-feb`). **Commit:** `08591c5` Phase 1 - Book scanner in `src/books/scanner.rs` now accepts `.toml` files from `.book` directories - TOML detection added alongside existing heroscript support - `BookConfig::load_toml()` and `BookConfig::save_toml()` were already implemented in `src/book/config.rs`
Owner

Done. The import pipeline now handles both TOML and HeroScript book definitions:

  • HeroScript ebooks (config.hero + .heroscript files) are auto-converted to TOML
  • Converted TOMLs stored in .ai/ebooks/ in the source repo
  • Hash-based change detection skips unchanged ebooks on re-import
  • BooksScanner finds TOML files in books_dir for serving
Done. The import pipeline now handles both TOML and HeroScript book definitions: - HeroScript ebooks (config.hero + .heroscript files) are auto-converted to TOML - Converted TOMLs stored in .ai/ebooks/ in the source repo - Hash-based change detection skips unchanged ebooks on re-import - BooksScanner finds TOML files in books_dir for serving
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_books#21
No description provided.