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.7
Permissions in 0.2.7
Files
mcp-result.test.ts1.3 KB
// A plugin tool's result as the CLI reports it. Run with
// `node --import ./testing/register.mjs --test claude/mcp-result.test.ts`.
import assert from "node:assert/strict";
import { test } from "node:test";
import * as wire from "./wire.ts";
import { Mapper } from "./map.ts";
test("an MCP tool's result line, with its content array as tool_use_result, completes the row", () => {
const mapper = new Mapper();
const id = "toolu_1";
mapper.handle(
wire.record.parse({
type: "assistant",
parent_tool_use_id: null,
message: { id: "msg_1", content: [{ type: "tool_use", id, name: "mcp__divergence__lucky_number", input: {} }] },
}),
);
const content = [{ type: "text", text: "The lucky number is 7319." }];
// The line as the CLI writes it: the result's content array is also its
// `tool_use_result`. It used to fail the schema, so the line was dropped.
const line = wire.record.parse({
type: "user",
parent_tool_use_id: null,
message: { role: "user", content: [{ tool_use_id: id, type: "tool_result", content }] },
tool_use_result: content,
});
const updated = mapper.handle(line).map((emission) => emission.kind);
assert.deepEqual(updated, [
{ event: "tool_call_updated", id, status: "completed", content: [{ type: "text", text: "The lucky number is 7319." }] },
]);
});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.