{"version":"2.1.332","anchor":"remote-resume-accepts-a-session-url","canonical_anchor":"remote-resume-accepts-a-session-url","heading":"--resume accepts a session URL when Claude Code runs with --sdk-url","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/remote-resume-accepts-a-session-url","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### `--resume` accepts a session URL when Claude Code runs with `--sdk-url`\n\nWith `--sdk-url` set, `--resume` can now take a session URL and load that session, unless it is the session already running\n\n**What**\n\nWhen Claude Code is started with `--sdk-url`, the value you give `--resume` is now checked to see whether it is a URL. If it is a session URL, Claude Code loads that session. If the URL points to the session that is already running, the resume step is skipped.\n\nBefore, resuming in this setup only worked with local session IDs, and a session-ID option on the command line blocked it. The URL check now runs first, so a session URL is handled even when that option is present.\n\n**Why**\n\nPrograms or remote hosts that run Claude Code through `--sdk-url` can now pick up a session from its URL instead of needing a local session ID.\n\n- Area: Sessions\n- Names: `--resume`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}