Repository navigation
fix(claude): the slash picker is detected on Claude 2.1.283 and follows colour-only selection changes - #1382
Conversation
…he picker (#1253) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…848bb52) Fixes #1253 once cch#66 merges: the slash picker is detected on Claude 2.1.283 (indented rows) and a colour-only selection change republishes it. Recorded fixture and mutation-pinned test live in the package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ead (128b8ea) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ead (2d9a0db) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review disposition (package head Fixed
Confirmations from c: the performance envelope is in budget (≤70 µs per scan while a picker is open, ≤10 Hz, and one property read otherwise). Merge order: claude-code-headless#66 first. Then #1382 is re-pointed to #66's merge commit, and its CI re-runs, before READY. 🤖 Generated with Claude Code |
…ude-code-headless#66 merged with its main (7d398fc) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er-colour-select # Conflicts: # packages/claude-code-headless
0095df1
into
integration/batch-2026-09-27-u
…9-27-u Integration batch U (#1382)
Fixes #1253. The fix, its recorded fixture and its tests live in Juliusolsson05/claude-code-headless#66, now MERGED (
487f029c). This PR bumps the submodule to that merge commit.Current pin:
487f029c, claude-code-headless#66's merge commit on the package's main. It descends from main's current pin (0928344, #69, which #1442 brought in), so main's package history is kept. Packagepackage.jsonis unchanged, so no lockfile resync. origin/main is merged in; the only conflict was this gitlink.Plan:
docs/plans/2026-09-27-claude-slash-picker-colour-select.md(first commit).Problem
Recorded on real Claude Code 2.1.283. The CLI was driven directly in a PTY and no prompt was submitted; see
packages/claude-code-headless/test/fixtures/slash-picker/README.md. There were two bugs:HeadlessTerminal's text-only flush gate dropped that repaint, soclaude.slash-pickerkept the old selected row.What merges (in the package)
The parser trims both ends of a row before splitting it.
A picker-selection signature joins the flush gate, only while a picker is visible:
With no picker, the gate costs one property read and stays attribute-blind (agent-code#390).
Tests (in the package)
ClaudeCodeHeadless, and the publishedclaude.slash-pickerselection is asserted after open, a colour-only Down, a scroll, Up, and Esc. This also pins the producer the issue called unpinned.3dab12fd, identical tree to487f029c): contract,tsc --noEmitand 222 tests pass, and package CI is green. App (e2168b46, after batch S):npx tsc -bis clean, andsrc/providers/claude+src/renderer/src/features/slash-commandspass (28 files, 212 tests).🤖 Generated with Claude Code