Skip to content

feat(cli): run a managed local gateway from a Windows client - #14641

Merged
cv merged 1 commit into
v1from
cv/windows-managed-gateway
Nov 19, 2026
Merged

cv merged 1 commit into
v1from
cv/windows-managed-gateway

Conversation

@cv

@cv cv commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

A Windows client can now run a managed local gateway on Docker Desktop or a Podman machine. spec.gateway.engine names the engine's named pipe for the client, and the gateway container binds /var/run/docker.sock in the engine's Linux VM, which the SDK derives from the pipe. On Windows, nemoclaw onboard offers the local pipes.

Problem

After #14635, a Windows client deploys only with an external gateway. The schema requires ^unix:/// for a managed gateway's engine, and the gateway container binds the engine's socket path as /var/run/docker.sock. A pipe has no such path: the engine runs in Docker Desktop's or Podman's Linux VM. Managed services, application containers, and the Ollama proxy follow the managed gateway's engine and refuse anything but a Unix socket too. Podman's native API, which managed Podman gateways read, is reachable only over a Unix socket.

Resolves #14632.

Change

  • nemoclaw-docker: engine_socket derives the path at which a container reaches a local engine. A Unix socket keeps its own path, unchanged. A named pipe gets /var/run/docker.sock: Docker Desktop serves its engine there, and a Podman machine links /run/docker.sock to the API socket of its rootful or rootless mode, the socket its pipe forwards to (GetPodmanDockerTmpConfig, updated on start after podman machine set --rootful). Since the path can be derived, no new field is added.
  • SDK: a managed gateway's engine accepts npipe:////./pipe/NAME. The gateway container's bind, managed service processes, application containers, and an Ollama proxy that follows the gateway's engine accept a local engine through the derived socket. Schema and configuration reference are regenerated.
  • podman_json reads Podman's native API over a named pipe on Windows, using reqwest's windows_named_pipe. The managed Podman container check and the rootless-networking prerequisite no longer refuse non-Unix clients.
  • Discovery: on Windows, onboarding lists the pipe the Docker client selects (DOCKER_HOST, then the context under USERPROFILE\.docker), otherwise npipe:////./pipe/docker_engine, and the default Podman machine's npipe:////./pipe/podman-machine-default.
  • Tests: an SDK test compiles managed Docker and Podman gateways, a vLLM service, an application container, and an Ollama proxy on pipes. Discovery tests cover the Windows candidates. The OpenShell provider's gateway storage, gateway installation, and gateway prerequisite contract tests, and the NemoClaw provider's discovery contract test, now also run on Windows against fake engines on pipes. The Podman prerequisite scenario now reads Podman's native API over a pipe there.
  • Docs: release note, support matrix, current limits, install, usage, the provider reference, and the execution-target and onboarding designs.

Left out:

  • The HCL integration scenarios with managed gateways still run only on Unix: their test files name the Docker alias of the fixed Unix fixture socket, and adding them to the Windows partitions would lengthen CI's critical path.
  • An Ollama proxy's own engine stays a Unix socket: widening it would change the intent record's format and refuse existing deployments.
  • The SDK's default engine for an omitted spec.gateway.engine stays unix:///var/run/docker.sock on every client; onboarding writes the pipe on Windows.
  • macOS: a managed gateway still binds the client's Unix socket path, such as Docker Desktop's ~/.docker/run/docker.sock or Colima's socket, which an engine in a VM may not serve; Managed local gateway on macOS binds the client's engine socket path, not the VM's #14640 tracks it.

Beyond CI

No Windows host with Linux containers ran this change, and GitHub's Windows runners run only Windows containers. CI tests the Windows client against fake engines on named pipes, so a gateway on Docker Desktop or a Podman machine is unverified: that /var/run/docker.sock in the VM reaches the engine, that a rootless Podman machine's SELinux allows the bind, and that the client reaches a Podman gateway's loopback endpoint. #14639 tracks a live run.

A Windows client can now run a managed local gateway on Docker Desktop or a
Podman machine. spec.gateway.engine names the engine's named pipe for the
client, and the gateway container binds /var/run/docker.sock in the engine's
Linux VM, which the SDK derives from the pipe. On Windows, nemoclaw onboard
offers the local pipes.

Resolves #14632.

Signed-off-by: Carlos Villela <[email protected]>
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 19, 2026
@cv

cv commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness partial Pi 1.5.2 The record stores only its session format, version 3; the version is the running harness's install
Skills recorded test-driven-development (complete read); write-tests (complete read); nemoclaw-contributor-create-pr (complete read) Reads to cutoff
Instruction files recorded AGENTS.md (injected); WRITING.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read) Startup injection and reads to cutoff
Tool calls recorded typescript: 117 Includes failed calls; the typescript wrapper hides its nested shell, file, and HTTP calls
Tokens recorded input: 21829781; cached input: 21523874; output: 101033 Sum of assistant message usage (input + cacheRead + cacheWrite; cacheRead; output) to the last recorded response before cutoff
Session window recorded 2026-11-19T05:01Z to 2026-11-19T05:37Z; 0 h 36 min First event to cutoff, including idle time
Compactions recorded 0 Complete record to cutoff; one in-session summary of research turns is not a compaction
Models recorded claude-opus-5-5 Model change and assistant messages; no changes
Reasoning levels recorded high Thinking-level entries; no changes

@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit ffe5406 into v1 Nov 19, 2026
85 of 88 checks passed
@cv
cv deleted the cv/windows-managed-gateway branch November 19, 2026 06:20
@cv cv added the v1 NemoClaw v1 branch label Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant