Files
unlimitedcoding/gemini/gemini_patcher.py
delta-cloud-208e 0a3de88e65 fix(gemini): conseca.toml enum value autoEdit, not auto_edit
Gemini v0.35+ accepts only camelCase 'autoEdit' in safety_checker modes
(strict zod schema). Older patcher inserted snake_case 'auto_edit' which
blocks gemini startup with: "Invalid enum value. Expected 'default' |
'autoEdit' | 'yolo' | 'plan', received 'auto_edit'".

Changes:
- conseca.toml writer now emits 'autoEdit'
- self-heal: detect existing 'auto_edit' on disk and rewrite to 'autoEdit'
- settingsSchema.js patcher: accept both 'auto_edit' (v0.32.x) and
  'autoEdit' (v0.35+) source variants

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 10:16:37 +00:00

50 KiB
Executable File