patchloom 0.6.0

Structured file editing library and CLI for AI agents: parser-backed JSON/YAML/TOML edits, AST-aware code operations via tree-sitter, multi-file batching, markdown operations, and MCP server
Documentation
1
2
3
4
5
6
7
8
9
10
11
{
  "version": "1",
  "write_policy": { "ensure_final_newline": true },
  "operations": [
    { "op": "md.replace_section", "path": "CHANGELOG.md", "heading": "## Unreleased", "content": "- Added new feature\n- Fixed bug in parser" },
    { "op": "md.upsert_bullet", "path": "AGENTS.md", "heading": "## Safety rules", "bullet": "- Always run `make check` before committing" },
    { "op": "md.table_append", "path": "README.md", "heading": "## Commands", "row": "| `new-cmd` | Description of the new command |" },
    { "op": "md.dedupe_headings", "path": "AGENTS.md" },
    { "op": "md.move_section", "path": "AGENTS.md", "heading": "## FAQ", "before": "## License" }
  ]
}