atomwrite 0.1.35

Atomic file operations CLI for LLM agents — read, write, edit, search, replace with NDJSON output
Documentation
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "edit-loop output",
  "type": "object",
  "required": ["type"],
  "properties": {
    "type": {
      "const": "result"
    },
    "action": {
      "const": "edit_loop"
    },
    "path": {
      "type": "string"
    },
    "pairs_total": {
      "type": "integer"
    },
    "pairs_applied": {
      "type": "integer"
    },
    "pairs_unmatched": {
      "type": "integer"
    },
    "elapsed_ms": {
      "type": "integer"
    },
    "pair_results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["index", "matched"],
        "properties": {
          "index": {
            "type": "integer"
          },
          "matched": {
            "type": "boolean"
          },
          "old": {
            "type": "string",
            "description": "The old text that was searched for in this pair."
          },
          "new": {
            "type": "string",
            "description": "The new text that would replace the old text."
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}