Cmd+Q in the app stops Obeya, as Ctrl-C does

The app is often just a window on an Obeya started with bun start in a terminal. Quitting the app now stops that Obeya too.

What changes

Before

Cmd+Q closed only the app. Obeya kept running in the terminal, and so did its agents, with nothing to show it.

Now

Cmd+Q (and „Obeya beenden“ in the menu or the Dock) stops Obeya the way Ctrl-C does. Agents in the middle of a turn pause first, and the window shows what the stop is waiting for. Pressing Cmd+Q again stops it at once. The app closes once Obeya has stopped, and bun start in the terminal ends too.

Tried with the built app

A scratch Obeya was started from a terminal, like bun start, with a card being worked on. The app opened on it:

The Obeya app showing a canvas with one card at work

Then „Obeya beenden“ (Cmd+Q) was clicked in the app's menu. The terminal's output:

$ bun start
Obeya from …/obeya on http://127.0.0.1:4482/login?token=… (canvases.json)
  Tipjar (?c=tipjar)
    repo: …/repo (a worktree per card)
Obeya: stopping
$

About a second later the server, the terminal's supervisor and the app had all ended, and the entry Obeya keeps in its home for the running instance was gone.

Also

If Obeya stops from the terminal (Ctrl-C), an app open on it now closes as well, instead of showing a canvas that no longer answers. While Obeya restarts on new code, the app waits up to 90 seconds before it decides the server is gone.

The wait for busy agents is the same stop as before (unchanged); in this run no agent was in the middle of a turn, so it stopped right away.