Triggers on pushes to main when pyproject.toml changes.
Reads the version, checks if a matching tag already exists,
and if not, creates a git tag and GitHub Release with the
changelog section extracted from CHANGELOG.md.
The new tag then triggers the existing Docker workflow to
build and push versioned images.
Closes#15
Change the default LOG_DIR from ~/.open-terminal/logs to
$XDG_STATE_HOME/open-terminal/logs (defaults to
~/.local/state/open-terminal/logs when XDG_STATE_HOME is unset).
The OPEN_TERMINAL_LOG_DIR env var override is unchanged.
Closes#12
Allow loading the API key from a file via OPEN_TERMINAL_API_KEY_FILE,
following the convention used by the official PostgreSQL Docker image.
- Add _resolve_file_env() helper in env.py
- Add file_env shell function in entrypoint.sh
- Add _FILE fallback in cli.py run command
- Update README with Docker Compose example
- Bump version to 0.4.3
Closes#14
- Add MoveRequest model and /files/move endpoint (async, hidden from OpenAPI)
- Uses shutil.move in asyncio.to_thread for non-blocking operation
- Validates source exists, dest parent exists, dest doesn't collide (409)
- Bump version to 0.4.2
- Commands now run under a real PTY by default (PtyRunner), enabling
colored output, interactive programs, and proper isatty() detection
- Falls back to pipe-based execution (PipeRunner) on Windows
- ProcessRunner abstraction in runner.py with create_runner() factory
- Escape sequence conversion in send_process_input for LLM-emitted
literal strings (\n, \x03 for Ctrl-C, etc.)
- Output logged as merged type "output" instead of separate stdout/stderr
Bumped to 0.3.0
- 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.