Repository navigation
feat: last turn, today and cache share in the status line; release binaries and one-step setup - #6
Merged
Merged
Conversation
…naries and one-step setup - statusline: a second line for today, the CO₂e of the last turn, the cache share - statusline --wrap keeps an existing status line on top; install-statusline writes settings - scans of transcript files are cached in ~/.cache/claude-nature - release workflow builds macOS and Linux binaries on each v* tag; install.sh fetches them - /nature-footprint:setup installs the binary and the status line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUg7CcESDGqbwXB484UeRx
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUg7CcESDGqbwXB484UeRx
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUg7CcESDGqbwXB484UeRx
feat: hardware manufacturing CO₂e and cooling water at the watershed
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.
Review
src/cache.rs, the--wrapsubprocess andinstall_statusline(), which rewrites the user'ssettings.json.jiff).statusline --wrap CMDandinstall-statusline: an existing status line stays on top. There is a backup, and running it twice does nothing.v*tag, the workflow builds 4 targets (macOS arm64/x86_64, Linux musl).install.shchecks the SHA-256./nature-footprint:setupdoes both steps.jiff(local midnight).serde_jsongetspreserve_order, so the key order ofsettings.jsonstays the same.Methodo & data decisions
origin.kind = human, or the last string prompt. Tool results and meta lines do not count.Tests: 12 green, clippy clean,
claude plugin validateOK.🤖 Generated with Claude Code
https://claude.ai/code/session_01QUg7CcESDGqbwXB484UeRx