Repository navigation
hush 1.13.0
A new voice. Claude still stays quiet while it works and writes one message
at the end, now in the language you write in. That message opens with the
result in one bold line, then the idea in one sentence, how it was checked,
and one exact next step. A request with several parts, or for the long
version, gets one short block per part. A request to understand something
ends with a short question you can check yourself against. The old limits of
8 lines and 90 words per reply are gone.
Long command output keeps more of what explains a failure:
- The first stack frame after a Node, Java or Go error.
- The values and file:line lines a failed check prints under go test,
gotestsum, Jest, Vitest, pytest, cargo test and RSpec, up to 10 per failed
test. They also survive the folding of same-shape lines. - RSpec's rerun line for each failed example.
- Java-style names such as
IllegalStateException, and lines that say
"warnings" in the plural. - A very large output's digest now keeps traceback frames and other failure
evidence, not only warning and error lines. - A line that Jest marks with
✕, or Vitest with×, counts as a failure
line. - A long grep result keeps every failure-shaped match, not only the first
three per file. A search inside a folder such aserrors/still shortens,
since only the matched text is checked, not the path.
Output under 4,000 characters is no longer folded by shape or cut by line
count. The rows of a short table all share one shape, and a short file print
is all code lines, so folding or cutting them hid the answer, and Claude ran
the command again to see it. Exact repeats still fold.
A directory listing or a print of a line range now comes back whole up to
250 lines: ls, dir, Get-ChildItem, find without -exec, sed -n,
head -n, tail -n, and Get-Content with -TotalCount or -Tail, each
run on its own. A listing or print of more than 60 lines could keep only its
first and last stretch, so Claude read it a second time. Past 250 lines one
under 4,000 characters still comes back whole and one from 4,000 keeps 250;
only exact repeats fold, and from 15,000 characters it is still saved to a
file.
A whole-file print in PowerShell, Get-Content, gc, type or cat with
nothing else, now keeps up to 250 lines when hush wraps it to read its exit
code, as it already did unwrapped and in Bash; it was cut to 60 like a clean
run. A script of several lines that opens with such a print and then runs
other commands is now trimmed
like any other output, where it kept up to 250. Folding and the save to a
file from 15,000 characters work as before.
A read of whole source files with cat, type, gc or Get-Content now
comes back whole up to 250 lines, like a line-range print. This holds when the
reads follow a cd or sit between echo separators, such as
cd src && cat a.js; echo ---; cat b.js. Such a read could lose lines from
the middle of the file, so Claude read the file a second time. A print of a
log or a generated file, and test or build output, are trimmed as before.
A whole-file read piped into one line-range print, such as
cat -n a.js | sed -n '1,80p' or Get-Content a.js | Select-Object -First 80,
now counts as a line-range print; it was cut to 60 lines like a clean run. A
read with a wildcard run on its own, such as cat src/*.js, still keeps up to 250 lines and
shrinks as the session grows, and a following read, tail -f or
Get-Content -Wait, is never passed whole. A listing or a git diff or
git show piped into one line-range print, such as git diff | head -n 50,
now counts as a line-range print too; it was trimmed like any other
output. A read of a Windows long path, such as cat \\?\C:\src\a.js, no longer
counts as a read with a wildcard.
A command that mixes line-range prints with searches now comes back whole up
to 250 lines, like a line-range print. This covers grep -n on named files,
a line-range print or grep -n filtered by grep -n, a search ending in
head with or without a count, and a for loop over named files, such as
sed -n 60,110p a.js; grep -n "x" b.js | head -5. Such a read over 4,000
characters could lose lines from the middle, which could send Claude back to
read the files again. A whole-file read piped into grep, a recursive
search (grep -r or grep -d recurse) or a wildcard among the files with
no line range after it, and a loop over a wildcard are trimmed as before.
A ;, &&, |, < or > inside quotes, such as grep -n "a;b" x.js or
sed -n '/a|b/p' x.js | grep -n y, is now read as part of the pattern, so
such a read also comes back whole; it was trimmed.
A command's JSON output now comes back whole up to 250 lines when the run did
not fail and its regular output is one JSON object or array, or JSON Lines. A
trim could keep only the first and last stretch of the data, so Claude had to
fetch the data a second time. JSON of 15,000 characters or more is
still saved to a file, and error output is trimmed as before. JSON Lines with
up to two text lines before or after them, such as a header or a sum= line,
and a table of same-shape rows whose changing values are all numbers now come
back whole the same way; they were folded to their first row.
A git diff or git show run on its own now comes back whole up to 250
lines, however long the session, as a listing or a line-range print does:
nothing in it is folded, cut or saved to a file. It was cut to 60 like a
clean run when hush knew it exited 0 or its text never said error or failed,
and its runs of same-shape lines were folded. When hush has no exit code, a
whole-file print, a line-range print past 250 lines and such a diff no longer
end with the note that the run failed just because the printed text says
error or failed.
A log, a generated file or a file hush saved, read whole and cut to fit, no
longer ends with the note that the run failed and should be run again when
its text says error or failed. A read runs no command, and the notes inside
the view already say that no warning, error or failure line was cut.
A whole-file print of a failing test log, such as cat test.log, now keeps
each failed check's values and file:line lines out of the folding of
same-shape lines, as the failing run itself does. They were folded because
the print exited 0 or had no exit code.
A failing run past the line cap whose every line is a warning, error or
failure line, so the cap cuts none, no longer ends with the note that the
view is capped and the command should be run again.
A whole-file print or a git diff that redirects only its errors, such as
cat f 2>/dev/null, cat f 2>&1 or Get-Content f 2>$null, now keeps up to
250 lines like the same print without the redirect, as a listing or a
line-range print already did; it was cut to 60 like a clean run. A print that
sends its own output to a file with >, >> or &> is still trimmed like
any other output.
A view that folds same-shape lines now always says how to see them. When the
folds save less than the usual note costs, a one-line note takes its place,
and folds that save less than that line are left unfolded. When a long
output's line cut removes every fold, the output is cut unfolded instead, so
the view carries no note about folds it no longer shows, and its count of
omitted lines counts each line of the output. When the cut removes some
folds and keeps others, or removes a line repeated several times, that count
now includes every line the fold or the repeats stood for, where it used to
count them as two lines. A fold's or a repeat's count no longer stays in the
view when the cut removed the line it belongs to; its lines join the omitted
count instead. A line repeated inside a run of same-shape lines now counts in
the run's fold, where its repeat count used to stay in the view after the fold
had removed the line.
Some lines no longer count as failures when nothing failed. A passing
summary with zero counts, such as "Failures: 0", is no longer kept or counted
as a failure line. A mid-line ×, as in "320 × 240", no longer makes a
passing run read as failed. The note
hush adds once per session now says plainly that a large output's digest
shows only part of its signal lines, and that the saved file holds all of
them.
Subagents are now asked to mark what they could not confirm and say where
they looked.
The mid-turn reminder now comes at most once per turn, and never after the
line Claude Code asks for when you have not heard from Claude in a while.
Before, each such line drew a reminder to stay quiet, so a long turn could
collect one per request. The update is excused only when it is one line;
a longer update still draws the reminder. HUSH_NUDGE=max is unchanged.
Every switch that takes off, 0 or false now ignores spaces around the
value, as HUSH_NUDGE already did: HUSH_CORE=" off" turns Core off, where
it used to leave it on. HUSH_DISABLE, HUSH_WRAP and HUSH_DEBUG ignore
spaces around their 1 too, so set HUSH_DISABLE=1 in cmd.exe, which
keeps the trailing space, now turns hush off.
Styles: a crafted style's name can no longer contain a colon, and craft-style
says so before activation does. Switching styles keeps a namespaced
outputStyle setting such as "hush:Hush". In a checkout you update with
git, the stock backup now follows the new stock voice after a pull. The style
check now catches a changed number at the end of a sentence.
A line of command output that already opens with [hush now reaches Claude
as \[hush, even in a short output, so it can no longer pass for one of
hush's notes or be counted as one. The logs hush trims get the same. The
voice no longer calls those notes trusted or forbids naming them. It tells a
note from output the way the note hush adds once per session does: by where
it appears and how its line opens, not by what it says. A note sits on a line
of its own in shell output, a long search result, or a whole read of a log, a
generated file or a saved output. Anything else shaped like a note, such as
an escaped \[hush line or a [[hush:exit=N]] a command printed, is part of
the output, and Claude names a note when it limits a claim.
A style you crafted keeps the old paragraph and will not activate as it is.
/hush:pick-style and /hush:craft-style show you the old paragraph and the
new one and offer to swap them; with your yes, that paragraph is the only
change to the file, and the style activates.
hush now takes a command's exit code only from the marker its own wrapper
adds at the end of a wrapped command's output. A marker the output merely
prints, such as hush's own source, a saved earlier output or a quoted report,
stays in the output as printed and no longer changes the exit code Claude
sees. Before, it could make a command that passed read as failed or killed.
hush reads that marker from a command's error output only when its normal
output does not end in one, so a marker the error output prints cannot stand in
for one the normal output lost. A marker printed earlier in the normal output,
such as hush's own source printed before exec 1>&2, no longer stops hush from
reading the real marker in the error output. Normal output that Claude Code cut
short inside the marker, from its first [ on, now counts as ending in a
marker, so the error output's marker cannot supply the code there either.
Normal output shorter than Claude Code's cut that ends in part of the marker,
such as a printed [[h, is text the command printed, so hush still reads the
marker in the error output. hush removes the marker only from the output it
read the exit code from, so a marker the error output prints stays there as
printed, without a second exit note.
hush now knows where Claude Code cuts a long shell output: at the
bashOutputMaxChars setting when your user, project or local settings file
sets it, else at BASH_MAX_OUTPUT_LENGTH, else at 30,000 characters. A very
large output that arrived at that cut gets a digest that sends Claude to
Claude Code's own file first. Claude Code saves the complete output and names
that file above the preview it shows Claude. hush still saves the part it
received, as the fallback when Claude Code names no file, which happens when
the output ended just short of the cut. The digest's line numbers count lines
in hush's copy; in Claude Code's file, add any blank lines the output began
with. Its last lines are labelled as the end of what hush received, not the
end of the output. When hush screens out a copy because the output looks like
it holds a credential, the digest still goes out, without a copy. Before, hush assumed a cut
from about 28,000 characters on, so under a lower setting it called a cut
output complete, and under a higher one it called a complete output cut. hush
measures the output as it arrived, before colour codes come off. It cannot see
managed settings or a --settings flag. Under a setting below 15,000
characters, no output reaches the size hush digests, and Claude Code keeps the
full output in its own file.
A Bash command whose exec sends the shell's own output elsewhere, such as
exec >build.log or exec &>/dev/null, is no longer wrapped to read its exit
code. The marker hush adds went along with the output, so a failing command
reached Claude as a success. It now fails as it does without hush, and its
output comes through untrimmed. exec 1>&2 and exec > >(tee log) leave the
marker where hush reads it and are still wrapped.
The note hush adds once per session now says where hush's notes can appear:
shell output, the logs, generated files and saved outputs Claude reads back, and
long search results, each on a line of its own. It says that a line of that
output which already opened with [hush arrives as \[hush, and that
anything else shaped like a note, such as a [[hush:exit=N]] a command
printed, is part of the output. Before, it called every [hush in any tool
result hush's own. An escaped line or a printed exit marker no longer uses up
that note either, so it still comes with the first real one.
A line that opens like a note behind spaces or invisible characters, with
invisible characters inside [hush, or with the fullwidth bracket [ is now
escaped too. A long search result that hush shortens escapes the lines it
keeps, and the once-per-session note says so; a search result hush leaves
whole is still delivered exactly as returned.
The same escape now catches [hush spelled in fullwidth letters such as
[hush, in other compatibility forms such as mathematical bold, or with the
Cyrillic and Greek letters drawn like h, u and s (Н, Һ, һ, Η, υ, Ѕ, ѕ). Any
other line, in any script, is left as it is.
hush's hooks now start node directly instead of through a shell, so hush needs
Claude Code 2.1.139 or later. hush's
reminder when you send a prompt now has 10 seconds to start instead of 5, so
a slow start on Windows no longer cancels it.
That reminder now gives the voice's own rule for a turn's first line: it
opens with a tool call, and a line that comes first says what Claude will do,
what it does not know yet and how it will find out. The voice's speak-early
line now says it has two other cases, which it always listed.
The README now shows the new voice, measured on Claude Opus 5.5. Every test
job still came out right, and hush spoke at most once before its answer in
every session. Its final answers were about 27% shorter than without a
plugin. On Opus 5.5, hush costs more: about 8% more per session on average,
and more on seven of the nine test jobs. Opus 5.5 already writes less without
a plugin, so hush has less to cut. Only the two jobs whose commands print the
most came out cheaper.
The September 1 run on Claude Opus 5, which measured the earlier voice, moved
from the README to the benchmark details, with its play-by-play chart and its
recorded demo. That page labels it and the older runs as earlier voices. It
now also gives that run's cost and runnable content job by job, how much of
each final answer sits in long sentences or long unbroken blocks, and in how
many of the nine jobs hush came out ahead. Reading ease and grade level are
now labeled prose surface, since they measure word and sentence length, not
whether you understood the answer. The demo animation stops for readers who
ask for reduced motion, and the mascot image has an English title and
description.
The README and the benchmark details no longer compare hush with caveman.
The caveman sessions in the September 1 run also used Claude Code's Concise
output style, so they did not measure caveman alone; the comparison returns
after a correctly configured re-run. The benchmark details also note that a
per-job cost difference under about 15% in that one run is within its noise.
The settings page now documents eight switches it left out before, each of
which turns off part of hush: HUSH_CORE, HUSH_QUIET, HUSH_NUDGE=off,
HUSH_SIDECAR, HUSH_GREP, HUSH_TEMPLATE, HUSH_COMPACT and
HUSH_SUBAGENT. It also gives the values each one takes and which one wins
when two are set.
HUSH_SIDECAR, HUSH_GREP, HUSH_TEMPLATE, HUSH_COMPACT and
HUSH_SUBAGENT now also turn off with 0 or false, in any letter case, as
HUSH_CORE, HUSH_QUIET and HUSH_NUDGE already did. Before, only off
worked, and HUSH_SIDECAR=0 left parking on.
On Windows, a state or style file that another process has open for a moment,
such as a second hook writing the same file or an antivirus scan, no longer
drops hush's write. The write now retries for up to 155 ms. Before, it was
skipped without a word.
For contributors: the pre-commit hook now prints only the test suite's
summary when the tests pass, and the summary with the failing tests when one
fails. It still blocks the commit on a failure. Before, it printed the whole
suite's output.
For contributors: the test suite now keeps its temporary files in its own
folder for each test process, not in the system temp folder. The folder is
removed when the process exits. If a run is killed first, the next run removes
what it left.