Repository navigation
Releases
v1.2.1
Small settings-UI upgrade: the Bold boundary option in /plugin configure bionify@claude-bionify is now a picker (fraction / syllable / log) instead of free text, on Claude Code 2.1.271+ (the options key in userConfig). Your version is 2.1.317, so it applies.
Reminder of the other controls: the configure dialog reopens any time via /plugin configure bionify@claude-bionify (gear icon in VS Code); booleans are toggles and numbers are validated inputs; from the shell, claude plugin configure bionify@claude-bionify --values-stdin saves piped values (2.1.285+). Live per-session changes are still /bionify:set boundary syllable etc.
No behavior change to the hook itself — claude plugin validate --strict, the test suite (140 passed), and ruff all pass at this tag.
v1.2.0
Renames the plugin id claude-bionify → bionify. Claude Code 2.1.287+ reserves claude--prefixed plugin names for Anthropic's own plugins, so claude plugin validate --strict (and CI) failed on the old id; runtime install and load still worked, so nothing visibly broke.
What changes for users:
- Slash commands are now
/bionify:on,/bionify:off,/bionify:toggle,/bionify:set,/bionify:status,/bionify:reset. - Install id is
bionify@claude-bionify— the marketplace and repository names are unchanged:/plugin marketplace add abullard1/claude-bionify /plugin install bionify@claude-bionify - Plugin themes now appear in
/themeascustom:bionify:<name>. - Adds a plugin icon for the marketplace listing.
Existing installs should reinstall once as bionify@claude-bionify (the old id no longer resolves from the updated marketplace). Runtime overrides carry over — the state file stays at ~/.claude/claude-bionify/runtime.json.
Validated with claude plugin validate --strict on Claude Code 2.1.317, the full test suite (140 passed), and a fresh install whose MessageDisplay hook fires.
v1.1.0
The themes now color the whole screen, not just the text. Until now they set 7 of Claude
Code's color slots and left the rest to Claude Code's neutral defaults, so every dark theme
showed the same saturated red and green diff blocks, and your messages sat on a gray that
clashed with palettes like Nord and Sepia.
Each theme now tints diffs, the background behind your messages, and mouse selection in its
own colors. Diff tints blend the theme's own green and red into its background, the way
Dracula and Nord do upstream, and selection uses each palette's upstream selection color.
Every text-on-background pair meets WCAG AA contrast: 4.5:1, or 3:1 for the highlighted words
inside a changed line.
Added
- 9 more colors in every theme: added and removed diff lines (normal and dimmed), the
changed-word highlights, your message background and its hover, and mouse selection.
Changed
- Solarized Dark and Solarized Light use Solarized's emphasized text shade (
#93A1A1and
#586E75). The standard shades are already below 4.5:1 on Solarized's own backgrounds, so
nothing drawn behind them could stay readable. Solarized Light's tints stay faint for the
same reason.
Upgrade Notes
No configuration changes are required. Diff colors need Claude Code 2.1.246 or later; older
versions ignore them and keep the default diff colors. The colors assume your terminal's
background matches the theme, since Claude Code does not paint the terminal background.
v1.0.7
A fix for code blocks. On some setups, a long fenced code block could come out with literal
** scattered through it, most visibly inside the boxed reports Claude sometimes draws.
Claude Code streams a reply in pieces, so the hook remembers between pieces whether it is
inside a code fence. That memory lives in a small file under CLAUDE_PLUGIN_DATA. When that
variable was not set, the file had nowhere to go. Every piece then started as if it were
outside a fence, and a piece from the middle of a code block was bolded as prose.
Reported and fixed by @shopkinspoint (#13, #14).
Fixed
- Fenced code blocks that span more than one streamed piece are no longer bolded when
CLAUDE_PLUGIN_DATAis absent. Fence state now falls back to the plugin's own per-user
directory, the one the/claude-bionify:*overrides already use.
Upgrade Notes
No configuration changes are required. This is a patch release with no breaking changes.
v1.0.6
A follow-up to 1.0.5. That release taught /claude-bionify:status to warn when the hook
cannot start, and on some machines it got that backwards, warning that nothing was being
bolded while bolding worked fine.
The check ran Python and read its whole output to find the version. Anything printed ahead of
that, a sitecustomize that prints or a conda activation banner, hid it, and a perfectly good
interpreter was counted as unusable. It now reads the last line.
Fixed
/claude-bionify:statusno longer reports that nothing is being bolded when it is.- A malformed
hooks.jsonno longer leaves status silent. An unreadable file now says so, and
an oddly shaped one is treated as declaring no interpreters rather than raising.
Bolding itself was never affected by any of this.
Upgrade Notes
No configuration changes are required. This is a patch release with no breaking changes.
v1.0.5
A Windows fix. On most native Windows machines the plugin did nothing at all: no bolding, no
error, and /claude-bionify:status reporting ON throughout.
The hook ran Python as python3, which on Windows is usually not Python. The python.org
installer never creates a python3.exe, and Windows ships a Microsoft Store placeholder of
that name which exits without running anything. Hooks are spawned with no shell, so there was
nothing to fall back to.
Reported by @aermak, who also identified the cause.
Fixed
- The hook is now declared as both
python3andpy -3, and whichever starts does the
bolding. Thepylauncher ships with every python.org install. /claude-bionify:statusno longer reports ON while nothing is being bolded.
Known limitation
Where python3 is the Store placeholder, bolding works but the /claude-bionify:* commands do
not, since they run through a shell and no fallback syntax suits both Git Bash and
PowerShell 5.1. Git for Windows, or a real python3 on PATH, restores them.
Upgrade Notes
No configuration changes are required. This is a patch release with no breaking changes.
v1.0.4
A correctness release for how the hook tracks code fences across streamed
flushes. Nothing here was visibly broken: the defects sit in a concurrency
window that is hard to hit on Linux and plausible on slower platforms.
Claude Code streams one assistant message to the MessageDisplay hook as a
series of flushes and allows up to three to be in flight at once. The file
that carries "inside a code fence" from one flush to the next was written as
if flushes were sequential. Found by checking the plugin against current
Claude Code (2.1.220 through 2.1.231), not by a user report.
Fixed
- The hook reads the message identifier from
message_id, the field Claude
Code actually sends. It looked formessageId, never found it, and fell
back to the session id, which keyed fence state per session rather than per
message and could bleed the fence state of one message into the next. - Fence state is cleared when a message ends on a newline. That final flush
carries an empty delta, and the hook returned before reaching its own
cleanup, leaving a stale file behind. - The state file is written to a temporary name and moved into place instead
of truncated and rewritten, so a concurrent flush can never read it
half-written and treat a code block as prose. - The stale-state sweep collects temporary files orphaned by an interrupted
flush, and spares the current message's in-flight temporary file.
Internal
- Every wire-format claim was verified against the Claude Code binary rather
than the published hook docs (which describedeltaas an object; the
binary sends a string): field names, the empty final delta, and the
three-flush concurrency limit. - Every fix is mutation-tested: reverting it makes a named test fail.
98 tests, 94% coverage. - Both README version badges are now asserted against
plugin.jsonin the
suite; the plugin README's badge had drifted at 1.0.1.
Upgrade Notes
No configuration changes are required. This is a patch release with no
breaking changes.
Known issue
The remaining stale-read half of the flush-concurrency race, where a
concurrent flush reads a valid but outdated state, needs a reproduction and
is tracked in #8.
v1.0.3
A Windows fix. Non-ASCII characters in Claude's replies rendered as mojibake,
so an em dash appeared as â€".
Python applies the locale encoding to text I/O, and on Windows a pipe decodes
with the system ANSI codepage rather than UTF-8. Claude Code delivers hook
events over a pipe, so the bytes were misread before any bolding happened. The
hook now reads its event as bytes and lets JSON decode it, which is correct by
definition: JSON is UTF-8 on the wire.
Investigating that turned up two more places with the same defect, neither of
which had been reported.
Fixed
- Non-ASCII characters no longer garble on Windows. Reported by @aermak, who
also identified the cause. /claude-bionify:statusand the other control commands no longer emit an
undecodable separator on Windows. The status line is written as UTF-8 bytes
instead of being encoded with the platform codepage, which produced a broken
glyph on Western systems and failed outright on Japanese ones.assets/generate_themes.pyreads and writes UTF-8 explicitly, so
regeneratingthemes.svgproduces the same file on any platform.
Internal
- CI now runs the suite on Windows, and the tests spawn the scripts as real
subprocesses over a pipe rather than substituting their own streams, which is
the only way this class of bug is visible. - The build fails on any text I/O that falls back to the locale encoding
(PEP 597), so this cannot regress silently. - ruff is pinned with an explicit rule selection, and the gate has been widened.
Upgrade Notes
No configuration changes are required. This is a patch release with no breaking
changes. If you cannot upgrade yet, setting PYTHONUTF8=1 in Claude Code's
settings.json works around the issue on 1.0.2.
v1.0.2
A small robustness update for how the claude-bionify skill behaves when it is
loaded without the plugin.
Skill marketplaces can list the skill on its own, separate from the plugin that
does the bolding. In that situation the skill's guidance has nothing to drive.
This release teaches the skill to notice.
Changed
- The skill now checks that the claude-bionify plugin is installed before
advising on settings or commands. If the plugin is missing, it tells you and
shows the two install steps instead of guiding you through controls that are
not there.
Upgrade Notes
No configuration changes are required. This is a patch release with no breaking changes.
v1.0.1
A small reliability update for claude-bionify.
This release makes live settings more predictable and improves how claude-bionify preserves text that should not be reformatted.
Fixed
- Fenced code blocks with spaced language markers, such as
``` python, now stay untouched. - URLs, paths, and filenames next to closing quotes or brackets are protected more accurately.
- Invalid live setting values now show an error instead of being silently treated as
offor rounded. - Live overrides now save correctly when
CLAUDE_BIONIFY_STATE_FILEis set to a simple filename likeruntime.json.
Documentation
- Updated examples to use the fully qualified Claude Code commands, such as
/claude-bionify:set minlen 5.
Upgrade Notes
No configuration changes are required. This is a patch release with no breaking changes.