This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+13 more
Summary
AI summaryedit command now normalizes tab depth and enforces line‑boundary matching for indentation
Full changelog
Quick Start
- Download the binary for your OS below
- Run
agent-tool install(oragent-tool install claude) - Restart your IDE
- Done -- all tools work immediately, no permission popups
Or just ask your AI agent:
"Download agent-tool from https://github.com/knewstimek/agent-tool/releases/latest and run
agent-tool install"
Any capable AI coding agent (Claude Code, Codex, etc.) can handle the full download -> install -> restart flow automatically.
Tip: Add this to your CLAUDE.md or AGENTS.md so your agent prefers agent-tool over built-in tools:
Strict mode:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools. agent-tool preserves file encoding and respects .editorconfig indentation settings.
Soft mode:
Prefer agent-tool MCP tools (mcp__agent-tool__*) over built-in file tools when available.
What's New
edit: smarter indentation matching
- Pass 6 -- tab depth normalization: When
old_stringhas the wrong number of leading tabs, agent-tool now automatically tries all depths (0-10) and picks the best unambiguous match. Relative indent change betweenold_stringandnew_stringis preserved. - Pass 1 -- line-boundary matching: When
old_stringhas leading whitespace, it is now required to match at a line boundary (position 0 or immediately after\n). This prevents a shallowly-indentedold_stringfrom silently matching as a substring inside a deeper line, which would produce incorrect indentation in multiline replacements. - Better diagnostics: When indentation exists in the file but the tab depth differs, the error message now says "indentation differs -- re-read the file to copy exact indentation" instead of a generic not-found error.
Other fixes
- memtool: VirtualQueryEx errors now include the target PID for easier diagnosis.
- MCP server instructions: agent-tool now surfaces usage tips directly in the MCP server instructions block, so agents see guidance without calling
help. - Codex CLI on Windows (v0.7.8 initial): Wrapped the agent-tool binary registration with
cmd /c "agent-tool.exe 2>NUL"to work around a Codex stderr pipe deadlock bug (knewstimek/agent-tool#codex-workaround).
Full Changelog: https://github.com/knewstimek/agent-tool/compare/v0.7.7...v0.7.8
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About knewstimek/agent-tool
Encoding-aware, indentation-smart file tools for AI coding agents. 20+ tools including read/edit with automatic encoding detection, smart indentation conversion, SSH, SFTP, process management, and system utilities. Preserves file encoding (UTF-8, EUC-KR, Shift_JIS, etc.) and respects .editorconfig settings.
Related context
Beta — feedback welcome: [email protected]