Skip to content

Releases

v0.4.9

Choose a tag to compare

@github-actions github-actions released this 29 Nov 03:00

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — 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.rs into src/mcp/{mod,catalog,args,sites,files,tests}.rs and added full MCP 2025 annotations + strict additionalProperties: false + enriched behavior/ETag guidance across all 20 tools.
  • HTTP API Contract Tests & Hygiene: Added 8 live-loopback HTTP contract tests in src/serve.rs (health, OpenAPI, Bearer auth, offline sites/drives/search, Host/CORS guards, 404), pruned 9 zero-caller Graph helpers, and added .dockerignore (320 passing tests).
  • Zero-Node Distribution: Documented Homebrew (brew install bitefoundry/tap/sharepoint), SHA256-verified shell (curl -fsSL https://bitefoundry.dev/i | sh -s sharepoint), and PowerShell (bitefoundry.dev/w) install methods.

Full Changelog: v0.4.8...v0.4.9

v0.4.8

Choose a tag to compare

@github-actions github-actions released this 27 Nov 10:11

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

What's Changed

Performance Optimization Suite (Async Offloading, TUI Preview Cache & Pixel Pipeline)

  • Async Runtime & SQLite: Offloaded blocking SQLite reads/writes in serve.rs, sync.rs, and ui/app/requests.rs (plus image decoding) onto tokio::task::spawn_blocking and converted the last uncached prepare call to prepare_cached.
  • Zero-Clone TUI Preview & Deferred Pixels: Replaced per-frame FNV-1a preview hashing with text_preview_gen, pre-wrapped inspector lines once per (gen, width) with visible-window slicing, eliminated 2-pass html_preview cache thrashing, sliced visible rows in overlays, and deferred viewport_pixel_payload until plan_transition emits.
  • Pixel Engine: Upgraded Sixel quantization to flat 32K histogram + 5-5-5 LUT + 2-row i16 dithering + fast ASCII RLE, switched PNG encoding to Fast/NoFilter (fdeflate), and enabled opt-level = 3 for codec/pixel crates.

Full Changelog: v0.4.7...v0.4.8

v0.4.7

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:06

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

What's Changed

Modular Architecture & Terminal Safety

  • Terminal & Agent Safe-Output (src/safe_text.rs): Sanitized untrusted SharePoint site, drive, file, folder, list, and search metadata 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 --json output.
  • Supply Chain & Packaging: Added [package.metadata.binstall] for cargo-binstall, deny.toml + .github/workflows/audit.yml (cargo-deny CI), and refs/tags/v tag guards on publish/release jobs.
  • Codebase Modularization: Decomposed src/cli.rs, src/ui/app.rs (apply_ui_msg 487L → 147L), and tests/mock_graph_e2e.rs into focused domain submodules.

Full Changelog: v0.4.6...v0.4.7

v0.4.6

Choose a tag to compare

@github-actions github-actions released this 27 Nov 01:58

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

What's Changed

Single-Binary Release, Binary Size Diet & SP-13 Move-Cache Parity

  • ~70% Smaller Release Archives: Removed the duplicate bitefoundry-onedrive fat-LTO binary target in favor of argv[0] symlink/copy dispatch, and enabled opt-level = "s" + panic = "abort" in [profile.release].
  • SP-13 Move-Cache Parity: Unified CLI mv, MCP move_or_rename_item, HTTP PATCH, and TUI rename onto shared uncached-folder lookup and upsert_drive_item_after_move cache updates (with E2E regression coverage).
  • Hardening & Lint Cleanup: Boxed oversized enum variants (Overlay, DriveDeltaChange), hardened production unwrap() sites (including serve download serialization), and resolved all Clippy warnings (-D warnings clean).
  • Dependency & Packaging Diet: Upgraded ratatui to 0.29, dirs to 6, and trimmed bitefoundry-html resvg features; removed direct scraper, uuid, futures, and unused crossterm/event-stream, moved tempfile to dev-dependencies, added optional Cargo feature gates (html-js, svg-graphics, desktop-notify), and externalized assets/demo.gif to bitefoundry.dev.

Full Changelog: v0.4.5...v0.4.6

v0.4.5

Choose a tag to compare

@github-actions github-actions released this 26 Nov 07:46

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

What's Changed

Drive/Site Tree Fixes & Native Lock-Free TUI Engine

  • Handled 403/accessDenied on foreign shared drive delta queries by cleanly falling back to `list_children\

Full Changelog: v0.4.4...v0.4.5

v0.4.4

Choose a tag to compare

@github-actions github-actions released this 25 Nov 12:14

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

What's Changed

Sync & Discovery Parallelization

  • Parallelized bootstrap_sharepoint and sync_core_discovery across 6 independent streams (get_me, personal drive + delta, followed + searched sites with bounded buffered(4) drive discovery, Recent, SharedWithMe, and active folder delta).
  • Parallelized sync_sites_once, Tier 2 410/overflow ancestor folder resyncs (buffered(4) after ?token=latest), resolve_site, fetch_sites, discover_drives, doctor --online, mv source/destination resolution, and recursive tree sibling fetches (Semaphore(4)).

Graph Fallback & Metadata Caching

  • Memoized per-drive $expand=listItem($expand=fields) 400/501 fallback on GraphClient so personal OneDrive drives skip repeated failing probes while SharePoint libraries keep expanding fields.
  • Cached drive root IDs for read/sync callers (get_drive_root_id_cached), cached SharePoint list /columns schemas across update_list_item_field calls (with live refresh on miss), and reused SQLite drive/root-path hints in resolver.rs.

TUI Upload & Creation Responsiveness

  • Updated UiMsg::FolderCreated and UiMsg::ItemUploaded to optimistically insert, select, and preview freshly uploaded text/image bytes immediately in the Inspector with zero /content re-downloads.

Test Hardening

  • Guarded unit-test config and draft persistence from mutating the host user config directory and aligned the MCP hint e2e assertion.

Full Changelog: v0.4.3...v0.4.4

v0.4.3

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:50

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — 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 SharePoint file/HTML previews via pure-Rust bitefoundry-html (resvg 0.50 + tiny-skia + base64) for inline <svg>, <canvas>, and data:image/* graphics, with an explicit [o: Browser] banner for external <script src> content.

Unified Markdown Rendering & .md Preview

  • Replaced the legacy 1,800-line custom markup parser with pulldown-cmark 0.13 via bitefoundry-html::markdown and enabled rich .md previewing in Drive view.

Width-Aware Text Wrapping & Narrow Viewport Polish

  • Migrated Drive view notices, narrow-viewport file rows (down to 32 columns), and raw preview truncation banners to display-width-aware wrapping without clipping.

TUI Overlay Dispatch, Sort Sync & Inspector Scroll

  • Fixed overlay dispatch re-entry, modal backdrop isolation, sort synchronization, and inspector scrolling, and added Docker / MCP Registry (server.json) packaging.

Full Changelog: v0.4.2...v0.4.3

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 24 Nov 13:01

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

What's Changed

Document Library Custom Columns, omitted Surfacing & Selective fields Projection

  • Expanded get_item / get_item_by_path with $expand=listItem($expand=fields) (with transparent fallback on unsupported personal drives) to capture SharePoint Document Library custom columns, description, and file hashes (sha256_hash/quick_xor_hash).
  • Surfaced populated custom columns in omitted.list_item_fields on compact get_file_info and added selective fields: [...] projection (matching standard fields and case-insensitive custom column names, plus missing_fields).
  • Enriched list_columns to preserve description, required, inferred column_type, and choices.

Symlinked $HOME & npm Postinstall Hardening

  • Fixed scripts/postinstall.mjs main-module guard via fs.realpathSync for symlinked $HOME / npm prefixes.
  • Canonicalized daemon UDS hashes and isolated XDG_RUNTIME_DIR fallback sockets per profile.
  • Preserved dotfile symlinks in write_atomic (while refusing 0600 secret symlinks), expanded ~/ on SHAREPOINT_CONFIG_DIR/SHAREPOINT_DATA_DIR/TEAMS_CONFIG_DIR, and resolved symlinked binaries in updater.rs.

Full Changelog: v0.4.1...v0.4.2

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 08:48

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

Local HTTP API

  • sharepoint serve now always requires a Bearer key. Without --api-key it generates a random key at startup and prints it once to stderr. Pass --api-key <secret> for a stable key, or --allow-keyless to serve without one on a loopback address.
  • A non-loopback --bind requires --api-key. Requests whose Host header does not name the server get 403; add a reverse-proxy name with --allowed-host. CORS allows loopback origins and exact --cors-origin values only.
  • On a server started without a key, local_path uploads and dir downloads return 403 unless it was started with --allow-local-paths.

Files and sync

  • --site finds sites by searching Microsoft Graph for the query instead of matching only the first page of results. A sidebar site opens on the first activation.
  • Downloads no longer stop after 60 seconds. A failing pre-authenticated download URL falls back to the Graph content endpoint, and transient failures are retried before any data is written.
  • A zero-byte upload with --conflict rename no longer overwrites an existing file; it takes the next free name.
  • Folders with more than 200 items say so in the folder header. Press L to load 200 more.
  • Long change feeds resume where they stopped instead of falling back to a partial resync. A resync re-checks the open folder and the folders above it.

Sign-in, configuration and networks

  • share_m365_auth = false is honoured when a token is refreshed.
  • Saving a setting writes only that setting. Values from environment variables and the detected image protocol are no longer copied into config.toml.
  • HTTPS connections trust the operating system's certificate store in addition to the bundled roots. Set SHAREPOINT_EXTRA_CA_PEM (or SSL_CERT_FILE / NODE_EXTRA_CA_CERTS) for a corporate proxy CA. Unknown-issuer failures explain these options.
  • MCP tool descriptions state how many Graph requests a call makes and which argument avoids them.

Compatibility

  • Scripts that call sharepoint serve without --api-key must read the generated key from stderr, pass --api-key, or add --allow-keyless.
  • Clients that send local_path or dir to a keyless server must add --allow-local-paths or send file content instead.

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 14:10

Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.

Files and lists

  • Discover a site's lists using sharepoint lists ls --site-id <SITE_ID> --json or the MCP list_lists tool. Use the returned list ID for column and row operations.
  • Conditional uploads reject explicitly empty ETags. Empty-file uploads now send the supplied If-Match header. Ambiguous site and library names return matching candidates so callers can choose the intended ID.
  • MCP clients can initialize and list tools before signing in. File commands handle names beginning with a hyphen.

Compatibility

  • Scripts using --json can read error.code and error.message from stdout when a command fails at runtime. The process exits with status 1.
  • Default file listings and write responses omit the temporary download_url. Use the download command when you need the file contents.

Full Changelog: v0.3.0...v0.4.0