Herdr support not working on windows
@vipulgupta2048 已经在做这个了。
开始于 2026年9月22日。
评估
这个 Issue 还没有评估数据。
描述
Summary
It's not working since the herdr support is introduced, I have tried to locate the issue by then but forget to post the issue. Now I'm here to provide the finding through AI:
HERDR_SOCKET_PATH is a regular file, not a named pipe. Its contents are a rendezvous string:
17472:1789874021129905200
That is <herdr-server-pid>:<nonce>. The herdr CLI reads this file and connects to the real endpoint; the path itself is not
connectable.
sendHerdrLine() in dist/cli.mjs hands that path straight to net.createConnection():
const o = he.createConnection(e.socketPath);
On Windows this can't work. Node/libuv treats a filesystem path as a pipe name, so it tries something like \\.\pipe\C:\Users\...
\herdr.sock and fails immediately. The error is swallowed by design (o.on("error", s), a 250 ms timeout, and .catch(() => {})),
so the integration fails silently and the user sees nothing.
Please help fix this. Before the native support, I use third party plugin and it works somehow, now it totally breaks.
Expected Behavior
Herdr should show cmdc session in the bottom left corner by default on Windows like on Linux or Mac
Actual Behavior
Herdr does not show any cmdc session on Windows.
Steps to reproduce the issue
- Install the latest version of herdr
- Install latest version of command-code
- Start herdr
- Start a cmdc session
- Check out the agents panel, cmdc session does not listed there
Command Code Version
1.62.0
Operating System
Windows
Terminal/IDE
No response
Shell
No response
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommandCodeAI/command-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#903 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#608 ·