<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Viswa Jagadeesan</title>
    <description>The latest articles on DEV Community by Viswa Jagadeesan (@viswa_jagadeesan_cdcc69d3).</description>
    <link>https://dev.to/viswa_jagadeesan_cdcc69d3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4280699%2F093cd521-b61b-494f-8211-41922d097e2e.jpg</url>
      <title>DEV Community: Viswa Jagadeesan</title>
      <link>https://dev.to/viswa_jagadeesan_cdcc69d3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/viswa_jagadeesan_cdcc69d3"/>
    <language>en</language>
    <item>
      <title>Get a notification when Claude Code is waiting for input (VS Code, Cursor, terminal)</title>
      <dc:creator>Viswa Jagadeesan</dc:creator>
      <pubDate>Fri, 04 Dec 2026 15:00:04 +0000</pubDate>
      <link>https://dev.to/viswa_jagadeesan_cdcc69d3/get-a-notification-when-claude-code-is-waiting-for-input-vs-code-cursor-terminal-3ahf</link>
      <guid>https://dev.to/viswa_jagadeesan_cdcc69d3/get-a-notification-when-claude-code-is-waiting-for-input-vs-code-cursor-terminal-3ahf</guid>
      <description>&lt;p&gt;Claude Code is great at working on its own, until it needs you. Then it waits silently. In VS Code there is no alert outside the panel, and with three chats open you check each tab by hand.&lt;/p&gt;

&lt;p&gt;There are two ways to fix this: a small hook you write yourself, or a ready-made player. I'll show both.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 1: a small hook (one machine, one alert)
&lt;/h2&gt;

&lt;p&gt;Claude Code runs a &lt;code&gt;Notification&lt;/code&gt; hook when it waits for you. In &lt;code&gt;~/.claude/settings.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"Notification"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"powershell -c \"[console]::beep(880,300)\""&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On macOS use &lt;code&gt;osascript -e 'display notification "Claude needs you"'&lt;/code&gt;, on Linux &lt;code&gt;notify-send "Claude needs you"&lt;/code&gt;. It works, but it only beeps: it doesn't say which chat, and you can't answer from the alert.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 2: Mirror for Claude (every chat, answer from the alert)
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;Mirror for Claude&lt;/strong&gt; because I wanted the alert &lt;em&gt;and&lt;/em&gt; the answer in one place.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fber89378j8wiyzmyyfei.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fber89378j8wiyzmyyfei.png" alt="The player showing Claude needs you" width="800" height="1309"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A list of &lt;strong&gt;every Claude Code chat&lt;/strong&gt; with a live state: &lt;em&gt;needs your OK, working, compacting, finished, failed&lt;/em&gt;. The most urgent is on top.&lt;/li&gt;
&lt;li&gt;Alerts &lt;strong&gt;your way&lt;/strong&gt;: sound, desktop notification, taskbar flash, phone push, ntfy, Slack, Discord or Teams, with quiet hours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Answer right there&lt;/strong&gt;: Allow / Deny, Claude's multiple-choice questions, or type a reply.&lt;/li&gt;
&lt;li&gt;Works with the terminal, VS Code, Cursor, Windsurf, JetBrains and WSL.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It runs fully on your computer: plain Node, no npm packages, hooks that return at once when no player is open.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set it up
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Install the &lt;strong&gt;Mirror&lt;/strong&gt; add-on from the &lt;a href="https://marketplace.visualstudio.com/items?itemName=viswa-jagadeesan.claude-mini-player" rel="noopener noreferrer"&gt;VS Code Marketplace&lt;/a&gt; or &lt;a href="https://open-vsx.org/extension/viswa-jagadeesan/claude-mini-player" rel="noopener noreferrer"&gt;Open VSX&lt;/a&gt;, or &lt;a href="https://viswa-jagadeesan-personal.github.io/mirror-for-claude/get.html?f=mirror-for-claude.zip" rel="noopener noreferrer"&gt;download the zip&lt;/a&gt; and double-click the installer.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Mirror&lt;/strong&gt; in the status bar.&lt;/li&gt;
&lt;li&gt;In Settings, pick your alerts.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Free for personal use, in beta: &lt;strong&gt;&lt;a href="https://github.com/viswa-jagadeesan-personal/mirror-for-claude" rel="noopener noreferrer"&gt;https://github.com/viswa-jagadeesan-personal/mirror-for-claude&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Mirror for Claude is an independent project, not made by Anthropic.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>vscode</category>
      <category>productivity</category>
      <category>ai</category>
    </item>
    <item>
      <title>How to approve Claude Code permissions from your phone</title>
      <dc:creator>Viswa Jagadeesan</dc:creator>
      <pubDate>Thu, 03 Dec 2026 16:06:12 +0000</pubDate>
      <link>https://dev.to/viswa_jagadeesan_cdcc69d3/how-to-approve-claude-code-permissions-from-your-phone-28nj</link>
      <guid>https://dev.to/viswa_jagadeesan_cdcc69d3/how-to-approve-claude-code-permissions-from-your-phone-28nj</guid>
      <description>&lt;p&gt;You give Claude Code a big task, go make coffee, and come back twenty minutes later to find it stopped after thirty seconds on:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Allow this?&lt;/strong&gt; &lt;code&gt;npm test&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Everyone who runs Claude Code for long tasks knows this. The fix is to answer the prompt wherever you are. This post shows how I do it with a free tool I built, &lt;strong&gt;Mirror for Claude&lt;/strong&gt;, and how it works under the hood.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv2m6uc4xlz6ureuqp3tp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv2m6uc4xlz6ureuqp3tp.png" alt="Allow or Deny from the phone" width="780" height="1560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Allow / Always allow / Deny&lt;/strong&gt; for every permission prompt, on your phone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude's multiple-choice questions&lt;/strong&gt; too (the &lt;code&gt;AskUserQuestion&lt;/code&gt; box), not only yes/no.&lt;/li&gt;
