一键导入
test-acp-agents
Tests the ACP Swift SDK against multiple ACP agents (qwen, gemini, claude-code-acp) to verify compatibility.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Tests the ACP Swift SDK against multiple ACP agents (qwen, gemini, claude-code-acp) to verify compatibility.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | test-acp-agents |
| description | Tests the ACP Swift SDK against multiple ACP agents (qwen, gemini, claude-code-acp) to verify compatibility. |
Tests the ACP Swift SDK against multiple ACP agents to verify compatibility.
User says: "/test-agents" or "test acp agents" or "run agent tests"
Test each of these agents in order:
qwen --experimental-acp - Qwen Codegemini --experimental-acp - Gemini CLInpx @zed-industries/claude-code-acp - Claude Code ACPFor each agent:
a. Update Examples/BasicUsage/Sources/BasicUsage/main.swift to set AgentConfig.command to the agent command
b. Run swift run in the Examples/BasicUsage directory
c. Verify the output shows:
After testing all agents, run swift test in the SDK root to verify all unit tests pass
Report results in a summary table:
| Agent | Command | Result |
|-------|---------|--------|
| Qwen | qwen --experimental-acp | Pass / Fail |
| Gemini | gemini --experimental-acp | Pass / Fail |
| Claude Code | npx @zed-industries/claude-code-acp | Pass / Fail |
Unit Tests: X tests passed
Each agent test should have a 2-minute timeout. If an agent hangs, kill it and mark as failed.
If an agent fails:
Testing ACP agents...
[1/3] Testing qwen --experimental-acp
Connected to qwen-code v0.8.2
Session created
Prompt completed
Result: PASS
[2/3] Testing gemini --experimental-acp
Connected to agent
Session created
Prompt completed
Result: PASS
[3/3] Testing npx @zed-industries/claude-code-acp
Connected to @zed-industries/claude-code-acp v0.13.2
Session created
Prompt completed
Result: PASS
Running unit tests...
61 tests passed
Summary:
| Agent | Command | Result |
|-------|---------|--------|
| Qwen | qwen --experimental-acp | Pass |
| Gemini | gemini --experimental-acp | Pass |
| Claude Code | npx @zed-industries/claude-code-acp | Pass |
All agents compatible!
Adds a new ACP protocol method to the SDK with proper typing, documentation, and tests.
Synchronizes Swift types with the ACP protocol schema. Use when updating SDK types to match the latest protocol specification.
Updates golden test files from the Python SDK for cross-SDK compatibility verification.