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.5

Permissions in 0.2.5

  • Provide agents agents.provideMediumAdds agents to the app.Provide the Claude Code agent and pass its tool calls to plugin tools
  • Run named programs processMediumStarts the listed programs.Run the Claude Code CLI (sessions, sign-in, `claude update`), and ask the npm installation that owns it about a newer versionPrograms: claudenpm
  • Read files fs.readMediumReads files in the listed places.Read Claude Code's sessions, settings and skills (in ~/.claude, other accounts' ~/.claude-* folders, the shared skills and the folder you choose in Settings), the project's .claude folder, the administrator's skill policy, and once, what the previous provider keptPlaces: ~/.claude/**~/.claude*/**~/.agents/skills/**the open workspaceits own data folder/Library/Application Support/ClaudeCode/managed-settings.json/etc/claude-code/managed-settings.json${settings.configDir}
  • Environment variables envMediumReads the listed environment variables.Find Claude Code's configuration directory, and the launch settings you set in CLAUDE_* variables (extra arguments, MCP servers, setting sources, appended system prompt, extra folders)Variables: HOMECLAUDE_CONFIG_DIRCLAUDE_EXTRA_ARGSCLAUDE_MCP_CONFIGCLAUDE_STRICT_MCP_CONFIGCLAUDE_SETTING_SOURCESCLAUDE_APPEND_SYSTEM_PROMPTCLAUDE_ADD_DIRS

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

VersionPublishedPlugin APISizePermissionsStatus
0.2.7latestNov 21, 2026>=5 <6207.5 KB4 permissionsListed
0.2.6Nov 16, 2026>=5 <6206 KB4 permissionsListed
0.2.5Nov 11, 2026>=5 <6168.3 KB4 permissionsListed
0.2.4Nov 9, 2026>=5 <6166.1 KB4 permissionsListed
0.2.3Oct 27, 2026>=2 <4151.6 KB4 permissionsListed

Reviews and comments

0 threads · 0 reviews

No comments yet.