Skip to content

MuseLink v0.2.2

Choose a tag to compare

@Aenvo Aenvo released this 26 Nov 17:42
· 61 commits to main since this release

Windows x64

下载文件 用途
MuseLink-0.2.2-windows-x64-portable.zip 免安装版。完整解压后双击 muse-connector.exe。
MuseLink-0.2.2-windows-x64-setup.exe 安装版。运行 NSIS 安装程序。
SHA256SUMS.txt 核对两个下载文件的 SHA-256。

两个版本都需要 Windows WebView2。MuseLink 主程序和安装包尚未进行代码签名,Windows 可能显示未知发布者提示。

本版本更新(v0.2.2)

优化与新增

  • 大幅提升文件读取上限,新增分片读取与原始二进制直传(解决 #4):整文件读取上限提至 10 MiB,大文件与图片支持分片及无膨胀高速传输。
    • 整文件 JSON 读取上限提升至 10 MiB:与写入上限对齐,现有配置即可直接读取高分辨率图片;超限返回 HTTP 413 并附带分片与 raw 建议字段;旧版 /api/read 保持 2 MiB 兼容。
    • 支持 offset / limit 分片读取(无总文件大小硬上限):在同一已校验操作系统句柄上按字节偏移分段读取,JSON 默认 2 MiB(单片上限 4 MiB),返回 etag 并支持 if_match / If-Match(中途文件变更返回 HTTP 409)。
    • 支持 raw=1 原始二进制直传:直接返回原始字节流与对应 Content-Type,消除 Base64 33% 膨胀(经公网隧道实测提速约 40%,单次上限 32 MiB,支持与分片组合),附带 ETag 与 X-File-* 响应头。
    • 更新 Muse 接入说明(Prompt):同步指导 Muse 读取图片/二进制优先使用 raw=1 并对大文件按片重试。

完整变更见 CHANGELOG.md,使用说明见 中文使用指南。


English

What's new in v0.2.2

Improvements & Added

  • Higher file read limit, chunked reading, and raw binary streaming (fixes #4): Raised whole-file reads to 10 MiB and added chunked and zero-overhead binary downloads for large files and high-resolution images.
    • 10 MiB whole-file JSON limit: Matches the write limit so existing connectors can read large photos without prompt changes; oversized files return HTTP 413 with chunking and raw hints; legacy /api/read keeps 2 MiB compatibility.
    • Chunked reads via offset / limit (no hard total size cap): Seeks and reads directly from the verified OS handle (JSON default 2 MiB, max 4 MiB), returns etag, and validates if_match / If-Match (returning HTTP 409 on concurrent edits).
    • Raw binary streaming (raw=1): Streams raw bytes with detected Content-Type without 33% Base64 overhead (~40% faster over tunnels, up to 32 MiB per request, combinable with offset/limit), exposing ETag and X-File-* headers.
    • Updated Muse connection instructions: Guides Muse to prefer raw=1 for binary/image files and retry individual chunks on transient drops.

See CHANGELOG.en.md and the English quick start.


日本語

v0.2.2 の変更点

改善と新機能

  • ファイル読み取り上限の引き上げ、チャンク読み取り・生バイナリ直接転送に対応(#4 を解決):単一ファイル上限を 10 MiB に拡大し、大容量ファイルや高解像度画像の高速・分割転送に対応しました。
    • 単一ファイル JSON 読み取り上限を 10 MiB に拡大:書き込み上限と揃え、既存設定のまま高解像度画像を読み取れるようにしました。超過時はチャンク・raw 推奨値を含む HTTP 413 を返し、旧 /api/read は 2 MiB 互換を維持します。
    • offset / limit チャンク読み取り(総サイズ上限なし):検証済み OS ハンドルから分割読み取り(JSON 標準 2 MiB・最大 4 MiB)し、etag と if_match / If-Match をサポート(途中変更時は HTTP 409)。
    • raw=1 生バイナリ直接転送:Base64 の 33% 膨張を排除し(トンネル経由で実測約 40% 高速化、1 リクエスト最大 32 MiB、チャンク併用可)、ETag と X-File-* ヘッダーを返却します。
    • Muse 接続手順を更新:画像・バイナリは raw=1 を優先し、大容量ファイルは分割リトライするよう案内を更新しました。

すべての変更履歴は CHANGELOG.ja.md、利用ガイドは README.ja.md をご覧ください。


Full Changelog: v0.2.1...v0.2.2