Skip to content

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 08 Nov 09:51
· 341 commits to main since this release
72d826e

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

0.5.4 - 2026-11-08

Added

  • Parallel tool calls: compatible calls in one model response now run concurrently, with file-footprint conflict detection and hooks able to keep a segment sequential. agents.defaults.max_parallel_tool_calls controls the cap (default 4; 0 or 1 restores the previous sequential behavior).
  • Bounded agent memory: agents.defaults.memory settings for MEMORY.md, USER.md and daily notes, plus a memory tool with add, replace and remove actions. Defaults are 2,200 characters for MEMORY.md, 1,375 for USER.md and three recent daily notes capped at 1,000 characters each; memory is injected as a per-session snapshot so writes no longer invalidate the cached system prompt.
  • V4A patch support in edit_file through the optional patch argument, including Begin/End Patch wrappers, *** End of File anchors, whitespace-tolerant context matching and preservation of CRLF and mixed line endings. Add, delete, move and multi-file sections are rejected because edit_file targets one existing file.
  • Background exec completion notifications and pageable, non-destructive session output: notify=true, poll, read with offset/limit, wait, kill, and a 30-minute retention window after exit with exit status and time. Silent poll/wait checks auto-arm the same notification after two checks.
  • Token usage on agent.llm.response events (input, output and total) and in runtime event logs.
  • Sandbox boundary prompt for isolated subprocesses, with root and scratch writability derived from the effective mount rules. macOS Seatbelt reports its writable root accurately and rejects read-only expose_paths under it during preflight.
  • Automatic Anthropic prompt caching via a top-level cache_control marker, with cache-read and cache-creation tokens folded into usage counters.
  • /new as an alias for /clear, and /help <command> for focused usage, aliases and subcommand descriptions.
  • Numbered /list models output and index-based /switch model; exact names, unambiguous case-insensitive prefixes and the legacy to <name> form keep working, a bare /switch model prints the numbered list, and duplicate model_name entries collapse to one index.
  • OpenRouter provider_sort (price, throughput, latency) in model configuration, validated at load time and exposed in the web UI; an explicit extra_body.provider.sort keeps precedence.
  • Configurable artifact retention via tools.artifact_max_files (default 128) and tools.artifact_max_age_hours (default 24), applied process-wide to tool-result, MCP and exec spill directories; non-positive values disable the corresponding bound.
  • Per-turn usage reports the number of LLM requests and the prompt size of the last call, surfaced in the Web UI usage tooltip alongside the aggregate totals.
  • Web UI: split chat with live sessions, resizable layouts, a resizable sidebar and file preview panel, persisted uploads, syntax-highlighted previews, compact tool feedback and running/unread session indicators.
  • Web UI: conversation search in the sidebar, a slash-command palette in the composer and a Cmd/Ctrl+K command palette for sessions, models, pages and commands.
  • Web UI: stop generation, steering follow-ups queued above the composer and sent automatically when the turn finishes unless steered first, per-message token usage and estimated cost, session deletion confirmation, and log search, download, tail pause and virtualization.
  • Web UI: installable MCP server catalog with 22 presets and consolidated MCP settings; a Subagents page for roster, allowlists, model overrides, tool switches, runtime limits and live status; a complete tool catalog; and a dedicated Cron page with run-now, pause/resume, delete, refresh and run history.
  • Web UI: voice messages in Pico chat through MediaRecorder, with a 15 MB cap, a 5-minute auto-send limit and secure-context guidance.
  • Web UI: saving model settings now triggers an in-process gateway reload and waits for the new /reload/status endpoint; failed reloads keep the persisted config and the restart-required banner, and a stopped gateway is a no-op.