&lt;li&gt;The prompt still shows in VS Code / the terminal as usual. Answer in either place; the other one closes.&lt;/li&gt;
&lt;li&gt;A push alert when a chat needs you, finishes or fails.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Every chat in one list&lt;/strong&gt;: terminal, VS Code, Cursor, Windsurf, JetBrains and WSL.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it works (no cloud in between)
&lt;/h2&gt;

&lt;p&gt;Claude Code has a &lt;code&gt;PermissionRequest&lt;/code&gt; hook. Mirror installs a small hook script (plain Node, no npm packages) that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;writes the request to a local file when a player is open,&lt;/li&gt;
&lt;li&gt;waits for your answer from the player (window, browser, terminal or phone),&lt;/li&gt;
&lt;li&gt;returns it to Claude Code as the hook's decision.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With no player open the hook returns at once and Claude Code asks as it always does. Nothing is sent anywhere unless you turn on the phone link.&lt;/p&gt;

&lt;p&gt;The phone connects in one of two ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Home Wi-Fi&lt;/strong&gt;: scan a QR code in the player. The phone talks to your computer directly with a private key.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anywhere&lt;/strong&gt;: an optional private Cloudflare link (no account needed), with its own key and computer-only actions blocked.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also an Android app with a home-screen widget, a quick-settings tile and push alerts. On iPhone, add the page to the home screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set it up (one minute)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Install the &lt;strong&gt;Mirror&lt;/strong&gt; add-on from the &lt;a href="https://marketplace.visualstudio.com/items?itemName=viswa-jagadeesan.claude-mini-player" rel="noopener noreferrer"&gt;VS Code Marketplace&lt;/a&gt; or &lt;a href="https://open-vsx.org/extension/viswa-jagadeesan/claude-mini-player" rel="noopener noreferrer"&gt;Open VSX&lt;/a&gt; (Cursor, Windsurf), or &lt;a href="https://viswa-jagadeesan-personal.github.io/mirror-for-claude/get.html?f=mirror-for-claude.zip" rel="noopener noreferrer"&gt;download the zip&lt;/a&gt; and double-click &lt;code&gt;Install.cmd&lt;/code&gt; / &lt;code&gt;Install.command&lt;/code&gt; / &lt;code&gt;./install.sh&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Mirror&lt;/strong&gt; in the status bar to open the player.&lt;/li&gt;
&lt;li&gt;Open the menu, then &lt;strong&gt;Phone&lt;/strong&gt;, and scan the QR code.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The installer keeps your other settings, makes a backup of &lt;code&gt;~/.claude/settings.json&lt;/code&gt; first, and &lt;code&gt;Uninstall&lt;/code&gt; removes everything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other ways, for comparison
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Anthropic's Remote Control&lt;/strong&gt; connects the Claude app to one session at a time, and approving from the phone has had a reported hang bug.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ntfy hook scripts&lt;/strong&gt; send a notification with Allow/Deny buttons. Good if you only need yes/no on one machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Mirror is for when you run several chats, also want questions and live steps, and want it to stay on your computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;It's free for personal use, in beta, and I'd love feedback:&lt;br&gt;
&lt;strong&gt;&lt;a href="https://github.com/viswa-jagadeesan-personal/mirror-for-claude" rel="noopener noreferrer"&gt;https://github.com/viswa-jagadeesan-personal/mirror-for-claude&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Mirror for Claude is an independent project, not made by Anthropic.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>ai</category>
      <category>productivity</category>
      <category>vscode</category>
    </item>
    <item>
      <title>I built a mini player for Claude Code with zero dependencies: here's how it works</title>
      <dc:creator>Viswa Jagadeesan</dc:creator>
      <pubDate>Thu, 03 Dec 2026 12:58:45 +0000</pubDate>
      <link>https://dev.to/viswa_jagadeesan_cdcc69d3/i-built-a-mini-player-for-claude-code-with-zero-dependencies-heres-how-it-works-43i2</link>
      <guid>https://dev.to/viswa_jagadeesan_cdcc69d3/i-built-a-mini-player-for-claude-code-with-zero-dependencies-heres-how-it-works-43i2</guid>
      <description>&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Claude Code is great at running on its own, until it stops to ask permission and you are in another window. With several chats open, those silent pauses add up.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Mirror for Claude (beta)&lt;/strong&gt;: a tiny always-on-top player that shows what Claude Code is doing in every chat, and lets you approve commands and answer questions from a small window, your terminal, or your phone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5zzazeriph9shtjww2sa.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5zzazeriph9shtjww2sa.gif" alt="Mirror for Claude" width="440" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Mirror for Claude does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Every chat, one glance&lt;/strong&gt;: all Claude Code chats (terminal, VS Code, Cursor, Windsurf, JetBrains, WSL, also Codex CLI) with live state: &lt;em&gt;needs your OK, working, compacting, finished, failed&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Approve from anywhere&lt;/strong&gt;: Allow / Always allow / Deny and Claude's multiple-choice questions, from the mini window, the terminal, a browser, or your phone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live steps&lt;/strong&gt;: commands with their output, file reads and edits with diffs, appearing within milliseconds of the editor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone&lt;/strong&gt;: scan a QR code (home Wi-Fi) or use a private Cloudflare link (anywhere); Android app with home-screen widget, quick-settings tile and push alerts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Talk back&lt;/strong&gt;: send messages, pictures and files to the chat; queue "send when it finishes" or "send at 6 pm".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Know your limits&lt;/strong&gt;: weekly usage bar (what &lt;code&gt;/usage&lt;/code&gt; shows), context ring, cost estimate, 5-hour window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety net&lt;/strong&gt;: warns before risky commands or secrets in files, undo snapshots before each prompt, a "changes" view with put-back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alerts your way&lt;/strong&gt;: sound, desktop notification, ntfy, Slack, Discord, Teams, with quiet hours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice&lt;/strong&gt;: dictate with local, offline speech models (Parakeet, Whisper), nothing sent to the cloud.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Everyone&lt;/strong&gt;: Windows, macOS, Linux, Android; 9 languages; light/dark/high-contrast; screen-reader names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Private by design&lt;/strong&gt;: zero npm dependencies, plain Node 18, server on 127.0.0.1 with a random key; nothing leaves the computer unless you turn it on.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reading, not scraping&lt;/strong&gt;: Claude Code writes every chat to JSONL records in &lt;code&gt;~/.claude/projects&lt;/code&gt;. A small scanner follows the newest lines with &lt;code&gt;fs.watch&lt;/code&gt; and keeps a list of chats and their state.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Answering through hooks&lt;/strong&gt;: Claude Code runs a &lt;code&gt;PermissionRequest&lt;/code&gt; hook before it asks. The hook writes the request to a bridge folder and waits; the player (window, terminal, browser or phone) writes the answer back, and the hook returns it to Claude Code. With no player open, the hook steps aside and the editor asks as usual.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One list drives every player&lt;/strong&gt;: every setting and button lives in one &lt;code&gt;catalog.json&lt;/code&gt;, so the Windows window, browser, phone and terminal stay identical.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone without a cloud account&lt;/strong&gt;: a local server with a random key, a QR code for Wi-Fi, a Cloudflare quick tunnel for anywhere, Web Push encrypted in plain Node (RFC 8291).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero dependencies&lt;/strong&gt;: hooks must start in milliseconds, so everything is plain Node 18, even the zip writer and the QR maker.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/viswa-jagadeesan-personal/mirror-for-claude
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then double-click &lt;code&gt;Install.cmd&lt;/code&gt; (Windows) / &lt;code&gt;Install.command&lt;/code&gt; (macOS), or run &lt;code&gt;./install.sh&lt;/code&gt; (Linux).&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/viswa-jagadeesan-personal/mirror-for-claude" rel="noopener noreferrer"&gt;https://github.com/viswa-jagadeesan-personal/mirror-for-claude&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Free for personal use. Issues and ideas welcome!&lt;/p&gt;

</description>
      <category>claude</category>
      <category>ai</category>
      <category>productivity</category>
      <category>node</category>
    </item>
  </channel>
</rss>
