Commit Graph
41 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek af417e5faa refac 2026-02-25 19:44:18 -06:00
Timothy Jaeryang Baek ad2d12ec8a refac 2026-02-25 17:24:52 -06:00
Timothy Jaeryang Baek 616125998d refac 2026-02-25 16:20:15 -06:00
Timothy Jaeryang Baek a543dca5ab refac 2026-02-25 16:07:34 -06:00
Timothy Jaeryang Baek de6d93c86d refac 2026-02-25 15:34:17 -06:00
Timothy Jaeryang Baek eced3e04c7 refac 2026-02-24 22:10:12 -06:00
Timothy Jaeryang Baek 87fc0c4b3f refac 2026-02-24 22:03:44 -06:00
Timothy Jaeryang Baek 6c08563b56 refactor: read_file returns raw binary for supported types, rejects others
- 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
2026-02-24 18:49:47 -06:00
Timothy Jaeryang Baek 5213b67814 fix: handle OSError gracefully across file endpoints, bump to v0.2.5 2026-02-23 18:26:36 -06:00
Timothy Jaeryang Baek 6797a5e86e fix: handle permission errors gracefully, add entrypoint for volume ownership 2026-02-23 18:24:34 -06:00
Timothy Jaeryang Baek e88b16c14d refac 2026-02-19 15:00:02 -06:00
Timothy Jaeryang Baek 3ba359d55e refac 2026-02-19 14:57:37 -06:00
Timothy Jaeryang Baek 13bcd6ab46 refac 2026-02-19 14:41:05 -06:00
Timothy Jaeryang Baek c51cffb590 refac 2026-02-17 19:05:25 -06:00
Timothy Jaeryang Baek edbaf27df7 v0.2.3: optional MCP server mode via open-terminal mcp 2026-02-15 17:02:52 -06:00
Timothy Jaeryang Baek df0b7c3ce4 refac 2026-02-15 16:39:12 -06:00
Timothy Jaeryang Baek 80a9ce0867 refac 2026-02-15 16:38:14 -06:00
Timothy Jaeryang Baek 5f16b797cb refac 2026-02-15 15:43:27 -06:00
Timothy Jaeryang Baek 9908a25426 refac 2026-02-14 19:36:16 -06:00
Timothy Jaeryang Baek dd5649b696 v0.2.1: file-backed process output with offset-based polling
- 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)
2026-02-14 19:35:20 -06:00
Timothy Jaeryang Baek 736d3bf2d5 feat: add GET /files/search endpoint for structured grep-like search
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.
2026-02-14 19:06:39 -06:00
Timothy Jaeryang Baek ab212aaa9e feat: add explicit operation_id to all API endpoints
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.
2026-02-14 19:00:59 -06:00
Timothy Jaeryang Baek e223dc0d17 doc: changelog 2026-02-14 18:48:57 -06:00
Timothy Jaeryang Baek 8c17fb2fa9 refac 2026-02-14 18:43:29 -06:00
Timothy Jaeryang Baek 7747f76b0e refac 2026-02-14 18:40:57 -06:00
Timothy Jaeryang Baek 0a8af6d51a refac 2026-02-14 18:36:56 -06:00
Timothy Jaeryang Baek 2d153a3cc8 refac 2026-02-14 18:35:12 -06:00
Timothy Jaeryang Baek af21be471c refac 2026-02-14 17:05:15 -06:00
Timothy Jaeryang Baek 1f6c363381 refac 2026-02-14 16:35:59 -06:00
Timothy Jaeryang Baek cca648f340 refac 2026-02-12 14:56:28 -06:00
Timothy Jaeryang Baek a2f5f2e011 refac 2026-02-12 14:47:36 -06:00
Timothy Jaeryang Baek c448c55d14 refac 2026-02-12 14:43:33 -06:00
Timothy Jaeryang Baek a6df118dfd refac 2026-02-12 14:29:31 -06:00
Timothy Jaeryang Baek bf00a389f1 refac 2026-02-12 14:24:46 -06:00
Timothy Jaeryang Baek 4a98745671 refac 2026-02-12 14:06:50 -06:00
Timothy Jaeryang Baek 65c5dfa79b refac 2026-02-12 14:00:02 -06:00
Timothy Jaeryang Baek fa7122291a refac 2026-02-12 13:58:10 -06:00
Timothy Jaeryang Baek d044201f83 refac 2026-02-12 13:54:22 -06:00
Timothy Jaeryang Baek a5afb18b34 refac 2026-02-12 13:50:41 -06:00
Timothy Jaeryang Baek 3103f34ee7 refac 2026-02-12 13:45:59 -06:00
Timothy Jaeryang Baek 3f7c544835 init 2026-02-12 13:10:52 -06:00