Detection:
- onDidChangeViewState → re-runs _update() whenever panel becomes visible
- Polling checks CLI status every 30s; if installed state changed, re-renders panel
- isInstalled now requires a valid semver version string from the binary —
a stale binary that exits 0 without printing a version no longer counts
System prompt:
- All modes: users are non-technical, never show commands to run manually
- Agent mode: must use terminal tool to execute commands immediately
- Normal mode: if a command is needed, direct user to Agent mode (⚡)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>