Herdr support not working on windows

Đang mở
#913 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@vipulgupta2048 đang làm issue này rồi.

Từ ngày 22/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
  1. Install the latest version of herdr
  2. Install latest version of command-code
  3. Start herdr
  4. Start a cmdc session
  5. 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

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4k
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CommandCodeAI/command-code

Tất cả issue của CommandCodeAI/command-code

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.