Skip to content

v0.2.6 — Runtime Safety Hardening, T3 Code ACP Sync, Multi-Surface Benchmark & New Logo/Diagrams

Choose a tag to compare

@INK-Q INK-Q released this 21 Nov 07:00
· 17 commits to main since this release

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 both batch_search and SessionStart snapshots (-c core.fsmonitor=false -c diff.external= -c gpg*.program=false, --no-ext-diff --no-textconv for diff/log/show/shortlog, --no-textconv for blame, blocking --ext*/--textc* prefixes); restores --merged/--no-merged/--contains/--no-contains/--points-at and tag -n while blocking dash-prefixed tokens (including --) after commit-filter flags and keeping tag -v/--verify disabled; adds offline -n and URL/path rejection to remote show, and default HEAD to shortlog.
  • MCP framing, SessionStart lifecycle & UTF-8 / UTF-16 surrogate safety: Fixes mixed \n\n / \r\n\r\n Content-Length framing, strictly anchors Content-Length headers with latin1 decoding and a 64 MiB frame cap, rejects {} with -32600, normalizes stringified JSON object params.arguments; bounds SessionStart stdin to 256 KB, releases open stdin cleanly (pause() + unref() + no-op error listener), enforces <= 1,500 UTF-8 bytes across snapshot + updateNotice, and adds surrogate-safe slicing (sliceSafeChars) plus Number.isFinite byte-budget guards.
  • apply_edits, EOL detection & auto-updater reliability: Protects dangling symlinks on create (with rollback restore and unlink before rename-fallback writes), deduplicates symlinked parent directories, validates verify upfront, uses majority EOL detection; fixes main-channel downgrade/overwrite guards, writes plugin.json last in atomic swaps with finally temp cleanup, fetches git-clone updates from verified local staging (no remote TOCTOU), protects dev-source even with --force, and reclaims dead-PID locks (ESRCH).

Added & Improved

  • Auto-sync global installs to T3 Code ACP & isolated GEMINI_HOME profiles (#7): install / update / doctor / uninstall automatically discover and sync ~/.t3/userdata/providers/antigravity/*/ and GEMINI_HOME profiles while keeping profile config.json untouched and enforcing ownership guards (--no-acp to opt out).
  • Search, outliners & multi-surface benchmark accuracy (#7): Fixes single-file truncation reporting, cross-file contextLines, Node fallback multi-batch continuation past perFileCap, and phantom EOF ^$ matches; improves TSX/TS (JSX </Tag> & scoped self-closing /> without breaking />/g regexes, multiline templates), Python (.pyi & multiline signatures), Rust, Go, and Shell outliners; expands benchmark --local across Desktop 2.0, CLI, IDE, T3 Code ACP, GEMINI_HOME, and ANTIGRAVITY_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 帧上限、SessionStart 256 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