ollie/tools
Levi Neely 8ca905799b fix: error handling, sandbox env, file tool enforcement
- tools/file_*: hard-fail when OLLIE_SESSION_ID is unset; surface errors
  on all failure paths including dir checks, marker cleanup, and I/O
- tools/file_read: treat nonexistent path as new file (emit "(new file)",
  write empty marker) so file_write can create new files
- tools/file_write: colorize new-file lines with + (U+FF0B)
- tools/file_glob, file_grep, memory_*, task_*: consistent error handling
  and output to stdout so the model sees all failures
- tui/diffcolor.go: match +/− (U+FF0B/U+2212) lookalikes emitted by
  file_edit/file_write; fix +++ / --- header pattern
- prompts: prohibit execute_code for file creation/modification;
  enforce execute_tool with file_write/file_edit instead
- core submodule: surface isError from MCP responses; inject
  OLLIE_SESSION_ID into execute server at session creation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 22:52:10 +02:00
..
file_edit fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
file_glob fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
file_grep fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
file_read fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
file_write fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
memory_recall fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
memory_remember fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
reasoning_think tools: clear usage messages on all tools when called with no/bad args 2026-04-14 18:21:35 +02:00
task_complete fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00
task_plan fix: error handling, sandbox env, file tool enforcement 2026-04-14 22:52:10 +02:00