@bitefoundry/onenote 0.4.12 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +19 -2
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -14,7 +14,11 @@
14
14
 
15
15
  <br />
16
16
 
17
- ![Microsoft OneNote TUI Demo](https://bitefoundry.dev/assets/demos/onenote.gif)
17
+ <picture>
18
+ <source media="(prefers-color-scheme: dark)" srcset="https://bitefoundry.dev/assets/demos/onenote-dark.avif" type="image/avif">
19
+ <source media="(prefers-color-scheme: light)" srcset="https://bitefoundry.dev/assets/demos/onenote-light.avif" type="image/avif">
20
+ <img alt="OneNote TUI Demo" src="https://bitefoundry.dev/assets/demos/onenote.gif">
21
+ </picture>
18
22
 
19
23
  </div>
20
24
 
@@ -24,7 +28,7 @@
24
28
 
25
29
  | Capability | Details |
26
30
  | --- | --- |
27
- | **Minimal-Chrome 3-Pane TUI** | Personal and Teams/Group notebooks, colored section ribbon, nested subpages (`level 0/1/2`), bidirectional XHTML ↔ Markdown canvas, surgical `data-id` `PATCH` edits, optimistic to-do toggles, Link Extractor (`u`), File Picker with `zoxide` (`Ctrl+F`), and 6 themes. |
31
+ | **Minimal-Chrome 3-Pane TUI** | Personal and Teams/Group notebooks, colored section ribbon, nested subpages (`level 0/1/2`), bidirectional XHTML ↔ Markdown canvas, surgical `data-id` `PATCH` edits, optimistic to-do toggles, Link Extractor (`u`), File Picker with `zoxide` (`Ctrl+F`), and a **Live-Preview Theme Picker (`Ctrl+T` / `T`)** across **14 built-in themes** (including Terminal Inherit `default`) plus drop-in custom `.toml` themes. |
28
32
  | **High-Res Terminal Images** | Inline thumbnails & fullscreen HD previews (`v` / `Alt+v`) with 80ms protocol probing for **Kitty**, **iTerm2**, **Sixel** (Floyd-Steinberg dithering), and **24-bit Unicode Half-Blocks** + `Ctrl+V` clipboard PNG upload. |
29
33
  | **Local SQLite FTS5 + IPC Daemon** | WAL-mode SQLite cache with 4-reader pool, trigram full-text search (`/`), persistent `DraftStore`, and a shared background sync daemon (`onenote daemon start`). |
30
34
  | **4-in-1 Agent Interface** | Interactive **TUI** (`onenote`), scriptable `--json` **CLI**, local **HTTP JSON API** (`onenote serve`, port `8793`), and stdio **MCP Server** (`onenote mcp`). |
@@ -124,8 +128,21 @@ A certificate from an unknown issuer produces a `TLS certificate was not trusted
124
128
  | `/` | Instant full-text search across cached pages (SQLite FTS5) |
125
129
  | `Ctrl+P` / `Ctrl+K` | Unified Command Palette & Omni-Switcher |
126
130
  | `.` / Right-click | Context Menu |
131
+ | `Ctrl+T` / `T` | **Live-Preview Theme Picker** (14 built-in + custom `.toml` themes, `/` filter, `Esc` revert) |
127
132
  | `Ctrl+,` / `Ctrl+B` / `?` | Settings / Toggle sidebar / Keyboard shortcuts help |
128
133
 
134
+ ### Themes & Customization
135
+
136
+ Press `Ctrl+T` or `T` inside the TUI to browse **14 built-in themes** with live preview (`default` Terminal Inherit, `midnight-dark`, `obsidian-dark`, `daylight-light`, `warm-paper`, `catppuccin-mocha`, `catppuccin-latte`, `tokyo-night`, `gruvbox-dark`, `gruvbox-light`, `nord`, `dracula`, `everforest-dark`, `rose-pine`), plus `ANSI 256/16` and `NO_COLOR`.
137
+
138
+ ```sh
139
+ # Override theme for a single session
140
+ onenote --theme catppuccin-mocha
141
+ onenote --theme default # inherit terminal background & foreground
142
+ ```
143
+
144
+ Drop custom `.toml` theme files into `~/.config/onenote-cli/themes/*.toml` (or `~/.config/bitefoundry/themes/*.toml` to share across all BiteFoundry apps) — they appear automatically in the Theme Picker with a `[User]` badge.
145
+
129
146
  ---
130
147
 
131
148
  ## CLI, HTTP API & MCP
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitefoundry/onenote",
3
- "version": "0.4.12",
3
+ "version": "0.5.1",
4
4
  "description": "Microsoft OneNote terminal client & AI agent toolkit — Notebooks, Sections, Pages, XHTML/Markdown & Resources (CLI, TUI, HTTP API, MCP)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,11 +40,11 @@
40
40
  "build:npm": "node scripts/build-npm.mjs"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@bitefoundry/onenote-win32-x64": "0.4.12",
44
- "@bitefoundry/onenote-win32-arm64": "0.4.12",
45
- "@bitefoundry/onenote-darwin-x64": "0.4.12",
46
- "@bitefoundry/onenote-darwin-arm64": "0.4.12",
47
- "@bitefoundry/onenote-linux-x64": "0.4.12",
48
- "@bitefoundry/onenote-linux-arm64": "0.4.12"
43
+ "@bitefoundry/onenote-win32-x64": "0.5.1",
44
+ "@bitefoundry/onenote-win32-arm64": "0.5.1",
45
+ "@bitefoundry/onenote-darwin-x64": "0.5.1",
46
+ "@bitefoundry/onenote-darwin-arm64": "0.5.1",
47
+ "@bitefoundry/onenote-linux-x64": "0.5.1",
48
+ "@bitefoundry/onenote-linux-arm64": "0.5.1"
49
49
  }
50
50
  }