{"name":"--continue","slug":"continue","family":"cli","title":"CLI flags","noun":"CLI flag","description":"Load the most recent conversation in the current directory, including a [background session that has finished](\/docs\/en\/sessions#resume-a-session); opening finished background sessions requires Claude Code v2.1.257 or later. Skips sessions created with `claude -p` or the Agent SDK, and sessions whose first prompt was `\/loop`. `claude -p --continue` includes `-p`, SDK, and `\/loop` sessions. Includes sessions that added this directory with `\/add-dir`","description_source":"docs","described_by":{"doc":"claude-code\/cli-reference","title":"CLI reference"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.232","released_at":"2026-08-13 21:30:53","spans":4}},"aliases":["-c"],"entries":[{"version":"2.1.304","anchor":"await-claim-now-rejected-with-sdk-url","heading":"--await-claim can no longer be combined with --sdk-url","line":"Claude Code now refuses to start when `--await-claim` and `--sdk-url` are used together","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text"},{"version":"2.1.302","anchor":"resumecontinue-startup-errors-surface-cleanly","heading":"Clearer errors when --continue or --resume fails","line":"Some failures during `--continue` or `--resume` now exit with their own message instead of one generic failure","released_at":"2026-10-16 16:48:28","reason":"found in this entry's text, named in this entry"},{"version":"2.1.302","anchor":"claude-p-continue-resume-now-aborts-on-a-specific-error","heading":"claude -p with --continue or --resume now exits on certain errors","line":"In print mode, some failures while continuing or resuming a conversation now print the error and exit with code 1 instead of starting empty","released_at":"2026-10-16 16:48:28","reason":"found in this entry's text, named in this entry"},{"version":"2.1.299","anchor":"memory-warning-reports-whether-it-is-showing","heading":"Critical memory warning now tells the screen when it appears","line":"The critical memory warning now lets the rest of the screen know when it is showing; its wording is unchanged","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"await-claim-error-message-names-the-subprocess-sandbox","heading":"No visible change to the --await-claim error message","line":"The error shown when `--await-claim` is combined with `--continue`, `--resume` or `--fork-session` is worded the same as before","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text, named in this entry"},{"version":"2.1.290","anchor":"remote-control-gains-allow-unattended-tool-calls-and-a-for","heading":"claude remote-control can let cloud sessions run commands in a folder unattended","line":"A new `--allow-unattended-tool-calls` option lets cloud sessions use the current folder for one run, with auto-mode commands running without asking","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.288","anchor":"cloud-environment-error-text-now-chosen-by-a-helper","heading":"Errors for conflicting cloud session options can name a different option","line":"Errors about conflicting --cloud or --environment options no longer always name --environment or always start with Error:","released_at":"2026-10-02 18:30:40","reason":"found in this entry's text, named in this entry"},{"version":"2.1.285","anchor":"new-desktop-cli-option","heading":"New --desktop option opens a session in the Claude Desktop app","line":"`claude --desktop` opens the session in the Claude Desktop app instead of the terminal, and works with `--continue` or `--resume`","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"new-claude-desktop-launcher-for-claude-desktop","heading":"Open the Claude Desktop app from the terminal with claude --desktop","line":"The new `claude --desktop` flag opens the Claude Desktop app, and can resume a session there with `--continue` or `--resume`","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"new-sdk-pre-warmed-spare-process-await-claim-plus-claim-s","heading":"New SDK pre-warmed spare process: --await-claim plus claim_session control request","line":"A hidden `--await-claim` option lets an SDK host start a spare Claude Code process early and bind it to a session later","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"}],"entries_total":24,"docs":[{"source":"claude-code","path":"cli-reference","title":"CLI reference","documented":true},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"agent-view","title":"Manage multiple agents with agent view","documented":false},{"source":"claude-code","path":"best-practices","title":"Best practices for Claude Code","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"checkpointing","title":"Checkpointing","documented":false},{"source":"claude-code","path":"common-workflows","title":"Common workflows","documented":false},{"source":"claude-code","path":"desktop","title":"Desktop application","documented":false},{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false},{"source":"claude-code","path":"errors","title":"Error reference","documented":false}],"docs_total":13,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/continue","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}