fix: filesystem empty path validation and terminal timeout defaults
filesystem:
- Reject empty string paths in _check_path to prevent writing to cwd
- Clear error message when 'write' action uses 'destination' instead of 'path'

terminal:
- Reduce default timeout from 300s to 20s
- Clamp user-provided timeout between 1 and 300s
- Update parameter description to mention max and common use-cases

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 457b4cc commit df3857975305db7719d6e93ff3b9fcc60df2da92
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 15 May
Showing 2 changed files
View
navi/tools/filesystem.py
View
navi/tools/terminal.py