我们已更新 Claude Code 中的 /fork 命令。 /fork 现在会在后台运行一个智能体,使用您的完整上下文(系统提示词、工具、历史记录、模型)和提示词缓存。结果将返回到您的会话中。 /branch(旧的 /fork)仍然会将对话记录复制到您驱动的新会话中。
We've updated /fork in Claude Code
/fork now runs a background agent with your exact context (system prompt, tools, history, model) and prompt cache. The result gets returned to your session.
/branch (the old /fork) still copies the transcript to a new session you drive.