Skip to content

MuseLink v0.3.1

Choose a tag to compare

@github-actions github-actions released this 27 Nov 14:49
· 23 commits to main since this release
1c47d58

下载文件(Windows x64 / Linux x64 / macOS Universal)

平台与文件 说明
MuseLink-0.3.1-windows-x64-setup.exe Windows 安装版(NSIS)。安装后支持「关于 → 检查更新」应用内 Minisign 验签更新与自动重启。
MuseLink-0.3.1-windows-x64-portable.zip Windows 免安装便携版。完整解压后运行 muse-connector.exe(支持新版本提醒与直达下载)。
MuseLink-0.3.1-linux-x64.AppImage Linux x64 AppImage。赋予执行权限后直接运行(支持应用内 Minisign 验签更新与自动重启)。
MuseLink-0.3.1-linux-x64.deb Linux x64 .deb。通过包管理器安装(支持新版本提醒与更新详情)。
MuseLink-0.3.1-macos-universal.dmg macOS 安装镜像(Apple Silicon & Intel 通用版)。打开后将 MuseLink.app 拖入 Applications。
MuseLink-0.3.1-macos-universal.app.zip macOS 便携包(Apple Silicon & Intel 通用版)。直接解压即可得到 MuseLink.app。
SHA256SUMS.txt 核对上述全部发布产物的 SHA-256 校验和。
latest.json / *.sig 供应用内自动更新器使用的双平台静态更新清单与 Minisign 签名文件。

⚠️ macOS 首次启动特别注意(重要):

  • 本版本 macOS 包同时原生支持 Apple Silicon(M 系列)与 Intel Mac,兼容 macOS 14(Sonoma)及更早版本(最低 macOS 10.13 / 11.0,无需 macOS 15)。
  • 由于 macOS 包尚未经过 Apple 开发者签名与公证(Notarization),从浏览器下载后首次打开会被 Gatekeeper 拦截,请按以下两步放行:
    1. 先双击尝试打开一次 MuseLink.app,被拦截后进入 系统设置 → 隐私与安全性,滚动到「安全性」区域点击 仍要打开;
    2. 若在 macOS Sequoia(15+)上提示「已损坏,无法打开」,在终端执行一次以下命令清除下载隔离属性即可正常打开:
      xattr -dr com.apple.quarantine /Applications/MuseLink.app
  • 沙箱命令执行(exec)目前仅支持 Windows;macOS 与 Linux 支持完整文件 API(搜索 / 列表 / 读取 / 写入 / 建目录)及 Tailscale / Cloudflare 隧道。

Windows 版本需要 WebView2;由于未进行商业代码签名,Windows 可能提示未知发布者。

本版本更新(v0.3.1)

