Repository navigation
Add native Windows app with a private Linux VM - #268
Merged
Merged
Conversation
Add a WSL 2 Private computer that works on Windows 11 Home and ARM64, with the Hyper-V VM kept for PCs that ran setup-private-vm.ps1. New agent > This PC now installs Ollama with winget, downloads a vision model and creates the guest from one checklist. The sidebar groups agents into Private and Cloud rows with avatars, and the window gains the computer and context panel and the app icon. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With a saved Sai key and no Private computer, New agent starts on Cloud, so the smoke test failed on developer machines. Choose This PC explicitly; the check still covers both the setup checklist and the local model picker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Private agents can now use the same coding-agent harnesses as the macOS app, running inside the WSL guest with the host's Ollama. Choose one in New agent or switch it from the model menu; older agents keep the built-in loop. - Port the macOS harness commands and the Claude Code, Codex and DeepSeek stream parsers to AgentS.Core, with per-harness sessions saved per agent. - Install Node 22, the three CLIs, simulang and the macOS web/ui screen tools into the guest before the first harness turn. - Relay the guest's 127.0.0.1:11434 to the host's Ollama over wsl.exe stdio, since a WSL guest can't reach the host's loopback. No firewall or admin. - Run harnesses on an app-owned 32K-context Ollama variant: the OpenAI endpoint otherwise uses Ollama's 4K default, which Codex and dsh overflow. - Give simulang a namespaced X socket so `ui tree` works on the WSLg guest. - Stream tool calls and answers into the chat, refresh the screen while the harness works, and stop the turn's whole process group on Stop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A multi-line TextBox handles Enter before KeyDown, so the composer listens on PreviewKeyDown: Enter sends and Shift+Enter still adds a line. Chat and composer text move to 16px, and muted text gets more contrast in both themes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Like This Mac on macOS, a This PC agent works on the PC itself with the installed Claude Code CLI, and every action waits for the person. - Claude Code's PreToolUse hook asks the app over a tokened loopback port; the chat shows the exact command or change with Allow, Allow for this task and Deny. Only looking (pc apps/tree/screenshot) runs without asking. - `pc`, a PowerShell UI Automation tool (apps, open, focus, tree, click, type, key, screenshot), stands in for the Mac's `mac` tool with nothing to install. Claude Code runs with Agent S's own profile. - OpenRouter as a model provider: the key stays in Credential Locker and a loopback proxy with a per-launch token adds it, so agents never see it. Private agents stay on Ollama, as on macOS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Markdown: agent and Sai replies render as native rich text: headings, emphasis, inline code, fenced code blocks, nested and task lists, quotes, tables, rules and links (http, https and mailto only). Streaming replies re-render as they grow, and previews strip the Markdown. OpenRouter for the Private computer: Claude Code, Codex and DeepSeek in the WSL guest can use OpenRouter as well as Ollama. The relay forwards a second guest port, 11435, to the app's OpenRouter proxy, so the guest only gets the proxy's per-launch token and never the key. The built-in loop stays on Ollama. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bring the Windows app to parity with the current macOS app: - First launch: set up the first agent, then get the private computer and model ready side by side. Nemotron 3 Nano 4B is the default model. - Models: one browser with the full Ollama library (download size, inputs, installed, memory fit) and every OpenRouter model (context, price, ZDR availability), each labeled with the agents that use it. Ollama version checks and downloads with progress. - OpenRouter: Zero Data Retention is requested by default; the proxy forwards only model requests and adds provider.zdr. Every Private harness, the built-in loop included, can use OpenRouter. - Chat: folded tool steps with Tool/Input/Output, copy code, jump to latest, sample tasks, and "Approve for this task" for Sai. - Composer: follow-up queue with Stop & send while a turn runs, per-agent drafts, and a status bar for what keeps the agent from working. - Agents: Agent Settings, rename, color, new conversation, reorder, inference badges, and links in empty sidebar sections. - Computer panel: take over the WSL private computer, maximize, a resizable split, and a dock (tint2) on the private desktop. - Context: action items, open work, agent memory, and session and instructions. Memory is ported from macOS with its wire format. - Settings: computer, accounts with key checks, ZDR, Ollama status and update checks. Black/white accent as on macOS. The core tests grow from 157 to 313 assertions, and the smoke test starts past first-launch setup with its own data folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simularlyon
marked this pull request as ready for review
November 26, 2026 06:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the native WinUI 3 app for Windows, now matching the current macOS app. New conversations default to Private, and saved Sai conversations retain their target and session.
Matching macOS
provider.zdr.Windows build, setup, and verification steps
Validation
Remaining draft checks
🤖 Generated with Claude Code