{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "roversx-thinkterm--keep-agent-sessions-running-after-close",
 "repo": "RoversX/ThinkTerm",
 "repo_url": "https://github.com/RoversX/ThinkTerm",
 "repo_slug": "roversx-thinkterm",
 "title": "Keep long builds and agents running after you close the window",
 "page_title": "How to keep long builds and agents running after you close the window with Think Term",
 "summary": "Detach from Think Term and reattach later to the same shells, builds, and agent tasks.",
 "who": "A developer who starts a long build or coding agent task and needs to leave the machine or close the window without losing progress.",
 "problem": "Closing a normal terminal window usually ends the shells and processes running inside it, so long tasks get interrupted.",
 "outcome": "The task keeps running on the mux server, and you reattach from the desktop or the TUI to see its output.",
 "steps": [
  "Install on macOS with `brew install --cask roversx/tap/thinkterm`, or download a release from the Releases page",
  "Open the desktop application with `thinkterm start`",
  "Start a long build or coding agent task in a pane",
  "Close the desktop window; the server-held session keeps running",
  "In a separate terminal, run `thinkterm tui` to reattach and continue the same session"
 ],
 "agent_prompt": "Using the RoversX/ThinkTerm repo, start a long-running build in a pane of a ThinkTerm session on <target machine>, detach the client, then reattach with `thinkterm tui`. Expected output: the build log continues from where it was before detaching. Verify that the process is still running after the client disconnects.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Sessions survive a client disconnect, but they do not survive a mux server restart or host reboot, according to the README.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "macOS, Linux, or Windows (the README lists these as desktop platforms)",
  "Homebrew on macOS for the cask install, or Rust and platform build tools for a source build",
  "Access to the machines you want to connect, if you use remote sessions",
  "A second terminal window to run the TUI client"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/roversx-thinkterm/keep-agent-sessions-running-after-close/",
 "md": "https://dedupedai.com/use-cases/roversx-thinkterm/keep-agent-sessions-running-after-close/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/roversx-thinkterm--keep-agent-sessions-running-after-close.json",
 "api_version": "v1"
}
