formulahendry / formulahendry/acp-ui
从手机如何调用Claude code?示例只给了 copilot
- Dominant language
- Vue
- Stars
- 476
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
`npx @rebornix/stdio-to-ws "copilot --acp" --port 3000 --persist --grace-period -1` 这样开启的是co-pilot.
我尝试了`npx @rebornix/stdio-to-ws "npx @zed-industries/claude-code-acp@latest" --port 3000 --persist --grace-period -1`,但这样连接时报错:
```
[stdio-to-ws] WebSocket server listening on port 3000 (persistence enabled, grace period: infinite)
[stdio-to-ws] New WebSocket connection (no X-Client-Id header)
[stdio-to-ws] Created new client 1d8b9328-f6a1-4416-a262-a9c8e525925b
[stdio-to-ws] Child process error: Error: spawn npx ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:507:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npx',
path: 'npx',
spawnargs: [ '@zed-industries/claude-code-acp@latest' ]
}
[stdio-to-ws] Cleaning up client 1d8b9328-f6a1-4416-a262-a9c8e525925b
```
直接跑 `npx @zed-industries/claude-code-acp@latest` 没有输出,也看不出什么帮助信息。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the documented Copilot command and the reported Claude ACP command, then inspect the stdio-to-ws invocation and its spawn npx ENOENT error. Done means the mobile usage instructions explain a working Claude Code connection or clearly document the required environment and limitation; no project files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- documentation, mobile-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100