{"name":"session_id","slug":"session-id","family":"setting","title":"Settings keys","noun":"settings key","description":"Analytics ids are now filtered to safe characters before being sent, with no change you'll see.","description_source":"entry","described_by":{"version":"2.1.219","anchor":"telemetry-ids-validated-before-sending"},"presence":{"first_seen":"2.1.309","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":1,"mined_builds":150,"first_cited":{"version":"2.1.224","released_at":"2026-08-07 01:36:32","spans":7}},"aliases":[],"entries":[{"version":"2.1.295","anchor":"mcp-serve-session-tunnel-and-tool-output-protocol","heading":"mcp serve gains a session tunnel mode and can return tool output","line":"`claude mcp serve` has a new `--session-tunnel` mode that connects through a relay, and can return tool output and relay permission asks","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"remote-session-create-reports-noticenot-applied-and-uses-re","heading":"Creating a cloud session now reports what was not applied","line":"The cloud session create command now prints a notice and a list of what was not applied, also adding both to its JSON output","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.277","anchor":"session-id-telemetry-suppressed-for-remote-trigger-entrypoin","heading":"session_id telemetry suppressed for remote-trigger entrypoints","line":"Telemetry no longer records a session_id when Claude Code was started via a remote trigger","released_at":"2026-09-18 16:22:26","reason":"found in this entry's text"},{"version":"2.1.269","anchor":"rename-session-now-validates-session-id-and-records-host-aut","heading":"rename_session now validates session_id and records host-authored renames","line":"rename_session now checks the session id and logs host-initiated renames separately","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text"},{"version":"2.1.269","anchor":"new-agent-sdk-control-request-rename-session","heading":"New agent-SDK control-request: rename_session","line":"SDK control-request rename_session refined with remote\/host distinction and a get_memory_dialog request added","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text"},{"version":"2.1.265","anchor":"new-cli-flag-attach-serve-for-desktop-app-helper-sessions","heading":"New CLI flag --attach-serve for desktop app helper sessions","line":"New hidden --attach-serve flag lets the desktop app attach a helper session to a bound cloud session","released_at":"2026-09-08 19:05:16","reason":"found in this entry's text"},{"version":"2.1.246","anchor":"assistant-messages-tell-you-which-prompt-they-answer","heading":"Assistant messages tell you which prompt they answer","line":"SDK replies now carry the uuid of the prompt they answer, on the first frame.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.234","anchor":"permission-mode-changes-are-announced-on-the-stream-json-out","heading":"Permission mode changes are announced on the stream-json output","line":"Scripted sessions now get a stream-json status message whenever the permission mode changes.","released_at":"2026-08-17 18:19:13","reason":"found in this entry's text"},{"version":"2.1.232","anchor":"per-turn-attribution-key-sent-as-tk-and-tk-is-now-a-reserved","heading":"Per-turn attribution key sent as tk , and tk is now a reserved metadata name","line":"`tk` is now a reserved metadata name and stripped from your extra metadata or body.","released_at":"2026-08-13 21:30:53","reason":"found in this entry's text"},{"version":"2.1.229","anchor":"whitespace-only-prompts-are-rejected-for-cloud-and-environme","heading":"Whitespace-only prompts are rejected for --cloud and --environment","line":"Whitespace-only prompts on `--cloud` and `--environment` are rejected instead of sent empty.","released_at":"2026-08-12 19:28:48","reason":"found in this entry's text"}],"entries_total":22,"docs":[{"source":"api","path":"api\/beta\/deployment_runs","title":"Deployment Runs","documented":false},{"source":"api","path":"api\/beta\/deployment_runs\/list","title":"List Deployment Runs","documented":false},{"source":"api","path":"api\/beta\/deployment_runs\/retrieve","title":"Get Deployment Run","documented":false},{"source":"api","path":"api\/beta\/deployments","title":"Deployments","documented":false},{"source":"api","path":"api\/beta\/deployments\/run","title":"Run Deployment Now","documented":false},{"source":"api","path":"api\/beta\/dreams","title":"Dreams","documented":false},{"source":"api","path":"api\/beta\/dreams\/archive","title":"Archive a Dream","documented":false},{"source":"api","path":"api\/beta\/dreams\/cancel","title":"Cancel a Dream","documented":false},{"source":"api","path":"api\/beta\/dreams\/create","title":"Create a Dream","documented":false},{"source":"api","path":"api\/beta\/dreams\/list","title":"List Dreams","documented":false}],"docs_total":12,"gates":[],"related":[{"name":"session","slug":"session","description":"A per-session workshop document gets snapshotted with your session files and is only writable in plan mode."},{"name":"session.attach","slug":"session-attach","description":"Plugin hooks can now react to tool-call dry-runs, config changes, and session attach\/detach events."},{"name":"session.authorize","slug":"session-authorize","description":"Plugins gain $.session.authorize(), which mints an auth handle for the session."},{"name":"session.compact","slug":"session-compact","description":"A new `session.compact` plugin hook can intercept and rewrite conversation compaction"},{"name":"session.detach","slug":"session-detach","description":"Plugin hooks can now react to tool-call dry-runs, config changes, and session attach\/detach events."},{"name":"session.end","slug":"session-end","description":"Two new lifecycle events, `session.end` and `session.measure`, added for plugins and hooks"},{"name":"session.measure","slug":"session-measure","description":"Two new lifecycle events, `session.end` and `session.measure`, added for plugins and hooks"},{"name":"session.receive","slug":"session-receive","description":"A new `session.compact` plugin hook can intercept and rewrite conversation compaction"},{"name":"session.root","slug":"session-root","description":"Plugin API policy list adds session.root, prompt.read, and ui.panes as permitted actions"},{"name":"session.send","slug":"session-send","description":"Plugin hooks can now listen for a new session.send event, alongside session.receive\/detach\/end"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/session-id","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}