← 插件

Worktree View

HS Lee0次安装

List a repository's git worktrees, including ones Paseo did not create, and inspect their changes.

$ paseo plugin add hsleedevelop/worktree-view
Worktree View 截图 1

该插件的概览尚未翻译为你的语言,因此以英文显示。

Worktree View lists the git worktrees of a repository, including ones Paseo did not create, and shows what changed in each one. Use it when an agent works in a different worktree from the workspace you are looking at, for example a Claude Code worktree under .claude/worktrees/ or a worktree created by a child agent, and its changes do not appear in Files or Changes.

Worktrees panel

Worktrees appears in the Explorer and can also open as a workspace tab. The Command Center item Show worktrees opens it in the Explorer.

Each worktree shows its branch, the number of changed files and the added and removed line counts against HEAD. Labels show where it came from (Paseo, Claude Code or plain git), whether it is the current workspace, the Paseo workspace that uses it, the workspace that started it, and whether it is in the background, locked or missing its directory.

Expand a worktree to see its changed files with their status (modified, added, deleted, renamed, untracked or unmerged). Select a file to open it beside the panel in Paseo's file viewer. Press diff to open the file's diff in a Worktree diff tab; choosing another file updates the same tab. Go to workspace opens the Paseo workspace that uses the worktree, and Copy path copies its path.

The toggle at the top switches between This repository, which lists the worktrees of the current workspace's repository, and All projects, which lists the worktrees of every git project registered in Paseo on that host.

Data and limits

The plugin runs git worktree list, git status, git diff and git rev-parse on the daemon machine, in the repositories of the current workspace and of the registered git projects. It reads Paseo's workspace and project lists to link worktrees to workspaces. It does not change files, branches or commits, and sends nothing to outside services.

A diff can only be requested for a worktree that the plugin itself lists, and for a path inside that worktree. Each worktree shows at most 200 changed files, diffs are cut at 512 KB, and each git command times out after 10 seconds. The panel does not refresh on its own; press Refresh.

Selecting a file opens it in Paseo's file viewer, which can edit the file. Files in another worktree may belong to an agent that is still working there.

The plugin is installed per host. To see worktrees on a remote host, install it on that host's daemon. Requires Paseo 0.19.1 or later.