Repository navigation
Releases
Releases · leonasdev/copy-buttons
1.6.2
Fixed
- A session whose transcript holds a row of more than one block (Claude Code 2.1.328 wrote a few) has its buttons again: Claude Code draws every reply after such a row under an id of its own making, which no row holds, so none of those replies got its buttons, in every resume of the session.
1.6.1
Fixed
- A copy no app answered, a reason Claude Code 2.1.329 adds, says in its toast that it may have copied anyway, not
couldn't copy: undefined; a reason the plugin does not know yet is shown as Claude Code names it.
1.6.0
Added
- Icon style
text: no icon, the wordscopyandcopiedinstead (copy Reply, thencopied Reply), for a font that draws⧉over the space after it.
1.5.7
Fixed
- A table copies as Claude Code 2.1.326 draws it: a vowel sign drawn beside its letter (Devanagari, Tamil, Bengali and others) takes a column; a table too narrow for its words cuts only its longest words; and one drawn as
Header: valuelines wraps a long value with no word left on a row of its own. On Claude Code 2.1.325 and before, such a table can copy a column or a row off what the screen shows.
1.5.6
Added
- An icon for the plugin, shown where a plugin directory lists it.
1.5.5
Fixed
- The buttons show sooner on a resumed session, on Windows above all: the transcript is read through Claude Code's own file reads instead of a command, so no PowerShell starts (which took a second or more before the first buttons showed, however short the transcript). A transcript over 4 MiB is still read with
shor PowerShell, as before.
1.5.4
Fixed
- A copy's notice (
copied as markdown · click again for rendered) shows when the buttons sit on the row above the closing line, as they do in a narrow terminal or beside many code blocks: it moves to the closing line, past its text. Where that line has too little room it reads justcopied as markdown, and only where even that does not fit does the ✓ tell the copy alone. Before, the notice never showed with the buttons there.
1.5.3
Security
- A copy no longer holds control characters the screen did not show. Claude Code draws a reply without them, but a copy took the reply as written, so an escape sequence in it reached the clipboard: one that ends a bracketed paste (
ESC [ 201 ~) could make a terminal run what follows it as typed. Every copy now leaves out control characters but a tab and a newline. - On Windows, a path or an id holding
‘,’,‚or‛can no longer end the literal it is written in, in the PowerShell script that reads the transcript: PowerShell reads each as it reads', so the rest could be run as script, as with a resumed transcript whose message id was written for that. No command is run for a session or a reply whose id is not letters, digits,-and_, and PowerShell is run by its path under the system's folder, not by a name looked up.
Fixed
- A reply written with a control character (in a fence's info, say, or in its code) keeps its buttons: before, Claude Code refused the row or a block's flash, and showed an error under the answer.
- On Windows, the buttons appear for a profile whose folder is named with
‘,’,‚or‛(C:\Users\D’Angelo): before, the transcript was never read there.
1.5.2
Fixed
- A code block or table keeps its own buttons in an answer with a fence that names a file (
ts:src/app.ts,python title="main.py") or a language the highlighter does not know: the plugin now counts the row Claude Code draws the fence's info on, above the code. Therenderedcopy has that row too. - A code block or table keeps its own buttons in an answer with an empty code block next to a list, a quote, a table, the answer's start or its end, or in a list item: Claude Code draws it as nothing there, and the plugin now does too. Before, either case sent every block's button to the end of the answer.
1.5.1
Fixed
- With Claude Code 2.1.318 or later, a code block or table keeps its own buttons in an answer holding a table too wide for the screen, which Claude Code draws as
Header: valuelines: the plugin now indents a long value's later rows two, as Claude Code does. Before, the answer could come out a row off from what the terminal drew, and every block's button went to the end of the answer.