Skip to content

Now and ports

Now answers two questions: which AI coding agents are running on this machine, and what is holding your local ports. It shows each session’s state, the processes, memory and ports it holds, and the project, framework and branch behind every listening port. It never stops anything on its own. Every stop is a click, a command or a tool call, and it goes through one engine that refuses protected processes (the safety page has the full list).

The Now dashboard is being reworked, so this page describes it in general terms: a summary row on top, your agent sessions on one side, and your ports on the other.

Each live session has a state: working, waiting for you (it asked a question or needs a permission), or idle. Yardmaster reads the state from the files the agent keeps on disk. Where an agent keeps no such state, the session shows as running with no state. See supported agents for what each one reports.

Open the main window on Now (⌘1, Ctrl+1 on Windows and Linux). The Agents list shows one row per live session with its title, state and ports, and a count of sessions waiting. Click a row to see its folder, worktree, terminal, process and session id.

In the popover (the tray icon, or the global shortcut) open the Sessions tab. The tray menu also lists each waiting session by name with “waiting” after it; click one to bring its terminal to the front. When nothing waits, it reads “Nothing waiting for you”.

Sessions that ended while Yardmaster was watching move to Finished today.

Now window with the Agents list: one session waiting for you (accent state label), one working, one idle, ports shown beside each rowNow window with the Agents list: one session waiting for you (accent state label), one working, one idle, ports shown beside each row
Now, Agents.
Popover on the Sessions tab, the session waiting for you at the topPopover on the Sessions tab, the session waiting for you at the top
The popover's Sessions tab.

A session’s footprint is the agent process plus everything below it, plus any process tree it started that has since left its tree (a server that daemonised). Yardmaster counts the processes, adds up memory and CPU, and lists the ports they listen on. If the session runs in a git worktree, the worktree and branch show next to the project.

On Now, click a session row. The detail shows folder, the worktree and branch, where it runs (for example in a terminal or in Claude Desktop), process, any detached trees, and the session id.

Now window with one Claude Code session expanded: folder, worktree line, where, process with children, detached, session id, and the Go to terminal and End session buttonsNow window with one Claude Code session expanded: folder, worktree line, where, process with children, detached, session id, and the Go to terminal and End session buttons
An expanded session.

Expand a session on Now and click Go to terminal. Yardmaster raises the exact tab where the terminal can be asked (iTerm2 and Terminal.app on macOS), otherwise the window. The button is missing for sessions with no terminal, such as Claude Desktop sessions. On macOS the first use asks for Automation permission.

From the tray, click a waiting session in the menu.

A session row after clicking Go to terminal, showing the confirmation that the iTerm2 tab was brought to the frontA session row after clicking Go to terminal, showing the confirmation that the iTerm2 tab was brought to the front
Go to terminal, done.

Ending a session stops the agent and the processes it holds. The first attempt is graceful: SIGTERM (taskkill on Windows), a wait, then a check that everything is gone. Forcing is a separate, explicit step.

Expand a session on Now, click End session, then confirm with End session again. If something ignores the graceful stop, the result offers Leave it or Force stop. That second click is the only way the app forces.

Now window, an expanded session with the End session confirmation line: 'End Add a health check endpoint? Stops Claude Code and ...' with Cancel and End session buttonsNow window, an expanded session with the End session confirmation line: 'End Add a health check endpoint? Stops Claude Code and ...' with Cancel and End session buttons
Confirming End session.

When a session ends, processes it started can keep running: a dev server, a watcher. These are leftovers. Yardmaster marks a leftover ended when its session is known to be gone, and unsure when the same agent is still running and it cannot tell whose it is. Only ended leftovers are swept. Protected processes and other users’ processes are kept.

On Now, the Left behind list shows each leftover with its command, project, ports and state. Click one and use Stop, or use Stop all N at the bottom to stop every tree marked ended. Both ask first and are graceful, with Force stop offered only if something survives.

If A server is left behind is on, a notification appears when a server’s session ended or its folder was deleted.

Now window, Left behind list with two leftovers marked ended and one marked unsure, and the Stop all 2 buttonNow window, Left behind list with two leftovers marked ended and one marked unsure, and the Stop all 2 button
Left behind.

List ports with project, framework, branch and agent

Section titled “List ports with project, framework, branch and agent”

On Now the ports list sits beside the sessions. In the popover, open the Ports tab (⌘3). Each row shows the title (your label, else the project), the framework, branch, owning agent, memory, and whether it is reachable from the LAN. Click a row for the detail panel. Type in the filter field to narrow the list, or press ⌘F to focus it. System daemons, editor helpers and ports you hid are left out; switch on Always show system, editor, and hidden ports in SettingsGeneralList to include them.

