Tools

Worktrees

Tool Git @dip497 0 installs

Every git worktree of the repository: its branch, uncommitted changes and how far it is from the base; review one with an agent, remove the merged ones.

hive plugins install @dip497/worktrees

Run it in a terminal, or find it in Hivemind under Settings ▸ Plugins.

Worktrees

Every git worktree of the repository in a tile: its branch, how many files it has changed and not committed, how far it is ahead of and behind the base branch, and whether it is merged. Choose one to read its uncommitted changes or its whole branch against the base, in the app's own diff view. Ask an agent to review a branch: it starts one in the tile's frame, and you read the prompt before it is sent. A worktree with nothing uncommitted whose branch is merged can be removed, with its branch; git refuses anything that would lose work.

hive plugins install @dip497/worktrees
hive plugins enable @dip497/worktrees
hive plugins set @dip497/worktrees base develop   # compare with another branch (default main)
hive ctl open-tool @dip497/worktrees/worktrees

An agent asks it, while its tile is open:

hive ctl plugin call @dip497/worktrees list

It asks for two permissions: start agents (workspace:spawn) and tell an agent something (workspace:prompt).

A tool arrives switched off. Turn it on in Settings ▸ Plugins, or with hive plugins enable @dip497/worktrees, if you trust who wrote it.

Files

From dip497/hivemind-plugins at fb488a4. Hivemind checks each file's checksum as it downloads, and stops if one changed.

  • hivemind-tool.json2c638404b512
  • icon.svg461cdafde735
  • index.js2bb1a716e6dc
  • README.md8d712a2bdf34
hivemind-tool.json
{
  "id": "@dip497/worktrees",
  "name": "Worktrees",
  "version": "1.0.1",
  "apiVersion": 1,
  "minAppVersion": "2026.10.3",
  "category": "git",
  "description": "Every git worktree of the repository: its branch, uncommitted changes and how far it is from the base; review one with an agent, remove the merged ones.",
  "entry": "index.js",
  "permissions": [
    "workspace:spawn",
    "workspace:prompt"
  ],
  "commands": [
    {
      "name": "list",
      "description": "Every worktree: its path, branch, files changed and not committed, commits ahead of and behind the base, and whether it is merged."
    }
  ],
  "settings": [
    {
      "id": "base",
      "label": "Base branch",
      "type": "text",
      "default": "main",
      "maxLength": 200,
      "description": "What each branch is compared with, and merged into."
    }
  ],
  "tools": [
    {
      "key": "worktrees",
      "label": "Worktrees",
      "description": "The repository's worktrees and their branches.",
      "tileKind": "worktrees",
      "size": {
        "width": 1100,
        "height": 720
      },
      "needsRepo": true,
      "singleton": true,
      "glyph": "⑂",
      "icon": "icon.svg"
    }
  ]
}

Hivemind shows you this list and asks before it installs.

  • Runs inside Hivemind, with the app's access to your files and network, once you switch it on
  • Start agents in your workspace
  • Tell an agent something (you send or cancel each one)
VersionCommitListed
1.0.1 fb488a4 October 28, 2026

Needs Hivemind 2026.10.3 or newer.

HiveHub keeps the version listed last. The ones before it are in the repository's history.

Something wrong with it? Report it.