Repository navigation
v0.4.4
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Sync & Graph Latency Optimization
- Added
list_all_accessible_hierarchy_scopedto fetch personal/me/onenote/notebooks,/me/onenote/sections, and/me/onenote/sectionGroupsconcurrently in a single parallel round-trip (and overlapped/me/joinedTeamson org accounts). - Parallelized
get_me, focused section pages, and focused page hydration viatokio::join!insiderun_full_refresh, cutting TUI startup active-view load time in half. - Memoized
pagelevel=trueHTTP 400 fallback perGraphClientinstance viaArc<AtomicBool>to skip repeated failing probes.
Write Path & TUI Perceived Latency
- Updated
append_onenote_page_helperto reuse cachedprimary_div_idfrom SQLite first (skipping a redundant 3.5s remote pre-fetch) with automatic single refresh-and-retry on stale target errors (400/404/410). - Rendered locally compiled XHTML previews immediately on
UiMsg::PageCreatedwhile backgroundHydratePageupgrades Graphdata-idattributes. - Added bounded, budgeted background prefetching of up to 4 uncached sibling pages in the active section so
j/kpage switching renders instantly from SQLite.
Test Hardening
- Guarded unit-test config and draft persistence from mutating the host user config directory (
#[cfg(test)]).
Full Changelog: v0.4.3...v0.4.4