Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

chore(dev): badge NT_MULTI test instances on the macOS dock

parsa22269495af6a38b
diff --git a/src/main/index.ts b/src/main/index.ts
index 6497c1b24..c51f4332f 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -777,6 +777,11 @@ app.whenReady().then(async () => {
// tolerates — early hook POSTs are simply dropped, never mis-routed.
await hookServer.start()
const win = createWindow()
+ // NT_MULTI instances are throwaway dev sandboxes. The dock badge is the one marker that is
+ // always visible on macOS (the window title is hidden by titleBarStyle: 'hiddenInset', and the
+ // dev dock icon/name are Electron's own), so a test instance can never be mistaken for the
+ // real app.
+ if (NT_MULTI && process.platform === 'darwin') app.dock?.setBadge('TEST')
// Flip `quitting` before quitAndInstall so the window's close-event actually closes (not hides);
// quitAndInstall closes all windows then calls app.quit(), which our hide-on-close would block.
initUpdater(() => {