问题修复与跨平台适配

  • 修复全平台「复制专用令牌」失败的问题(#12):macOS 改用原生隐私剪贴板、Linux 接入系统剪贴板工具、Windows 增加竞态重试,并透出具体失败原因。
    • macOS 原生隐私剪贴板:通过 AppKit NSPasteboard 写入 org.nspasteboard.ConcealedType、org.nspasteboard.TransientType 标记并启用 CurrentHostOnly,防止令牌进入剪贴板历史或通用剪贴板跨设备同步。
    • Linux 剪贴板支持:支持通过 wl-copy / xclip / xsel 标准输入安全写入系统剪贴板(不经命令行参数传递令牌,并隔离后台守护进程输出管道)。
    • Windows 剪贴板稳定性与隐私加固:为 OpenClipboard 增加短退避重试,缓解剪贴板历史或第三方工具瞬时占用的竞态失败,并补全 4 字节 DWORD(0) 隐私标记(CanIncludeInClipboardHistory、CanUploadClipboardData)。
    • 透出真实错误诊断:新手指引与接入说明卡片复制令牌失败时展示具体原因(同步中 / 英 / 日三语),同时保留「定位令牌文件」兜底入口。
  • 修复 macOS / Linux「管理本机磁盘(整机授权)」返回 403 且无法读取桌面的问题(#12):支持识别系统根目录 /,补齐敏感路径保护并优化 macOS 权限引导。
    • 实现 Unix 本地根目录发现与校验:fixed_local_roots() 在 macOS 与 Linux 上返回本机系统根目录 root(/),更新磁盘别名校验与前端磁盘选择器(「系统根目录(/)」),并拒绝空的整机根映射,修复 /agent/v1/roots 为空与 /agent/v1/locations/desktop 返回 403 的问题。
    • 补齐 macOS / Linux 安全保护与搜索索引边界:新增 macOS ~/Library/Keychains 全保护及系统目录、开机自启项(~/Library/LaunchAgents、.config/autostart)、登录 Shell 脚本(.zprofile / .zshenv / .bash_profile)与 .app 应用包的默认写保护;后台搜索索引自动跳过 macOS /System、/Library、/Applications、/usr、/bin、/sbin、/private、~/Library(避免触发 iCloud 与 App 容器隐私弹窗风暴)、照片图库、/dev 及非本地挂载卷,以及 Linux /proc、/sys、/dev、/run(不影响直接按路径读取)。
    • 优化 macOS 隐私权限(TCC)体验与接口报错:预热索引前主动探测桌面 / 文稿 / 下载以消除弹窗间长等待;macOS 整机授权界面新增「打开完全磁盘访问权限设置」一键直达按钮;更新三语接入说明桌面表述,并在 PermissionDenied 时返回带操作引导的 HTTP 403。
  • 修正文档中 Windows 沙箱边界描述并同步三语元数据(#11,感谢 @KammyAugust11):更正 README 中沙箱超时机制与 Everyone / RESTRICTED SID 写入范围说明,并同步中 / 英 / 日三语 README 顶部简介、平台徽章与包元数据。

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


English

What's new in v0.3.1

Fixes & Cross-Platform Adaptation

  • Fixed "Copy dedicated token" failures across all platforms (#12): Implemented native secret clipboard support on macOS, system clipboard tools on Linux, contention retries on Windows, and actionable failure diagnostics.
    • Native macOS secret pasteboard: Copies tokens via AppKit NSPasteboard with org.nspasteboard.ConcealedType, org.nspasteboard.TransientType, and CurrentHostOnly to keep credentials out of clipboard managers and Universal Clipboard sync.
    • Linux clipboard support: Writes via stdin to wl-copy, xclip, or xsel without passing tokens on the command line and detaches stdio so background clipboard daemons never hang.
    • Windows clipboard retry & privacy flags: Added short backoff retries around OpenClipboard to mitigate transient contention and standardized 4-byte DWORD(0) markers (ExcludeClipboardContentFromMonitorProcessing, CanIncludeInClipboardHistory, CanUploadClipboardData).
    • Actionable failure diagnostics: Surfaced localized failure reasons (ZH/EN/JA) in the setup guide and connection card while keeping the Locate token file fallback.
  • Fixed macOS / Linux "Manage local drives (full access)" returning HTTP 403 for Desktop and all requests (#12): Added system root (/) discovery, Unix sensitive-path protection, and macOS privacy guidance.
    • Unix local root discovery & validation: Implemented fixed_local_roots() on macOS and Linux to expose root -> /, updated disk alias validation and the disk picker UI (System root (/)), and failed closed on empty root maps—fixing empty /agent/v1/roots and HTTP 403 on /agent/v1/locations/desktop.
    • macOS / Linux sensitive-path protection & safe search exclusions: Added full protection for macOS ~/Library/Keychains and default write protection for system directories, autostart paths (~/Library/LaunchAgents, ~/.config/autostart), login shell profiles (.zprofile, .zshenv, .bash_profile), and .app bundles; excluded macOS /System, /Library, /Applications, /usr, /bin, /sbin, /private, ~/Library (preventing delayed iCloud / app-container TCC prompt storms), Photos library, /dev, and non-local /Volumes/* mounts (and Linux /proc, /sys, /dev, /run) from background scanning without blocking direct reads.
    • macOS privacy permission (TCC) UX & API error clarity: Primed Desktop, Documents, and Downloads upfront before recursive indexing; added a one-click Open Full Disk Access settings button on macOS; made trilingual Desktop wording platform-neutral; and mapped OS PermissionDenied errors to actionable HTTP 403 responses.
  • Corrected Windows sandbox boundary wording in READMEs and synced trilingual metadata (#11 by @KammyAugust11): Clarified sandbox timeout enforcement and Everyone / RESTRICTED SID write-scope notes across READMEs and aligned trilingual headers, platform badges, and package metadata.

⚠️ Important note for macOS first launch: macOS packages are ad-hoc signed and not notarized with an Apple Developer ID. On first launch:

  1. Try opening MuseLink.app once, then open System Settings → Privacy & Security → Security and click Open Anyway.
  2. If macOS Sequoia (15+) still reports that the app "is damaged and can't be opened", run once in Terminal:
    xattr -dr com.apple.quarantine /Applications/MuseLink.app

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


日本語

v0.3.1 の変更点

不具合修正とクロスプラットフォーム対応

  • 全プラットフォームで「専用トークンをコピー」が失敗する問題を修正(#12):macOS のネイティブ秘密クリップボード、Linux のシステムクリップボード連携、Windows の競合リトライおよび詳細な失敗表示を実装しました。
    • macOS ネイティブ秘密クリップボード:AppKit の NSPasteboard に org.nspasteboard.ConcealedType・org.nspasteboard.TransientType と CurrentHostOnly を付与し、履歴ツールへの記録やユニバーサルクリップボード同期を防止しました。
    • Linux クリップボード対応:wl-copy / xclip / xsel の標準入力経由で安全に書き込み、コマンドライン引数へのトークン露出とバックグラウンドデーモンによるハングを防止しました。
    • Windows クリップボードの安定性とプライバシー強化:OpenClipboard に短いバックオフリトライを追加して一時占有による競合を緩和し、ExcludeClipboardContentFromMonitorProcessing・CanIncludeInClipboardHistory・CanUploadClipboardData を 4 バイト DWORD(0) 形式で統一しました。
    • 詳細な失敗原因の表示:初回ガイドと接続カードで失敗原因を 3 言語表示し、「トークンファイルの場所を開く」フォールバック導線を維持しました。
  • macOS / Linux の「ローカルドライブ管理(フルアクセス)」で HTTP 403 になりデスクトップを読み取れない問題を修正(#12):システムルート / の検出、Unix 機密パス保護、macOS プライバシー設定導線を整備しました。
    • Unix ローカルルート検出と検証:macOS / Linux の fixed_local_roots() で root(/)を返すようにし、エイリアス検証とドライブ選択 UI(「システムルート(/)」)を更新、空ルートマップをフェイルクローズ拒否して /agent/v1/roots と /agent/v1/locations/desktop の 403 を解消しました。
    • macOS / Linux の機密パス保護と安全な検索除外境界:macOS の ~/Library/Keychains を全面保護し、システムディレクトリ・自動起動(~/Library/LaunchAgents・~/.config/autostart)・ログインシェル設定(.zprofile / .zshenv / .bash_profile)・.app バンドルをデフォルト書き込み保護にしました。バックグラウンド検索からは macOS の /System・/Library・/Applications・/usr・/bin・/sbin・/private・~/Library(iCloud や他アプリコンテナの TCC 確認連鎖を回避)・写真ライブラリ・/dev・非ローカル /Volumes/*、Linux の /proc・/sys・/dev・/run を除外しました(直接パス読み取りは可能)。
    • macOS プライバシー権限(TCC)体験とエラー応答の改善:インデックス前にデスクトップ・書類・ダウンロードを事前プローブし、「フルディスクアクセス設定を開く」ワンクリックボタンを追加。3 言語の接続手順表記を中立化し、PermissionDenied を操作案内付きの HTTP 403 にマッピングしました。
  • README の Windows サンドボックス境界記述を修正し 3 言語メタデータを同期(#11 · @KammyAugust11):サンドボックスのタイムアウト制御と Everyone / RESTRICTED SID の書き込み範囲の記述を正確化し、日英中のヘッダー・プラットフォームバッジ・パッケージメタデータを同期しました。

⚠️ macOS 初回起動時のご注意:macOS 版は Apple Developer ID による公証を行っていないため、初回起動時は システム設定 → プライバシーとセキュリティ → セキュリティ から このまま開く を選択してください。「壊れているため開けません」と表示される場合は、ターミナルで xattr -dr com.apple.quarantine /Applications/MuseLink.app を 1 回実行してください。

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


What's Changed

  • Correct sandbox timeout and write-scope wording in READMEs by @KammyAugust11 in #11
  • fix(platform): cross-platform token clipboard & Unix full-disk access (v0.3.1) by @Aenvo in #12

New Contributors

Full Changelog: v0.3.0...v0.3.1