Skip to content

v0.2.9

Choose a tag to compare

@INK-Q INK-Q released this 22 Nov 13:42
· 119 commits to main since this release

Highlights

New Features & Improvements

  • Water-filling fair inline budgets, unified HTML/Vue/Svelte outliner & green build-log folding (#14, co-authored with @BLACK-BIRTHDAY)
    • Exact water-filling budget allocation (computeWaterFillBudgets) across output-filter, run_checks, and read_slices/quick_outline under the hard ≤8.8 KB UTF-8 inline cap.
    • Unified HTML/Vue/Svelte closed-range tag-stack outliner + breadth-first top-level-first symbol packing across 15 languages/formats.
    • Proactive green build-log folding (tsc, vite, webpack, esbuild, cargo, go build, pytest) and benign zero-count diagnostic tightening.
  • quick_outline, Head-Tail command folding, AGENTS.local.md, snapshot circuit-breaker & Windows PowerShell unwrapping (#16, thanks @757530253)
    • Added eager flat-schema quick_outline({ paths }) tool for fast multi-file symbol mapping.
    • UTF-8/surrogate-safe header-aware Head-Tail folding on failed run_checks commands.
    • Preserves user-owned rules/*.local.md (with trigger: always_on frontmatter checks in doctor) across updates/reinstalls.
    • 2-tier system/home-directory skip list + 250 ms scan circuit-breaker + explicit stdout-flushed exit in SessionStart.
  • read_slices flat lineRanges shorthand (#17, thanks @757530253)
    • Supports concise lineRanges: ["src/server.ts:1-50,120-160"] (plus runtime string shorthand in slices, compatible with Windows drive letters) without introducing oneOf into MCP schemas.
  • Visual demos, security & MCP directory readiness
    • Embedded EN/ZH Before-vs-After demo GIFs & Glama/Stars badges in READMEs, plus SECURITY.md, .github/dependabot.yml, glama.json, and minimal non-root Dockerfile.

Bug Fixes

  • Windows SessionStart hook path mismatch (#17): Replaced CWD-dependent node dist/session-start.mjs in hooks.json with a zero-metacharacter cross-platform node -e loader resolving PLUGIN_ROOT → AGY_PLUGIN_ROOT → . → .agents/plugins/agy-fast → ~/.gemini/config/plugins/agy-fast via pathToFileURL, fixing Cannot find module '<WORKSPACE_ROOT>\dist\session-start.mjs'.
  • Lazy on-demand MCP roots/list handshake isolation (#17): initialize → notifications/initialized → tools/list is now 100% unidirectional (0 server-initiated roots/list frames during startup); roots/list is fetched lazily (1000 ms bound, skipped when an explicit absolute cwd is passed) only when a tools/call needs a default workspace root.
  • Clean Windows MCP process teardown (0xc000013a) (#17): Added Windows SIGBREAK handling, stdin close listener, expanded broken-pipe stdout error exit handling, and a 150 ms .unref() exit failsafe around stdout.end().
  • Security & installer hardening (#12): Blocked git status -v/--verbose and -u textconv bypasses, guarded symlinked HOME directories during install/uninstall, and fixed Windows taskkill spawn crashes.

简体中文摘要(v0.2.9)

  • 公平注水预算、统一 HTML/Vue/Svelte 大纲与绿色构建日志折叠(#14,联合贡献 @BLACK-BIRTHDAY):全面引入 Water-filling 公平预算分配、15 语言广度优先符号打包、HTML/Vue/Svelte 闭合标签栈大纲以及冗长绿色构建日志自动折叠。
  • quick_outline、首尾折叠、AGENTS.local.md 与快照熔断(#16,感谢 @757530253):新增单参数急加载工具 quick_outline({ paths })、失败日志 UTF-8 安全 Head-Tail 首尾折叠、更新自动保留 rules/*.local.md、系统/家目录双层跳过清单与 250 ms 扫描熔断、Windows powershell -Command 白名单解包。
  • 全面修复 Windows 真实工程 4 项实测问题(#17,感谢 @757530253):
    • hooks.json 改用零 Shell 元字符跨平台 node -e 启动器自动定位插件目录,根治 Windows 下 Cannot find module '<WORKSPACE_ROOT>\dist\session-start.mjs' 崩溃;
    • 将 MCP roots/list 改为按需懒加载(启动握手 100% 单向零反向帧,显式绝对路径 cwd 直接跳过,超时上限 1 秒),彻底消除握手期干扰;
    • 补齐 Windows SIGBREAK、stdin close、管道错误退出与 stdout.end 150ms 强退兜底,消除 0xc000013a 退出异常;
    • 为 read_slices 新增扁平 lineRanges 简写(如 "src/server.ts:1-50,120-160",兼容 Windows 盘符)。
  • 安全与生态补齐(#12):封堵 git status -v 旁路、修复软链 HOME 安装保护与 Windows taskkill 异常;新增中英文对比动图、Glama 徽章、SECURITY.md 与 Dockerfile。