DEV Community

Masaki Iino
Masaki Iino

Posted on AI-assisted

My coding agent had a question. I was in another window

A quick question for a coding assistant used to mean waiting for the answer. A task in Codex or Claude Code can now run long enough to start something else.

Coming back, I sometimes find the agent waiting on a question I missed. Other times it’s still working, but it’s gone in a direction I didn’t intend. Either way, it helps to catch that before reviewing the result.

Why mirroring the window wasn’t enough

Pocket Screen started as a way to keep a PDF or browser window visible in a small, always-on-top Reference View. A coding chat works the same way, as long as you leave it open in its own window.

The trouble starts when two jobs share a window. Switch from chat A to chat B and the mirror shows B. To check on A, you have to switch back.

Follow the conversation, not the window

That’s why I added AI Monitor in Pocket Screen 2.2.1. It reads the conversation data available on the Mac and shows the session you picked in a read-only Reference View. You can keep working in chat B while the small window still shows chat A.

A glance at the conversation tells me what the agent last did, whether it’s headed the wrong way, or whether there’s a question to answer. To reply, I switch back to the original chat.

What updates, and when

  • Local sessions: Codex, Claude Code, and supported ChatGPT Work sessions running locally. New activity appears as it becomes available in the local session data.
  • Cloud sessions: Supported cloud ChatGPT Work and Claude Chat sessions use whatever conversation data is available on the Mac. Updates can arrive late, and some may not appear. These views aren’t reliable for real-time monitoring.

If you try it, pick one session, switch to another chat, and see whether you need to switch back as often. The Pocket Screen AI Monitor page links to the setup guide and the Mac App Store.

When you run two jobs at once, is a nudge when one needs you enough? Or do you want to read the conversation to see whether it’s on track?

Top comments (4)

Collapse
 
userxnom profile image
Abdullah Naseer •

The distinction that matters here is follow the conversation, not the window — mirroring breaks exactly when you run two jobs at once, which is also exactly when you stop watching either one. The failure I recognize is the second one: an agent that is still working, but has drifted in a direction I did not intend, because catching that early is worth more than catching a stalled question. My question is about two sessions needing you at once: how does the nudge choose which one to surface first, and when you read the conversation in the floating window, is there anything stopping you from answering in the wrong session?

Collapse
 
masaki_iino_60e1ef88991b5 profile image
Masaki Iino •

Thanks, Abdullah. Catching an agent going in the wrong direction while it’s still working is a big part of why I built this.

On the nudge: in 2.2.1, you choose which session each Reference View follows. The view updates as new conversation data becomes available on the Mac. If two sessions are waiting, AI Monitor doesn’t send a separate alert or pick one to show first.

The view itself is read-only. For supported Codex and Claude Code sessions, the icon in the top-left opens that specific chat so you can reply there without hunting for it. That helps avoid mix-ups, but it doesn’t stop you from switching to another chat and replying there.

Collapse
 
paul_irolla_6b5ae261d0224 profile image
Paul Irolla •

I ship Tokenade. The wait you describe is where the cost sits: the agent re-reads every earlier message before it answers, however short the question is.

Collapse
 
masaki_iino_60e1ef88991b5 profile image
Masaki Iino •

Thanks, Paul. I can see Tokenade helping on jobs that chew through a lot of logs.

With Pocket Screen, I wanted to keep an eye on the agent while I was working in another window. Sometimes it’s waiting for me to answer a question. Other times it’s still going, just not in the direction I had in mind.

Most of the time, a quick glance is enough to tell if you need to switch back.