formulahendry / formulahendry/vscode-acp

edit tool hangs in OpenCode

Open
#4 4 comments 0 reactions 0 assignees View on GitHub
bug upstream
Dominant language
TypeScript
Stars
378
Forks
76
PR merge metrics
No merged PRs in 30d

Description

After the opencode is connected, when the edit tool is used, the ui interface hangs and no message can be entered. Manually check files The actual code file is modified silently. There's no way to tell if the job is done. The main thing is that the input window cannot enter messages.

below is the last acp trafic message

```text
[2026-03-02T07:40:23.663Z] <<< AGENT → CLIENT [NOTIFICATION] session/update
{
"jsonrpc": "2.0",
"method": "session/update",
"params": {
"sessionId": "ses_352ccadfbffeCrGBzjbtpF8CGf",
"update": {
"sessionUpdate": "tool_call_update",
"toolCallId": "call_95255a40b36e4d94b2124c64",
"status": "in_progress",
"kind": "edit",
"title": "edit",
"locations": [
{
"path": "d:\\code\\python\\ProgrammerToolbox\\tools\\xtree\\tests\\test_xtree_simple.py"
}
],
"rawInput": {
"filePath": "d:\\code\\python\\ProgrammerToolbox\\tools\\xtree\\tests\\test_xtree_simple.py",
"oldString": "def test_exclude_dirs(self):\n \"\"\"测试目录排除\"\"\"\n print(\"\\n=== 测试目录排除 ===\")\n \n # 测试--excludeDir\n output = self.run_xtree({'exclude_dir_patterns': ['node_modules']})",
"newString": "def test_exclude_dirs(self):\n \"\"\"测试目录排除\"\"\"\n print(\"\\n=== 测试目录排除 ===\")\n \n # 测试--exclude-dir\n output = self.run_xtree({'exclude_dir_patterns': ['node_modules']})"
}
}
}
```

Auto Approve Permissions is default: ask. but I can not view any ask prompt。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.