Official
acp
ACP agents from the ACP registry (Gemini, Cursor, Droid, Kilo, pi, ...), Oh My Pi, and your own entries (custom.json in the plugin's data folder). Agents are discovered at runtime.
The app opens the listing; nothing installs until an agent in your Plugins workspace has read the files and you enable the plugin. In a terminal: dvg install divergence/acp@0.2.1
Permissions in 0.2.1
Take care. This plugin asks for permissions that can do anything your account can. The app asks you to hold Enable for two seconds or to type the plugin's name before it turns on.
Files
maintenance.test.ts3.1 KB
// Who owns an ACP agent's binary, and what updates it.
import assert from "node:assert/strict";
import { test } from "node:test";
import { ownerOf, updatePlan, updateSubcommand } from "./maintenance.ts";
const launch = (program: string) => ({ program, args: [], env: {} });
test("a package runner runs the registry's pinned version, so it never falls behind", () => {
assert.deepEqual(ownerOf(launch("/opt/homebrew/bin/npx"), "/opt/homebrew/lib/node_modules/npm/bin/npx-cli.js"), {
manager: "runner",
});
assert.deepEqual(ownerOf(launch("/Users/me/.local/bin/uvx"), null), { manager: "runner" });
});
test("the owner is proven from the binary's real path", () => {
assert.deepEqual(
ownerOf(launch("/opt/homebrew/bin/gemini"), "/opt/homebrew/lib/node_modules/@google/gemini-cli/dist/index.js"),
{ manager: "npm", prefix: "/opt/homebrew", pkg: "@google/gemini-cli" },
);
assert.deepEqual(ownerOf(launch("/usr/local/bin/droid"), "/usr/local/lib/node_modules/droid/bin/droid"), {
manager: "npm",
prefix: "/usr/local",
pkg: "droid",
});
// A project's dependency is not a global install.
assert.deepEqual(ownerOf(launch("/w/bin/x"), "/w/lib/node_modules/a/node_modules/x/lib/node_modules/x/bin"), {
manager: "",
});
assert.deepEqual(ownerOf(launch("/opt/homebrew/bin/goose"), "/opt/homebrew/Cellar/block-goose-cli/1.5.0/bin/goose"), {
manager: "homebrew",
name: "block-goose-cli",
cask: false,
});
assert.deepEqual(ownerOf(launch("/opt/homebrew/bin/amp"), "/opt/homebrew/Caskroom/amp/0.9/amp"), {
manager: "homebrew",
name: "amp",
cask: true,
});
assert.deepEqual(ownerOf(launch("/u/.local/bin/fast-agent-acp"), "/u/.local/share/uv/tools/fast-agent-mcp/bin/x"), {
manager: "uv",
tool: "fast-agent-mcp",
});
assert.deepEqual(ownerOf(launch("/u/.local/bin/cursor-agent"), "/u/.local/share/cursor-agent/versions/1/cursor-agent"), {
manager: "",
});
});
test("each owner's update installs the version it can deliver", () => {
assert.deepEqual(updatePlan({ manager: "npm", prefix: "/usr/local", pkg: "droid" }, "0.249.0"), {
program: "npm",
args: ["install", "-g", "--prefix", "/usr/local", "--allow-scripts=droid", "droid@0.249.0"],
});
assert.deepEqual(updatePlan({ manager: "homebrew", name: "amp", cask: true }, "0.10.0"), {
program: "brew",
args: ["upgrade", "--cask", "amp"],
});
assert.deepEqual(updatePlan({ manager: "uv", tool: "fast-agent-mcp" }, null), {
program: "uv",
args: ["tool", "upgrade", "fast-agent-mcp"],
});
assert.equal(updatePlan({ manager: "" }, "1.0.0"), null);
});
test("a program's own update command is read from the command list of its help", () => {
assert.equal(updateSubcommand("Usage: amp [command]\n\nCommands:\n login Sign in\n update Update Amp\n"), "update");
assert.equal(updateSubcommand("Commands:\n upgrade, up Upgrade the CLI\n"), "upgrade");
assert.equal(updateSubcommand("COMMANDS\n self-update Get the newest build\n"), "self-update");
// A word in prose is not a command.
assert.equal(updateSubcommand("Usage: x\nRun x to update your files.\n --update-snapshots rewrite\n"), null);
});Versions
| Version | Published | Plugin API | Size | Permissions | Status |
|---|---|---|---|---|---|
| 0.2.5latest | Nov 21, 2026 | >=5 <6 | 134 KB | 6 permissions | Listed |
| 0.2.4 | Nov 16, 2026 | >=5 <6 | 132.8 KB | 6 permissions | Listed |
| 0.2.3 | Nov 11, 2026 | >=5 <6 | 108.9 KB | 6 permissions | Listed |
| 0.2.2 | Nov 9, 2026 | >=5 <6 | 105.6 KB | 6 permissions | Listed |
| 0.2.1 | Oct 27, 2026 | >=2 <4 | 105.3 KB | 6 permissions | Listed |
No comments yet.