Skip to main content

Hrida Terminal Release Notes

Every Hrida Terminal release and what changed in it.

The current version of Hrida Terminal is 1.0.0, released 2026-06-05. All products and their versions: Product Versions.

Current VersionReleasedInstallSource
1.0.02026-06-05ghcr.io/hrida-ai/hrida-terminalhrida-terminal/CHANGELOG.md

Next Release​

Not released yet.

Added​

  • hrida-db client (hrida_db package, installed in the image) for querying Hrida Studio data sources by name: hrida-db sources|tables|describe|query, and hrida_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 with env and call this API directly.
  • The egress allowlist works. HRIDA_TERMINAL_ALLOWED_DOMAINS dropped 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_PASS passthrough is gone from docker-compose-terminal-prod.yaml, because any variable there is readable by the model. See docs/production-setup.md, section 14.

Fixed​

  • The slim and alpine images start with the egress allowlist on. The entrypoint handed gosu to capsh as 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_KEY environment 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 .xls are 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 with pip 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. Reads X-User-Id header 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_FILE loads the API key from a mounted secret file.
  • Session-aware working directory — per-session cwd keyed by X-Session-Id header; 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​

VariableDescriptionDefault
HRIDA_TERMINAL_API_KEYBearer API keyauto-generated
HRIDA_TERMINAL_CORS_ALLOWED_ORIGINSAllowed CORS origins*
HRIDA_TERMINAL_LOG_DIRLog directory~/.local/state/hrida-terminal/logs
HRIDA_TERMINAL_MULTI_USEREnable per-user isolationfalse
HRIDA_TERMINAL_ENABLE_TERMINALEnable interactive terminaltrue
HRIDA_TERMINAL_ENABLE_NOTEBOOKSEnable notebook executiontrue
HRIDA_TERMINAL_ENABLE_SYSTEM_PROMPTEnable /system endpointtrue
HRIDA_TERMINAL_EXECUTE_TIMEOUTDefault command timeout (seconds)unset
HRIDA_TERMINAL_MAX_SESSIONSMax concurrent terminal sessions16
HRIDA_TERMINAL_ALLOWED_DOMAINSEgress domain whitelistunset (full access)
HRIDA_TERMINAL_PACKAGESapt packages to install at startup—
HRIDA_TERMINAL_PIP_PACKAGESpip packages to install at startup—
HRIDA_TERMINAL_NPM_PACKAGESnpm packages to install at startup—
Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.