- Text files: return JSON with content string (unchanged)
- Supported binary types (image/* by default): return raw binary
with proper Content-Type header
- Unsupported binary types: 415 error
- New env var OPEN_TERMINAL_BINARY_MIME_PREFIXES (comma-separated,
default: 'image') controls which binary types are allowed
- Persist all process stdout/stderr to JSONL log files for audit
- Add offset-based polling (next_offset) for stateless incremental reads
- Add tail parameter to bound response size for AI agents
- Remove in-memory output buffer and drain-on-read pattern
- Organize logs under ~/.open-terminal/logs/processes/
- Add aiofiles dependency for async file I/O
- Remove OPEN_TERMINAL_MAX_OUTPUT_LINES (no longer needed)
Returns JSON matches with file paths, line numbers, and content.
Supports regex, case-insensitive search, multiple glob filters,
match_per_line toggle (lines vs filenames), and result capping.
Skips binary files automatically.
Replaces auto-generated illegible operation IDs with clean,
human-readable names for better OpenAPI spec readability by AI agents.
Uses consistent terminology: 'process' for endpoints with {process_id},
'create_' prefix for link-generation endpoints.