Herdr support not working on windows

Aperta
#913 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@vipulgupta2048 ci sta già lavorando.

Dal 22/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

Lingua principale
Nessun dato sulla lingua
Stelle
4k
Fork
350
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CommandCodeAI/command-code

Tutte le issue di CommandCodeAI/command-code

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.