{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "cocode-agency-cocode--continue-same-session-desktop-and-terminal",
 "repo": "cocode-agency/cocode",
 "repo_url": "https://github.com/cocode-agency/cocode",
 "repo_slug": "cocode-agency-cocode",
 "title": "Continue one agent session from desktop and terminal",
 "page_title": "How to continue one agent session from desktop and terminal with Cocode",
 "summary": "Start a task in the GUI and pick it up in the TUI over SSH, using the same session record.",
 "who": "A developer who starts an agent task at their desk and needs to continue it later from a remote terminal.",
 "problem": "Moving work between a desktop tool and a terminal usually loses context, so the user has to rebuild the conversation by hand.",
 "outcome": "Both clients read and write the same session, so the terminal shows the full conversation started in the GUI.",
 "steps": [
  "Install the Cocode GUI and the TUI, keeping the TUI and @cocode-agency/host-supervisor on the same version line.",
  "Set the same DSH_HOME, profile, and Host configuration in both clients.",
  "Start a task in the GUI workspace.",
  "Run `cocode host status --json` on the second machine to confirm the shared Host.",
  "Run `cocode` in the terminal and continue the task."
 ],
 "agent_prompt": "Using the cocode-agency/cocode repository, confirm that the GUI and TUI on <machine> share the same DSH_HOME, profile, and Host configuration. Run `cocode host status --json` and expect a machine-readable status for the shared Host; verify that the session started in the GUI appears in the terminal.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Sharing only works when both clients use the same DSH_HOME, profile, and Host configuration scope, and the README states that upstream compatibility may change.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "A DeepSeek-compatible API key, or a Cocode Pro subscription for hosted Cocode Nut access",
  "For the TUI: Node.js 22.19.x or later (24+ also supported) and a real terminal (TTY)",
  "For the GUI: an installer for your platform from the GitHub Releases page"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/cocode-agency-cocode/continue-same-session-desktop-and-terminal/",
 "md": "https://dedupedai.com/use-cases/cocode-agency-cocode/continue-same-session-desktop-and-terminal/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/cocode-agency-cocode--continue-same-session-desktop-and-terminal.json",
 "api_version": "v1"
}
