Official
claude
Claude Code agent provider: runs the Claude Code CLI headless for each account.
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/claude@0.2.6
Permissions in 0.2.6
Files
state.test.ts1.9 KB
// Which session sent a message from another one (`SessionStore.senders`).
import assert from "node:assert/strict";
import { mkdir, rm, writeFile } from "node:fs/promises";
import { join } from "node:path";
import { test, run, useApi, tempDir, files } from "./testing.ts";
import { SessionStore } from "./state.ts";
import { diskFs, fakeApi, memoryStorage } from "../sdk/testing.ts";
async function note(dir: string, pid: number, sessionId: string, startedAt: number) {
await mkdir(join(dir, "sessions"), { recursive: true });
await writeFile(join(dir, "sessions", `${pid}.json`), JSON.stringify({ pid, sessionId, startedAt, name: "nexus-b1" }));
}
test("a message names the host session that sent it, also after the sender quit", async () => {
const dir = tempDir();
const storage = memoryStorage({ "alias:cli-b": "host-b" });
useApi(fakeApi({ onHost: storage, fs: diskFs() }));
const store = new SessionStore();
await note(dir, 4242, "cli-b", 1000);
await note(dir, 5151, "cli-c", 1000);
const senders = [
{ id: "m1", pid: 4242, at: 2000 },
{ id: "m2", pid: 5151, at: 2000 },
];
const found = await run(store.senders(files(), dir, senders));
assert.deepEqual([...found], [["m1", "host-b"], ["m2", "cli-c"]], "a session started over goes by its alias");
await rm(join(dir, "sessions"), { recursive: true });
assert.deepEqual([...(await run(store.senders(files(), dir, senders)))], [["m1", "host-b"], ["m2", "cli-c"]]);
});
test("a process that started after the message is not taken for its sender", async () => {
const dir = tempDir();
const storage = memoryStorage();
useApi(fakeApi({ onHost: storage, fs: diskFs() }));
await note(dir, 4242, "cli-later", 3000);
const found = await run(new SessionStore().senders(files(), dir, [{ id: "m1", pid: 4242, at: 2000 }]));
assert.equal(found.size, 0);
assert.equal(storage.values.has("sender:m1"), false, "nothing is kept, so a later read can still tell");
});Versions
| Version | Published | Plugin API | Size | Permissions | Status |
|---|---|---|---|---|---|
| 0.2.7latest | Nov 21, 2026 | >=5 <6 | 207.5 KB | 4 permissions | Listed |
| 0.2.6 | Nov 16, 2026 | >=5 <6 | 206 KB | 4 permissions | Listed |
| 0.2.5 | Nov 11, 2026 | >=5 <6 | 168.3 KB | 4 permissions | Listed |
| 0.2.4 | Nov 9, 2026 | >=5 <6 | 166.1 KB | 4 permissions | Listed |
| 0.2.3 | Oct 27, 2026 | >=2 <4 | 151.6 KB | 4 permissions | Listed |
No comments yet.