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

  • 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

fixtures/compact-2.1.319.json4 KB
[
 {
  "type": "system",
  "subtype": "session_state_changed",
  "state": "running",
  "uuid": "30c9ad43-e466-4ab0-b5f1-fb6c2fcd3fa1",
  "session_id": "s1"
 },
 {
  "type": "system",
  "subtype": "status",
  "status": "compacting",
  "session_id": "s1",
  "uuid": "924f6f7d-5301-44bd-85e6-3ef9ad1f1189"
 },
 {
  "type": "system",
  "subtype": "status",
  "status": null,
  "compact_result": "success",
  "session_id": "s1",
  "uuid": "2b5d6b0c-af6f-4cd4-aacf-d657f74032b7"
 },
 {
  "type": "system",
  "subtype": "init",
  "cwd": "/private/tmp/compact-probe",
  "session_id": "s1",
  "model": "claude-haiku-5-5",
  "permissionMode": "auto",
  "terminal_slash_commands": [
   "doctor",
   "color",
   "focus",
   "reload-plugins"
  ],
  "apiKeySource": "none",
  "claude_code_version": "2.1.319",
  "output_style": "default",
  "analytics_disabled": false,
  "product_feedback_disabled": false,
  "uuid": "cb3a4f8a-65ab-44fa-a4bc-70195a864ff2",
  "original_cwd": "/private/tmp/compact-probe",
  "additional_directories": [
   "/tmp/compact-probe"
  ],
  "messaging_socket_path": "/tmp/cc-socks-501/2185.sock",
  "fast_mode_state": "off",
  "fast_mode_disabled_reason": "sdk_opt_in_required",
  "per_turn_effort_active": true,
  "ultrathink_available": false,
  "ultrathink_typed_raises": false,
  "view_mode": "default"
 },
 {
  "type": "system",
  "subtype": "compact_boundary",
  "session_id": "s1",
  "uuid": "71b0a2a3-f039-43c7-a2a3-91717a210bb8",
  "compact_metadata": {
   "trigger": "manual",
   "pre_tokens": 27877,
   "post_tokens": 9111,
   "cumulative_dropped_tokens": 18766,
   "duration_ms": 4660
  },
  "logical_parent_uuid": "352f5000-25c7-4934-9cf2-4049316797e3"
 },
 {
  "type": "user",
  "message": {
   "role": "user",
   "content": "This session is being continued from a previous conversation that ran out of context. The summary below covers the earlier portion of the conversation.\n\n<system\u2026 We said hi."
  },
  "session_id": "s1",
  "parent_tool_use_id": null,
  "uuid": "ce64fd8a-8943-4aaa-8c02-cbed5b7a6efb",
  "timestamp": "2026-11-08T00:48:35.738Z",
  "isReplay": false,
  "isSynthetic": true
 },
 {
  "type": "user",
  "message": {
   "role": "user",
   "content": "<local-command-stdout>Compacted </local-command-stdout>"
  },
  "session_id": "s1",
  "parent_tool_use_id": null,
  "uuid": "d6324f17-c6c6-4475-bbe4-6b496ee35b01",
  "timestamp": "2026-11-08T00:48:35.846Z",
  "isReplay": true
 },
 {
  "is_error": false,
  "duration_api_ms": 0,
  "num_turns": 0,
  "stop_reason": null,
  "session_id": "s1",
  "total_cost_usd": 0.0012014500000000002,
  "usage": {
   "output_tokens_details": {
    "thinking_tokens": 0
   },
   "input_tokens": 0,
   "cache_creation_input_tokens": 0,
   "cache_read_input_tokens": 0,
   "output_tokens": 0,
   "server_tool_use": {
    "web_search_requests": 0,
    "web_fetch_requests": 0
   },
   "service_tier": "standard",
   "cache_creation": {
    "ephemeral_1h_input_tokens": 0,
    "ephemeral_5m_input_tokens": 0
   },
   "inference_geo": "",
   "iterations": [],
   "speed": "standard",
   "fallback_credit": null
  },
  "permission_denials": [],
  "fast_mode_state": "off",
  "fast_mode_disabled_reason": "sdk_opt_in_required",
  "subagent_stats": {
   "spawned": 0,
   "requested": {
    "background": 0,
    "foreground": 0,
    "unset": 0
   },
   "started_in_background": 0,
   "max_depth": 0,
   "spawned_by_subagents": 0,
   "completed": 0,
   "failed": 0,
   "killed": {
    "parent": 0,
    "user": 0,
    "system": 0
   },
   "refused": {
    "depth_limit": 0,
    "concurrency_limit": 0,
    "budget": 0
   },
   "by_type": {}
  },
  "safety_stops": 0,
  "subtype": "success",
  "result": "",
  "local_command": "compact",
  "type": "result",
  "duration_ms": 4707,
  "uuid": "3adbdec7-bed8-441e-a16e-815b63c488a4",
  "queued_turn_count": 0,
  "result_index": 0,
  "credential_expires_at": "2026-11-17T18:56:03.488Z"
 },
 {
  "type": "system",
  "subtype": "session_state_changed",
  "state": "idle",
  "uuid": "7a5cbf90-ac27-49f2-ad13-c87287edfd04",
  "session_id": "s1"
 }
]

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.