Skip to main content

Module worktree

Module worktree 

Source

Structs§

EnterWorktreeTool
进入工作树工具,创建隔离的 git worktree 并切换会话到其中
ExitWorktreeTool
退出工作树工具,退出当前 worktree 会话并选择保留或删除
WorktreeSession
当前 worktree 会话信息
WorktreeState
跨工具共享的 worktree 状态

Functions§

create_agent_worktree
为 agent 创建专用 worktree。
remove_agent_worktree
删除 agent worktree(最大努力,忽略错误)