Skip to content

v1.0.21

Choose a tag to compare

@wxtsky wxtsky released this 16 Apr 17:23
· 601 commits to main since this release
Immutable release. Only release title and notes can be modified.

English

New

  • TraeCli support — 11th supported CLI, with YAML config merge / remove that preserves user-authored blocks (PR #98)
  • Inline approval in session list — click an approval on the session list and Allow / Always / Deny / Details stay right there without stealing the surface (PR #98)
  • Dismiss button on permission prompts — temporarily collapse the card; the same session's next permission request brings it back (PR #93)
  • Auto-reconnect for remote SSH — hosts marked "Auto Connect" now retry with 5/15/45/120/300s backoff when the tunnel drops (#92)
  • Per-host SSH_AUTH_SOCK — optional field in the Add Host form, lets 1Password / Bitwarden / Secretive agents sign the handshake without launchctl setenv hacks (#81)
  • Japanese + Korean localization (PR #72) — now en / zh / ja / ko / tr
  • PID ancestry tracking for sh -c wrappers — hooks executed through a transient shell now correctly attribute to the long-lived CLI process (#98)
  • Event normalization for snake_case hooks — TraeCli/Coco style pre_tool_use, session_start, permission_request, etc. map to canonical names (#98)
  • dev-hot-restart script — scripts/dev-hot-restart.sh watches Sources/Tests, rebuilds on change, and only restarts the running app if the build succeeds (PR #94)

Bug fixes

  • #89 — Stop clobbering user opencode.json: when the file is unparseable (comments, typos, non-object root), the installer now bails out instead of overwriting it with a 2-key minimal config. First write drops a timestamped .codeisland.bak.* alongside the original.
  • #92 — autoScreenPoller dropped from 1s to 5s; CGWindowListCopyWindowInfo was a measurable Energy Impact hit and NSWorkspace notifications already cover the common paths
  • #92 — SSH stderr readability handler is now cleared on ssh process exit; the leaked handler was pinning CPU at 100% after tunnel drops (reported by @jiz4oh)
  • #95 — Source inference from process ancestry when a hook arrives without --source. omo-triggered OpenCode events no longer fall back to "claude" and no longer double-up with the real OpenCode session (thanks @edso404 for the full trace)
  • #101 — Fenced code blocks in chat previews now keep their newlines and the language identifier no longer leaks into the code body (thanks @senshinya for the root cause)
  • Infer source now covers all supported CLIs, not just the one named by --source

Chore / docs

  • .gitignore reorganized with categories; *.log / *.tmp globs (PR #96)
  • README intro and About tagline bumped to "11 tools" everywhere
  • Trailing whitespace cleanup in ConfigInstaller
  • Post-merge: hardcoded Chinese strings in the inline approval UI localized via L10n
  • dev-hot-restart.sh SIGTERM-first with SIGKILL fallback, absolute --app-path preserved, seen counter initialized from wc -c

中文

新功能

  • TraeCli 支持 — 第 11 个支持的 CLI,YAML 配置 merge / remove 保留用户原有块 (PR #98)
  • 会话列表内 inline 审批 — 会话卡片上直接 Allow / Always / Deny / 详情,不再抢占面板 (PR #98)
  • 权限请求忽略按钮 — 暂时收起卡片,同会话下次权限请求会重新弹出 (PR #93)
  • 远程 SSH 自动重连 — 勾了"Auto Connect"的 host 断开后按 5/15/45/120/300 秒退避重连 (#92)
  • 每主机 SSH_AUTH_SOCK — Add Host 表单可选项,1Password / Bitwarden / Secretive 类 SSH agent 不再需要 launchctl setenv hack (#81)
  • 日语 + 韩语本地化 (PR #72) — 现在覆盖 en / zh / ja / ko / tr
  • PID 沿 ancestry 追踪 — 通过 sh -c 启动的 hook 现在能正确归到长生命周期 CLI 进程 (#98)
  • snake_case hook 事件归一化 — TraeCli/Coco 的 pre_tool_use / session_start / permission_request 等统一映射到标准事件名 (#98)
  • dev-hot-restart 脚本 — scripts/dev-hot-restart.sh 监听 Sources/Tests,构建成功才重启运行中的 app (PR #94)

Bug 修复

  • #89 — 不再覆盖用户 opencode.json:文件含注释/语法错误/根不是 object 时,installer 直接 bail out,不再把整个文件换成 2-key 最小 config。首次写入前会留一份 .codeisland.bak.<时间戳> 备份
  • #92 — autoScreenPoller 1s → 5s;CGWindowListCopyWindowInfo 对 Energy Impact 可见,NSWorkspace 通知已经覆盖主场景
  • #92 — ssh 子进程退出时清理 stderr readability handler;之前 handler 没清会在关闭 FD 上被紧密回调,pin 住 100% CPU (@jiz4oh 反馈)
  • #95 — hook 不带 --source 时沿进程 ancestry 推断 source。omo 触发的 OpenCode 事件不再误落回 "claude",也不再和真实 OpenCode 会话双显 (感谢 @edso404 的完整定位)
  • #101 — 聊天预览里的围栏代码块保留换行,语言标识不再混入代码内容 (感谢 @senshinya 的根因分析)

杂项 / 文档

  • .gitignore 重新分类,加 *.log / *.tmp 通配符 (PR #96)
  • README 和 About 全部统一为 "11 tools / 11 种工具"
  • ConfigInstaller 行尾空格清理
  • 合并后修复:inline 审批 UI 里硬编码的中文改走 L10n
  • dev-hot-restart.sh 优先 SIGTERM 再 SIGKILL,绝对路径 --app-path 保留,seen 计数从 wc -c 初始化

Thanks to contributors: @lkangd @liushaoxiong10 @alvis-HaoH @leizhiyuan @jiz4oh @Hatiaa @senshinya @edso404 @xiangzi-jiangxin