feat: statusline auto-installs on first run (0.1.4) - #107
Merged
Conversation
…un; bump to 0.1.4 The one-shot tip was structurally invisible (single systemMessage, sentinel prevented repeats). SessionStart now writes the statusLine entry itself: never overwrites a foreign statusLine, never re-installs after the user deletes the entry (statusline-installed sentinel), surfaces parse errors instead of swallowing them, writes atomically. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Z6UdMd9aUZUFdqBDEuVTB
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.
The statusline was never getting configured: the old flow emitted a one-time tip as a SessionStart systemMessage — trivially missed, and a sentinel file guaranteed it never repeated. Users ended up with no statusline and no path back.
SessionStart now installs it automatically:
statusLineinto~/.claude/settings.json(atomic temp-file + rename) when none exists, pointing at the version-independent~/.supermemory-claude/statusline-currentsymlinkstatusLine— one-time suggestion insteadstatusline-installedsentinel means deleting the entry sticksVerified in a sandboxed $HOME: fresh install, idempotent re-run, user-deleted entry stays deleted, foreign statusline untouched, corrupt settings surfaced loudly.
Also bumps 0.1.3 → 0.1.4 (package.json, plugin.json, latest.json) — supersedes #104.
🤖 Generated with Claude Code
https://claude.ai/code/session_011Z6UdMd9aUZUFdqBDEuVTB