Skip to content

v2.2.1

Choose a tag to compare

@github-actions github-actions released this 26 Nov 06:45

Claude Studio v2.2.1

中文 · English

更新亮点

v2.2.1 是一次聚焦安全性与日常体验的维护更新:收紧了侧边栏通信、手机推送、本地脚本、原地升级与本地文件操作的权限边界,新增聊天文件链接右键菜单,支持关闭插件时自动停注并还原窗口,同时补齐了 /btw 提示的 5 语言翻译。

1. 聊天文件链接右键菜单

  • 右键直接操作:右击对话中的本地文件链接或提及胶囊,可直接选择「打开文件」「在文件夹中显示」或「复制完整路径」,查看与定位文件更顺手。
  • 可随时关闭:设置页提供独立开关;关闭后会立即清理已打开的浮层与待处理状态。

2. 关闭插件自动停注与还原

  • 随插件开关即时响应:在 Antigravity 插件管理中停用 Claude Studio 后,后台守护会立即停止注入并无损还原已打开的窗口。
  • 重启不再重复注入:停用状态下重启 Antigravity 不会再自动注入;重新启用插件后会自动恢复。

3. 本地安全加固

  • 侧边栏通信鉴权:侧边栏与宿主之间的通信改用令牌校验,未携带有效凭据的请求会被直接拒绝。
  • 手机推送凭据保护:已保存的推送密钥不再以明文返回界面,编辑时留空即可沿用旧值,也可手动清空;切换推送渠道时会自动清除上一渠道的旧密钥。敏感配置以更严格的本机文件权限写入,网络请求禁止意外跳转并受统一超时限制。
  • 本地脚本与原地升级校验:本地脚本运行前会校验工作目录并拦截批处理入口,运行环境与侧边栏内部变量隔离,超时后会终止整个子进程树;原地升级增加了个人数据保护校验,并在替换失败时自动回滚。
  • 跨平台文件操作限制:统一三端的文件打开与定位规则——仅常见文档与媒体文件支持直接打开,脚本和可执行程序仅允许在文件夹中显示或复制路径;拦截网络共享路径、异常软链接及特殊应用包误启动,并仅响应来自主会话窗口的调用。

4. 本地化补齐

  • 补齐 5 语言词条:补充了 /btw 等新增界面提示的 5 语言翻译。

升级、迁移与平台说明

  • 常规升级:插件用户可在右侧 Claude Studio 顶栏点击升级,或直接让 Antigravity 里的 Gemini 按仓库 README.zh-CN.md 中的「升级与旧版迁移核对清单」协助升级(升级过程会保留本机个人配置、推送设置与自定义脚本)。
  • 旧版 Windows 独立守护迁移提醒:如果此前单独安装过早期 agy-claude-style,请先通过旧版卸载入口关闭开机自启并完成卸载,确认旧目录中的 agy-claude-style-watcher.exe 已完全退出后再升级到 v2.2.1(仅更新插件源码或安装到新目录,不会自动停掉旧目录里仍在运行的旧进程)。
  • 平台验证说明:Windows 端已通过全量自动化测试;macOS 安装包已通过 CI 构建与静态检查,目前仍缺真实 Mac 硬件的实机验证,欢迎反馈。

What's New in v2.2.1

v2.2.1 is a focused security and usability update. It tightens local boundaries across the sidecar panel, push notifications, script runner, in-place updates, and local file actions; adds a right-click menu for file links in chat; cleans up open windows automatically when the plugin is disabled; and completes /btw translations.

1. Right-Click Menu for Chat File Links

  • Quick File Actions: Right-click any local file link or mention pill in chat to open it, show it in your file manager, or copy its full path.
  • Easy Toggle: Turn the menu on or off from Settings at any time; disabling it clears any active overlay and pending timers right away.

2. Clean Detach When Plugin Is Disabled

  • Follows Plugin State: Disabling Claude Studio in Antigravity's plugin manager tells the background watcher to stop injecting immediately and cleanly restore any open windows.
  • No Re-injection on Restart: While disabled, restarting Antigravity keeps the default UI intact; re-enabling the plugin brings everything back automatically.

3. Security Hardening

  • Authenticated Sidecar Requests: Requests between the sidecar and the host now require a valid token; unauthenticated calls are rejected.
  • Push Credential Isolation & Request Limits: Saved push credentials are no longer sent back to the UI in plaintext. Leaving a field blank keeps the existing secret, clearing it removes it, and switching providers clears old credentials automatically. Sensitive settings are saved with stricter local file permissions, and outbound requests block unexpected redirects and enforce timeouts.
  • Script Runner & In-Place Update Guards: The local script runner validates working directories, blocks batch entry points, strips internal sidecar environment variables, and terminates the full process tree on timeout. In-place updates check user data boundaries and roll back automatically if an archive replacement fails.
  • Consistent Cross-Platform File Rules: Direct opening is limited to common document and media types (scripts and executables only allow revealing in folder or copying the path). Network share paths, suspicious symlinks, and accidental app bundle launches are blocked, and file actions only accept calls from the main chat window.

4. Localization

  • 5-Language /btw Prompts: Completed translations across all 5 supported languages for /btw and related UI notices.

Upgrade, Migration & Platform Notes

  • Standard Upgrade: Plugin users can click the upgrade button in the Claude Studio header, or ask Gemini in Antigravity to walk through the "Upgrade & Legacy Migration Checklist" in README.zh-CN.md (personal settings, push configs, and custom scripts are preserved).
  • Legacy Windows Standalone Watcher Notice: If you previously installed an older standalone agy-claude-style build, disable its auto-start and uninstall it using the legacy uninstaller first, and make sure agy-claude-style-watcher.exe in the old directory has fully exited before upgrading to v2.2.1 (updating plugin source or installing to a new folder does not stop the old process).
  • Platform Verification: Fully covered by automated tests on Windows. The macOS universal package passed CI builds and static checks, and still awaits hands-on testing on physical Mac hardware. Feedback is welcome.

Downloads

  • Claude-Studio-v2.2.1-Windows-x64.exe — Standalone Windows x64 installer (no Node.js required)
  • Claude-Studio-v2.2.1-macOS-universal.dmg — Universal macOS (arm64 + x86_64) package (CI-built & auto-tested; awaiting physical Mac verification)
  • SHA256SUMS.txt — Checksums for all release files

Full Changelog: v2.2.0...v2.2.1