Skip to content

cc-dazzle: one frame for both reply paths - #77

Merged
vdsmon merged 1 commit into
mainfrom
refactor/dazzle-reply-frame
Oct 16, 2026
Merged

vdsmon merged 1 commit into
mainfrom
refactor/dazzle-reply-frame

Conversation

@vdsmon

@vdsmon vdsmon commented Oct 16, 2026

Copy link
Copy Markdown
Owner

The reply handler in cc-dazzle drew the same frame twice, once for stretchtext replies and once for plain ones, and worked out the surface style twice. A review of the mod found it. Both paths now share one helper, and replies look the same as before.

I did not cache the project root lookup on tool rows. It can change mid-session after /cd or a worktree move, and no event says when.

Tested

mise run verify passes, and mise run test:dazzle passes.

The stretchtext path and the plain path in the AssistantMessage handler drew the same frame from two copies, and each worked out the surface style on its own. Both now use one helper and one style.

Claude-Session: https://claude.ai/code/session_01Nad9wduaNHB473kmw7nKF3
@vdsmon
vdsmon merged commit 74a4231 into main Oct 16, 2026
1 check passed
@vdsmon
vdsmon deleted the refactor/dazzle-reply-frame branch October 16, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant