Skip to content

v0.31.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 06:56
· 286 commits to main since this release

Threads, Agents and a leaner CLI

Missions are now Threads, Sentinels are now Agents, and the CLI has 14 commands.

Highlights

  • Threads and Agents: Missions are now Threads and Sentinels are now Agents. The old CLI names still work, and Memory has its name back.
  • A leaner CLI: 14 top-level commands now cover threads, agents, automation, models, skills, memory and plugins, with the old names kept as aliases.
  • Connections that tell the truth: A model shows Key rejected when its key does not work, and a failed message offers a working model to switch to.
  • Run it on a server: An experimental single-node server mode, a Docker image that serves the console, and anonymous usage and crash reports you can turn off.

Added

  • The CLI has 14 top-level commands: web, scan, findings, threads, agents, automation, models, computers, skills, plugin, memory, config, doctor and api. Old command names keep working as hidden aliases with the same behaviour.
  • New CLI groups cover what the console does: threads, agents, automation, findings export and findings keys, skills, memory, config get and config set, computers list, and models with connections and usage.
  • plugin connectors, plugin mcp and plugin github install manage plugin connectors, MCP servers and GitHub installs, and config audit-log reads the audit log.
  • Experimental single-node server mode. 0 web --host 0.0.0.0 --server-mode serves the console behind a TLS proxy. It is off by default and local use is unchanged.
  • Server mode requires sign-in (team accounts, or an access token of 32 or more characters), an explicit --allowed-host list, and --trusted-proxy and --public-url for the proxy.
  • The web console port answers /healthz and /readyz, and a SIGTERM drains running work gracefully (--shutdown-timeout). The audit log records console sign-ins, failed sign-ins, throttling and refused hosts.
  • The Docker image now serves the web console by default, exposes port 48123, has a health check, keeps its state in a /data volume, runs under tini and carries image labels. Release builds also publish vX.Y.Z and X.Y tags.
  • deploy/compose/ holds a single-node Docker Compose file, an .env.example and an optional Caddy profile with automatic HTTPS.
  • The Docker image includes the OpenSSH client, so remote computers can be connected over SSH from a container. 0 computers deploy --ssh now says how to install ssh when it is missing.
  • Anonymous usage and crash reports are on by default in official release builds, with a notice on first run. Usage holds counts only: tool and error counts, findings by severity, turns, time, cost, version, operating system and a random install ID.
  • Reports never hold targets, findings, code, prompts, file paths or error messages. Turn them off with ZERO_NO_TELEMETRY=1, or 0 config set analyticsLevel off and 0 config set diagnosticReporting off, or in Settings, Privacy. See Telemetry.
  • Updating a plugin installed from GitHub says which tools were added, removed or changed. Each tool has its own hash over its name, description, parameters and capabilities, so a changed description is caught too. Plugins installed earlier count as having all tools unreviewed.
  • …and 1 more in the full changelog.

Changed

  • Missions are now Threads and Sentinels are now Agents, in the console, the CLI and the docs. 0 missions and 0 sentinels still work. The Settings page that was called Agents is now Helpers, and "this machine" now says "this computer".
  • Memory has its name back after 0.30.0 renamed it. /memory is the page address again, and /learning redirects to it.
  • Automation templates no longer talk about a separate place to run, and automations run in the current folder.
  • A connection reads Connected only when the provider accepted its key. Connections, Models and Diagnostics show Key rejected or Can't reach with a one-line hint, including for keys set in the environment.
  • Choosing Desktop, Documents, Downloads, iCloud Drive or an external drive on macOS waits for the permission prompt instead of accepting the folder after three seconds.
  • GitHub Releases are now titled with the bare tag, for example v0.31.0.

Removed

  • The Suggestions view in Memory and the Learning section on the Automation page are gone. Memory lists saved memory only.

Fixed

  • Pull request Agents now skip fork and draft pull requests by default and record a skipped activation with the reason, instead of reviewing them. A pull request marked ready for review is reviewed once. Closed and merged pull requests are ignored.
  • New threads and Home no longer default to a model from a provider whose key was rejected, and a remembered choice from one is skipped.
  • An empty thread no longer keeps a model its provider stopped listing. It switches to a usable model and the model button matches. A thread with history says the model is no longer available and waits until you pick another.
  • A message that fails with a rejected key names the provider and model and offers Switch to a working model, which resends the message, and Manage connection. Ask 0 to get started shows Connect a model to get started when no model works.
  • macOS privacy blocks on protected folders are explained: the picker names the app to allow and offers Open Privacy settings.
  • Folder fixes: the chooser no longer opens for a browser on another computer or without a desktop session, closing the popover closes the chooser, and a switch to a symlinked, differently cased or decomposed-unicode path no longer waits 8 seconds.
  • Home shows its composer at once, loading shows a thread-shaped skeleton, and loads no longer stick or flicker.
  • A browser tab left open across an update reloads itself once instead of showing "Something went wrong".

Security

  • Plugin updates report per-tool changes, so a tool whose description changed is visible when you review the update (#367).

Install

curl -fsSL https://raw.githubusercontent.com/0sec-labs/0security/main/install.sh | bash
0 --version

Windows (experimental): download 0-windows-x64.exe below. Docker: docker run --rm ghcr.io/0sec-labs/0security:latest --help.

Verify downloads against the attached checksums.txt (SHA-256), for example sha256sum -c checksums.txt --ignore-missing.

Full changelog: https://github.com/0sec-labs/0security/blob/v0.31.0/docs/CHANGELOG.md