Skip to content

knewstimek/agent-tool

v0.7.8 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

Published 2mo MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-coding automation claude-code cli codex cross-platform
+13 more
cursor developer-tools dns encoding file-tools go mcp mcp-server mysql redis sftp ssh tls

Summary

AI summary

edit command now normalizes tab depth and enforces line‑boundary matching for indentation

Full changelog

Quick Start

  1. Download the binary for your OS below
  2. Run agent-tool install (or agent-tool install claude)
  3. Restart your IDE
  4. 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_string has the wrong number of leading tabs, agent-tool now automatically tries all depths (0-10) and picks the best unambiguous match. Relative indent change between old_string and new_string is preserved.
  • Pass 1 -- line-boundary matching: When old_string has leading whitespace, it is now required to match at a line boundary (position 0 or immediately after \n). This prevents a shallowly-indented old_string from 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

Track knewstimek/agent-tool

Get notified when new releases ship.

Sign up free

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.

All releases →

Beta — feedback welcome: [email protected]