Skip to content

Windows support (localhost TCP fallback) #6

@amaar-mc

Description

@amaar-mc

Wit currently uses Unix domain sockets for daemon communication. Windows doesn't support Unix sockets natively.

The plan (already in the design):

  • Fallback to localhost:7337 TCP on Windows
  • Detect platform in shared/paths.ts and choose socket vs TCP
  • Update client.ts fetch calls to use TCP URL on Windows
  • Update daemon/index.ts to bind to TCP port on Windows
  • Tests on Windows CI

The architecture already accounts for this — it's a matter of implementing the fallback path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions