github kernalix7/winpodx v0.3.0-RTM1
v0.3.0-RTM1 — agent transport + modular core

latest releases: v0.12.1, REL-v0.12.1, v0.12.0...
6 months ago

First release of the redesigned host→guest pipeline. Bearer-authed HTTP agent on 127.0.0.1:8765 replaces FreeRDP RemoteApp as the default command channel; FreeRDP stays as fallback.

Background

v0.2.2 / v0.2.2.1 were an earlier attempt at these features that landed broken on real installs (PS-window storms, "Another user is signed in" dialogs, install timeouts, RST from /exec because compose was missing the 8765 port mapping). main was rolled back to v0.2.1 on 2026-04-29 and the agent + transport feature was redesigned from scratch with explicit anti-goals (see docs/AGENT_V2_DESIGN.md). v0.3.0 is that redesigned implementation; the 0.2.2.x tags exist on the timeline but should not be used.

Highlights

  • HTTP guest agent (rev4) — agent.ps1 runs inside Windows on +:8765, child PS spawned via [Diagnostics.Process] + CreateNoWindow=$true so no PS-window flashes on every command. Token delivered via OEM bind mount (mode 0600).
  • Transport ABC v1 — core/transport/{base,agent,freerdp,dispatch}. dispatch() prefers the agent and falls back to FreeRDP when /health doesn't answer. Password rotation never routes through Transport (rule #6).
  • winpodx check — nine probes (pod, RDP, agent /health, /exec round-trip, in-guest summary, OEM, password age, app count, host disk). --json for scripting.
  • GUI Health card + transport indicators — Info page shows live probe results, refreshed every 30s while visible. Sidebar pod chip gains A/R dots that turn green/red live so you see at a glance which channel the next launch will use.
  • Modular core — provisioner.py was 700+ lines; split into core/{pod,rotation,discovery,transport}/ with the self-heal apply (the source of the previous PS-window storm) deleted entirely.
  • install.sh ref selection — --main installs from origin/main, --ref TAG installs from any git ref / release tag, default uses the latest GitHub Release. Pairs with the RTM-only release gate so rapid iteration tags between RTM points don't trigger AUR / OBS / Debian publishes.

Fixes (v0.2.x → v0.3.0)

  • install.bat now pre-registers URL ACL for +:8765, opens Windows Firewall for tcp/8765, and registers WinpodxAgent under HKCU\Run with -WindowStyle Hidden. Compose mapping 127.0.0.1:8765:8765 + USER_PORTS=8765 was missing on 0.2.x.
  • agent /exec returned rc:null after clean child exit (PowerShell quirk) — now coerced to 0 at the source; AgentClient also tolerates null as 0.
  • Discovery script path off by one (<root>/src/scripts/... → <root>/scripts/...); GUI Refresh stopped mis-firing the "Pod Not Running" dialog on healthy pods.
  • GUI misclassified script_missing as pod_not_running because _looks_like_pod_down substring-matched "pod" inside install paths like winpodx-app/. RefreshWorker now reads DiscoveryError.kind first.
  • wait_for_windows_responsive polled FreeRDP RemoteApp instead of agent /health, causing every install to flash a PowerShell window during readiness probing.

Migration notes

  • Container recreate required for the in-guest agent (agent.ps1) to land. Existing 0.2.x pods keep working via the FreeRDP fallback channel; the A dot will stay red and the agent_health probe will fail until you recreate.
  • One-line upgrade: curl -fsSL https://raw.githubusercontent.com/kernalix7/winpodx/main/install.sh | bash -s -- --main
  • The OEM bundle bumps to v12. Compose mapping changes trigger an automatic container recreate during winpodx setup; the Windows storage volume is preserved across recreates.

Full release notes: CHANGELOG.md (한국어)

Don't miss a new winpodx release

NewReleases is sending notifications on new releases.