New session with same setup
2 features · 13 fixes
Features
New session with same setup
Start a clean session for the same work in one step. New session with same setup creates a new, empty session with this session's project, worktree, agent, folder, and profile. It also keeps the model, reasoning effort, and speed that the composer shows. No conversation carries over, and the new session has no parent.
- Open a session's
…menu or right-click it, then choose New from this → New session with same setup. - In the command palette, with a session window focused, search for "same setup", "new", "clean", or "fresh" in the This session group.
From a session window, the new session opens in that window. From a list outside a session window, it opens in its own window. The action is available on live local sessions. Archived, subagent, system, and remote sessions do not offer it. If CompozyOS cannot keep the model, the new session starts with the agent's default model and a message tells you.
Choose a worktree when you open a terminal
In a single project, you can now choose where a new terminal starts. Before, the Terminal app always started in the project root, unless you switched to All projects.
- Dock. When the project has a ready worktree, the Terminal item opens the terminal launcher for that project. It lists the project root, its worktrees, and the project's running terminals. The root is selected, so Enter still opens a terminal there.
- New in a Terminal window. When the project has ready worktrees, New opens a menu with Project root and each worktree. If a worktree is no longer available, the next terminal from that window starts in the project root.
- Worktree label. A terminal that runs in a worktree shows the worktree name in its head, so you can tell terminals apart.
Projects without worktrees work as before.
Fixes
The daemon service survives restarts, SSH setup finds a second daemon, and Restart daemon after an update
- Restarts keep the service in charge. A restart from Settings or a runtime update now hands the
new daemon to
systemd --userorlaunchd. Before, the new daemon could run outside the service, so the service manager no longer supervised it.compozy service installnow replaces an existing service file in place and names the file when it cannot write it. If the service stopped during an update from an earlier release, runcompozy service installwith the updated binary. - One daemon per computer over SSH. On a host where the desktop app already runs a daemon, the
user service used to restart again and again while it tried to start a second one. The service now
stops on that conflict. SSH setup checks that the service owns the running daemon. If it does not,
setup stops at the service step with
service_daemon_conflictand recovery steps. Quit the desktop app on the host, or runcompozy daemon stopthere, and add the computer again. - The desktop app uses the user service. When the user service is on for the same CompozyOS home,
the desktop app starts it or attaches to its daemon instead of starting its own. Desktop upgrades
restart the service daemon and keep active turns. After a runtime-only upgrade on macOS, run
compozy service installto refresh an older LaunchAgent. - Restart daemon after an update. An update can replace the installed runtime while the old daemon keeps running. The app then kept offering the same update, and a prompt could fail with a generic server error. The desktop now shows a notice with Restart daemon, warns you about active sessions, and reconnects when the new daemon is ready. When the requested version is already installed, Update restarts the daemon instead of downloading it again. A failed prompt shows restart guidance while the restart is pending.
Expired MCP sign-ins renew in the background
An MCP server whose OAuth access token expired could show Sign in in the composer, even when CompozyOS could renew the token itself. The composer now uses the same rule as Settings. A server with callable tools stays ready while renewal is possible.
The daemon checks stored sign-ins once after startup and renews expired tokens in the background. Reading a server's sign-in status can also start a renewal. If the daemon shuts down during a renewal, it waits for that renewal to save the new token first.
You still need to sign in again when the server has no usable refresh token or rejects the renewal.
Remote computers reconnect on their only route, Windows projects on other drives, and Additional Dirs in worktrees
- Reconnect with a single route. Two connection drops within ten minutes could hold a remote computer's only working route for five minutes. CompozyOS still prefers other routes. When none connects, it now retries the held route five seconds after the last drop. When a second route works, the five-minute hold still protects against switching back and forth. The controller log now records why an active route dropped.
- Projects on another Windows drive. On Windows, adding a project on a different drive from the
CompozyOS home failed with a server error. Desktop onboarding, Add project, and
compozy workspace addnow accept it. - Additional Dirs in worktree sessions. A session bound to a worktree ignored the project's
Additional Dirs, so the agent could not read files there, even with
approve-all. Worktree sessions now get the same Additional Dirs as sessions in the main checkout. This applies when you create or resume a session and to the first prompt of a fork or continuation. The session's permission mode applies to every directory.
OpenCode Go usage, agent names in session titles, unsaved edit prompts, and more fixes
- OpenCode Go usage. Provider usage now shows the rolling, weekly, and monthly OpenCode Go limits,
with reset times and the Console workspace name. Install OpenCode 2.4.2 or later, use
opencode acpas the provider command, and sign in to a Console workspace with OpenCode Go. For an alias, setruntime_provider = "opencode"and give each alias its own absoluteXDG_DATA_HOME(orOPENCODE_DB) in its command. See the provider usage guide. - Agent display names in session titles. An untitled session that an agent, an always-on agent, or an automation started now shows the agent's display name in its tab, head, list row, card, palette, and dialogs, instead of the agent's ID. Sessions that you started still read "New session".
- Ask before losing unsaved edits. When a page has unsaved edits, closing the desktop window or reloading with Cmd+R used to do nothing, without a word. The desktop app now asks "Leave with unsaved changes?". Stay is the default, so Escape keeps your edits. Only Leave closes or reloads.
- Orphaned agent processes are stopped. On Linux and macOS, agent processes could keep running after their launcher exited. When CompozyOS stops or recovers such a session, it now checks that those processes belong to the session and stops them.
- Deleted subagents stay settled. A late activity update could count a deleted subagent as resumed and rank it above settled work. Activity updates now apply only to linked subagents.
- Clearer pull request selector errors. An invalid fork selector for a pull request monitor now
explains the
owner:branchformat, the account name rule, and that spaces are not allowed. - MCP tools under load. On a busy daemon, MCP tool lists for sessions are rebuilt less often, which reduces work while many sessions run.