Skip to content

feat(cli): restructure statusline commands and auto-install on first …#87

Merged
NicolasGirardot merged 2 commits into
mainfrom
feat/restructure-statusline-commands
May 7, 2026
Merged

feat(cli): restructure statusline commands and auto-install on first …#87
NicolasGirardot merged 2 commits into
mainfrom
feat/restructure-statusline-commands

Conversation

@NicolasGirardot
Copy link
Copy Markdown
Member

…launch

  • Nest install/doctor/fix under edgee statusline claude {install,doctor,fix}
  • Add enable / disable toggles backed by a marker at ~/.config/edgee/statusline-claude.disabled
  • Auto-install the persistent integration on first edgee launch <agent>, gated by ~/.config/edgee/statusline-claude.installed
  • Add edgee statusline wrap <cmd> as the canonical wrap subcommand; --wrap <cmd> kept as a hidden alias so deployed .claude/settings.local.json overlays keep working
  • Migrate legacy edgee doctor --warn-only SessionStart hooks and stale wrapper-script paths in ~/.claude/settings.json automatically
  • Remove the per-launch transient install (wrapper.sh + statusline.sh); the persistent install plus wrap/fix cover everything it used to
  • Update README's statusline section

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

Describe your changes here

Related Issues

List related issues here

…launch

- Nest install/doctor/fix under `edgee statusline claude {install,doctor,fix}`
- Add `enable` / `disable` toggles backed by a marker at
  `~/.config/edgee/statusline-claude.disabled`
- Auto-install the persistent integration on first `edgee launch <agent>`,
  gated by `~/.config/edgee/statusline-claude.installed`
- Add `edgee statusline wrap <cmd>` as the canonical wrap subcommand;
  `--wrap <cmd>` kept as a hidden alias so deployed
  `.claude/settings.local.json` overlays keep working
- Migrate legacy `edgee doctor --warn-only` SessionStart hooks and stale
  wrapper-script paths in `~/.claude/settings.json` automatically
- Remove the per-launch transient install (wrapper.sh + statusline.sh);
  the persistent install plus `wrap`/`fix` cover everything it used to
- Update README's statusline section
@NicolasGirardot NicolasGirardot requested a review from a team as a code owner May 6, 2026 13:00
…cation

- Bare `edgee statusline` now prints help (clap `arg_required_else_help`)
  instead of silently rendering. The renderer is `edgee statusline render`.
- Install writes the explicit `edgee statusline render` form to
  `~/.claude/settings.json` so Claude Code calls the renderer directly.
- Add a silent `heal_legacy_statusline()` pass that runs on every
  `edgee launch <agent>`, even after the install marker is set, to migrate
  already-deployed `edgee statusline` (bare) and stale wrapper-script paths
  to the canonical form. Otherwise upgrading users would see help text in
  their statusline until they re-ran install manually.
- Update README.
@NicolasGirardot NicolasGirardot merged commit cd2c47f into main May 7, 2026
4 checks passed
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.

3 participants