0c3e88ac2f99f9fc5a1e327186240027fe1bd9a8
Auto-detects create vs edit based on whether target_path exists. Edit jobs use unified diff/patch (existing behaviour). Create jobs ask the model to output the complete new file, validated by file type (_validate_output handles .py compile, .html tag check, generic non-empty check). - _resolve_target: handles /opt/sites/ and /opt/stacks/ paths - _CREATOR_SYSTEM + _build_create_prompt + _ask_creator: full-file output - _validate_output: replaces direct _syntax_check calls in the loop - run_coding_loop: branches on mode, stores mode on job dict - approve: mkdir parents for new paths, skip backup if no original - submit_task: initialise mode field as None Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
Local LLM coding agent — unified diff output via Ollama
Languages
Python
99.1%
Dockerfile
0.9%