Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Feature]: Pause session — park a provider session without ending the thread #12938

ClosedOmarAlaaeldein(GitHub profile, opens in a new tab) opened this issue 0 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/web, apps/mobile

Problem or use case

Snoozing a thread only hides it from the inbox; the provider session keeps running with the same footprint (RAM, background work). Settling frees the session but means "done". On RAM-constrained devices there is no middle state for parking work you intend to come back to later, so sessions accumulate memory for threads that are not being worked on.

Related proposal: #12180

Proposed solution

Add a Pause session action to the thread menu (sidebar row, chat header, mobile thread rows). It dispatches the existing thread.session.stop command — no contract change, all providers support it. The next message recreates the session server-side. Pause is blocked mid-turn like archive (interrupt first). Paused threads show a muted "Paused" pill/label on web and mobile.

Why this matters

Frees provider sessions for parked work without losing the thread or signalling it is finished, which matters most on low-RAM machines and remote/SSH hosts where sessions are real processes on the server.

Reference implementation: #12172

Sign in to join this conversation.