Fix windows compatibility #31

Closed
Yihuki wants to merge 2 commits from main into main
Yihuki commented 2026-04-27 00:16:08 -07:00 (Migrated from github.com)

Set UTF-8 code page to prevent TUI garbled text on Windows.
Replace /dev/tty with CONOUT for console output.
Switch ZMQ transport from IPC to TCP, as IPC is not supported on Windows.

Set UTF-8 code page to prevent TUI garbled text on Windows. Replace /dev/tty with CONOUT for console output. Switch ZMQ transport from IPC to TCP, as IPC is not supported on Windows.
kahliburke commented 2026-06-19 15:00:15 -07:00 (Migrated from github.com)

Superseded — thanks @Yihuki. The Windows compatibility work in this PR has now landed on 2.0-integration, ported to the current structure (the gate was extracted into a standalone KaimonGate package and gate.jl/gate_client.jl were split after this PR was opened, so it couldn't merge as-is):

  • UTF-8 console code page, IPC→TCP for the event PUB + service endpoint — 8ce7def (#41).
  • /dev/ttyCON — already in via #40.
  • Gate per-session sockets already bind ephemeral TCP on Windows.

Your approach (especially the fixed-port IPC→TCP switch) was the basis for the port. Closing as superseded; details and a request for Windows verification are in #41.

Superseded — thanks @Yihuki. The Windows compatibility work in this PR has now landed on `2.0-integration`, ported to the current structure (the gate was extracted into a standalone `KaimonGate` package and `gate.jl`/`gate_client.jl` were split after this PR was opened, so it couldn't merge as-is): - UTF-8 console code page, IPC→TCP for the event PUB + service endpoint — `8ce7def` (#41). - `/dev/tty`→`CON` — already in via #40. - Gate per-session sockets already bind ephemeral TCP on Windows. Your approach (especially the fixed-port IPC→TCP switch) was the basis for the port. Closing as superseded; details and a request for Windows verification are in #41.

Pull request closed

Sign in to join this conversation.
No description provided.