Repository navigation
Releases
v0.4.9
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.rsintosrc/mcp/{mod,catalog,args,sites,files,tests}.rsand added full MCP 2025annotations+ strictadditionalProperties: 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
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, andui/app/requests.rs(plus image decoding) ontotokio::task::spawn_blockingand converted the last uncachedpreparecall toprepare_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-passhtml_previewcache thrashing, sliced visible rows in overlays, and deferredviewport_pixel_payloaduntilplan_transitionemits. - 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.7...v0.4.8
v0.4.7
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--jsonoutput. - 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(apply_ui_msg487L → 147L), andtests/mock_graph_e2e.rsinto focused domain submodules.
Full Changelog: v0.4.6...v0.4.7
v0.4.6
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-onedrivefat-LTO binary target in favor ofargv[0]symlink/copy dispatch, and enabledopt-level = "s"+panic = "abort"in[profile.release]. - SP-13 Move-Cache Parity: Unified CLI
mv, MCPmove_or_rename_item, HTTPPATCH, and TUI rename onto shared uncached-folder lookup andupsert_drive_item_after_movecache updates (with E2E regression coverage). - Hardening & Lint Cleanup: Boxed oversized enum variants (
Overlay,DriveDeltaChange), hardened productionunwrap()sites (includingservedownload serialization), and resolved all Clippy warnings (-D warningsclean). - Dependency & Packaging Diet: Upgraded
ratatuito0.29,dirsto6, and trimmedbitefoundry-htmlresvgfeatures; removed directscraper,uuid,futures, and unusedcrossterm/event-stream, movedtempfileto dev-dependencies, added optional Cargo feature gates (html-js,svg-graphics,desktop-notify), and externalizedassets/demo.giftobitefoundry.dev.
Full Changelog: v0.4.5...v0.4.6
v0.4.5
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/accessDeniedon foreign shared drivedeltaqueries by cleanly falling back to `list_children\
Full Changelog: v0.4.4...v0.4.5
v0.4.4
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_sharepointandsync_core_discoveryacross 6 independent streams (get_me, personal drive + delta, followed + searched sites with boundedbuffered(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,mvsource/destination resolution, and recursivetreesibling fetches (Semaphore(4)).
Graph Fallback & Metadata Caching
- Memoized per-drive
$expand=listItem($expand=fields)400/501 fallback onGraphClientso 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/columnsschemas acrossupdate_list_item_fieldcalls (with live refresh on miss), and reused SQLite drive/root-path hints inresolver.rs.
TUI Upload & Creation Responsiveness
- Updated
UiMsg::FolderCreatedandUiMsg::ItemUploadedto optimistically insert, select, and preview freshly uploaded text/image bytes immediately in the Inspector with zero/contentre-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
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>, anddata: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.13viabitefoundry-html::markdownand enabled rich.mdpreviewing 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
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_pathwith$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_fieldson compactget_file_infoand added selectivefields: [...]projection (matching standard fields and case-insensitive custom column names, plusmissing_fields). - Enriched
list_columnsto preservedescription,required, inferredcolumn_type, andchoices.
Symlinked $HOME & npm Postinstall Hardening
- Fixed
scripts/postinstall.mjsmain-module guard viafs.realpathSyncfor symlinked$HOME/ npm prefixes. - Canonicalized daemon UDS hashes and isolated
XDG_RUNTIME_DIRfallback sockets per profile. - Preserved dotfile symlinks in
write_atomic(while refusing0600secret symlinks), expanded~/onSHAREPOINT_CONFIG_DIR/SHAREPOINT_DATA_DIR/TEAMS_CONFIG_DIR, and resolved symlinked binaries inupdater.rs.
Full Changelog: v0.4.1...v0.4.2
v0.4.1
Prebuilt Microsoft SharePoint and OneDrive executables (sharepoint and bitefoundry-onedrive) — CLI, TUI, HTTP API, and MCP server.
Local HTTP API
sharepoint servenow always requires a Bearer key. Without--api-keyit generates a random key at startup and prints it once to stderr. Pass--api-key <secret>for a stable key, or--allow-keylessto serve without one on a loopback address.- A non-loopback
--bindrequires--api-key. Requests whoseHostheader does not name the server get403; add a reverse-proxy name with--allowed-host. CORS allows loopback origins and exact--cors-originvalues only. - On a server started without a key,
local_pathuploads anddirdownloads return403unless it was started with--allow-local-paths.
Files and sync
--sitefinds 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 renameno longer overwrites an existing file; it takes the next free name. - Folders with more than 200 items say so in the folder header. Press
Lto 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 = falseis 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(orSSL_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 servewithout--api-keymust read the generated key from stderr, pass--api-key, or add--allow-keyless. - Clients that send
local_pathordirto a keyless server must add--allow-local-pathsor send file content instead.
Full Changelog: v0.4.0...v0.4.1
v0.4.0
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> --jsonor the MCPlist_liststool. Use the returned list ID for column and row operations. - Conditional uploads reject explicitly empty ETags. Empty-file uploads now send the supplied
If-Matchheader. 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
--jsoncan readerror.codeanderror.messagefrom 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