Repository navigation
English
Browser Sandboxing & Permissions
- Linux browser sandbox
/procfix — Allows/procwrites inside the LinuxBrowserSandboxProfileso Chromium'sCLONE_NEWUSERsandbox can write/proc/<pid>/{setgroups,uid_map,gid_map,oom_score_adj}under Landlock'sPR_SET_NO_NEW_PRIVS, fixing headlessbrowser_tablaunch failures (exit code 82). - macOS Seatbelt browser sandbox fix — Adds validated Darwin user temp directories (
/private/var/folders/.../T), scopes browser-onlyMachPortRendezvousServerMach registration in Seatbelt, and passes--no-sandboxinside the outer Seatbelt browser confinement so Chrome launches reliably on macOS without nestedsandbox_initrejections. - Clearer network permission labels — Updates permission review modals and
/permissionslabels to+ Network (IP / loopback & outbound)to clarify that IP-level network grants cover loopback and outbound connections.
Anthropic Provider & Model Picker
- Higher default
max_output_tokens— Raises Anthropic's defaultmax_output_tokensfrom4096to32,000, preventingmodel_lengthtruncation on extended thinking and long coding responses. - Anthropic-compatible
/v1/modelsnormalization — Defaults missinghas_more, normalizes blankowned_bytoNone, deduplicates trailing/v1and repeated slashes in Anthropic endpoint URLs (e.g., OpenRouter / OpenCode Zen), and improves 404/405 diagnostics. ModelPickerinline 404 UX & cache seeding — Replaces stuckRefreshing...spinners after discovery errors with typed picker status and inline 404 guidance (No /v1/models — type a model ID, or use an OpenAI endpoint), and consistently seeds cached/current models across/model, Settings, ProviderForm (guarded by matching kind and base URL), and the setup wizard.
Dependencies
- Updated dependencies & replaced yanked crates — Bumps
pyo3to0.29.3(#104) and updates yankedpin-project-lite(0.2.19) andclipboard-win(5.4.3) inCargo.lock.
简体中文
浏览器沙箱与权限提示
- 修复 Linux 浏览器沙箱
/proc写入限制 — 在 LinuxBrowserSandboxProfile中允许写入/proc,使 Chromium 的CLONE_NEWUSER沙箱在 LandlockPR_SET_NO_NEW_PRIVS下可以正常写入/proc/<pid>/{setgroups,uid_map,gid_map,oom_score_adj},修复无头browser_tab启动报错(exit code 82)。 - 修复 macOS Seatbelt 浏览器沙箱启动 — 为 macOS 浏览器沙箱放行经校验的 Darwin 用户临时目录(
/private/var/folders/.../T),在 Seatbelt 中仅对浏览器受限放行MachPortRendezvousServerMach 注册,并在外层 Seatbelt 沙箱内为 Chromium 传入--no-sandbox,避免嵌套sandbox_init导致的启动失败。 - 更清晰的网络权限标签 — 将审批弹窗与
/permissions界面中的网络权限文案更新为+ Network (IP / loopback & outbound),明确标注 IP 级网络授权覆盖本地回环与出站连接。
Anthropic Provider 与模型选择器
- 提高默认
max_output_tokens— 将 Anthropic Provider 默认的max_output_tokens从4096提高至32,000,解决深度思考与长代码输出容易触发model_length截断的问题。 - Anthropic 兼容接口
/v1/models解析与 URL 规范化 — 兼容缺失has_more字段、将空白owned_by归一化为None、自动去重 Anthropic 端点 URL 末尾的/v1与多余斜杠(兼容 OpenRouter / OpenCode Zen 等服务),并优化 404/405 错误诊断信息。 - 改进
ModelPicker404 引导与缓存回填 — 以强类型状态修复模型拉取失败后Refreshing...一直卡住的问题,遇到 404 时内联展示提示(No /v1/models — type a model ID, or use an OpenAI endpoint),并在/model、设置页、Provider 表单(按类型与 Base URL 匹配)及首次配置向导中保持一致的模型缓存回填行为。
依赖更新
- 升级依赖并替换已被 yank 的 crate — 升级
pyo3至0.29.3(#104),并在Cargo.lock中更新已被 yank 的pin-project-lite(0.2.19)与clipboard-win(5.4.3)。
Install / 安装
# Linux (static musl: x86_64 / arm64) & macOS (Apple Silicon / Intel) — includes Alt+G Web viewer
curl -fsSL https://github.com/locez/merry/releases/download/v0.1.4/install.sh | sh# Windows (x86_64)
irm https://github.com/locez/merry/releases/download/v0.1.4/install.ps1 | iexcargo install --locked merry-cli --features web # crates.io CLI (Rust 1.95+) / cargo binstall merry-cli
cargo add merry --features anthropic # Rust SDK
pip install merry-agent # Python SDK (imports as `merry`)
nix run github:locez/merry # Nix flakeFull Changelog: v0.1.3...v0.1.4