Repository navigation
Harness.WinUI 1.0.7
Run commands. Harness.WinUI can now run the programs and scripts it writes for you: a Python script, a build, a test run. Each command is shown in full and runs only after you approve it, and you can see and remove everything you've chosen to always allow in Settings.
What's new
run_command: the agent runs PowerShell commands in the sandbox folder (PowerShell 7 when it's installed), on your PC with your permissions, like a terminal you open yourself.- Every command is shown in full on an approval card, with where and how it will run.
- Input is closed, so a program can't hang waiting for typing; the agent passes inputs as arguments instead.
- Output is UTF-8 (Python included) and, when long, keeps its start and end.
- Commands stop after 2 minutes by default (up to 10), and the whole process tree is stopped on timeout or when you press Stop.
- Always allow by how a command starts: "Always allow" on a command covers the same program and subcommand, e.g.
uv run,git status,python. Commands that chain, pipe, redirect or use$, and ones that start a shell, delete files or start detached programs, are asked every time. - Settings → Always allowed: every action that runs without asking (file tools, MCP tools, command prefixes) is listed with a Remove button.
Download
| File | For |
|---|---|
Harness.WinUI-1.0.7-win-x64.zip |
Most Intel / AMD PCs |
Harness.WinUI-1.0.7-win-arm64.zip |
ARM PCs (e.g. Snapdragon Copilot+ PCs) |
Unzip to any folder and run Harness.WinUI.exe. Requires Windows 10 1809+ and the WebView2 Runtime (built into Windows 11). The executable is not code-signed, so SmartScreen may warn the first time: choose More info → Run anyway. Verify downloads with SHA256SUMS.txt.
執行指令。 Harness.WinUI 現在可以執行它幫你寫的程式和腳本:Python 腳本、建置、跑測試。每個指令都會完整顯示,經你核准後才會執行;你選擇永遠允許的項目,都可以在設定中查看及移除。
run_command:agent 在沙盒資料夾中執行 PowerShell 指令(有安裝 PowerShell 7 就用 7),在你的電腦上以你的權限執行,就像你自己開的終端機。- 每個指令都會完整顯示在核准卡上,並註明在哪裡、以什麼方式執行。
- 輸入是關閉的,程式不會卡在等待鍵盤輸入;agent 會改用參數傳入。
- 輸出為 UTF-8(Python 也是),太長時保留開頭和結尾。
- 指令預設 2 分鐘後停止(最多 10 分鐘);逾時或按下停止時,整個行程樹都會被結束。
- 依指令開頭永遠允許:對指令選「永遠允許」,涵蓋的是同一個程式加子指令,例如
uv run、git status、python。串接、管線、重新導向或使用$的指令,以及啟動 shell、刪除檔案或背景啟動程式的指令,一律每次詢問。 - 設定 → 永遠允許的動作:列出所有不經詢問就會執行的動作(檔案工具、MCP 工具、指令開頭),每項都可以移除。
下載後解壓縮,執行 Harness.WinUI.exe 即可。