Repository navigation
更新摘要 / 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