21b0fff6c4
- New function commit_file_patch(file_path, commit_message, edits, base_sha=None) - Applies line-range edits on the current file content and commits the result - Preserves original newline style and supports insert/replace/delete via ranges - Prevents committing directly to main and detects stale base via optional base_sha This enables the agent to send only the minimal edits rather than entire files.
The file is empty.