patchloom 0.11.0

Structured file editing library and CLI for AI agents: parser-backed JSON/YAML/TOML edits, AST-aware code operations, multi-file batching, markdown operations, and MCP server
Documentation
1
2
3
4
5
6
7
8
9
10
11
{
  "version": 1,
  "operations": [
    { "op": "doc.set", "path": "config.json", "selector": "database.port", "value": 5432 },
    { "op": "doc.ensure", "path": "config.json", "selector": "database.pool_size", "value": 10 },
    { "op": "doc.merge", "path": "config.json", "value": { "logging": { "level": "info", "format": "json" } } },
    { "op": "doc.append", "path": "config.json", "selector": "allowed_origins", "value": "https://example.com" },
    { "op": "doc.delete", "path": "config.json", "selector": "deprecated_field" },
    { "op": "doc.delete_where", "path": "config.yaml", "selector": "users", "predicate": "active=false" }
  ]
}