Hrida Terminal Release Notes
The current version of Hrida Terminal is 1.0.0, released 2026-06-05. All products and their versions: Product Versions.
| Current Version | Released | Install | Source |
|---|---|---|---|
| 1.0.0 | 2026-06-05 | ghcr.io/hrida-ai/hrida-terminal | hrida-terminal/CHANGELOG.md |
Next Release
Not released yet.
Added
hrida-dbclient (hrida_dbpackage, installed in the image) for querying Hrida Studio data sources by name:hrida-db sources|tables|describe|query, andhrida_db.connect(name).query(sql)for a pandas DataFrame. It uses a short-lived session token that Studio writes to~/.hrida/db_token, and sends queries through Studio's data-source gateway, so no database password is ever on the terminal.PUT /hrida/db-token(hidden from the OpenAPI tools): lets Studio write the token file for the requesting user, readable by that user only.
Security
- API key kept out of child processes. The server's own API key (
HRIDA_TERMINAL_API_KEY,…_FILE) is no longer passed to commands, interactive shells or notebook kernels. Before, a command could read it withenvand call this API directly. - The egress allowlist works.
HRIDA_TERMINAL_ALLOWED_DOMAINSdropped all port-53 traffic, dnsmasq's own queries to the upstream resolver included. So no allowed domain ever resolved, and every connection was refused. Only dnsmasq's user may now reach the upstream resolver (iptables owner match). Fixed in both the full and the slim/alpine entrypoints. - No database credentials in the compose file. The commented
DB_HOST…DB_PASSpassthrough is gone fromdocker-compose-terminal-prod.yaml, because any variable there is readable by the model. Seedocs/production-setup.md, section 14.
Fixed
- The slim and alpine images start with the egress allowlist on. The entrypoint handed
gosutocapshas a script ("cannot execute binary file"), so the server never started. - The slim and alpine images start from a Windows checkout. CRLF line endings broke the entrypoint's shebang ("exec /app/entrypoint-slim.sh failed: No such file or directory"); the build now strips them, as the full image's does.
- The slim and alpine images work in the user's home. The server ran from
/app, which the session user can't write. So in single-user mode every relative path from the model, the files API or commands failed.
1.0.0
Released 2026-06-05.
Added
- Initial release of hrida Terminal — a lightweight, self-hosted terminal API that gives AI agents and automation tools a dedicated environment to run commands, manage files, and execute code.
- Background command execution with async process tracking, supporting shell features like pipes, chaining, and redirections.
- Bearer token authentication via
HRIDA_TERMINAL_API_KEYenvironment variable with auto-generated key fallback. - Interactive terminal sessions — full PTY-based terminal accessible via WebSocket (
POST /api/terminals,WS /api/terminals/{id}). - File operations — read, write, list, delete, move, mkdir, upload, download, glob search, and grep search.
- PDF and document text extraction in
read_file—.pdf,.docx,.xlsx,.pptx,.rtf,.odt,.ods,.odp,.epub,.eml, and.xlsare automatically converted to text for LLM consumption. - Path-based file serving (
GET /files/serve/{path}) — enables HTML files in iframes to resolve relative CSS, JS, and image references. - Notebook execution (
/notebooks) — multi-session Jupyter notebook execution with per-cell results and rich output. - MCP server mode (
hrida-terminal mcp) — exposes all endpoints as MCP tools. Install withpip install hrida-terminal[mcp]. - Port detection (
GET /ports) — discovers TCP ports listening from processes started via the terminal. - Port proxy (
/proxy/{port}/{path}) — reverse-proxies HTTP requests to services running inside the terminal environment. - Multi-user mode (
HRIDA_TERMINAL_MULTI_USER=true) — per-user OS accounts with Unix permission isolation inside a single container. ReadsX-User-Idheader from the hrida-ai-studio proxy. - Network egress filtering — restrict outbound domains via
HRIDA_TERMINAL_ALLOWED_DOMAINS. Supports wildcards; empty string blocks all traffic. - System prompt endpoint (
GET /system) — returns a structured system prompt grounding the LLM in the runtime environment. - Config file support — load settings from
/etc/hrida-terminal/config.toml(system) or~/.config/hrida-terminal/config.toml(user). - Docker secrets support —
HRIDA_TERMINAL_API_KEY_FILEloads the API key from a mounted secret file. - Session-aware working directory — per-session
cwdkeyed byX-Session-Idheader; multiple concurrent chat sessions maintain independent working directories. - Windows PTY support — terminal sessions and command execution work on Windows via
pywinpty(ConPTY). - Health check endpoint at
/health. - CORS enabled by default; configurable via
HRIDA_TERMINAL_CORS_ALLOWED_ORIGINS.
Configuration
| Variable | Description | Default |
|---|---|---|
HRIDA_TERMINAL_API_KEY | Bearer API key | auto-generated |
HRIDA_TERMINAL_CORS_ALLOWED_ORIGINS | Allowed CORS origins | * |
HRIDA_TERMINAL_LOG_DIR | Log directory | ~/.local/state/hrida-terminal/logs |
HRIDA_TERMINAL_MULTI_USER | Enable per-user isolation | false |
HRIDA_TERMINAL_ENABLE_TERMINAL | Enable interactive terminal | true |
HRIDA_TERMINAL_ENABLE_NOTEBOOKS | Enable notebook execution | true |
HRIDA_TERMINAL_ENABLE_SYSTEM_PROMPT | Enable /system endpoint | true |
HRIDA_TERMINAL_EXECUTE_TIMEOUT | Default command timeout (seconds) | unset |
HRIDA_TERMINAL_MAX_SESSIONS | Max concurrent terminal sessions | 16 |
HRIDA_TERMINAL_ALLOWED_DOMAINS | Egress domain whitelist | unset (full access) |
HRIDA_TERMINAL_PACKAGES | apt packages to install at startup | — |
HRIDA_TERMINAL_PIP_PACKAGES | pip packages to install at startup | — |
HRIDA_TERMINAL_NPM_PACKAGES | npm packages to install at startup | — |