Now window ports list: rows for docs-site (Next.js 15), storefront/web (Vite 6, branch feat/checkout-flow), postgres, and api (FastAPI)Now window ports list: rows for docs-site (Next.js 15), storefront/web (Vite 6, branch feat/checkout-flow), postgres, and api (FastAPI)
Now, Ports.

How a process gets its project, framework and agent is covered in how attribution works.

whois tells you who owns a port and what to do about it. The verdict is one of: bind (the port is free), reuse (the server is yours, or runs in your project), stop then retry (it is a leftover), or use another port (it belongs to something you should not touch). It never stops anything.

Click a port row to open its detail. It lists the process, command, folder, project, framework, branch, the agent that started it, memory and uptime, and a one-sentence note on what stopping it would do. Protected rows show “protected” instead of a stop button.

Click a port row and click Stop, then confirm. Yardmaster sends SIGTERM and waits. If the process survives, the result offers Force stop: that second click is the only way the app escalates. Right-click a row for the same actions in a menu.

To stop every dev server at once, press ⌘⇧K (or Stop all in the footer) and confirm. Protected and hidden ports are left alone. In the filter field, typing kill 3000 and pressing Return does the single-port version.

Port detail for a Vite server with the confirmation line 'Stop node on 5173? Sends SIGTERM and waits.' and Cancel and Stop buttonsPort detail for a Vite server with the confirmation line 'Stop node on 5173? Sends SIGTERM and waits.' and Cancel and Stop buttons
Confirming a stop.
Port row detail for a Postgres port showing the word 'protected' where the Stop button would bePort row detail for a Postgres port showing the word 'protected' where the Stop button would be
A protected process has no Stop button.

The protected list covers databases (Postgres, MySQL, MongoDB, Redis and similar), Docker and its helpers, editors and IDEs, and OS services. Add your own names with the CLI (the app reads the same list):

Terminal window
yardmaster settings protect add my-gateway
yardmaster settings protect remove my-gateway

An orphan here is a server whose agent session ended or whose working directory was deleted. clean finds those ports and stops them.

Use the Left behind list on Now for processes held by ended sessions. A port row whose server looks abandoned shows its reason, for example “agent session ended”, and can be stopped like any other port.

free-port returns a port nobody listens on, checked against the socket table and by actually binding it. With --stable, a folder gets the same port every run, so each project or worktree keeps its own.

Not in the app. Use the CLI or ask your agent.

After starting a dev server, an agent needs to know when it is up. After stopping one, it needs to know the port is free.

Not in the app. Ports update on their own as the list refreshes.

Labels, pins and hidden ports are saved in the one config file, keyed by protocol and port (tcp:3000), so they survive restarts and are shared by the app and the CLI.

Right-click a port row, or open its detail, and choose Pin to top (⌘P), Hide this port, or the matching Unpin and Unhide. Hidden ports come back with Always show system, editor, and hidden ports in SettingsGeneralList. Other row actions: Open in browser (⌘O), Copy URL, Copy port (⌘⇧C), Reveal folder, and Open in an installed editor or terminal.

Context menu on a port row listing Open in browser, Copy URL, Copy port, Reveal folder, Open in editors, Copy a prompt about this, Pin to top, Hide this port, StopContext menu on a port row listing Open in browser, Copy URL, Copy port, Reveal folder, Open in editors, Copy a prompt about this, Pin to top, Hide this port, Stop
The port context menu.

The popover, the main window and the shortcut

Section titled “The popover, the main window and the shortcut”
  • Popover. Click the tray icon. Tabs: Limits, Sessions, Ports, Tokens, Disk (⌘1 to ⌘5). It hides when you click away, unless pinned. Escape clears the filter, then hides it.
  • Main window. Click the window button in the popover or choose Open Window… from the tray menu. The sidebar tabs are Now, Reclaim, History, Usage, Config and Hygiene (⌘1 to ⌘6), and Settings (⌘,). On Windows and Linux use Ctrl instead of ⌘.
  • Global shortcut. The default is Alt+Shift+P and toggles the popover. Change it in SettingsGeneralShortcut (modifiers: Alt, Shift, Control, Super, CmdOrCtrl), or leave it empty to disable it. CLI: yardmaster settings set shortcut <value>.
  • Notifications. In SettingsGeneralNotifications: New dev server appears (off by default), A server is left behind, and An agent finishes or needs you. They fire only while the popover is hidden. Claude Desktop sessions are skipped because that app notifies itself. CLI keys: notify_new_ports, notify_orphans, notify_agents.