Skip to main content

Multiple terminal windows

On managed Linux installations, you can open several independent Telemus AI terminal windows on the same profile. The first command starts a licensed local backend when needed. Later commands securely attach to that backend. They do not close your existing terminal and do not open a second copy of your workspace.

Start a new conversation​

Run this in each new terminal window:

telemusai tui
# Equivalent explicit fresh session, using the same managed local connection:
telemusai tui --new-session

Each window starts with a new conversation. Check its session title or ID before sending, cancelling, renaming, deleting, or approving work.

On managed Linux, a new conversation requests the directory where you ran telemusai tui. The backend checks it against its registered workspace roots. If the directory is not approved, no new chat is created. Start in an approved project, or register the intended project in the dashboard’s Workspaces panel and retry /new. A resume keeps the saved conversation’s workspace, even when you launch from another directory. An explicit remote connection does not send your local directory automatically.

Closing one window only disconnects that terminal. Your backend, other terminal windows, and saved conversations remain available. You can close the first terminal without closing the others. telemusai tui --backend-status reports non-secret backend process and endpoint status without printing its tokens.

Resume a conversation​

Use the session picker:

telemusai tui --resume

Or resume an exact session ID:

telemusai tui --resume SESSION_ID

In a connected terminal, /resume opens the session list and /resume SESSION_ID selects an exact conversation. /new starts another conversation, and /switch remains available. A missing or inaccessible resume ID is reported rather than replaced with another conversation.

Session picker and live tool indicators​

In the session picker (72 columns or wider), Up and Down keep the highlighted conversation in view. > marks what Enter will open; * marks the open conversation. Short ID suffixes help distinguish matching titles; use /sessions for full IDs if the suffixes also match.

During active turns, live tool rows show [tool running], [tool done], or [tool failed] before the name. A clipped label means some text was omitted. [output ended] is the last output from that process, not necessarily the end of the assistant's turn; use /processes log <id> for its retained log.

You can intentionally open the same conversation in two windows. Only one active turn is accepted in that conversation at a time; the other request reports that the session is busy. Separate conversations may still wait for shared backend or provider work. Multiple terminal windows do not guarantee parallel AI replies.

What is shared​

Conversations have separate messages and local display/command history. The backend remains the canonical store for conversation messages.

Workspaces, tasks, settings, providers, account and licence state, helpers, and approval policy are shared through the backend. Session separation is not a filesystem or permission sandbox. Commands that change shared settings or global state can affect other windows. Multiple windows are for the same trusted OS user; they are not separate users or additional licence seats.

Account readiness and licence enforcement stay with the backend. Licence denial, revocation, required sign-in, approval requirements, and per-turn policy apply in every window. Quitting a terminal does not sign out or revoke the device.

If an activity stream receives the backend's canonical license_required HTTP 402 response, the terminal stops retrying that stream and makes at most one automatic licence-refresh request on that connection. Ordinary errors and unrecognized 402 responses keep their bounded retry behavior. Recovery requires a valid ALLOW decision from the backend; denial or an indeterminate response does not unlock the terminal. A valid recovery resumes the saved stream cursor, and /license-refresh remains available for an explicit retry. Stream denial never starts Device Link or changes account credentials by itself.

The authenticated Web Command Center can show the same session catalog. A desktop app and a headless backend cannot write to the same profile at the same time.

If attach fails​

Do not delete lock files, stop an unfamiliar process, or start another headless backend to work around a conflict. These protections prevent damaged workspaces and account credentials.

  • If a desktop or unknown native app owns the profile, follow the launcher's existing handoff or manual-recovery instructions.
  • If a saved backend endpoint is stale or cannot be authenticated, close the affected terminal and retry after the managed service has stopped cleanly.
  • If an exact conversation cannot be resumed, run telemusai tui --resume and inspect the available session list. Do not assume a fallback conversation is the one you intended.
  • If the second window becomes busy during a shared turn, wait for that turn or use a different conversation.
  • If devtools_client_limit appears, the backend's eight-connection devtools pool is full. Close an unused connected client before retrying. The limit is for backend connections, not a promise of eight available TUI windows when other tools also use the pool.

If the backend's attachment record cannot be verified, attachment is refused to protect your profile. Do not copy or modify protected runtime records.

Keep bearer tokens, pairing codes, private runtime files, and unredacted process environments out of support reports.