@lucascouts/claude-agent-acp-plus 0.23.5 → 0.23.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +29 -1
  2. package/package.json +6 -4
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/%40lucascouts%2Fclaude-agent-acp-plus)](https://www.npmjs.com/package/@lucascouts/claude-agent-acp-plus)
4
4
 
5
- > A **fork** of [claude-agent-acp](https://github.com/agentclientprotocol/claude-agent-acp) that ports features from the Claude Code VS Code extension to ACP clients (like Zed), for a friendlier experience. Currently based on upstream v0.58.1. Requires Node.js >= 24.
5
+ > A **fork** of [claude-agent-acp](https://github.com/agentclientprotocol/claude-agent-acp) that ports features from the Claude Code VS Code extension to ACP clients (like Zed), for a friendlier experience. Tracks upstream through v0.70.0. Requires Node.js >= 24.
6
6
 
7
7
  Use [Claude Agent SDK](https://platform.claude.com/docs/en/agent-sdk/overview#branding-guidelines) from [ACP-compatible](https://agentclientprotocol.com) clients!
8
8
 
@@ -14,12 +14,40 @@ This tool implements an ACP agent by using the official [Claude Agent SDK](https
14
14
  - Following
15
15
  - Edit review
16
16
  - TODO lists
17
+ - Nested subagent transcripts
17
18
  - Interactive (and background) terminals
18
19
  - Custom [Slash commands](https://docs.anthropic.com/en/docs/claude-code/slash-commands)
19
20
  - Client MCP servers
21
+ - Session-scoped long-running goals through the provider-neutral [goal extension](docs/goal-extension.md)
22
+ - Structured errors, recovery, and warnings through the opt-in [session failure extension](docs/session-failure-extension.md)
23
+ - Tool permission presentation, editable choices, and durable effects through the [permission extension](docs/permission-extension.md)
20
24
 
21
25
  Learn more about the [Agent Client Protocol](https://agentclientprotocol.com/).
22
26
 
27
+ ## What this fork adds
28
+
29
+ On top of upstream, aimed at parity with the Claude Code VS Code extension:
30
+
31
+ - **Multi-select questions** — `AskUserQuestion` with `multiSelect` renders as checkboxes, and a typed custom answer keeps the boxes already ticked
32
+ - **Refusal consent dialog** — when the model refuses, the CLI's fallback prompt is shown as a dialog instead of a bare error
33
+ - **Live quota windows** — every usage window from the account's usage report, refreshed while the session is idle and shared between adapter processes
34
+ - **Background tasks** — the live set of background tasks is published to the client
35
+ - **Session notices** — live advisories sent as ACP session notices, and context compaction reported rather than inferred
36
+ - **Ultracode** in the effort picker, and a model picker that offers only the newest model of each family
37
+ - **Per-session account selection**, and an agent name taken from the installed package
38
+ - Permission prompts that honour the CLI's `defaultToNo` and `suppressAlwaysAllowRule`
39
+
40
+ ### Nested subagent transcripts
41
+
42
+ ACP 1.2 has no standard subagent tool kind or nested-message relationship. Clients that can render
43
+ nested transcripts can opt in with `clientCapabilities._meta["subagent-transcript"] = true`.
44
+ The agent then forwards subagent text, thinking, and tool calls, relating nested updates to the
45
+ launching Agent/Task call through `_meta.claudeCode.parentToolUseId`. Agent/Task calls are marked
46
+ with `_meta.claudeCode.subagent = true`.
47
+
48
+ Clients that do not advertise the capability retain the legacy flattened behavior. In both modes,
49
+ the normal Agent/Task tool result is preserved as the protocol-compatible fallback.
50
+
23
51
  ## Install
24
52
 
25
53
  ```bash
package/package.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.23.5",
7
- "description": "ACP adapter for the Claude Agent SDK with VS Code-parity UX for Zed and other ACP clients — checkbox multi-select questions, refusal consent dialog, dynamic agent name. Fork of claude-agent-acp.",
6
+ "version": "0.23.6",
7
+ "description": "Claude Code in Zed and other ACP clients with the VS Code extension's UX — multi-select questions, refusal consent, live quota windows, background tasks, Ultracode effort and session notices. Fork of claude-agent-acp.",
8
8
  "main": "dist/lib.js",
9
9
  "types": "dist/lib.d.ts",
10
10
  "bin": {
@@ -46,12 +46,14 @@
46
46
  },
47
47
  "keywords": [
48
48
  "claude",
49
+ "claude-code",
49
50
  "acp",
51
+ "agent-client-protocol",
50
52
  "agent",
51
53
  "anthropic",
54
+ "zed",
52
55
  "typescript",
53
- "sdk",
54
- "code"
56
+ "sdk"
55
57
  ],
56
58
  "homepage": "https://github.com/zeo-workspace/claude-agent-acp-plus#readme",
57
59
  "bugs": {