Unclear It is not clear whether the switch behind the new stash checks is on by default.
/teleport pulls a cloud session into your terminal. Before it does, it sets your unsaved changes aside with git stash, git's way of storing work temporarily. That step can now do more:
- It notes the state of the stash list before stashing, and afterwards checks that only the one expected entry was added. If something else is there, or the list cannot be read,
/teleportstops. - It refuses if a merge left an auto-stash record behind, with the message "Nothing was stashed: this checkout has a MERGE_AUTOSTASH record."
- Its recovery advice now points you to a
git stash showcommand piped throughcat -v, instead of the old advice to checkgit stash list.
The stash-list checks and the auto-stash check only run when an internal switch is on.
This stops a command running inside the sandbox from planting fake stash entries that /teleport would then trust. The error and recovery messages you see from /teleport are also different.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
A command, `/teleport`, that pulls a cloud Claude Code session into your local terminal. The reverse direction is `--cloud`, which sends a local task to run in the cloud.glossary see the edit
* Changed worktree creation, `/teleport` and IDE checkouts to run git with a stricter `PATH`; a git filter or helper may need its full pathchangelog see the edit
It is not clear whether the switch behind the new stash checks is on by default.
Anthropic's documentation has since written up /teleport, on Claude Code changelog.