Skip to content

Calyx v0.36.0

Choose a tag to compare

@yuuichieguchi yuuichieguchi released this 17 Aug 17:54
· 361 commits to main since this release

What's Changed

Grok and pi support

Calyx now recognizes six agent CLIs: Claude Code, Codex, OpenCode, Hermes, Grok, and pi.

  • Grok and pi panes appear in the Agents sidebar with live status, unread badges, last-seen timestamps, and click-to-focus, exactly like the other four.
  • Both reach Calyx's MCP tools. Grok gets an MCP server entry in ~/.grok/config.toml; pi has no MCP client at all, so it loads a single TypeScript extension written to ~/.pi/agent/extensions/calyx.ts, which exposes one calyx tool that bridges the whole tool set (call it with {"tool": "list"} to enumerate).
  • Diff review can be submitted to a Grok pane alongside Claude Code, Codex, OpenCode, and Hermes.
  • Both route tool calls to the approval inbox, opt-in via Settings → Agents → Show agent tool prompts in the approval banner. Nothing is auto-approved unless you separately turn on Settings → Agents → Auto-approve agent commands, which is off by default.
  • Grok requests are held only for sessions running in always-approve mode (bypassPermissions), the one mode where Grok would otherwise run the call without asking anyone. In every other mode Grok prompts in its own pane as it always did, so you are never asked twice for the same call.
  • pi ships no permission prompt of its own, so every pi tool call is held. With the integration off, pi tool calls run unreviewed.
  • An unanswered Grok or pi request is denied when it expires, because there is no CLI prompt behind it to hand the decision back to.
  • Grok subagent sessions never land in resume metadata, so grok --resume cannot offer a child session. Their tool calls still go through the approval gate.
  • pi started outside Calyx, or inside a herdr pane, registers nothing.
  • Known limitation: on a machine where pi is the only supported agent installed, Enable AI Agent IPC returns early with "No agent configs found" before the extension is written. Installing any other supported agent, or writing ~/.pi/agent/extensions/calyx.ts by hand, works around it.

Multi-repository Changes sidebar

  • Every repository reachable from the window's terminal panes now gets its own section, instead of the single repository picked by walking the active pane's working directory. A window with panes in a main checkout and in a linked worktree shows both.
  • The order is fixed, so switching tabs no longer reorders or swaps the sidebar. The active pane's repository is highlighted and expanded; the rest stay collapsed until you ask for them.
  • Submodules appear as sections of their parent repository's family. They are read from the git index rather than .gitmodules, so a stale or hostile declaration cannot displace a real section, and a submodule emptied by git submodule deinit is not shown.
  • The sidebar no longer flickers on refresh. Loaded file lists and commit history stay on screen while a refresh runs, expanded commits stay expanded, and a user-initiated refresh reports progress in a small header indicator instead of replacing the pane with a spinner.
  • A repository Calyx could not check stays visible behind a warning rather than disappearing; only sections it looked for and did not find are retired. The next successful refresh clears the warning.
  • Opening a diff now resolves against the section's own repository root rather than the active pane's working directory.
  • A pane reached through a symlink or a case-differing path now matches its section.

Approval queue preview

  • The banner's "N / M" position label is now a menu listing every pending request visible to the window as "tool: target", oldest first, with the displayed one marked. Picking a row jumps straight to that request, so triaging a backlog no longer means paging through everything to find out what each one is asking.
  • Rows are fitted to a fixed width measured in the menu font and elided in the middle, so the tail of a path or command, the part that distinguishes one queued request from another, survives.

Approval banner only when the CLI asks

  • The synchronous approval hook moved from PreToolUse to PermissionRequest, which fires only when the CLI is about to ask a human. Reads under Plan mode, allowlisted tools, and anything the CLI's own permission system auto-approves no longer queue a banner.
  • Every failure path (timeout, Calyx not running, server down) now means "no decision" and falls back to the CLI's own prompt rather than injecting an ask.
  • A request tagged with the retired hook event is answered inert, so a CLI session still running the pre-upgrade hook config cannot queue banners under the old contract.

UI

  • The window chrome is one glass sheet instead of a glass tile per region. Every adjacent pair of regions used to show a lens-edge seam, and the 1px overlaps meant to hide those seams composited the tint twice into a visibly darker band. Each pixel now receives the tint pass exactly once. Tint formulas and settings keys are unchanged.
  • Under Reduce Transparency the sidebar separator is dropped, since the sidebar and the pane beside it resolve to the same system color and the line read as a lone stripe across a uniform field rather than as an edge.
  • Agents sidebar rows are named after their pane's own title instead of the working-directory basename, so several sessions running in one repository no longer render the same name. The basename and the agent kind sit on their own lines below it, and a value that cannot be resolved reads "N/A" rather than collapsing the row to two lines.
  • herdr panes already bridged to a Calyx tab are now clickable in the Agents sidebar. Unbridged herdr rows stay non-interactive, unchanged.

Note: Grok and pi configuration is written only by Enable AI Agent IPC (command palette, Cmd+Shift+P). The launch-time resync deliberately touches only tools that already have Calyx's hooks installed, so if you enabled IPC before this release, run Enable AI Agent IPC again to pick up Grok and pi, then restart your running agent CLI instances. Existing Claude Code and Codex hooks are migrated to the new PermissionRequest contract automatically at launch, but those CLI instances still need a restart to load the updated config.