cache-tax README: the standalone status line row up top - #66
Merged
Merged
Conversation
A reader pulled cache-tax.js out of the repo and calls it with --statusline from his own status line script with no plugin install, and said that path was buried. It now has a section near the top with the command, what it prints, and that no install is needed. The rest of the README is unchanged.
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.
Summary
A reader on 18 Sep pulled
cache-tax.jsout of the repo and calls it with--statuslinefrom his own status line script, with no plugin install, and said that path was buried under the plugin sections. This moves the standalone status-line use up to a section near the top ofplugins/cache-tax/README.md, titled by what the reader gets.Details
New section, second in the file, before Install: "A cache countdown row in a status line you already have".
curlof the raw file to~/.claude/cache-tax.js, and the one line to call it from an existing status line script with the same stdin Claude Code piped in.prompt_cacheobject (v2.1.251+) so Claude Code re-runs it when the cache goes cold, and falls back to the transcript named in the payload on older versions.Nothing else in the README changes; the Status line segment section further down still covers the marketplace-clone path.
No version bump: the plugin's shipped files are unchanged, and the earlier README-only changes to this plugin (#54, #63, #64) did not bump
plugin.json.Test plan
Ran the documented command against a status-line payload in the worktree and got the documented row shape for both states:
npm test: