Repository navigation
ClaudeBar v0.4.33
What's New
Added
- Claude Code Session Tracking: Real-time monitoring of Claude Code sessions via hooks. When Claude Code is running, ClaudeBar shows session status directly in the menu bar and popover:
- Menu bar indicator: A terminal icon appears next to the quota icon with phase-colored status (green = active, blue = subagents working, orange = stopped)
- Session card: Detailed session info in the popover showing phase, task count, active subagents, duration, and working directory
- System notifications: Get notified when a session starts ("Claude Code Started") and finishes ("Claude Code Finished — Completed 3 tasks in 2m 5s")
- Hook Settings: New "Claude Code Hooks" section in Settings with a single toggle to enable/disable. Automatically installs/uninstalls hooks in
~/.claude/settings.json. Server starts/stops reactively when the toggle changes. - Copilot Internal API Probe: New dual probe mode for GitHub Copilot, supporting Business and Enterprise plans where the Billing API returns 404. Switchable in Settings between "Billing API" (default) and "Copilot API" (
copilot_internal/user) modes.
Fixed
- HookHTTPServer deadlock: Removed
queue.synccalls inside NWListener callbacks that already run on the same serial queue, preventing a crash on startup. - Hook format: Updated hook installer to use Claude Code's new matcher-based format (
{"matcher": ".*", "hooks": [...]}) instead of the deprecated flat format.
Technical
- Added
SessionEvent,ClaudeSession, andSessionMonitor(@MainActor) domain models for session lifecycle tracking - Added
HookHTTPServerusing Network.framework (NWListener) for localhost-only event reception on port 19847 - Added
SessionEventParserfor parsing Claude Code hook JSON payloads - Added
HookInstallerwith atomic writes and corruption-safe JSON handling - Added
PortDiscoveryfor writing/reading~/.claude/claudebar-hook-port - Added
HookSettingsRepositoryprotocol andUserDefaultsimplementation - Added
CopilotProbeModeenum,CopilotInternalAPIProbe, and dual probe support inCopilotProvider - Added
com.apple.security.network.serverentitlement forNWListener - Added
AppLog.hookslogging category - Extracted
ClaudeSession.Phase.labeland.colorextensions to deduplicate phase display logic - Added
HookConstants.defaultPortas single source of truth for port 19847
Installation
Option 1: DMG (Recommended)
- Download
ClaudeBar-0.4.33.dmg - Open the DMG and drag ClaudeBar.app to Applications
- Launch from Applications folder
Option 2: ZIP
- Download
ClaudeBar-0.4.33.zip - Unzip and move ClaudeBar.app to Applications
- Launch from Applications folder
Verification
SHA256 checksums are provided. Verify with:
shasum -a 256 -c ClaudeBar-0.4.33.zip.sha256