Repository navigation
Releases
MuseLink v0.3.3
下载文件(Windows x64 / Linux x64 / macOS Universal)
| 平台与文件 | 说明 |
|---|---|
MuseLink-0.3.3-windows-x64-setup.exe |
Windows 安装版(NSIS)。安装后支持「关于 → 检查更新」应用内 Minisign 验签更新与自动重启。 |
MuseLink-0.3.3-windows-x64-portable.zip |
Windows 免安装便携版。完整解压后运行 muse-connector.exe(支持新版本提醒与直达下载)。 |
MuseLink-0.3.3-linux-x64.AppImage |
Linux x64 AppImage。赋予执行权限后直接运行(支持应用内 Minisign 验签更新与自动重启)。 |
MuseLink-0.3.3-linux-x64.deb |
Linux x64 .deb。通过包管理器安装(支持新版本提醒与更新详情)。 |
MuseLink-0.3.3-macos-universal.dmg |
macOS 安装镜像(Apple Silicon & Intel 通用版)。打开后将 MuseLink.app 拖入 Applications。 |
MuseLink-0.3.3-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 拦截,请按以下两步放行:
- 先双击尝试打开一次
MuseLink.app,被拦截后进入 系统设置 → 隐私与安全性,滚动到「安全性」区域点击 仍要打开;- 若在 macOS Sequoia(15+)上提示「已损坏,无法打开」,在终端执行一次以下命令清除下载隔离属性即可正常打开:
xattr -dr com.apple.quarantine /Applications/MuseLink.app- 沙箱命令执行(
exec)目前仅支持 Windows;macOS 与 Linux 支持完整文件 API(搜索 / 列表 / 读取 / 写入 / 建目录)及 Tailscale / Cloudflare 隧道。
Windows 版本需要 WebView2;由于未进行商业代码签名,Windows 可能提示未知发布者。
本版本更新(v0.3.3)
优化与新增
- 新增 Tailscale Serve(仅 Tailnet 内网)连接方式与可配置 HTTPS 端口:当 Muse 与目标设备位于同一 Tailnet 时,可在「连接」页切换为 Tailscale Serve 自动托管纯内网 HTTPS 转发、消除手动配置
tailscale serve的黄色报警,并支持自定义对外 HTTPS 端口以避开 443 端口冲突。- 新增
tailscale_serve提供方与https_port配置(tunnel.rs、profile.rs、service.rs):Tailscale Funnel 支持443(默认)/8443/10000,Tailscale Serve 支持443/8443/10000及1–65535自定义端口;自动托管--https=<port>启停与按端口隔离的独占检查,不干涉其他端口上的既有服务,并无缝复用同端口手动tailscale serve(443 省略端口、非 443 自动保留:port)。 - 双向防误暴露保护:在
Tailscale Funnel模式下检测到所选端口已存在同目标纯内网tailscale serve映射时,拒绝自动覆盖升级为公网 Funnel 并给出切换指引;在Tailscale Serve模式下检测到该端口已开启公网 Funnel 时,同样拒绝按纯内网接管。 - 连接页新增 HTTPS 端口选择器、常显提供方说明与
Tailscale Serve内网说明卡片(内置 MagicDNS / HTTPS Certificates 悬停解释与 Tailscale DNS 管理台快捷入口);概览页、首次配置指引与入口健康测试同步适配 Tailnet 语境与中 / 英 / 日三语文案。
- 新增
安全与稳定性加固
- 加固命令审批的混淆命令与远程下载即执行检测(#15,感谢 @KammyAugust11):命令审批新增识别 PowerShell
-EncodedCommand各类前缀缩写与常见下载即执行(download cradle)模式,命中时始终强制单次确认,避免绕过会话级免打扰。- 覆盖 PowerShell
-EncodedCommand的长前缀(-enc/-enco等)与-ec,并将-e/-en等短缩写限定于powershell/pwsh调用上下文,避免误伤pip install -e .、rg -e、node -e等常规开发命令。 - 新增
download_cradle风险标签及三语审批弹窗文案,拦截Net.WebClient(DownloadString/DownloadData/DownloadFile)以及Invoke-WebRequest/iwr/Invoke-RestMethod/irm/curl/wget结合iex或管道送入解释器执行的命令;单纯下载到文件保持原审批级别。
- 覆盖 PowerShell
- 受控命令子进程默认剥离凭证类环境变量(#14,感谢 @KammyAugust11):构建沙箱子进程环境块时自动剔除常见第三方令牌与密钥类环境变量,避免宿主环境凭证被代理执行的命令读取。
- 新增平台无关模块
core/env_scrub.rs并在sandbox.rs的build_clean_env接入,仅按变量名大小写不敏感匹配常见精确清单(如GITHUB_TOKEN、AWS_SECRET_ACCESS_KEY、OPENAI_API_KEY等)与敏感子串(TOKEN/SECRET/PASSWORD/PASSWD/API_KEY/APIKEY/PRIVATE_KEY/ACCESS_KEY/CREDENTIAL),绝不读取或记录变量值;PATH、SystemRoot、TEMP等运行必需变量不受影响。
- 新增平台无关模块
- 发布产物增加构建来源证明(#16,感谢 @KammyAugust11):发布工作流为 Windows / Linux / macOS 三个平台的发布资产生成 GitHub 构建来源证明(build provenance attestation),用户可通过
gh attestation verify校验下载的二进制确实由本仓库源码在 GitHub Actions 中构建,未被替换或篡改。
完整变更见 CHANGELOG.md,使用说明见 中文使用指南。
English
What's new in v0.3.3
Improvements & Added
- Added Tailscale Serve (Tailnet-only) connection provider and configurable HTTPS ports: When Muse and the target device share the same Tailnet, switch to Tailscale Serve under Connection for managed private HTTPS forwarding without degraded warnings, and choose an alternate HTTPS port when port 443 is occupied by other services.
- Added the
tailscale_serveprovider andhttps_portsetting (tunnel.rs,profile.rs,service.rs): Tailscale Funnel supports ports443(default),8443, and10000, while Tailscale Serve supports443,8443,10000, or any custom port (1–65535). Manages--https=<port>start/stop and per-port exclusivity checks without touching other ports, and reuses existing matchingtailscale servemappings (omitting:443and preserving:portfor custom ports). - Two-way exposure safeguards:
Tailscale Funnelmode refuses to auto-upgrade an existing matchingtailscale serverule on the chosen port into a public Funnel and prompts you to switch providers;Tailscale Servemode likewise refuses to take over a port where public Funnel is active. - Added the HTTPS port selector, always-visible provider descriptions, and a Tailnet-only connection guide card (with MagicDNS / HTTPS Certificates tooltips and quick links to the Tailscale DNS console) under Connection, plus localized Tailnet wording across Overview, Setup Guide, and health checks (
zh-CN/en/ja).
- Added the
Security & Stability
- Hardened command approval against obfuscated flags and download cradles (#15 by @KammyAugust11): Command approval now detects PowerShell
-EncodedCommandprefix abbreviations and inline download-and-execute (download cradle) patterns, always requiring single-use confirmation instead of session grants.- Matches
-ecand longer-EncodedCommandprefixes (-enc,-enco, etc.) globally while scoping short prefixes (-e,-en) topowershell/pwshinvocations so normal developer commands likepip install -e .,rg -e, andnode -eare not falsely escalated. - Added the
download_cradlerisk tag with localized approval dialog labels (zh-CN/en/ja) coveringNet.WebClient(DownloadString/DownloadData/DownloadFile) andInvoke-WebRequest/iwr/Invoke-RestMethod/irm/curl/wgetpaired withiexor piped into an interpreter, while leaving plain file downloads unchanged.
- Matches
- Exec child processes now strip credential-like environment variables (#14 by @KammyAugust11): Common third-party tokens and secret environment variables are automatically removed when building the sandbox child-process environment block so host credentials cannot be read by agent-executed commands.
- Added platform-independent
core/env_scrub.rswired intobuild_clean_envinsandbox.rs, matching variable names case-insensitively against a curated exact list (GITHUB_TOKEN,AWS_SECRET_ACCESS_KEY,OPENAI_API_KEY, etc.) and sensitive substrings (TOKEN,SECRET,PASSWORD,PASSWD,API_KEY,APIKEY,PRIVATE_KEY,ACCESS_KEY,CREDENTIAL) without ever reading or logging values; essential variables such asPATH,SystemRoot, andTEMPremain intact.
- Added platform-independent
- Build provenance attestation for release artifacts (#16 by @KammyAugust11): The release workflow now generates GitHub build provenance attestations for the Windows / Linux / macOS release assets, so users can verify with
gh attestation verifythat a downloaded binary was built from this repository's source on GitHub Actions and has not been substituted or tampered with.
⚠️ Important note for macOS first launch: macOS packages are ad-hoc signed and not notarized with an Apple Developer ID. On first launch:
- Try opening
MuseLink.apponce, then open System Settings → Privacy & Security → Security and click Open Anyway.- 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.3 の変更点
改善と新機能
- Tailscale Serve(Tailnet 内のみ・非公開)接続方式と HTTPS ポート設定を追加:Muse 側と接続先が同一 Tailnet にある場合、「接続」から Tailscale Serve を選ぶだけでインターネットへ公開せず HTTPS 転送を自動管理でき、ポート 443 が他サービスで使用中の場合も別ポートへ変更できます。
tailscale_serveプロバイダーとhttps_port設定(tunnel.rs、profile.rs、service.rs)を追加:Tailscale Funnel は443(既定)・8443・10000、Tailscale Serve は443・8443・10000および任意のポート(1–65535)に対応します。選択したポート単位で--https=<port>の起動・停止と排他チェックを行い、別ポートのサービスに影響を与えず、手動構成済みの同一ポートtailscale serveもそのまま引き継ぎます(443 はポート省略、その他は:portを保持)。- 誤公開を防ぐ双方向ガード:
Tailscale Funnelモードで選択ポートに同一ローカルポート向けのtailscale serve設定を検出した場合は、自動で公開 Funnel へ昇格させず切り替えを案内します。逆にTailscale Serveモードでも、そのポートで公開 Funnel が有効な場合は非公開モードとしての引き継ぎを拒否します。 - 「接続」画面に HTTPS ポート選択、常時表示のプロバイダー説明、Tailnet 内接続ガイドカード(MagicDNS / HTTPS Certificates のツールチップと Tailscale DNS 管理画面へのリンク付き)を追加し、概要・初回設定ガイド・接続テストの 3 言語文言を統一しました。
セキュリティと安定性の強化
- コマンド承認における難読化フラグとダウンロード&即時実行(download cradle)の検知を強化(#15 · @KammyAugust11):PowerShell の
-EncodedCommand省略形およびダウンロード内容を直接実行するパターンを検知し、セッション許可ではなく常に単回承認を必須化しました。-ecおよび長めの-EncodedCommand前方一致(-enc・-encoなど)を常時検知しつつ、短い省略形(-e・-en)はpowershell/pwsh呼び出しの引数に限定し、pip install -e .・rg -e・node -eなどの通常の開発コマンドの誤検知を防ぎました。- 新規リスクタグ
download_cradleと 3 言語の承認ダイアログ表示を追加し、Net.WebClient(DownloadString/DownloadData/DownloadFile)やInvoke-WebRequest/iwr/Invoke-RestMethod/irm/curl/ `wge...
MuseLink v0.3.2
下载文件(Windows x64 / Linux x64 / macOS Universal)
| 平台与文件 | 说明 |
|---|---|
MuseLink-0.3.2-windows-x64-setup.exe |
Windows 安装版(NSIS)。安装后支持「关于 → 检查更新」应用内 Minisign 验签更新与自动重启。 |
MuseLink-0.3.2-windows-x64-portable.zip |
Windows 免安装便携版。完整解压后运行 muse-connector.exe(支持新版本提醒与直达下载)。 |
MuseLink-0.3.2-linux-x64.AppImage |
Linux x64 AppImage。赋予执行权限后直接运行(支持应用内 Minisign 验签更新与自动重启)。 |
MuseLink-0.3.2-linux-x64.deb |
Linux x64 .deb。通过包管理器安装(支持新版本提醒与更新详情)。 |
MuseLink-0.3.2-macos-universal.dmg |
macOS 安装镜像(Apple Silicon & Intel 通用版)。打开后将 MuseLink.app 拖入 Applications。 |
MuseLink-0.3.2-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 拦截,请按以下两步放行:
- 先双击尝试打开一次
MuseLink.app,被拦截后进入 系统设置 → 隐私与安全性,滚动到「安全性」区域点击 仍要打开;- 若在 macOS Sequoia(15+)上提示「已损坏,无法打开」,在终端执行一次以下命令清除下载隔离属性即可正常打开:
xattr -dr com.apple.quarantine /Applications/MuseLink.app- 沙箱命令执行(
exec)目前仅支持 Windows;macOS 与 Linux 支持完整文件 API(搜索 / 列表 / 读取 / 写入 / 建目录)及 Tailscale / Cloudflare 隧道。
Windows 版本需要 WebView2;由于未进行商业代码签名,Windows 可能提示未知发布者。
本版本更新(v0.3.2)
优化与新增
- 首次启动自动匹配系统语言(非中 / 日环境默认英文):新用户首次打开将自动识别系统语言(中文简繁归属简体中文、日语显示日本語、其余语言统一回退 English),在「设置 → 常规」手动切换后保持固定。
- 三平台原生系统语言探测:Windows 通过
GetUserPreferredUILanguages/GetUserDefaultLocaleName读取显示语言偏好;macOS 通过NSLocale.preferredLanguages读取系统语言列表(不依赖 Finder 启动缺失的LANG);Linux 按LC_ALL→LC_MESSAGES→LANG与LANGUAGE规范解析(C/POSIX稳定回退英文)。 - 无闪屏与首次配置保护:首次自动探测仅在内存生效,不提前写入
desktop-state.json,避免干扰新用户首次配置引导;同步将窗口默认标题、HTML 初始属性、前端首帧兜底与 Windows NSIS 安装器回退语言调整为按系统优先并默认英文。
- 三平台原生系统语言探测:Windows 通过
- 更新日志阅读分层与原生日语日志支持:应用内「关于 → 更新日志 / 更新详情」弹窗默认只展示精炼重点并支持按版本一键展开细节,日语界面改为直接展示原生日语更新日志。
- 新增
CHANGELOG.ja.md,日语界面弹窗与 GitHub 链接不再回退英文。 - 发布与 CI 工作流升级为自动扫描仓库全部
CHANGELOG*.md与README*.md,自动校验多语言版本一致性并生成全语种 GitHub Release 说明,便于后续零配置扩展新语言。
- 新增
安全与稳定性加固
- 旧版
/api兼容接口改为默认关闭并支持在「设置 → 兼容性」按需开启(#10,感谢 @KammyAugust11):新安装与已迁移至新版 Muse 专用令牌的用户默认仅暴露/agent/v1,大幅收紧公网令牌暴露面;纯旧版 File Bridge 存量用户升级后自动保持兼容不中断。- 精准升级迁移与首次配置保护:未显式配置
legacy_api_enabled时,仅对已存在旧版config.json+token且尚未启用agent-token的纯旧版用户自动保持开启(不提前写入desktop-state.json,保留首次引导状态);文件夹模式新用户不再自动生成旧版config.json与token。 - 设置页「兼容性」卡片与完整闭环:新增「设置 → 兼容性」开关(仅允许在已有旧配置或已保存「指定文件夹」授权时开启,不向整机磁盘模式放开)以及旧版文件令牌轮换与目录定位入口;关闭时保留本地旧令牌文件,且在双表面均关闭时自动暂停连接。
- 表面对齐与限流/统计一致性:关闭旧表面时所有
/api/*在鉴权前直接返回 404 且不污染概览文件活动统计,同时保留未鉴权限流保护;内置归属健康探针改为优先校验/agent/v1/roots协议体,接管旧系统(takeover_legacy)时自动开启旧表面并在回滚时还原。
- 精准升级迁移与首次配置保护:未显式配置
- 扩大默认敏感凭证保护范围(#9,感谢 @KammyAugust11):新增对主流云/容器凭证目录与浏览器登录数据目录的默认保护,即使开启整盘或主目录授权也不会被读取或搜索。
.npmrc、.pypirc由仅写保护升级为读 / 搜索 / 写全面保护,并新增.docker、.kube、.azure与 gcloud 凭证目录默认保护。- 新增各平台浏览器凭证库默认保护:Windows(Chrome / Edge
User Data、FirefoxProfiles)、macOS(Application Support 下 Chrome / Edge / Firefox,配合既有~/Library/Keychains保护)、Linux(google-chrome/chromium/microsoft-edge、.mozilla/firefox)。
完整变更见 CHANGELOG.md,使用说明见 中文使用指南。
English
What's new in v0.3.2
Improvements & Added
- Automatic first-launch system language detection (English default): On first launch, MuseLink now detects the OS language automatically (Chinese locales use Simplified Chinese, Japanese uses Japanese, and all other locales default to English); manually changing the language in Settings → General locks your choice.
- Native cross-platform locale detection: Uses
GetUserPreferredUILanguages/GetUserDefaultLocaleNameon Windows,NSLocale.preferredLanguageson macOS (working reliably when launched from Finder/Dock without shellLANG), and POSIX / GNU gettext precedence (LC_ALL→LC_MESSAGES→LANG, plusLANGUAGEwhen not underC/POSIX) on Linux. - Clean first-run state & English defaults: Keeps auto-detected language in memory until preferences are saved so
fresh_setuponboarding is preserved; updates default window title, HTMLlang, pre-snapshot frontend fallback, and the Windows NSIS installer fallback language to English.
- Native cross-platform locale detection: Uses
- Layered in-app changelog reading & native Japanese changelog: The in-app About → Changelog / Release notes dialog now shows concise highlights by default with a per-version toggle for technical details, and the Japanese UI displays native Japanese notes directly.
- Added
CHANGELOG.ja.mdso the Japanese in-app dialog and GitHub links no longer fall back to English. - Upgraded the CI and release workflows to auto-discover all
CHANGELOG*.mdandREADME*.mdlocales, enforce cross-locale version sync, and assemble multilingual GitHub Release notes automatically when new languages are added.
- Added
Security & Stability
- Legacy
/apicompatibility is now opt-in under Settings → Compatibility (#10 by @KammyAugust11): Fresh installs and users already on/agent/v1now disable legacy/api/*routes (404) by default to reduce public token exposure, while pure legacy File Bridge users keep compatibility automatically on upgrade.- Targeted upgrade migration & clean first run: When
legacy_api_enabledis unset indesktop-state.json, only pure legacy setups (existingconfig.json+tokenwithoutagent-token) stay enabled automatically without pre-creatingdesktop-state.json; fresh folder-mode installs no longer bootstrap legacyconfig.jsonortokenfiles. - Settings → Compatibility controls & lifecycle: Added an opt-in toggle under Settings → Compatibility (restricted to existing legacy configs or saved folder-mode grants, never expanding to full-drive mode) with legacy file token rotation and folder reveal; disabling keeps the local token file intact and automatically pauses the connection when no active surface remains.
- Surface-aligned probes, rate limiting & stats: Disabled
/api/*routes return 404 before authentication without polluting file activity stats while preserving unauthenticated rate limiting; the built-in ownership probe validates/agent/v1/rootsJSON when an agent token exists, and legacy task takeover enables legacy/apiautomatically (restoring on rollback).
- Targeted upgrade migration & clean first run: When
- Expanded default credential protection (#9 by @KammyAugust11): Added default read, search, and write protection for common cloud/container credential folders and browser login stores—even under full-disk or home-folder grants.
- Promoted
.npmrcand.pypircfrom write-only protection to full protection, and added.docker,.kube,.azure, and gcloud credential directories. - Added per-platform browser credential store protection: Windows (Chrome / Edge
User Data, FirefoxProfiles), macOS (Chrome / Edge / Firefox under Application Support alongside existing~/Library/Keychains), and Linux (google-chrome/chromium/microsoft-edge,.mozilla/firefox).
- Promoted
⚠️ Important note for macOS first launch: macOS packages are ad-hoc signed and not notarized with an Apple Developer ID. On first launch:
- Try opening
MuseLink.apponce, then open System Settings → Privacy & Security → Security and click Open Anyway.- 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.2 の変更点
改善と新機能
- 初回起動時のシステム言語自動検出(中国語・日本語以外は英語を既定):初回起動時に OS の表示言語を自動判定し(簡体字・繁体字中国語は簡体字中国語、日本語は日本語、それ以外の言語環境は English を既定表示)、「設定 → 一般」で手動変更した後は選択した言語を固定保持します。
- 3 プラットフォームのネイティブ言語取得:Windows は
GetUserPreferredUILanguages/GetUserDefaultLocaleName、macOS はNSLocale.preferredLanguages(Finder 起動時にLANGが未設定でも動作)、Linux はLC_ALL→LC_MESSAGES→LANGおよびLANGUAGE(C/POSIX時は無視して英語へフォールバック)で判定します。 - 初回セットアップ整合性と英語フォールバック統一:自動検出結果は設定保存前には
desktop-state.jsonへ先行書き込みせずfresh_setupフローを維持し、ウィンドウ初期タイトル・HTML 既定言語・スナップショット読込前フォールバック・Windows NSIS インストーラー既定フォールバックも英語基準に統一しました。
- 3 プラットフォームのネイティブ言語取得:Windows は
- アプリ内変更履歴の階層表示と日本語ログのネイティブ対応:「このアプリについて → 変更履歴 / リリースノート」はデフォルトで要点を簡潔に表示し、バージョンごとにワンクリックで詳細を展開できるようになりました。日本語 UI でも日本語の変更履歴を直接表示します。
CHANGELOG.ja.mdを追加し、日本語 UI のアプリ内ダイアログおよび GitHub リンクでの英語フォールバックを解消しました。- CI・リリースワークフローをすべての
CHANGELOG*.md・README*.mdを自動検出する構成へ拡張し、言語間のバージョン整合性チェックと全言語リリースノートの自動生成に対応しました。
セキュリティと安定性の強化
- 旧
/api互換インターフェースを既定オフ化し、「設定 → 互換性」から必要に応じて有効化可能に(#10 · @KammyAugust11):新規インストールおよび/agent/v1利用中の環境では既定で旧/api/*を 404 として公開トークンの露出面を縮小し、旧 File Bridge のみを利用中の環境はアップグレード後も自動で互換性を維持します。- 既存ユーザーの精密移行と初回状態の保護:
desktop-state.jsonにlegacy_api_enabledが未記録の場合、既存のconfig.json・tokenがありagent-token未発行の旧 File Bridge 環境のみ自動でオンを維持します(desktop-state.jsonは先行作成しません)。新規の指定フォルダー設定では旧config.json/tokenを生成しなくなりました。 - 「設定 → 互換性」カードとライフサイクル整備:「設定 → 互換性」に互換スイッチ(既存の旧設定または指定フォルダー権限がある場合のみ有効化でき、ドライブ全体モードへは拡張しません)と旧トークンのローテーション/フォルダー表示を追加。オフ時もローカルの旧トークンファイルは保持し、有効な接続面がなくなった場合は自動で接続を一時停止します。
- ヘルスチェック整合とレート制限・統計の一貫性:無効化された
/api/*は認証前に 404 を返してファイルアクティビティ統計を汚染せ...
- 既存ユーザーの精密移行と初回状態の保護:
MuseLink v0.3.1
下载文件(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 拦截,请按以下两步放行:
- 先双击尝试打开一次
MuseLink.app,被拦截后进入 系统设置 → 隐私与安全性,滚动到「安全性」区域点击 仍要打开;- 若在 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 原生隐私剪贴板:通过 AppKit
- 修复 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。
- 实现 Unix 本地根目录发现与校验:
- 修正文档中 Windows 沙箱边界描述并同步三语元数据(#11,感谢 @KammyAugust11):更正 README 中沙箱超时机制与
Everyone/RESTRICTEDSID 写入范围说明,并同步中 / 英 / 日三语 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
NSPasteboardwithorg.nspasteboard.ConcealedType,org.nspasteboard.TransientType, andCurrentHostOnlyto keep credentials out of clipboard managers and Universal Clipboard sync. - Linux clipboard support: Writes via stdin to
wl-copy,xclip, orxselwithout 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
OpenClipboardto mitigate transient contention and standardized 4-byteDWORD(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.
- Native macOS secret pasteboard: Copies tokens via AppKit
- 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 exposeroot->/, updated disk alias validation and the disk picker UI (System root (/)), and failed closed on empty root maps—fixing empty/agent/v1/rootsand HTTP 403 on/agent/v1/locations/desktop. - macOS / Linux sensitive-path protection & safe search exclusions: Added full protection for macOS
~/Library/Keychainsand default write protection for system directories, autostart paths (~/Library/LaunchAgents,~/.config/autostart), login shell profiles (.zprofile,.zshenv,.bash_profile), and.appbundles; 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
PermissionDeniederrors to actionable HTTP 403 responses.
- Unix local root discovery & validation: Implemented
- Corrected Windows sandbox boundary wording in READMEs and synced trilingual metadata (#11 by @KammyAugust11): Clarified sandbox timeout enforcement and
Everyone/RESTRICTEDSID 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:
- Try opening
MuseLink.apponce, then open System Settings → Privacy & Security → Security and click Open Anyway.- 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 ネイティブ秘密クリップボード:AppKit の
- 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 にマッピングしました。
- Unix ローカルルート検出と検証:macOS / Linux の
- README の Windows サンドボックス境界記述を修正し 3 言語メタデータを同期(#11 · @KammyAugust11):サンドボックスのタイムアウト制御と
Everyone/RESTRICTEDSID の書き込み範囲の記述を正確化し、日英中のヘッダー・プラットフォームバッジ・パッケージメタデータを同期しました。
⚠️ 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 https://github....
MuseLink v0.3.0
下载文件(Windows x64 / Linux x64 / macOS Universal)
| 平台与文件 | 说明 |
|---|---|
MuseLink-0.3.0-windows-x64-setup.exe |
Windows 安装版(NSIS)。安装后支持「关于 → 检查更新」应用内 Minisign 验签更新与自动重启。 |
MuseLink-0.3.0-windows-x64-portable.zip |
Windows 免安装便携版。完整解压后运行 muse-connector.exe(支持新版本提醒与直达下载)。 |
MuseLink-0.3.0-linux-x64.AppImage |
Linux x64 AppImage。赋予执行权限后直接运行(支持应用内 Minisign 验签更新与自动重启)。 |
MuseLink-0.3.0-linux-x64.deb |
Linux x64 .deb。通过包管理器安装(支持新版本提醒与更新详情)。 |
MuseLink-0.3.0-macos-universal.dmg |
macOS 安装镜像(Apple Silicon & Intel 通用版)。打开后将 MuseLink.app 拖入 Applications。 |
MuseLink-0.3.0-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 拦截,请按以下两步放行:
- 先双击尝试打开一次
MuseLink.app,被拦截后进入 系统设置 → 隐私与安全性,滚动到「安全性」区域点击 仍要打开;- 若在 macOS Sequoia(15+)上提示「已损坏,无法打开」,在终端执行一次以下命令清除下载隔离属性即可正常打开:
xattr -dr com.apple.quarantine /Applications/MuseLink.app- 沙箱命令执行(
exec)目前仅支持 Windows;macOS 与 Linux 支持完整文件 API(搜索 / 列表 / 读取 / 写入 / 建目录)及 Tailscale / Cloudflare 隧道。
Windows 版本需要 WebView2;由于未进行商业代码签名,Windows 可能提示未知发布者。
本版本更新(v0.3.0)
新增功能
- 应用内自动更新与内嵌更新日志:支持启动静默检查、签名验签一键更新(Windows 安装版 & Linux AppImage),以及应用内查看同步更新日志。
- 一键检查与重启更新:通过 GitHub Releases 静态
latest.json与编译期固化 Minisign 公钥验签(不走受限 REST API);右下角弹出可关闭的新版本提醒,下载验签期间保持连接不断流并展示绿色进度条,确认安装后安全停服(含释放 WindowsEverything.exe文件锁)并自动重启;Windows 便携版、Linux.deb与 macOS / 源码构建通过同一latest.json提供版本提醒、更新详情与下载直达。 - 内嵌更新日志弹窗:「关于」页提供「更新日志」「GitHub」「检查更新」入口,弹窗随界面语言自动切换、本地秒开并后台同步 GitHub 最新日志,标题栏附外链直达 GitHub。
- 三平台自动发布流水线:新增
.github/workflows/release.yml与generate-updater-manifest.ps1,打v*标签后并行构建与校验三平台产物并生成latest.json与SHA256SUMS.txt。
- 一键检查与重启更新:通过 GitHub Releases 静态
- 支持 Linux 与 macOS(Apple Silicon & Intel)(#3、#7,感谢 @eightman999;解决 #6):现可在三平台使用完整文件 API 与 Tailscale / Cloudflare 隧道配置,并提供预构建安装包。
- Linux 支持:覆盖文件 API(搜索 / 列表 / 读取 / 写入 / 建目录)与隧道配置,提供签名 AppImage 与
.deb包;本机命令执行仍仅支持 Windows。 - macOS 支持:提供 Universal
.dmg与.app.zip预构建包,自动发现Tailscale.app与 Homebrew 安装;未做 Apple 公证,首次打开需在「系统设置 → 隐私与安全性」中放行;本机命令执行仍仅支持 Windows。
- Linux 支持:覆盖文件 API(搜索 / 列表 / 读取 / 写入 / 建目录)与隧道配置,提供签名 AppImage 与
- 新增日语界面(
ja)(#8,感谢 @eightman999):界面文案、托盘、接入说明与 README 全面支持日语,可在「设置 → 常规」切换。
完整变更见 CHANGELOG.md,使用说明见 中文使用指南。
English
What's new in v0.3.0
Added
- In-app auto-updater & synced changelog dialog: Supports silent startup checks, signed one-click updates (Windows installer & Linux AppImage), and in-app synced release notes.
- Check & restart-to-update: Uses static GitHub Releases
latest.jsonmanifests and a compile-time pinned Minisign public key (no rate-limited REST API); shows a dismissible bottom-right update card with a live green progress bar while keeping connections active, cleanly stops services (including WindowsEverything.exe) before restarting; portable Windows, Linux.deb, and macOS/source builds receive alerts, notes, and direct download links via the same manifest. - In-app changelog modals: Updates About actions to Changelog, GitHub, and Check for updates; renders instantly from bundled notes, silently syncs from GitHub, follows UI language, and links directly to GitHub.
- Cross-platform automated release workflow: Added
.github/workflows/release.ymlandgenerate-updater-manifest.ps1to build and verify all three platforms in parallel onv*tags and publishlatest.jsonandSHA256SUMS.txt.
- Check & restart-to-update: Uses static GitHub Releases
- Linux & macOS (Apple Silicon & Intel) support (#3, #7 by @eightman999; fixes #6): Full file API and Tailscale / Cloudflare tunnel configuration now run across all three desktop platforms with prebuilt packages.
- Linux support: Covers the file API (
search/list/read/write/mkdir) and tunnel setup with signed AppImage and.debpackages; sandboxed command execution remains Windows-only. - macOS support: Provides Universal
.dmgand.app.zippackages and discoversTailscale.appand Homebrew installs automatically; packages are ad-hoc signed and not notarized (allow in System Settings → Privacy & Security on first launch); command execution remains Windows-only.
- Linux support: Covers the file API (
- Japanese (
ja) localization (#8 by @eightman999): Added complete Japanese UI, system tray, Muse setup instructions, and Japanese README, selectable under Settings → General.
⚠️ Important note for macOS first launch: macOS packages are ad-hoc signed and not notarized with an Apple Developer ID. On first launch:
- Try opening
MuseLink.apponce, then open System Settings → Privacy & Security → Security and click Open Anyway.- 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.0 の変更点
新機能
- アプリ内自動更新と同期変更履歴ダイアログ:起動時のサイレント確認、署名検証付きのワンクリック更新(Windows インストーラー版 & Linux AppImage)、アプリ内での変更履歴閲覧に対応しました。
- ワンクリック確認と再起動更新:静的
latest.jsonとコンパイル時固定の Minisign 公開鍵で検証(レート制限のある REST API は不使用)。右下の通知カードと緑色の進捗バーで既存接続を保ったままダウンロードし、サービス(Windows 同梱Everything.exeを含む)を安全に停止して自動再起動します。Windows ポータブル版・Linux.deb・macOS / ソースビルドも同じlatest.jsonで通知・詳細表示・直行リンクを提供します。 - アプリ内変更履歴ダイアログ:「このアプリについて」に「変更履歴」「GitHub」「更新を確認」を配置し、同梱コピーで即時表示しつつバックグラウンドで GitHub 最新ログへ同期します。
- 3 プラットフォーム自動リリースパイプライン:
.github/workflows/release.ymlとgenerate-updater-manifest.ps1を追加し、v*タグで 3 プラットフォームのビルド・テストとlatest.json・SHA256SUMS.txt生成を自動化しました。
- ワンクリック確認と再起動更新:静的
- Linux および macOS(Apple Silicon & Intel)に対応(#3・#7 · @eightman999、#6 を解決):3 プラットフォームすべてでファイル API と Tailscale / Cloudflare トンネル設定が動作し、ビルド済みパッケージを提供します。
- Linux 対応:ファイル API(検索 / 一覧 / 読み取り / 書き込み / フォルダ作成)とトンネル設定をカバーし、署名済み AppImage と
.debを提供します(ローカルコマンド実行は Windows 専用)。 - macOS 対応:Universal
.dmg/.app.zipを提供し、Tailscale.appと Homebrew を自動検出します。Apple 公証未実施のため初回起動時は「システム設定 → プライバシーとセキュリティ」で許可が必要です(ローカルコマンド実行は Windows 専用)。
- Linux 対応:ファイル API(検索 / 一覧 / 読み取り / 書き込み / フォルダ作成)とトンネル設定をカバーし、署名済み AppImage と
- 日本語ローカライズ(
ja)を追加(#8 · @eightman999):UI 全体、システムトレイ、Muse 接続手順、日本語 README に対応し、「設定 → 一般」から切り替えられます。
⚠️ macOS 初回起動時のご注意:macOS 版は Apple Developer ID による公証を行っていないため、初回起動時は システム設定 → プライバシーとセキュリティ → セキュリティ から このまま開く を選択してください。「壊れているため開けません」と表示される場合は、ターミナルでxattr -dr com.apple.quarantine /Applications/MuseLink.appを 1 回実行してください。
すべての変更履歴は CHANGELOG.ja.md、利用ガイドは README.ja.md をご覧ください。
What's Changed
- feat: add Linux support (Unix file backend + tunnel CLI discovery) by @eightman999 in #3
- feat: add macOS support (Unix backend fixes + Homebrew/Tailscale discovery) by @eightman999 in #7
- feat: add Japanese (ja) localization by @eightman999 in #8
New Contributors
- @eightman999 made their first contribution in #3
Full Changelog: v0.2.2...v0.3.0
MuseLink v0.2.2
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(中途文件变更返回 HTTP409)。 - 支持
raw=1原始二进制直传:直接返回原始字节流与对应Content-Type,消除 Base64 33% 膨胀(经公网隧道实测提速约 40%,单次上限 32 MiB,支持与分片组合),附带ETag与X-File-*响应头。 - 更新 Muse 接入说明(Prompt):同步指导 Muse 读取图片/二进制优先使用
raw=1并对大文件按片重试。
- 整文件 JSON 读取上限提升至 10 MiB:与写入上限对齐,现有配置即可直接读取高分辨率图片;超限返回 HTTP
完整变更见 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
413with chunking andrawhints; legacy/api/readkeeps 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), returnsetag, and validatesif_match/If-Match(returning HTTP409on concurrent edits). - Raw binary streaming (
raw=1): Streams raw bytes with detectedContent-Typewithout 33% Base64 overhead (~40% faster over tunnels, up to 32 MiB per request, combinable withoffset/limit), exposingETagandX-File-*headers. - Updated Muse connection instructions: Guides Muse to prefer
raw=1for binary/image files and retry individual chunks on transient drops.
- 10 MiB whole-file JSON limit: Matches the write limit so existing connectors can read large photos without prompt changes; oversized files return HTTP
See CHANGELOG.en.md and the English quick start.
日本語
v0.2.2 の変更点
改善と新機能
- ファイル読み取り上限の引き上げ、チャンク読み取り・生バイナリ直接転送に対応(#4 を解決):単一ファイル上限を 10 MiB に拡大し、大容量ファイルや高解像度画像の高速・分割転送に対応しました。
- 単一ファイル JSON 読み取り上限を 10 MiB に拡大:書き込み上限と揃え、既存設定のまま高解像度画像を読み取れるようにしました。超過時はチャンク・
raw推奨値を含む HTTP413を返し、旧/api/readは 2 MiB 互換を維持します。 offset/limitチャンク読み取り(総サイズ上限なし):検証済み OS ハンドルから分割読み取り(JSON 標準 2 MiB・最大 4 MiB)し、etagとif_match/If-Matchをサポート(途中変更時は HTTP409)。raw=1生バイナリ直接転送:Base64 の 33% 膨張を排除し(トンネル経由で実測約 40% 高速化、1 リクエスト最大 32 MiB、チャンク併用可)、ETagとX-File-*ヘッダーを返却します。- Muse 接続手順を更新:画像・バイナリは
raw=1を優先し、大容量ファイルは分割リトライするよう案内を更新しました。
- 単一ファイル JSON 読み取り上限を 10 MiB に拡大:書き込み上限と揃え、既存設定のまま高解像度画像を読み取れるようにしました。超過時はチャンク・
すべての変更履歴は CHANGELOG.ja.md、利用ガイドは README.ja.md をご覧ください。
Full Changelog: v0.2.1...v0.2.2
MuseLink v0.2.1
Windows x64
| 下载文件 | 用途 |
|---|---|
MuseLink-0.2.1-windows-x64-portable.zip |
免安装版。完整解压后双击 muse-connector.exe。 |
MuseLink-0.2.1-windows-x64-setup.exe |
安装版。运行 NSIS 安装程序。 |
SHA256SUMS.txt |
核对两个下载文件的 SHA-256。 |
本版本更新(v0.2.1)
- 桌面界面全面改版与信息架构重构:
- 组件视觉升级:
Switch开启态升级为绿色(#48C52C)+ 白色滑块;Input、Select与概览公网地址框改为透明底仅描边风格,悬停时描边提亮;日志搜索框新增内置放大镜图标;危险操作使用红色语义强调;全站卡片与表单间距统一校准。 - 连接页与首次配置重构:顶部新增独立「指引 / 开始指引」卡片,设备名称改为清爽行内布局,「Muse 接入说明」(复制说明 / 复制专用令牌)整合至连接页底部;首次配置浮窗第 3 步将「复制接入说明」与「复制专用令牌」并排展示。
- 文件权限与日志页聚焦:文件权限页将「保存授权」提至标题栏右侧,专注授权范围与本机命令执行沙箱;日志页将时间范围筛选提至一级筛选条,保留单一「暂停同步 / 继续同步」按钮。
- 设置页重构为「常规」与「数据」板块:统一收纳本机数据目录、本机文件索引(状态·占用、清除/重建、打开目录)、日志数据(实时占用、清除日志、按条件导出
JSONL/CSV、打开目录)与本机令牌(撤销、轮换、打开目录)。 - 优化启动与托盘行为:开机自启默认关闭,开启后登录 Windows 时通过
--autostart静默启动到托盘;平时手动打开软件正常弹出主窗口;「设置 → 常规」提供「关闭时最小化到托盘」(默认开启,关闭后点窗口关闭按钮直接安全退出)。
- 组件视觉升级:
- 移除 Cloudflare 临时隧道(Quick Tunnel):统一聚焦 Tailscale Funnel 与 Cloudflare 命名隧道(自有域名),旧配置中的
cloudflare_quick自动平滑回退到 Tailscale Funnel。 - 命令审批与执行状态实时长轮询:
GET /agent/v1/exec/{job_id}新增?wait_ms=长轮询支持(上限25000ms,推荐20000ms),点击允许/拒绝、超时或执行完成毫秒级唤醒返回;同步更新中英文 Muse 接入说明,倒计时归零自动禁用审批按钮,并修复后台孙进程继承管道导致任务卡在running的问题。 - MIT 开源许可证与合规补齐:新增仓库根目录
LICENSE并随免安装版与安装包一同分发。
两个版本都需要 Windows WebView2。MuseLink 主程序和安装包尚未进行代码签名,Windows 可能显示未知发布者提示。完整变更见 CHANGELOG.md,完整使用说明见 中文使用指南。
English
Download the portable ZIP to run MuseLink without installation, or the NSIS setup EXE to install it. Extract the portable ZIP in full before running muse-connector.exe. Both builds require Windows WebView2. Compare your download with SHA256SUMS.txt. The MuseLink executable and installer are unsigned.
What's new in v0.2.1
- Full UI/UX redesign & information architecture refresh:
- Component polish: Active
Switchtrack updated to#48C52Cwith a white thumb;Input,Select, and Overview endpoint URL box switched to transparent outline-only styling with brighter hover borders; inline search icon on Logs; semantic red for destructive actions; calibrated card and form spacing across all pages. - Connection page & setup guide overhaul: Added a top Setup guide card, inline Device name row, consolidated Muse connection instructions under Connection, and placed Copy instructions and Copy Muse token side by side inside step 3 of the setup guide.
- Focused File Access & Logs pages: Moved Save permissions to the File Access card header and promoted the Logs time-range filter into a single-row filter bar with one Pause sync / Resume sync toggle.
- Settings reorganized into General & Data: Consolidated local data, local file index (status/usage, clear/rebuild, open folder), log data (disk usage, clear logs, filterable
JSONL/CSVexport, open folder), and local token (revoke, rotate, open folder) under Settings → Data. - Improved startup & tray behavior: Autostart is off by default and launches silently to the tray via
--autostartwhen enabled; manual launches always open the main window; Minimize to tray on close is configurable under Settings → General (enabled by default; disabling it lets closing the window exit cleanly).
- Component polish: Active
- Removed Cloudflare quick tunnel: Focused on Tailscale Funnel and Cloudflare named tunnels (legacy
cloudflare_quickconfigs fall back automatically to Tailscale Funnel). - Real-time long-polling for command approvals & execution:
GET /agent/v1/exec/{job_id}now supports?wait_ms=(up to25000ms, recommended20000ms) for instant wakeups on approval, denial, timeout, or completion; updated bilingual Muse connection instructions, disabled approval buttons at countdown expiry, and fixed detached grandchild processes holding stdio pipes open. - MIT open-source license: Added repository-root
LICENSEand bundled it with both the portable archive and NSIS installer.
See CHANGELOG.en.md and the English quick start.
MuseLink v0.2.0
Windows x64
| 下载文件 | 用途 |
|---|---|
MuseLink-0.2.0-windows-x64-portable.zip |
免安装版。完整解压后双击 muse-connector.exe。 |
MuseLink-0.2.0-windows-x64-setup.exe |
安装版。运行 NSIS 安装程序。 |
SHA256SUMS.txt |
核对两个下载文件的 SHA-256。 |
两个版本都需要 Windows WebView2。MuseLink 主程序和安装包尚未进行代码签名,Windows 可能显示未知发布者提示。
本版本更新(v0.2.0)
新增功能
- 受控本机命令执行(Windows,默认关闭):开启后允许 Muse 在已授权项目子目录内运行开发工具与受控 Shell,全程受写受限沙箱与本机审批保护。
- 在「文件权限 → Muse 文件工具」新增总开关与风险确认窗,提供
/agent/v1/exec、状态查询与取消接口(禁止直接对盘符根目录执行)。 - 每工作区独立 Windows 写受限沙箱:基于
CreateRestrictedToken(WRITE_RESTRICTED)与按工作区规范路径 SHA-256 派生的独立 SID,仅允许写入目标项目子目录与单任务临时目录,配合JobObject施加内存、进程数与超时限制,失败即拒不降级。 - 三档风险分流与自动置顶审批窗:常见只读及构建/测试命令自动放行;首次在项目内使用 Shell、变更依赖或
git push时自动唤醒置顶审批窗(120 秒超时自动拒绝,支持单次允许或按项目 4 小时会话免打扰);触碰敏感目录、跨目录(..)、强推、强制删除、系统管理工具、混淆脚本或unsandboxed时强制单次确认。
- 在「文件权限 → Muse 文件工具」新增总开关与风险确认窗,提供
- 设备命名与改名回执(#1):支持多台电脑设置独立设备名称,自动生成改名说明与 Muse 回执确认流程。
- 日志筛选与关于页更新日志入口:日志页新增「命令执行」筛选,「关于」页新增「更新日志」直达入口。
安全与稳定性加固
- 句柄级文件校验与敏感路径分级保护(#2):读取与原子写入全程经打开的 OS 句柄核对真实路径,防符号链接/联接点逃逸与 TOCTOU 替换,并默认保护凭证与系统关键路径。
- 默认屏蔽
~/.muse-bridge、~/.ssh、~/.aws、~/.gnupg凭证目录,并对系统目录、启动项、Shell Profile、.gitconfig及程序自身目录启用写保护。 - 通过 Windows
JobObject托管Everything.exe、cloudflared与命令子进程,退出或关闭时回收整棵进程树。 - 审计与运行日志自动脱敏
mfa_令牌;切换文件夹/磁盘授权时保留已有边界;修复 base64 写入 10 MiB 校验、收紧 CSP、升级url修复RUSTSEC-2026-0592;未开启命令执行时统一返回 HTTP 403exec_disabled。
- 默认屏蔽
工程与测试
- 新增 Windows CI 自动化测试工作流:覆盖格式化门禁、前端构建、Rust 单元测试、符号链接/联接点逃逸与 Windows 内核沙箱测试。
完整变更见 CHANGELOG.md,使用说明见 中文使用指南。
English
What's new in v0.2.0
Added
- Controlled local command execution (Windows, off by default): Allows Muse to run developer tools and controlled shells inside authorized project subfolders under a write-restricted sandbox and local approval dialog.
- Added toggle with risk confirmation under File Access → Muse file tools exposing
/agent/v1/exec, status polling, and cancellation (bare drive roots rejected). - Per-workspace Windows write-restricted sandbox: Combines
CreateRestrictedToken(WRITE_RESTRICTED)with a SHA-256-derived SID per canonical workspace so writes stay within the project subfolder and isolated job temp dir, enforced alongsideJobObjectmemory/process/timeout limits and fail-closed guarantees. - 3-tier risk model & auto-elevated approval dialog: Read-only and standard build/test commands run automatically; first-time shell usage, dependency changes, or
git pushelevate a 120-second approval dialog (Allow once or 4-hour per-project session grant); sensitive paths,.., force push, recursive deletion, admin tools, obfuscated scripts, andunsandboxedrequests always require single confirmation.
- Added toggle with risk confirmation under File Access → Muse file tools exposing
- Device naming & rename receipts (#1): Configure distinct device names under Connection with copyable rename instructions and Muse confirmation receipts.
- Execution log filter & in-app Changelog button: Added Command execution log filtering and a Changelog button on About.
Security & Stability
- Handle-verified file operations & layered sensitive-path protection (#2): Reads and atomic writes verify real object paths via open OS handles against symlink/junction escapes and TOCTOU swaps, while protecting credentials and system paths by default.
- Excludes
~/.muse-bridge,~/.ssh,~/.aws, and~/.gnupgby default and write-protects system folders, Startup, shell profiles,.gitconfig, and the app directory. - Attaches managed
Everything.exe,cloudflared, and command child processes to WindowsJobObjects for clean process-tree teardown. - Redacts
mfa_tokens in logs, preserves grants across folder/drive mode switches, enforces 10 MiB base64 write caps, tightens CSP, bumpsurlforRUSTSEC-2026-0592, and returns HTTP 403exec_disabledwhen execution is off.
- Excludes
Engineering & CI
- Added Windows GitHub Actions CI: Covers formatting, frontend build, Rust unit tests, symlink/junction escape checks, and real Windows kernel sandbox tests.
See CHANGELOG.en.md and the English quick start.
日本語
v0.2.0 の変更点
新機能
- 制御付きローカルコマンド実行(Windows・デフォルトオフ):許可済みプロジェクトサブディレクトリ内で、書き込み制限付きサンドボックスと承認ダイアログのもと開発ツールやシェルを実行できます。
- 「ファイル権限 → Muse ファイルツール」に総スイッチとリスク確認を追加し、
/agent/v1/exec・状態確認・キャンセル API を提供(ドライブルート直下は拒否)。 - ワークスペースごとの書き込み制限付きサンドボックス:
CreateRestrictedToken(WRITE_RESTRICTED)と正規パス SHA-256 由来の固有 SID により対象サブディレクトリと専用一時領域以外への書き込みを遮断し、JobObjectのメモリ・プロセス数・タイムアウト制限とフェイルクローズを強制します。 - 3 段階リスク分類と最前面承認ダイアログ:読み取りや標準ビルド・テストは自動許可、初回シェル利用・依存変更・
git pushは 120 秒の承認ダイアログ(単発または 4 時間セッション許可)を表示し、機密パス・..・強制プッシュ・再帰削除・管理ツール・難読化スクリプト・unsandboxedは毎回単発承認を必須とします。
- 「ファイル権限 → Muse ファイルツール」に総スイッチとリスク確認を追加し、
- デバイス命名と名称変更レシート(#1):複数 PC に固有のデバイス名を設定でき、名称変更手順と Muse 確認レシートを生成できます。
- コマンド実行ログフィルターと変更履歴ボタン:ログに「コマンド実行」フィルターを、「このアプリについて」に「変更履歴」ボタンを追加しました。
セキュリティと安定性の強化
- ハンドルベースのファイル検証と機密パス保護(#2):OS ハンドルで実パスと属性を再検証してシンボリックリンク脱出・TOCTOU 差し替えを防御し、認証情報とシステムパスをデフォルト保護します。
~/.muse-bridge・~/.ssh・~/.aws・~/.gnupgをデフォルト遮断し、システムディレクトリ・スタートアップ・シェルプロファイル・.gitconfig・アプリディレクトリを書き込み保護にしました。Everything.exe・cloudflared・コマンド子プロセスを WindowsJobObjectで管理し終了時に一括回収します。mfa_トークンのログマスキング、モード切替時の権限保持、Base64 書き込み 10 MiB 検証修正、CSP 厳格化、RUSTSEC-2026-0592対応、機能オフ時の HTTP 403exec_disabledを整備しました。
エンジニアリングとテスト
- Windows GitHub Actions CI を追加:フォーマット、フロントエンドビルド、Rust テスト、シンボリックリンク脱出テスト、Windows カーネルサンドボックステストを自動化しました。
すべての変更履歴は CHANGELOG.ja.md、利用ガイドは README.ja.md をご覧ください。
What's Changed
- 新增 Muse 设备命名与改名回执 by @Aenvo in #1
- Harden Windows file access and preserve Muse grants by @Aenvo in #2
Full Changelog: v0.1.0...v0.2.0
MuseLink v0.1.0
Windows x64
| 下载文件 | 用途 |
|---|---|
MuseLink-0.1.0-windows-x64-portable.zip |
免安装版。完整解压后双击 muse-connector.exe。 |
MuseLink-0.1.0-windows-x64-setup.exe |
安装版。运行 NSIS 安装程序。 |
SHA256SUMS.txt |
核对两个下载文件的 SHA-256。 |
首个版本包含首次配置引导、文件夹和固定磁盘授权、Muse 专用令牌、文件名搜索和中英文界面。默认使用 Tailscale Funnel,也可选择 Cloudflare 隧道。
两个版本都需要 Windows WebView2。MuseLink 主程序和安装包尚未进行代码签名,Windows 可能显示未知发布者提示。首次连接流程见中文使用指南。
English
Download the portable ZIP to run MuseLink without installation, or the NSIS setup EXE to install it. Extract the portable ZIP in full before running muse-connector.exe. Both builds require Windows WebView2. Compare the download with SHA256SUMS.txt. The MuseLink executable and installer are unsigned.
This release includes guided setup, folder and fixed-drive permissions, a dedicated Muse token, filename search, and a bilingual interface. See the English quick start.