Skip to content

1.5.21

Latest

Choose a tag to compare

@haofan haofan released this 01 Dec 07:58
  • Added mouse support to /diff and the full-screen diff opened with f from file-edit confirmation prompts: click tabs, files, commits, lines, or fold dividers, scroll lists and diffs with the wheel or by dragging, and drag across a file diff to select and copy clean code (without line numbers or diff markers) when Copy on Select is enabled. Hold Shift while dragging for native terminal selection.
  • Added support for returning overwriteResult from PostToolUse hooks in hooks.json so hooks can replace or redact tool output before the model sees it, and so Agent Plugins PostToolUse hooks that return additional_context now take effect instead of being stripped.
  • Improved startup and sign-in latency by fetching user profile, model configuration, and account status concurrently and reusing cached account metadata when onboarding is not needed.
  • Improved sign-in reliability by automatically retrying transient network errors right after browser OAuth completes and sharing a single in-flight request across concurrent account-status checks instead of failing sign-in and asking you to authenticate again.
  • Changed skill discovery for versioned skill directories (<package>/<version>/SKILL.md) to load only one version — stable, or the highest SemVer version — instead of loading every version subfolder as a separate skill.
  • Fixed user prompts sent to the agent stripping zero-width non-joiner (U+200C) and zero-width joiner (U+200D) characters, which broke multi-part emoji and words in scripts such as Persian, Urdu, Hindi, and Malayalam.
  • Fixed false symlink loop detected errors on macOS and Linux when resolving non-existent or dangling paths whose target crosses an ancestor symlink (such as /tmp or /var on macOS, or symlinked workspace directories on Linux).
  • Fixed conversation:// Markdown links and <conversation://...> autolinks in agent replies rendering as dead clickable terminal hyperlinks; they now display as plain text with the 8-character short conversation ID matching /resume, while keeping code blocks, /copy, print mode (-p), agy acp, and Remote Control unchanged.
  • Fixed agent replies in CLI sessions referencing desktop-only links or UI controls that are unavailable in the terminal, steering responses toward terminal-appropriate actions instead.
  • Fixed the viewport drifting in full screen (altscreen) rendering mode when auto-scroll is paused and you are viewing a step whose height changes, switching conversations, or toggling /thinking.
  • Fixed Vim mode splitting multi-codepoint grapheme clusters (such as ZWJ, flag, and skin-tone emoji or characters with combining marks) during p paste, f/F/t/T (and ;/,) character searches, and inclusive operators or Visual-mode selections such as de, ce, ye, df, and dt.
  • Fixed context compaction failing with HTTP 400 Invalid signature in thinking block or losing prompt-cache reuse after switching models mid-conversation (such as between Gemini and Claude) by serializing history against the checkpoint target model instead of the incoming turn's model.
  • Fixed direct GEMINI_API_KEY sessions (and gemini-api: custom models) dropping finish reasons and triggering repeated empty-output retries when the API returns a candidate with empty content on safety or policy blocks.
  • Fixed direct GEMINI_API_KEY sessions summing prompt and cache-read token counts across automatic multi-hop response continuations, which inflated reported context usage and triggered premature auto-compaction.
  • Fixed reading, compressing, or resizing crafted, truncated, or extreme-aspect-ratio images (including TIFF and WebP) allocating unbounded memory and crashing the session by capping decoded images at 32,768 pixels per axis and bounding concurrent full-frame decodes.
  • Fixed Agent Swarm's read_board tool advancing its read cursor past messages trimmed by the 10 KB output cap, which skipped unseen messages and @mentions; read_board now trims pages to fit the limit and notes how to fetch the remaining messages.
  • Fixed corporate proxy 407 responses and HTML captive-portal pages clearing saved OAuth tokens and signing you out; out-of-band sign-in code exchange now uses your configured proxy and reports proxy, TLS, and network errors distinctly instead of blaming the authorization code, and auth network checks now enforce timeouts instead of hanging indefinitely.
  • Fixed switching accounts in place (or hitting a forced sign-out) leaving the previous user's saved credential scope and cached account metadata on disk, which could cause MCP server or plugin credential lookups to briefly fall back to the prior account.
  • Fixed Gemini Enterprise automatic license self-assignment failing when the backend adds new fields to the license response by ignoring unknown fields.
  • Fixed --remote-agent conversations dropping trailing steps or prompt cards and corrupting history pagination when a live replay update from the server reports a smaller total step count than the history already loaded.
  • Fixed repository-relative paths inside customization manifests placed in a singular .agent/ directory resolving from inside .agent/ instead of the repository root, matching .agents/.
  • Fixed Remote Control peer-to-peer WebRTC connections failing on Android hosts due to restricted network-interface lookups.
  • Fixed voice dictation in the Remote Control browser view cutting off your last words when you press Send or Stop right after speaking.