Repository navigation
Releases
Releases · nkjDSLcvanv/antigravity-codex-theme
v1.2.1
更新摘要 / Highlights
1. 新增 SSH Remote 远端只读会话统计(可选开启)
- 感谢 @xiaoxiami-zyx 贡献 PR #3,新增
core/daemon/ssh-remote.mjs模块,支持在 SSH Remote 会话场景下实时展示 Token 用量、上下文占比、缓存命中率与每轮尾部统计。 - 零本地
.db拷贝、零scp:通过ssh在远端以只读python3标准库sqlite3(mode=ro)直接读取 WAL/SHM,并在远端剥离所有对话正文、Prompt 与 Checkpoint 摘要文本,仅回传脱敏后的数值与状态元数据 JSON,在本地纯内存中通过虚拟 DB 适配解析。 - 默认关闭(Opt-in):不扫描
~/.ssh/config,需在~/.gemini/antigravity/codex-theme/user/config.json中显式开启:
{
"modules": {
"sshRemote": true
},
"sshHosts": ["your-ssh-host"]
}2. 工具栏挂载修复与安全边界加固
- 修复
core/runtime/50-telemetry-ui.js在存在[data-testid=idle-status-text]后台任务按钮时,每轮回复统计徽标.ag-turn-metrics误挂载到按钮内部的问题(#3)。 - 补充
synthesizeCheckpointPayload4 MiB 上限保护、远端 protobuf 边界检查、SQLite URI 路径转义与显式连接关闭,同步更新user/config.json、README.md、SKILL.md及单元测试(共 28 个核心模块、31 项node:test测试)。
升级与安装 / Upgrade & Install
已安装老版本的用户拉取最新代码后重新执行安装即可(user/ 下的个人配置与自定义词典会自动保留):
git pull
node install.mjs install
node --disable-warning=ExperimentalWarning install.mjs doctorEnglish Summary
- Opt-In SSH Remote In-Memory Telemetry (#3 by @xiaoxiami-zyx): Added
core/daemon/ssh-remote.mjs(modules.sshRemote: falseby default, explicitsshHostsallowlist). Reads remote SQLite conversation DBs oversshvia read-onlypython3(mode=ro), strips all prompt/response/checkpoint text remotely, and feeds compact numeric/status metadata into an in-memory virtual DB adapter with zeroscpand zero local.dbcopies. - Toolbar Badge Mount Fix & Hardening: Fixed
.ag-turn-metricsmounting when a[data-testid=idle-status-text]button precedes the toolbar action row (50-telemetry-ui.js), added upper-bound/URI/close guards for the remote extractor, and updated default config, docs, manifest (28core modules), and unit tests (31passing).
Full Changelog: v1.2.0...v1.2.1
v1.2.0
更新摘要 / Highlights
1. 右侧「旁路提问(Side Question)」面板实时监控
- 旁路提问(Side Question)面板现已同步支持底部状态灯、实时用量摘要、一/二级展开面板,以及每轮回复末尾统计与
80ms悬浮详情卡。 - 重构
core/daemon/cdp-bridge.mjs与前端面板状态机(50-telemetry-ui.js/30-antigravity-probe.js),支持同一窗口内同时追踪主对话与旁路对话的多个cascadeId,数据缓存、流式进度探测与悬浮弹窗归属完全隔离,互不干扰。
2. Antigravity 2.34.0 适配与 1,900+ 中文词条
- 完整适配 Google Antigravity
2.34.0(支持范围覆盖2.30.x~2.34.0+)。 - 内置中文词典扩充至
1,900+条,补齐2.34.0新增界面:- Orchestrator 设置(主控模型 / 执行模型说明)
- 沙箱模式、工具权限、文件/网络访问规则与精细化 GitHub 权限控制
- 内置浏览器 Cookie/历史清理、VS Code 与 Antigravity 快捷键配置
- 对话列表分组过滤(空闲对话 / 自动化对话 / 插件对话)与实验功能说明
- 旁路提问操作项(提升为独立会话、停止旁路提问)及
Started from / during "..."动态句式匹配
3. 交互细节修复与三端实机验证
- 悬浮详情卡单行防折行:扩大
#ag-turn-metrics-tooltip最大宽度至560px,为上下文占比、思考/正文拆分、新增/写缓存/读缓存与速度耗时增加nowrap保护,解决大数值下折行错位问题。 - 三端桌面实机验证:完成 macOS / Windows / Linux 桌面端安装、实时注入与卸载还原实机验证(Antigravity
2.31.0~2.34.0)。 - 文档与展示更新:重构 README 首页布局,嵌入实机演示视频并刷新状态灯与自适应布局截图。
升级与安装 / Upgrade & Install
已安装老版本的用户拉取最新代码后重新执行安装即可(user/ 下的个人配置与自定义词典会自动保留):
git pull
node install.mjs install
node --disable-warning=ExperimentalWarning install.mjs doctor按需只启用部分模块示例(支持 theme / i18n / metrics / fixes 自由组合):
node install.mjs install --only i18n,metricsEnglish Summary
- Side Question Pane Telemetry: Added full live status bar, expandable L1/L2 usage panels, and per-turn hover breakdown cards to Antigravity's Side Question pane via multi-session CDP tracking (
cdp-bridge.mjs) and pane-scoped runtime probes. - Antigravity
2.34.0&1,900+i18n Entries: Added localization coverage for2.34.0screens including Orchestrator Settings, sandbox/tool/GitHub permission policies, browser data settings, conversation status filters, and Side Question actions (plus dynamicStarted from / during "..."matching). - Turn Hover Card Layout Fix: Widened hover breakdown cards (
560px) withwhite-space: nowrapsegments to keep large token/cache counts cleanly aligned on a single line. - Cross-Platform Desktop Verification: Verified install, live injection, and clean uninstall across macOS, Windows, and Linux desktops (
Antigravity 2.31.0 – 2.34.0,Node.js >= 22.13.0), plus refreshed README visuals and demo video.
Full Changelog: v1.1.0...v1.2.0
v1.1.0
本次更新
- 适配 Antigravity 2.33.0:针对新版调试端口的启动方式,更新了 macOS、Windows 和 Linux 的启动配置。macOS 下保留单一应用图标,启动适配不会打断正在运行的会话。
- 简体中文词条扩充至 1,860 余条:覆盖设置、模型选择、权限提示和工具状态等界面。支持自定义译文,修改后自动生效。
- 优化尾部统计栏:优化尾部统计栏悬停触发逻辑,优化显示排列。
安装与兼容性
需要 Node.js 22.13.0 或更高版本。实测覆盖 Antigravity 2.31.0、2.32.1 和 2.33.0。