Skip to content

feat(cc-dazzle): sync prismantis 0.31.0 and cc-stretch 0.5.1, fixes and features - #79

Merged
vdsmon merged 5 commits into
mainfrom
worktree-dazzle-upstream-0.31
Oct 19, 2026
Merged

vdsmon merged 5 commits into
mainfrom
worktree-dazzle-upstream-0.31

Conversation

@vdsmon

@vdsmon vdsmon commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Brings cc-dazzle up to date with both upstreams, fixes and features. cc-dazzle 1.6.0 → 1.7.0.

New features:

  • Mermaid pie charts draw as a round circle with a legend (bars past seven slices or in a narrow terminal), and gantt charts put tasks on a shared time axis (#177, #221).
  • Stretchtext, fullscreen terminal: alt+↓ or ctrl+↓ puts a red letter on each closed stretch; type it to open. alt+↑ or ctrl+↑ does the same for «. The reply's ● is the button those chords press.
  • Stretchtext: drag to select text, or double-click a word, path or URL, in a paragraph with a stretch; it goes to the clipboard. Links and bare URLs there are clickable.
  • Lua highlighting (#216), and one color plus a legend name per xychart series (#225).

Fixes from prismantis 0.24.0 → 0.31.0:

  • Hover copy buttons cover only their own cells (#170).
  • Escape sequences and 8-bit control characters are stripped before drawing (#98, #188). Before, such a reply fell back to plain text.
  • Off the terminal, code goes through the app's own Code element, so indentation holds (#176). console blocks there take the app's colors.

Fixes from cc-stretch 0.3.3 → 0.5.1:

  • CJK and Thai break and grow at the right places, code spans and fences are read across lines, and emoji count as two cells.
  • Nerd Font icons no longer clash with the stretch marks, and a short form over several lines no longer hangs.
  • The guide asks Claude to stretch list items, not whole lists.
  • A reply's flushes are filtered in order (Claude Code 2.1.302 runs them at once).

Left out: the cc-stretch style toolbar (cc-dazzle's look is fixed), and parts cc-dazzle does not have (images, RTL, setup pane). The full list is in docs/upstreams.md.

Tests: 222 pass with mise run test:dazzle, and mise run verify is clean. Letters and selection are tested in the test engine only, not yet in a live session.

https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi

…retch 0.5.1

From prismantis 0.24.0 to 0.31.0: hover copy buttons cover only their own cells (#170), terminal escape sequences and 8-bit control characters are stripped before drawing (#98, #188), code off the terminal goes through the app's own Code element (#176), Lua is highlighted (#216), and each xychart series gets its own color and its name in the legend (#225). The vendor builds of Prism and beautiful-mermaid are upstream's.

From cc-stretch 0.3.3 to 0.5.1: CJK and Thai lines break and grow where those languages break, code spans and fences are read across lines, emoji count as two cells, the composition marks move to noncharacters so Nerd Font icons draw and a stretch over several lines no longer hangs, the guide asks Claude to stretch list items instead of whole lists, and a reply's flushes are filtered in order. parse.ts, grow.ts and guide.ts are upstream's; layout.ts takes the fixes by hand.

Each fix comes with its upstream test. Features left out are listed in docs/upstreams.md.

synced from NahumLitvin/prismantis@354e11d (0.31.0)
synced from pro-vi/cc-stretch@9aa56da (0.5.1)

Claude-Session: https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi
A pie draws as a round circle with a legend, each slice in its own diagram hue, and falls back to one bar per slice past seven slices or in a narrow terminal. A gantt draws sections and tasks as bars on a shared time axis, with after, until, durations and milestones. hooks/charts.ts is upstream's.

ported from NahumLitvin/prismantis #177, #221

Claude-Session: https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi
…h paragraphs

In the fullscreen terminal, alt+down or ctrl+down puts a red letter on each closed stretch in the last three replies on screen, and typing it opens that stretch in place; alt+up or ctrl+up does the same for the closers. The reply's dot is the Button those chords press.

In a paragraph that holds a stretch, a drag selects text and a double-click picks the word, path or URL under it; either goes to the clipboard. Markdown links to http, https and file targets, and bare URLs, are drawn as real links in the link blue.

ported from pro-vi/cc-stretch 0.4.0 to 0.5.1 (#13, #16), each with its upstream test

Claude-Session: https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi
@vdsmon vdsmon changed the title feat(cc-dazzle): port upstream fixes from prismantis 0.31.0 and cc-stretch 0.5.1 feat(cc-dazzle): sync prismantis 0.31.0 and cc-stretch 0.5.1, fixes and features Oct 19, 2026
@vdsmon
vdsmon marked this pull request as ready for review October 19, 2026 16:57
@vdsmon
vdsmon merged commit 112d91d into main Oct 19, 2026
1 check passed
@vdsmon
vdsmon deleted the worktree-dazzle-upstream-0.31 branch October 19, 2026 16:58
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