claude-code-acp 0.3.0__py3-none-any.whl → 0.3.1__py3-none-any.whl

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.
@@ -11,7 +11,7 @@ from .agent import ClaudeAcpAgent
11
11
  from .client import ClaudeClient, ClaudeEvents
12
12
  from .acp_client import AcpClient, AcpClientEvents
13
13
 
14
- __version__ = "0.2.0"
14
+ __version__ = "0.3.1"
15
15
 
16
16
  __all__ = [
17
17
  "ClaudeAcpAgent",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-code-acp
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: ACP-compatible agent for Claude Code (Python version)
5
5
  Project-URL: Homepage, https://github.com/yazelin/claude-code-acp-py
6
6
  Project-URL: Repository, https://github.com/yazelin/claude-code-acp-py
@@ -219,6 +219,21 @@ async def main():
219
219
  asyncio.run(main())
220
220
  ```
221
221
 
222
+ ### Connect to Different Agents
223
+
224
+ ```python
225
+ from claude_code_acp import AcpClient
226
+
227
+ # Connect to our Claude ACP server
228
+ claude = AcpClient(command="claude-code-acp")
229
+
230
+ # Connect to Gemini CLI
231
+ gemini = AcpClient(command="gemini", args=["--experimental-acp"])
232
+
233
+ # Connect to TypeScript version
234
+ ts_claude = AcpClient(command="npx", args=["@zed-industries/claude-code-acp"])
235
+ ```
236
+
222
237
  ### AcpClient vs ClaudeClient
223
238
 
224
239
  | Feature | `ClaudeClient` | `AcpClient` |
@@ -228,50 +243,58 @@ asyncio.run(main())
228
243
  | Agents | Claude only | Any ACP-compatible agent |
229
244
  | Use case | Simple Python apps | Multi-agent, testing, flexibility |
230
245
 
246
+ ### Tested Agents
247
+
248
+ | Agent | Command | Status |
249
+ |-------|---------|--------|
250
+ | claude-code-acp (this package) | `claude-code-acp` | ✅ Works |
251
+ | Gemini CLI | `gemini --experimental-acp` | ✅ Works |
252
+ | TypeScript version | `npx @zed-industries/claude-code-acp` | ✅ Compatible |
253
+
231
254
  ---
232
255
 
233
256
  ## Architecture
234
257
 
235
258
  ```
236
- ┌─────────────────────────────────────────────────────────────────────────────┐
237
- Your Application
238
- ├─────────────────────────────────────────────────────────────────────────────┤
239
-
240
- ┌─────────────────┐ ┌─────────────────────────────┐
241
- │ │ Zed/Neovim │ │ Python Application │ │
242
- (ACP Client) │ │ │ │
243
- └────────┬────────┘ client = ClaudeClient() │ │
244
-
245
- ACP Protocol @client.on_text
246
- │ (stdio/JSON-RPC) │ async def handle(text):
247
- print(text)
248
-
249
- ┌────────────────────────────────────────┴─────────────────────────────┐
250
- │ │ │ │
251
- │ │ claude-code-acp (This Package)
252
- │ │ │ │
253
- ┌─────────────────────┐ ┌─────────────────────────────────┐
254
- ClaudeAcpAgent │ ClaudeClient │
255
- (ACP Server) │ │ (Event-driven wrapper) │ │
256
- └──────────┬──────────┘ └───────────────┬─────────────────┘
257
- │ │ │ │ │
258
- │ │ └────────────────┬────────────────┘ │ │
259
- │ │ │ │
260
- └───────────────────────────────┼───────────────────────────────────────┘
261
-
262
-
263
- ┌─────────────────────────────┐
264
- Claude Agent SDK │ │
265
- (claude-agent-sdk)
266
- └──────────────┬──────────────┘
267
-
268
-
269
- ┌─────────────────────────────┐
270
- Claude CLI
271
- (Your Claude Subscription)
272
- └─────────────────────────────┘
273
-
274
- └─────────────────────────────────────────────────────────────────────────────┘
259
+ ┌──────────────────────────────────────────────────────────────────────────────┐
260
+ claude-code-acp Package
261
+ ├──────────────────────────────────────────────────────────────────────────────┤
262
+
263
+ ACP SERVER (for editors) ACP CLIENT (for Python apps)
264
+ ───────────────────────── ────────────────────────────
265
+
266
+ ┌─────────────┐ ┌─────────────┐
267
+ Zed/Neovim Your Python
268
+ Editor App
269
+ └──────┬──────┘ └──────┬──────┘
270
+
271
+ ACP uses
272
+ ▼ ▼
273
+ ┌──────────────────┐ ┌─────────────────┐
274
+ │ │ ClaudeAcpAgent AcpClient │───┐ │
275
+ │ │ (ACP Server) (ACP Client) │ │
276
+ └────────┬─────────┘ └────────┬────────┘
277
+ can connect to
278
+ ACP any ACP agent
279
+ ▼ ▼
280
+ ┌──────────────────┐ ┌─────────────────┐
281
+ │ │ ClaudeClient claude-code-acp│◄─┘
282
+ │ │ (Python wrapper) Gemini CLI
283
+ └────────┬─────────┘ │ Other agents
284
+ └─────────────────┘
285
+
286
+
287
+ ┌──────────────────┐
288
+ Claude Agent SDK
289
+ └────────┬─────────┘
290
+
291
+
292
+ ┌──────────────────┐
293
+ Claude CLI
294
+ (Subscription)
295
+ └──────────────────┘
296
+
297
+ └──────────────────────────────────────────────────────────────────────────────┘
275
298
  ```
276
299
 
277
300
  ---
@@ -1,10 +1,10 @@
1
- claude_code_acp/__init__.py,sha256=sY6dO2pXQnnImk6ChOl7MF3HOrp6GBdIiLl5CseuaWs,828
1
+ claude_code_acp/__init__.py,sha256=dwYHKNrSkC4DZr2qa95eOy8geHMuzlgdtiB__G92nns,828
2
2
  claude_code_acp/__main__.py,sha256=zuAdIOmaCsDeRxj2yIl_qMx-74QFaA3nWiS8gti0og0,118
3
3
  claude_code_acp/acp_client.py,sha256=E0e8XBco3cBV4sPi4txXpS13WPXRDodwYqHpXmCJd4A,12572
4
4
  claude_code_acp/agent.py,sha256=qos32gnMAilOlz6ebllkmuJZS3UgpbAtAZw58r3SYig,20619
5
5
  claude_code_acp/client.py,sha256=jKi6tPNqNu0GWTsXxVa1BREGE1wkm_kbIEDulXKGDHE,10680
6
- claude_code_acp-0.3.0.dist-info/METADATA,sha256=gGQDM94g6UpnPsIDPXkWQyZ6Ig2SanGxI3vvIbixRew,15477
7
- claude_code_acp-0.3.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
8
- claude_code_acp-0.3.0.dist-info/entry_points.txt,sha256=cc_pkg_V_1zctD5CUqjATCxglkf5-UArEMfN3q9We-A,57
9
- claude_code_acp-0.3.0.dist-info/licenses/LICENSE,sha256=5NCM9Q9UTfsn-VyafO7htdlYyPPO8H-NHYrO5UV9sT4,1064
10
- claude_code_acp-0.3.0.dist-info/RECORD,,
6
+ claude_code_acp-0.3.1.dist-info/METADATA,sha256=sLheVL9IRJFKCC_gK1lzSItmatqOTquLcDG9sOA3Y3c,15895
7
+ claude_code_acp-0.3.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
8
+ claude_code_acp-0.3.1.dist-info/entry_points.txt,sha256=cc_pkg_V_1zctD5CUqjATCxglkf5-UArEMfN3q9We-A,57
9
+ claude_code_acp-0.3.1.dist-info/licenses/LICENSE,sha256=5NCM9Q9UTfsn-VyafO7htdlYyPPO8H-NHYrO5UV9sT4,1064
10
+ claude_code_acp-0.3.1.dist-info/RECORD,,