Yaojia Wang
|
c81cebdc47
|
feat(v0.3): H4 — live Claude status badge + notifications + setup-hooks
- terminal-session: handle 'status' frame → claudeStatus + onClaudeStatus
- tabs: per-tab Claude glyph (⚙ working / ⏳ waiting / ✓ idle); inactive
'waiting' tab gets an amber highlight + a browser notification (permission
requested on first tab switch)
- scripts/setup-hooks.mjs + 'npm run setup-hooks': idempotently install/remove
command hooks in ~/.claude/settings.json (inline curl to $WEBTERM_HOOK_URL with
$WEBTERM_SESSION; no-op outside web-terminal); backs up settings.json
- Browser-verified end-to-end: PermissionRequest→⏳, PreToolUse→⚙, Stop→✓;
inactive waiting tab shows amber + glyph. 205 tests green.
|
2026-06-17 19:00:34 +02:00 |
|