When I use the “claude-agent-acp@0.23.0”(latest version) in JetBrains IDEA, I encounter an error:
My ACP configuration:
{
"default_mcp_settings": {
"use_idea_mcp": true,
"use_custom_mcp": true
},
"agent_servers": {
"GLM": {
"command": "npx",
"args": [
"@zed-industries/claude-agent-acp@0.23.0"
],
"env": {
"ANTHROPIC_BASE_URL": "https://open.bigmodel.cn/api/anthropic",
"ANTHROPIC_API_KEY": "xxxx",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.5-air",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-4.7",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
"ENABLE_TOOL_SEARCH": "0",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}
}
}
If I roll back to version 0.22.2, it works fine.
I noticed that a similar issue has occurred before: #338. In the latest version, this issue has returned.
My IDEA acp logs: acp.txt
I guess this problem related to the PR in latest version: https://github.com/zed-industries/claude-agent-acp/pull/463/changes
After this PR is merged, there will only be a break here, not a return. However, if the process has already crashed, session_state_changed will never be received.
The above is just my humble opinion; please forgive me if I’ve said anything incorrect.
When I use the “claude-agent-acp@0.23.0”(latest version) in JetBrains IDEA, I encounter an error:
My ACP configuration:
{ "default_mcp_settings": { "use_idea_mcp": true, "use_custom_mcp": true }, "agent_servers": { "GLM": { "command": "npx", "args": [ "@zed-industries/claude-agent-acp@0.23.0" ], "env": { "ANTHROPIC_BASE_URL": "https://open.bigmodel.cn/api/anthropic", "ANTHROPIC_API_KEY": "xxxx", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.5-air", "ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-4.7", "ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5", "CLAUDE_CODE_ATTRIBUTION_HEADER": "0", "ENABLE_TOOL_SEARCH": "0", "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1", "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1" } } } }If I roll back to version 0.22.2, it works fine.
I noticed that a similar issue has occurred before: #338. In the latest version, this issue has returned.
My IDEA acp logs: acp.txt
I guess this problem related to the PR in latest version: https://github.com/zed-industries/claude-agent-acp/pull/463/changes
After this PR is merged, there will only be a
breakhere, not areturn. However, if the process has already crashed,session_state_changedwill never be received.The above is just my humble opinion; please forgive me if I’ve said anything incorrect.