diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 02225f7..1593a31 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -7,7 +7,7 @@ "plugins": [ { "name": "agent-radar", - "description": "One live line above the prompt per running subagent: time, tool count and what it's doing. /radar shows every agent and its messages.", + "description": "One live line above the prompt per running subagent or background shell: time, tool count and what it's doing. /radar shows every agent and its messages.", "version": "0.2.0", "source": "./mods/agent-radar", "category": "See what's happening", diff --git a/README.md b/README.md index 155d705..e2f37b8 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ claude --plugin-dir mods/context-bar | 🔥 | **heatmap** | A GitHub-style grid of your Claude Code time, with your streak, peak hours and top projects | `/heatmap` | | 💳 | **openai-balance** | Your OpenAI API credit: an estimated balance with a gauge, today's spend, where the money mostly went, and the last call. Needs an OpenAI organization Admin key | `/openai-balance` | | 🪙 | **openrouter-balance** | Your OpenRouter credit: the real balance with a gauge, today's spend and the model the money mostly went to. A regular API key shows the balance too when OpenRouter allows it, plus its own spend and limit | `/openrouter-balance` | -| 📡 | **agent-radar** | One live line per running subagent | `/radar` | +| 📡 | **agent-radar** | One live line per running subagent or background shell | `/radar` | | 🔍 | **review-watch** | One live line per running code review (Codex or a review subagent) with the model, target, elapsed time and Codex's latest output. A toast lists the findings when it ends | | | 🌐 | **browser-lanes** | Whether this session has a browser, and who holds it | `/browser` | | 🕌 | **prayer-times** | The current prayer and how long is left, the next one, and zawal. Computed on your computer, Hanafi or standard Asr | `/prayers` | diff --git a/docs/mods.md b/docs/mods.md index f92d62c..38e84c5 100644 --- a/docs/mods.md +++ b/docs/mods.md @@ -169,12 +169,12 @@ Shows your OpenRouter credit above the Claude Code prompt. ### 📡 agent-radar -Shows one live line per running Claude Code subagent. +Shows one live line per running Claude Code subagent or background shell. - A finished agent shows a check for 30 seconds, then its line goes away - A toast says when each one finishes - `/radar` lists every agent this session -- A background Bash command (`run_in_background`, or one moved to the background with Ctrl+B) gets a line too, tagged `sh`; one that runs `codex exec`, `opencode run` and the like is labelled with that agent and model. It ends when Claude Code closes its output file, found by `lsof` every 5 seconds, so without `lsof` it stays "running" +- A background Bash command (`run_in_background`, or one moved to the background with Ctrl+B) gets a line too, tagged `sh`; one that runs `codex exec`, `opencode run` and the like is labeled with that agent and model. It ends when Claude Code closes its output file, found by `lsof` every 5 seconds, so without `lsof` it stays "running" - In the pane, `1` to `9` open that agent's messages, `b` goes back, `c` clears finished agents and `q` closes ### 🔀 switchboard diff --git a/mods/agent-radar/.claude-plugin/plugin.json b/mods/agent-radar/.claude-plugin/plugin.json index 9abf0fc..148cd10 100644 --- a/mods/agent-radar/.claude-plugin/plugin.json +++ b/mods/agent-radar/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "agent-radar", "version": "0.2.0", - "description": "One live line above the prompt per running subagent: time, tool count and what it's doing. /radar shows every agent and its messages.", + "description": "One live line above the prompt per running subagent or background shell: time, tool count and what it's doing. /radar shows every agent and its messages.", "author": { "name": "Hamza Zafar", "url": "https://github.com/hamzafer" diff --git a/site/index.html b/site/index.html index 371a9e8..c5d947e 100644 --- a/site/index.html +++ b/site/index.html @@ -95,7 +95,7 @@

See what's
  • heatmapA GitHub-style grid of your Claude Code time, with your streak and top projects/heatmapheatmap: a year of Claude Code activity as orange squares, with a 25-day streak, peak hours and top projects
  • openai-balanceYour OpenAI API credit, today's spend, where it went and the last call/openai-balance
  • openrouter-balanceYour OpenRouter credit, today's spend and where it mostly went/openrouter-balance
  • -
  • agent-radarOne live line per running subagent/radar
  • +
  • agent-radarOne live line per running subagent or background shell/radar
  • review-watchOne live line per running code review, Codex or a review subagentreview-watch: an agent review on haiku at 5s and a codex review at 6s, with Codex's latest line, starting review of 3 files
  • browser-lanesWhether this session has a browser, and who holds it/browserbrowser-lanes line in red: browser NOT attached, another Claude holds the shared profile, above token-weather and where-am-i
  • prayer-timesThe current prayer and how long is left, the next one, and zawal/prayersprayer-times line: Dhuhr, 1h 26m left, next Asr 16:32
  • diff --git a/site/mods/agent-radar/index.html b/site/mods/agent-radar/index.html index 131251b..e864a73 100644 --- a/site/mods/agent-radar/index.html +++ b/site/mods/agent-radar/index.html @@ -3,29 +3,29 @@ -agent-radar: track running Claude Code subagents live - +agent-radar: track running Claude Code subagents and shells live + - - + + - - + + - + @@ -42,8 +42,8 @@

    agent-radar

    -

    One live line above the prompt per running subagent: time, tool count and what it's doing.

    -

    See what's happening Version 0.1.2

    +

    One live line above the prompt per running subagent or background shell: time, tool count and what it's doing.

    +

    See what's happening Version 0.2.0

    @@ -58,7 +58,7 @@

    agent-radar

    How to use

    -
    /radar
    Lists every agent this session
    +
    /radar
    Lists every subagent and background shell this session
    1 to 9
    In the pane, opens that agent's messages
    b
    Goes back
    c
    Clears finished agents
    @@ -69,6 +69,7 @@

    agent-radar

    • A finished agent shows a check for 30 seconds, then its line goes away.
    • A toast says when each one finishes.
    • +
    • A background Bash command (run_in_background, or one moved to the background with Ctrl+B) gets a line too, tagged sh. One that runs codex exec, opencode run and the like is labeled with that agent and model. It ends when Claude Code closes its output file, found by lsof every 5 seconds, so without lsof it stays "running".
    @@ -76,6 +77,7 @@

    agent-radar

    Needs

    • Claude Code 2.1.287 or newer
    • +
    • lsof to tell when a background shell ends (macOS and Linux have it)
    diff --git a/site/mods/blast-radius/index.html b/site/mods/blast-radius/index.html index 010ced4..72c772d 100644 --- a/site/mods/blast-radius/index.html +++ b/site/mods/blast-radius/index.html @@ -25,7 +25,7 @@ - + @@ -43,7 +43,7 @@

    blast-radius

    Holds risky Bash commands and shows what they would change before they run.

    -

    Guard your repo Version 0.2.2

    +

    Guard your repo Version 0.2.3

    blast-radius held a command: rm -rf would delete 9 files (252 KB), with Cancel and Proceed buttons
    Holds an rm -rf and shows what it would delete.
    diff --git a/site/mods/browser-lanes/index.html b/site/mods/browser-lanes/index.html index 7545270..7b20b6c 100644 --- a/site/mods/browser-lanes/index.html +++ b/site/mods/browser-lanes/index.html @@ -25,7 +25,7 @@ - + @@ -43,7 +43,7 @@

    browser-lanes

    Shows if this session has a Playwright browser and who holds it. A subagent that wants the browser waits until the one using it is done.

    -

    See what's happening Version 0.1.2

    +

    See what's happening Version 0.1.3

    browser-lanes line in red: browser NOT attached, another Claude holds the shared profile, above token-weather and where-am-i
    browser-lanes on top, with token-weather and where-am-i below it.
    @@ -96,7 +96,7 @@

    browser-lanes