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
- 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)