Repository navigation
v0.2.6 — Runtime Safety Hardening, T3 Code ACP Sync, Multi-Surface Benchmark & New Logo/Diagrams
What's Changed in v0.2.6
Security & Runtime Hardening (#7, thanks @hzhe0083-source)
- Untrusted
.git/config& read-only Git sandbox hardening: Neutralizes untrusted repo config execution across bothbatch_searchandSessionStartsnapshots (-c core.fsmonitor=false -c diff.external= -c gpg*.program=false,--no-ext-diff --no-textconvfordiff/log/show/shortlog,--no-textconvforblame, blocking--ext*/--textc*prefixes); restores--merged/--no-merged/--contains/--no-contains/--points-atandtag -nwhile blocking dash-prefixed tokens (including--) after commit-filter flags and keepingtag -v/--verifydisabled; adds offline-nand URL/path rejection toremote show, and defaultHEADtoshortlog. - MCP framing,
SessionStartlifecycle & UTF-8 / UTF-16 surrogate safety: Fixes mixed\n\n/\r\n\r\nContent-Lengthframing, strictly anchorsContent-Lengthheaders withlatin1decoding and a 64 MiB frame cap, rejects{}with-32600, normalizes stringified JSON objectparams.arguments; boundsSessionStartstdin to 256 KB, releases open stdin cleanly (pause()+unref()+ no-op error listener), enforces<= 1,500UTF-8 bytes acrosssnapshot + updateNotice, and adds surrogate-safe slicing (sliceSafeChars) plusNumber.isFinitebyte-budget guards. apply_edits, EOL detection & auto-updater reliability: Protects dangling symlinks oncreate(with rollback restore and unlink before rename-fallback writes), deduplicates symlinked parent directories, validatesverifyupfront, uses majority EOL detection; fixesmain-channel downgrade/overwrite guards, writesplugin.jsonlast in atomic swaps withfinallytemp cleanup, fetchesgit-cloneupdates from verified local staging (no remote TOCTOU), protectsdev-sourceeven with--force, and reclaims dead-PID locks (ESRCH).
Added & Improved
- Auto-sync global installs to T3 Code ACP & isolated
GEMINI_HOMEprofiles (#7):install/update/doctor/uninstallautomatically discover and sync~/.t3/userdata/providers/antigravity/*/andGEMINI_HOMEprofiles while keeping profileconfig.jsonuntouched and enforcing ownership guards (--no-acpto opt out). - Search, outliners & multi-surface benchmark accuracy (#7): Fixes single-file truncation reporting, cross-file
contextLines, Node fallback multi-batch continuation pastperFileCap, and phantom EOF^$matches; improves TSX/TS (JSX</Tag>& scoped self-closing/>without breaking/>/gregexes, multiline templates), Python (.pyi& multiline signatures), Rust, Go, and Shell outliners; expandsbenchmark --localacross Desktop 2.0, CLI, IDE, T3 Code ACP,GEMINI_HOME, andANTIGRAVITY_APP_DATA_DIR, preserving coordinator/worker/snapshot identity across--since. - Redesigned geometric logo & dual-theme SVG architecture diagrams (#6, thanks
@GoodCoder666): Updated to a flat two-tone geometric "A" mark with light/dark theme switching (assets/logo-{light,dark}.svg) and custom light/dark English & Chinese SVG architecture diagrams (assets/architecture-*.svg).
简体中文摘要(v0.2.6)
- 不可信
.git/config与只读 Git 沙箱全面加固(#7,感谢@hzhe0083-source):为batch_search与SessionStart统一注入-c core.fsmonitor=false -c diff.external= -c gpg*.program=false及--no-ext-diff/--no-textconv;恢复branch/tag过滤参数并封堵紧跟--的选项解析绕过;保持禁用tag -v/--verify;remote show离线注入-n并拒绝 URL/路径,shortlog默认HEAD。 - 全局安装自动同步 T3 Code ACP 与隔离
GEMINI_HOME(#7):install/update/doctor/uninstall自动同步~/.t3/userdata/providers/antigravity/*/与GEMINI_HOME配置(支持--no-acp关闭,不触碰config.json)。 - MCP、SessionStart、UTF-8/代理对安全与全面修复(#7):严格行锚定
Content-Length与 64 MiB 帧上限、SessionStart256 KB 限流与 1500B UTF-8 预算、零孤立代理对、apply_edits悬空符号链接与多数行尾保护、自动更新器防降级/末位plugin.json/本地 staging 防 TOCTOU/死 PID 锁回收、Node 回退多批次与多语言大纲修复,以及多端--local基准发现与--since身份保持。 - 全新几何 Logo 与双主题 SVG 架构图(#6,感谢
@GoodCoder666):明暗双主题几何 "A" Logo 与中英文双主题定制 SVG 架构图。
Full Changelog: v0.2.5...v0.2.6