Skip to content

Calyx v0.37.0

Choose a tag to compare

@yuuichieguchi yuuichieguchi released this 22 Aug 12:11
· 321 commits to main since this release

What's Changed

Subagent Rows

  • A pane's row in the Agents Sidebar now expands to disclose the subagents its CLI is currently running, as indented child rows.
  • Supported where the CLI reports subagents: Claude Code, Codex, OpenCode, and Grok. Each child row carries its own state, plus the child's current tool wherever the CLI reports one (Claude Code and Grok; Codex and OpenCode report lifecycle only).
  • A child exists only while its CLI reports it. There is no timer, no retention count, and no eviction rule, so the sidebar never shows a subagent the CLI has stopped reporting.
  • A pane whose CLI has no subagent concept (pi, Hermes, herdr) renders exactly as before, with no chevron and no badge.
  • Side effects of the same change: a Grok pane row now stays working while a subagent runs, matching Claude Code, and an OpenCode pane row now reacts to a child's approval flow instead of ignoring children.

Agent Row Lifecycle

  • Rows now follow an agent from launch to exit across every shell and every CLI, instead of only the ones that report their own exit.
  • Ghostty's own command-finished signal is routed through as a fallback, covering bash, elvish, nushell, and every other shell Ghostty integrates with. It always defers to Calyx's own shell integration where that is live, and a deferral Calyx never answers is itself treated as evidence the row should settle.
  • Rows retire from the pane rather than from each CLI, using the shell integration's end-of-command report, so CLIs that cannot report their own exit (OpenCode, Hermes) are covered. A suspend (Ctrl+Z) is detected as a suspend, not an exit, in both zsh and fish.
  • Codex now installs a SessionEnd hook, so an exited Codex session turns done. Resuming a session correctly resets the row back to idle.
  • Pane-exit and pane-destroy are observed at app scope, so a QuickTerminal pane with no main window open no longer drops those signals.
  • Panes inside persistent sessions are identified by session id, so each Codex tab gets its own row instead of collapsing onto one shared row, and can replace a previous agent's row on the same tab.
  • A parent's turn or session boundary that Calyx correctly discards no longer wipes that pane's child rows and count badge.

AI Agent IPC

  • New command: Reconfigure AI Agent IPC (Cmd+Shift+P). It writes agent CLI configs and hooks for agents installed after IPC was first enabled, and is non-destructive by construction: it reuses the running server's port and token rather than restarting it, so agents already connected keep working.
  • The palette no longer offers Enable AI Agent IPC while IPC is running, and the alert no longer tells you to run a command that is not there.
  • Machines where pi is the only supported agent can now enable IPC at all. pi owns no MCP client config file, so the previous flow returned early and left IPC permanently unreachable there.
  • Enabling never stops a running server any more. The old failure path stopped it and then reported it as running.
  • Config write failures now surface in the Agents Sidebar banner alongside hook failures, and the alert no longer claims no supported agent CLI was found while naming the failing one two lines below.

Security posture

  • No new execution surface ships in this release. Subagent rows are read-only disclosure of what a CLI reports, and every approval path is unchanged: approval is still required for every gated tool call, auto-approve is still opt-in and default-off.

Note: the MCP tool set is unchanged, but the hook set is not. Claude Code, Codex, and Grok gain SubagentStart and SubagentStop subscriptions, Codex gains SessionEnd, and the OpenCode plugin is updated. Run Reconfigure AI Agent IPC from the command palette, then restart your running agent sessions. A CLI reads its hook configuration once at session start, so subagent rows appear in sessions started after Calyx installs the hooks, not in one already running. Codex gates its new hook entries behind its own startup hook review, so it will ask you to approve them once.

Cut for length: the LSP framing-parser recovery fix and the test-host lock file leak (neither reaches app users), plus all refactors, tests, docs, and the version bump.