Repository navigation
feat: surface cached client update notices - #68
Merged
Merged
Conversation
abruption
force-pushed
the
feat/67-cached-update-notices
branch
from
September 15, 2026 10:25
a00eff8 to
2f6088f
Compare
This was referenced Sep 16, 2026
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
Commands now surface a structured
clientUpdatefact when a fresh 24-hour cache proves that the invoking session-peer CLI is behind the latest stable GitHub release. Cache misses refresh in one detached local process, remote subprocesses opt out, human guidance stays on stderr, and every cache or network failure remains advisory.Package-managed installs report pipx, uv, or pip upgrade guidance, while
update --checkrefreshes the same cache without replacing package-owned files. README documents the additive JSON field, its scope relative toremoteVersion, cache semantics, and opt-out controls.Closes #67
Type
Checklist
python3 session_peer.py listworks locallypython3 session_peer.py list --host <a real host>works over SSH--dry-runresolves a target without posting anything (covered by the existing regression suite)Verified against
compileall,git diff --check, and the CI-equivalentshellcheckinvocation--no-update-noticebehavior using an isolated cacheNotes
No live message was submitted. A missing, stale, malformed, offline, or opted-out cache omits
clientUpdate; absence does not assert that the client is current. Multi-host responses retain their current dict/list shapes and copy the single local client fact into each result object.