Skip to content

feat: add jj-aware statusline with setup/remove commands#25

Merged
muloka merged 1 commit intomainfrom
feat-statusline-jj
Mar 14, 2026
Merged

feat: add jj-aware statusline with setup/remove commands#25
muloka merged 1 commit intomainfrom
feat-statusline-jj

Conversation

@muloka
Copy link
Copy Markdown
Owner

@muloka muloka commented Mar 14, 2026

Summary

  • Add statusline-jj.sh — jj-aware statusline script showing model, change ID, bookmark, description, trunk state (@trunk, +N, ), context %, and cost
  • Add /statusline-jj-setup command — copies script and wires statusLine in .claude/settings.local.json
  • Add /statusline-jj-remove command — removes statusline config and script
  • Includes repo-state caching to avoid redundant jj queries
  • Graceful fallback for non-jj directories

Test plan

  • Tested statusline output for all three trunk states (+N, @trunk, ⎇)
  • Tested setup flow (copy script + add settings key)
  • Tested remove flow (delete settings key + remove script)
  • Tested non-jj fallback

🤖 Generated with Claude Code

@muloka muloka merged commit d63501a into main Mar 14, 2026
2 checks passed
@muloka muloka deleted the feat-statusline-jj branch March 14, 2026 17:50
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