{"name":"CLAUDE_CODE_DIR_SYNC_STREAM","slug":"claude-code-dir-sync-stream","family":"env","title":"Environment variables","noun":"environment variable","description":"More environment variables get carried into remote sessions; none are set by default.","description_source":"entry","described_by":{"version":"2.1.248","anchor":"more-environment-variables-carried-into-remote-sessions"},"presence":{"first_seen":"2.1.248","removed_in":"2.1.285","in_current_build":false,"newest_mined":"2.1.308","builds":29,"mined_builds":149,"first_cited":{"version":"2.1.251","released_at":"2026-08-28 15:34:26","spans":1}},"aliases":[],"entries":[{"version":"2.1.285","anchor":"directory-sync-dir-sync-feature-removed","heading":"Directory sync for cloud sessions and its environment variables removed","line":"The directory-sync machinery for cloud sessions is gone, and its `CLAUDE_CODE_DIR_SYNC_*` and `CLAUDE_CODE_DISABLE_DIR_SYNC` variables no longer do anything","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.251","anchor":"directory-sync-streaming-keyed-off-an-environment-variable","heading":"Directory-sync streaming keyed off an environment variable","line":"Directory sync streams changes live unless you set an environment variable to turn streaming off.","released_at":"2026-08-28 15:34:26","reason":"named in this entry, found in this entry's text"},{"version":"2.1.248","anchor":"more-environment-variables-carried-into-remote-sessions","heading":"More environment variables carried into remote sessions","line":"More environment variables get carried into remote sessions; none are set by default.","released_at":"2026-08-27 20:35:36","reason":"named in this entry, found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_DIR_SYNC_ARCHIVE","slug":"claude-code-dir-sync-archive","description":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes."},{"name":"CLAUDE_CODE_DIR_SYNC_CHAIN","slug":"claude-code-dir-sync-chain","description":"A new 'chained' directory-sync mode exists behind an undocumented CLAUDE_CODE_DIR_SYNC_CHAIN env var"},{"name":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING","slug":"claude-code-dir-sync-disable-anchoring","description":"Cloud file sync writes through directory handles so a swapped symlink can't redirect it, and says when that's unavailable."},{"name":"CLAUDE_CODE_DIR_SYNC_ENGINE","slug":"claude-code-dir-sync-engine","description":"Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape."},{"name":"CLAUDE_CODE_DIR_SYNC_FFWD","slug":"claude-code-dir-sync-ffwd","description":"Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape."},{"name":"CLAUDE_CODE_DIR_SYNC_GIT","slug":"claude-code-dir-sync-git","description":"You can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session."},{"name":"CLAUDE_CODE_DIR_SYNC_OVERLAY","slug":"claude-code-dir-sync-overlay","description":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-dir-sync-stream","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}