See which session needs you.
Open a Claude or Codex Agents Widget to see detected sessions and their status, including Working, Waiting, Done and Stopped. The Widget prioritizes sessions that need your attention. Claude Code can show when a session is waiting for permission or input.
Follow subagents.
Expand a session to see its detected subagents and which are still running. You can stop an individual running Claude Code subagent when the session supports controls.
Pause, stop or force quit.
Pause and Stop work only for working Claude Code sessions that have received DockMagic's hook. Pause holds the next tool call until you resume or the pause expires. Stop blocks the next tool call to end the current turn. Force Quit applies only to eligible Terminal sessions and asks for confirmation.
How the Claude Code hook works.
DockMagic adds command hooks under hooks in Claude Code's settings.json, normally ~/.claude/settings.json or the file in your custom CLAUDE_CONFIG_DIR. It tries to install them automatically when Claude tracking runs and finds the configuration folder. If tracking is missing, choose Turn on in the Widget. DockMagic preserves other hooks.
The hook forwards Claude Code's session events, including prompt and tool events, to a token-protected connection on this Mac at 127.0.0.1. The PreToolUse hook handles Pause and Stop before Claude Code runs its next tool.
Check limits before your next task.
See usage limits, reset times and run-out estimates in the AI Usage Widgets. For account checks, see how to check Claude Code usage, where to find Codex usage limits or Claude and Codex service status.
Questions
Can I pause or stop Claude Code from my Mac's Dock?
Yes. A working Claude Code session can be paused or stopped after DockMagic's hook reaches the session. The action takes effect at the next tool call.
What can I do with Codex sessions?
You can monitor Codex sessions and force quit eligible Codex Terminal sessions after confirming. For Codex app sessions, DockMagic shows status and session details.
Does DockMagic change my Claude Code settings?
Yes. It adds command hooks to Claude Code's settings.json for session events and Pause or Stop. The hooks send events to DockMagic on this Mac over a token-protected loopback connection.