Skip to content

feat: statusline auto-installs on first run (0.1.4) - #107

Merged
Dhravya merged 1 commit into
mainfrom
feat/statusline-autoinstall
Aug 21, 2026
Merged

feat: statusline auto-installs on first run (0.1.4)#107
Dhravya merged 1 commit into
mainfrom
feat/statusline-autoinstall

Conversation

@Dhravya

@Dhravya Dhravya commented Aug 21, 2026

Copy link
Copy Markdown
Member

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:

  • Writes statusLine into ~/.claude/settings.json (atomic temp-file + rename) when none exists, pointing at the version-independent ~/.supermemory-claude/statusline-current symlink
  • Never overwrites a foreign statusLine — one-time suggestion instead
  • Never fights removal — a statusline-installed sentinel means deleting the entry sticks
  • Unparseable settings.json → visible "not installed because X" message, file untouched

Verified 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

…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
@Dhravya
Dhravya merged commit c8c3cd2 into main Aug 21, 2026
3 checks passed
@Dhravya
Dhravya deleted the feat/statusline-autoinstall branch August 21, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant