Repository navigation
chore(release): v0.5.0 - #16
Merged
Merged
Conversation
Bump every crate and the npm and Python packages to 0.5.0, the Claude Code mod to 0.2.0, and add the v0.5.0 notes to CHANGELOG.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps every crate, the npm package with its five platform packages, and the Python package to 0.5.0, and the Claude Code mod to 0.2.0 so marketplace installs pick it up with
claude plugin update. Same nine release files as v0.4.0, plus the mod'splugin.json.Nothing is published by merging. Publishing happens when the
v0.5.0tag is pushed on the merge commit. The npm token inNPM_TOKENexpires October 29, so tag before then or the npm leg fails.Verified: every edited manifest parses, the release build reports
secondwind 0.5.0, the mod validates and its 8 tests pass. Main's CI already passed on all three platforms for the code in this release; this PR changes versions and notes only.It is a minor bump because
setup --hookno longer installs anything and figures read from recorded sessions change.Release notes
Upgrade notes
PreToolUse hook returns, and the hook rewrote every Bash command to
secondwind exec -c '...'while answering "allow", so Bash deny rules stopped matching and prompts were skipped.
secondwind hooknow passes every command through unchanged,setup --hookinstalls nothing, plainsecondwind setupremoves a hook an earlier version installed, andsecondwind checkwarns whileone is still there. Use the Claude Code mod instead (below).
optimizetakes optionaltoolandcommand;execuses its own), output that is usually readin full, such as a large
catorRead, stays in view and only inline codecs apply. Callers thatname nothing behave as before.
text and wrapped every tool result in JSON the model never saw. On the author's sessions that
made tool output look seven times larger than it is, so
cache-savingsand the audit report less.Security
Added
secondwind evalreplays your recorded sessions through the optimizer and reports, per tool andcommand, what was offloaded, how often the model later needed it, net tokens, and whether every
block came back intact.
--learnfits reopen rates on half your sessions, replays the other halfwith and without the gate, and writes
~/.secondwind/policy.json;--gateand--queryreplaywith the gate or with your latest message as the query;
--blockswrites one line per result.built-in table comes from 1,491 real sessions; a learned
policy.jsonreplaces it. On held-outsessions the learned gate cut reopens per session from 23.6 to 4.8, and no block of 138,209 came
back different from the original.
catstays in view, andcompresses from 512 bytes instead of 6 KB. For Bash on held-out sessions it saves 9.7% of all
tool output instead of 6.6%, with fewer extra turns. Tests now pin the pane's off, empty, win and
loss states.
Fixed
optimize'squerydescription no longer claims it helps text; it applies to JSON recordarrays.