claude/hooks
Bastien Chanot a491de51c8 feat(statusline): replace plan segment with profile: + effort:
Drop the `PLAN` (Max/Pro) segment — user wants runtime context, not
account-tier info. Add prefixes for clarity:

- `profile: <name>` reads `<repo>/.active-profile` (already wired in
  the previous commit).
- `effort: <level>` reads `.effortLevel` from `<repo>/settings.json`
  via jq — picks up `/effort` changes automatically since settings.json
  is the source-of-truth (symlinked into `~/.claude/settings.json`).

Sample output:

  Opus 4.7 | claude (master) | profile: full | effort: xhigh | ███░░ 42% | 3m

`lib/detect-plugins.sh` is left untouched — still used by
hooks/session-start.sh, doctor.sh, update-all.sh, install-plugins.sh.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-21 05:17:29 +02:00
..
.rtk-hook.sha256 audit fixes: RTK hook, settings unification, graphifyy, statusline 2026-04-12 13:28:30 +02:00
rtk-rewrite.sh audit fixes: RTK hook, settings unification, graphifyy, statusline 2026-04-12 13:28:30 +02:00
session-start.sh fix(install,session-start): enable always-on plugins + truthful banner 2026-05-03 23:03:21 +02:00
statusline.sh feat(statusline): replace plan segment with profile: + effort: 2026-05-21 05:17:29 +02:00