Patchloom

Patchloom·Patchloom.Patchloom

Structured file editing CLI for AI agents

Patchloom is a single-binary CLI that gives AI coding agents safe, structured file editing: search and replace, unified diffs, parser-backed JSON/YAML/TOML document ops, markdown section editing, AST-aware renames, multi-file transactions, undo, and an MCP server for tool calls.

winget install --id Patchloom.Patchloom --exact --source winget

Latest 0.37.7·November 5, 2026

Release Notes

Patchloom 0.37.7 Library refusals name the path you passed. undo will not delete an empty directory that sits outside the project. Highlights When append, prepend, create, delete, rename, or replace refuses a file, the error names the path you passed. A relative path stays relative. The file is not changed. undo checks every directory a backup says it created. A path that leaves the project is refused, including .. and a symlink that points outside. Bug fixes

  • A binary append or prepend printed a long absolute path. You passed bin.link. The error now says bin.link. The file is not changed. The kind is still binary (#2723).
  • Create, delete, rename, and replace did the same. Creating keep.txt when it already exists, deleting a directory, renaming onto an existing file, and replacing in a binary file name the path you passed. Creating keep.txt/child.txt when keep.txt is a file names keep.txt. Nothing is written (#2725).
  • undo could delete an empty directory outside the project. A backup created_dirs entry with .., a path outside the workspace, or a symlink that leaves the workspace is refused. A directory the apply created inside the project is still removed (#2725).
  • The Smithery server page linked from the README was missing. The link is the Smithery directory at https://smithery.ai/ (#2725). Numbers ───────┬──────────────────────────────────────────────────────────── Metric │Notes ───────┼──────────────────────────────────────────────────────────── Version│0.37.6 -> 0.37.7 ───────┼──────────────────────────────────────────────────────────── Focus │caller path in library refusals, undo of created directories ───────┴──────────────────────────────────────────────────────────── Upgrading
  • If you matched an absolute path inside an error such as target is a binary file, match the path you passed. The error kind is unchanged.
  • undo of a manifest that names a directory outside the project fails instead of deleting that directory.
  • Install from crates.io, npm, Homebrew, or Scoop after the tag ships. On Windows, Scoop is recommended. winget may need winget source update after Microsoft publishes. Chocolatey can lag while moderation runs. Full changelog patchloom-v0.37.6...patchloom-v0.37.7

Installer type: zip

x64—80B3AAFB32862F660B6F5F00DD656FBF6AD3B9959A6DE1548526D83195AE43A5
arm64—A1796C1636B1D09BF94137997A803078795784397A9430577FAE2B28558837D6

Details

Homepage
https://github.com/patchloom/patchloom
License
MIT
Publisher
Patchloom
Support
https://github.com/patchloom/patchloom/issues
Copyright
Copyright (c) Patchloom contributors
Moniker
patchloom

Tags

aiclideveloper-toolsmcprust

Older versions (8)

0.37.6
x64—04EAC3BEDDA89DC133BB7540F7676CC4938B2A339AEA62F8B34C5488E62484E9
arm64—1225B0BA5514FFE48D90605237B1EFF47D3C9496B24F362E202F901959BF9709
0.37.3
x64—5361FFD69D795F1D344F9A9EA50E0FF34F52B06E0AA872CDC663C8C42C581D1C
arm64—07526E08D0D2F7E8BFF3D1F6923119CAA5BF53C2B44A7D3D0A29F75FF3B157BE
0.37.2
x64—7A0EFCDB836F5B9E5AE76CDB80B3FC240CB22FB860212D93B12C986B98C3F0BE
arm64—36BE84B203D46F9BCEAF6B9968CDC2BACCAA9CFA4710D826401696FB6B398748
0.37.1
x64—5ED64EEB729A433F40D82A46EBB9FDB23EB15FC63CA345EB5895DEDF44407B70
arm64—9D285679D36892B54663765716202371405F349F081A7984FB0A17A144D3CFED
0.33.0
x64—84F2B4F3D90EAF60F057320D0C8135BB157C98CB7FD49A991CDF911CB4B3D88D
arm64—2053D508183858B8A347B3AE2B026F81DB5933BA8319D80308B8CC9B4717D37A
0.32.0
x64—ACDB58832AE65C5E4CF4523E808EE49AFD006525579AD139343AF50F83E0CE5F
arm64—7256A7CC37CED88E5A69A7822B955EE6D11052DD3BA8C45EE1C84D03C6A32E45
0.27.0
x64—D9D7D1A307B2E0CAD4ED4911ECA50662B628FCA46ABB9E5927E9D4C71E35AAED
arm64—7C086B54B65FACAF9328450BCD48A34FAD0BAAF7B7A5B3FDCE2886C5B3531427
0.13.0
x64—B194104E93904C82A9FFD30B5A6F9125B1CA41848B24C63353EC4BD775C332F1
arm64—1E96356A395D74C86EAC9E1EF63617BD2E87F755CB6CD158E97CABC0F1A8DC5D