Changed

  • Cross-platform CI builds now run as a 10-target matrix with per-target Go caches; make build-target TARGET=<goos>/<goarch> builds a single target, the duplicate linux-armv7 entry is gone and -v is no longer forced in GOFLAGS.
  • exec merges stdout and stderr into one ordered stream and bounds foreground output with a head/tail window, spilling the full output to a workspace artifact capped at 5,000,000 bytes; background runs no longer deadlock on a full stderr pipe.
  • MEMORY.md and USER.md are reserved for the memory tool while memory is enabled: write_file, edit_file and append_file refuse to modify them and point the agent at the memory tool.
  • SeaHorse ingests message batches in a single transaction per chunk (up to 200 messages), bounding the write lock while keeping each chunk atomic; a 10-message ingest is about 57% faster.
  • Content search uses a literal fast path (strings.Index for fully literal patterns and strings.Contains prefiltering), compiles the matcher once per query and builds result rows without fmt.Sprintf.
  • Self-evolution's three LLM parsers share a single JSON extractor.
  • Documentation: the README landing page was refreshed with a new hero, Discord banner and feature grid; the intro was streamlined, legacy vendor references removed and the Chinese project README rewritten from the current English source. The Web UI, MCP, configuration and gateway API guides were updated with the new pages, settings and endpoints.
  • Documentation: GitHub Pages now gets per-page titles and descriptions, a sitemap, robots.txt, reciprocal hreflang pairs and a custom 404; maintenance status, fork migration and repository-file links were added or fixed.
  • MCP integration and discovery controls moved from the Config page to a Settings tab on the MCP page.
  • Web UI chat layout and behavior were refreshed: typography, colors, composer height, scrolling fade, faster split switching and active-split highlighting; assistant activity stays visible by default, tool feedback no longer repeats prompts and the Chat group sits above session history.
  • Frontend unit tests run with Vitest in CI, alongside the existing Go tests.
  • CI installs golangci-lint through the Go module proxy to avoid flaky release downloads.
  • Dependencies updated: openai-go v3.90.0, slack-go v0.33.0, aws-sdk-go-v2/config v1.33.13, modernc.org/sqlite v1.61.1, pion/rtp v1.10.6, azidentity v1.15.0, i18next v26.5.12, react-i18next v17.1.9, i18next-browser-languagedetector v8.2.3, @tabler/icons-react v3.50.0 and typescript-eslint v8.72.1.

Removed

  • Web UI locales Portuguese (Brazil), Bengali (India) and Czech.
  • French, Indonesian, Italian, Japanese, Korean, Malay, Portuguese and Vietnamese translations of the project and channel READMEs.
  • The Web UI assistant detail-visibility preference; assistant activity is now visible by default.

Fixed

  • Providers: temperature is omitted for Claude 5/5.5 thinking models across the Anthropic SDK, Anthropic Messages, OpenAI-compatible and Bedrock paths; Anthropic probes use native headers and local endpoints use TCP checks.
  • Anthropic billing and spend-limit 400 responses are classified as retriable; ambiguous out-of-extra-usage bodies keep the fallback chain running with the standard cooldown instead of the billing bench.
  • Gateway startup is no longer blocked by an unreachable default model when a configured, allowed and credentialed fallback is healthy.
  • Fallback entries that no longer resolve to a model_list alias or provider template are skipped and logged once instead of failing as a misleading openai/<model> candidate.
  • Failed reloads keep the previous approval hooks mounted: new hooks are built before live state is replaced, timeouts are applied only after a successful swap and reload resources are released on failure.
  • Async tool completions carry the originating session key and agent ID, so background results return to their own conversation instead of the default main session.
  • Aborted parallel tool segments close every unfinished call with a skipped event and a "No result recorded" tool message; sequential subagent tool calls recover panics like parallel calls.
  • Telegram honors retry_after for text and media retries, classifies 429, server and network failures correctly, skips the plain-text fallback for them and spaces chunks of the same logical message.
  • The exec safety guard handles /dev/null followed by a shell separator, validates every separator-delimited path token, resolves sh through PATH (fixing Termux), resolves workspace symlinks before the containment check and returns a tool error when no shell is found.
  • Image turns fall back to the base model when the routed image model fails; web_fetch data URLs no longer become media attachments; provider error bodies keep up to 2 KB for diagnosis.
  • Web search snippets collapse repeated blank lines while preserving single line breaks, tabs, indentation, lists, code and tables.
  • NVIDIA model IDs keep their nvidia/ namespace, and opencode-go/ prefixes are stripped only for the opencode-go provider.
  • Compaction protects the active turn from summarization, keeps recent context in fallback summaries and excludes provider-stripped reasoning content from token estimates.
  • Web UI: pinned react-dom to React 19.3.1 to fix a blank login page, restored the mobile conversation list, stopped truncating slash-command suggestions, made long cron messages expandable and marked only final responses unread.
  • Web UI: chat history is refetched and merged after WebSocket reconnects, session deletion asks for confirmation and surfaces failures, and markdown links open in a new tab.
  • Web UI: Pico forwards media-only messages when no workspace is configured, ClawHub owner references resolve for URLs and installs, and non-streaming Pico replies emit token usage while the agent aggregates usage per turn.
  • Frontend: vulnerable transitive dependencies are patched: minimatch 11.0.4, seroval 1.7.7, systeminformation 5.33.19 and a deepmerge patch rejecting __proto__, constructor and prototype keys.
  • Go dependencies andybalholm/brotli v1.2.7 and klauspost/compress v1.20.2 patch govulncheck advisories.

Released by GoReleaser.