cmux NEXT composer: share Codex permission pill geometry

Merged
TE
11d ago
+101-0

Leo asked for the Codex composer geometry to apply equally to Claude: “same amount for both Codex and Claude” and “the sort of pill shape is a bit off”.

This PR uses shared composer tokens for both looks:

  • 16px visible gap from the plus glyph to the permissions capsule;
  • 28px control height with a full capsule radius and 8px inline padding;
  • the same geometry remains in the narrow row, accounting for its existing inset;
  • gallery variants cover the Claude and Codex permission pills, including hover.

The existing glass material and theme colors remain unchanged.

Verification:

  • git diff --check passed.
  • vp fmt --check and vp lint passed for the touched webview files.
  • composer-permission-pill.test.ts covers both looks, hover stability, and the measured 16px gap.
  • Browser capture was attempted but Chromium stalled in host disk I/O; the remote gallery/Blacksmith job is the required runtime evidence.

Gallery: agent-pane.composer-look/permission-pill-claude, agent-pane.composer-look/permission-pill-codex

Agent-Session: https://cmux.com/deeplink/agent?harness=codex&session=01a16c64-58ea-75e2-975b-be6884023f13&host=big-red


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.