Repository navigation
Releases
v0.4.12
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
MCP Modularization + 2025 Annotations, HTTP Contract Tests & Zero-Node Installers
- MCP 2025 Tool Definitions & Modularization: Split monolithic
src/mcp.rsintosrc/mcp/{mod,catalog,args,read,write}.rsand added full MCP 2025annotations+ strictadditionalProperties: falseacross all 20 tools. - HTTP API Contract Tests & Cycle Cuts: Added 5 live-loopback HTTP contract tests in
src/serve.rs(auth, offline SQLite reads, Origin/Host guards, 404), brokestorage/onenote -> storage/modanddaemon -> cli/runtimecycles, pruned dead helpers, and added.dockerignore(352 passing tests). - Zero-Node Distribution: Documented Homebrew (
brew install bitefoundry/tap/onenote), SHA256-verified shell (curl -fsSL https://bitefoundry.dev/i | sh -s onenote), and PowerShell (bitefoundry.dev/w) install methods.
Full Changelog: v0.4.11...v0.4.12
v0.4.11
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Performance Optimization Suite (SQLite/FTS5, Async Concurrency, TUI Cache & Pixel Pipeline)
- SQLite/FTS5 & Async Pipeline: Migrated
onenote_ftstorowid-indexed deletes (O(N²) → O(log N)), wiredprepare_cachedacross 60 storage statements, offloaded blocking storage calls inserve.rs/sync.rstospawn_blocking, and replaced chunkedjoin_allHoL barriers ingraph/onenote.rswith boundedbuffer_unorderedstreams. - Parser & TUI: Promoted
Selector::parsetoLazyLock, rewroteunescape_basic_xml_entitiesto single-passCow, eliminated per-frame deep clones ofOnenotePageDetailandRenderedTerminalImagewith a generation-keyedCanvasRenderCache, fixed 2-passhtml_previewcache thrashing, and deferredviewport_pixel_payloadintui.rs. - Pixel Engine: Upgraded Sixel quantization to flat 32K histogram + 5-5-5 LUT + 2-row
i16dithering + fast ASCII RLE, switched PNG encoding toFast/NoFilter(fdeflate), and enabledopt-level = 3for codec/pixel crates.
Full Changelog: v0.4.10...v0.4.11
v0.4.10
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Modular Architecture, Cycle Cuts & Terminal Safety
- Terminal & Agent Safe-Output (
src/safe_text.rs): Sanitized untrusted OneNote notebook/section/page titles, bodies, and search snippets rendered to CLI terminal output against ANSI/VT100 escape sequences (CSI/OSC/DCS/C1), C0/C1 control characters, Unicode Bidi overrides, and invisible Unicode Tag characters (U+E0000..=U+E007F), while preserving raw--jsonand--format xhtmloutput. - Supply Chain & Packaging: Added
[package.metadata.binstall]forcargo-binstall,deny.toml+.github/workflows/audit.yml(cargo-denyCI), andrefs/tags/vtag guards on publish/release jobs. - Codebase Modularization: Decomposed
src/cli.rs,src/ui/app.rs(handle_ui_msg347L → 138L), and E2E suites (mock_graph_e2e,contract_e2e) into domain submodules and cut 2ui/overlays → AppStatecycles (context_menu,attachments).
Full Changelog: v0.4.9...v0.4.10
v0.4.9
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Binary Size, Build Diet & Rendering Consistency
- Smaller Release Binaries: Enabled
opt-level = "s"andpanic = "abort"in[profile.release], cutting release binary sizes by ~40% with zero feature loss. - Parser / UI Consistency & Hardening: Unified drifted
spans_to_markdownrendering onto the canonical parser implementation, hoistedSelector::parse("body")to aLazyLock, boxed oversized enum variants (Overlay,PageResolution), hardened productionunwrap()sites, removed dead legacy code, and resolved all Clippy warnings (-D warningsclean). - Dependency & Packaging Diet: Upgraded
ratatuito0.29,dirsto6, and trimmedbitefoundry-htmlresvgfeatures; removed unusedcrossterm/event-stream,futures,hex, anduuid, movedtempfileto dev-dependencies, and added optional Cargo feature gates (html-js,svg-graphics,desktop-notify) for lightweight headless builds. - Externalized
assets/demo.giftobitefoundry.devto keep repository clones lean.
Full Changelog: v0.4.8...v0.4.9
v0.4.8
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Per-Section Page Hierarchy, Section Groups Ribbon & Cursor Paging
- Scoped
pagelevel400 fallback per section (pagelevel_unsupported_sections) instead of globally, preserving cached subpagelevel/page_orderwhen fetching withoutpagelevel. - Kept
scope_completefalse whenever/sectionsorsectionGroupstraversal errors or hits `MAX_SECTION_GROUP_TRAVERSAL\
Full Changelog: v0.4.7...v0.4.8
v0.4.7
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
WYSIWYG Rendered Default Editing & 3-Mode Toggle (Ctrl+M)
- Added full WYSIWYG Rendered editing (
EditorMode::Rendered, pill[Render]) as the new default mode: the active cursor line stays cleanly rendered while typing with exact ASCII + Korean/CJK hardware cursor projection onto rendered glyphs. - Added
Ctrl+M/ clickable header pill cycling across[Render]→[Live]→[Src]. - Added WYSIWYG cursor ergonomics in
[Render]mode:←/→skip hidden Markdown delimiters,Homelands on visible content start,Backspaceunwraps block prefixes in one atomic undoable edit, and emptying inline formatting cleans up empty orphan delimiter pairs (****,~~~~,``).
0ms Optimistic Block Updates & Esc Visibility Fixes
- Added 0ms optimistic local preview updates for
InlineEditTarget::Block(pages with embedded images/multi-div regions) so edits no longer disappear onEscwhile Microsoft Graph sync completes. - Synced
onenote_selected_blockandonenote_follow_selectiononEscso edited text stays in view, and prevented bare#headings from turning invisible on inactive lines.
Full Changelog: v0.4.6...v0.4.7
v0.4.6
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
OneNote Line Live Preview Direct Canvas Editor
- Upgraded
OnenoteInlineEditorto Line Live Preview mode by default (EditorMode::LivePreview, toggleable withCtrl+Mor the clickable[Live]/[Src]header pill): inactive lines render styled Markdown (headings,☐/☑tasks with completed strikethrough, bullet/numbered lists, quote bars, horizontal dividers, fenced code blocks, bold/italic/code/strike, and styled links) while the active cursor line expands to raw syntax-highlighted Markdown with exact ASCII + Korean/CJK hardware cursor positioning. - Clicking any rendered line in Live Preview maps the visual position accurately to the logical line and byte offset, expanding the clicked line and collapsing the previous line immediately while preserving 0ms optimistic UI writes and 1.5s debounced background Graph autosave.
Full Changelog: v0.4.5...v0.4.6
v0.4.5
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Native-Terminal Input Latency & Event Loop Fix
- Replaced
crossterm::event::EventStreamand.now_or_never()polling with a dedicated lock-freeTerminalEventReader(OS reader thread + Tokiompsc::unbounded_channel), eliminating bothnoop_wakerpoisoning (up to 200ms timer-tick stalls) and WindowsINTERNAL_EVENT_READERmutex blocking on every keystroke. - Wrapped terminal output in a 64 KiB
BufWriter<Stdout>and moved cursor positioning insideterminal.draw()(with queuedBeginSynchronizedUpdate), removing redundant per-keystroke Hide/Show cursor flicker and multiple stdout flushes. - Paused and resumed the dedicated reader cleanly around external
$EDITORhandoff and WindowsResizeVT probing.
Direct In-Place Canvas Editor & 0ms Optimistic Writes
- Added a direct in-place Markdown canvas editor (
src/ui/inline_editor.rs) backed byComposerStatewith 2D cursor navigation, Korean IME hardware cursor placement, Undo/Redo, clipboard paste,Ctrl+Eexternal$EDITORhandoff, click-to-edit on canvas/blocks, and 1.5s debounced background Graph autosave. - Applied 0ms optimistic UI updates for inline saves, quick appends, and To-Do toggles so edits reflect immediately without waiting for Graph round-trips.
Full Changelog: v0.4.4...v0.4.5
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
v0.4.3
Prebuilt standalone Microsoft OneNote binary (onenote) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Terminal Image Preview Quality & Protocol Detection
- Replaced fixed low-resolution downsampling and stretched aspect-ratio math with terminal cell-geometry sizing and unified protocol detection across Kitty, iTerm2, Sixel, and half-block renderers.
Native HTML/SVG/Canvas & Embedded Graphics Rendering
- Eliminated raw HTML/SVG/script source leaks in OneNote page/attachment rendering via pure-Rust
bitefoundry-html(resvg 0.50+tiny-skia+base64) for inline<svg>,<canvas>, anddata:image/*graphics, with an explicit[o: Browser]banner for external<script src>content.
Unified Markdown Rendering & .md Preview
- Standardized Markdown parsing on
pulldown-cmark 0.13viabitefoundry-html::markdownand enabled in-TUI.mdpreviewing.
Width-Aware Text Wrapping & Full Table Cell Preservation
- Removed the 4-line table cell truncation (
.take(4)) inonenote_viewand migrated page bodies, callouts, code blocks, tables, and form overlays to display-width-aware styled wrapping so all rows, columns, and lines remain visible at any terminal width.
TUI Modal Isolation, Ribbon Mouse & Mutation Sync Guards
- Isolated modal backdrops, fixed form/ribbon mouse handling, added mutation sync guards, and added Docker / MCP Registry (
server.json) packaging.
Full Changelog: v0.4.2...v0.4.3