Repository navigation
Conversation
Add an opt-in WPF app with checked first-run runtime/model downloads, authenticated loopback chat and atomic Windows Job ownership. Keep the preview separate from the existing ODS installer and document deferred full-product and release qualification.
…-desktop-preview-20261022
…-desktop-preview-20261022
|
@Lightheartdevs This follows the native Windows direction you outlined: a per-user installer, the existing Portal UI, and local CPU inference without Docker or WSL. The CI artifact has been installed and tested with real model inference on Windows. I’d appreciate your feedback on this foundation for the Windows desktop effort. This is currently a CPU text-chat preview; clean-machine qualification, signing, and full agent support remain open. |
|
Hey @tang-vu, nice work on this. The Job-object ownership and keeping the model key out of JavaScript are really solid, and every dashboard change stays behind I reviewed head 1. Chat stops working after ~256 replies, and the error points to the wrong fix 2. Long chats fail on every new message 3. Model download can't finish on slower connections 4. Every launch hashes the 1.28 GB model twice 5. Generic error when Portal fails to open Smaller things
Happy to help test fixes on Windows 11, since that's still listed as an open gate in |
|
@IronicRayquaza Thanks for the concrete review and the offer to test on Windows 11. I addressed the reliability findings and carried them through actual native document and clean-Windows flows. Current head:
The explicit document mode uses the existing Portal card and a genuine native Save/Cancel picker. Exact Markdown bytes/hash and small/large JSON conversation exports are protected, including choices held beyond Blob revocation and recovery without replay. A real high-core model timeout also led to bounded eight-worker generation/batch budgets, preserving the lower-core rule, auth, integrity, context/output limits and deadlines. The complete native workflow on code head The exact final-head Setup, SHA-256 The first bootstrap failure and later failed model-QA attempt remain recorded. The corrected runner now matches App.Main's TLS policy and retains its real output/error streams; those earlier attempts are not counted as model passes. Windows 11/non-elevated fresh use, offline/proxy/Microsoft failure cases, wider UX and release acceptance remain separate gates. Details and genuine clean-guest screenshots are in VALIDATION.md. |
…-document-flow-20261023
Exercise real Setup with an isolated publisher boundary and same-wizard retry. Keep analyzer bootstrap failures explicit while avoiding a handled NuGet probe leaking into the Actions footer.
Record unavailable optional feature inventory after the mandatory guest guard while preserving required failures. Execute seven isolated actual-script startup contracts in both PowerShell interpreters.
Copy only runtime.llama_server.windows_x64 from reviewed 91acdc7. Keep the CLI and lifecycle changes from PR Osmantic#8014 outside this desktop port.
|
@Lightheartdevs the 0.3 desktop review package now includes the CPU/default and NVIDIA/opt-in flow, with a real two-minute demo and final-head CI artifact. I downloaded that exact artifact and qualified CPU math/auth/cleanup plus all 9 GPU chat and 11 document/save checks. The separate clean Windows 10 Sandbox run passed first model acquisition and CPU 9/11 checks under a manually filtered medium token after separately elevated Microsoft-only prerequisite preparation. Exact hashes, source equivalence and remaining Windows 11/separate-account/release gates are in the PR body and validation notes. One check has an inconsistent GitHub readback: |
|
Thanks for this. On 2026-10-24 we re-audited every open PR against current main and are merging only fixes for failures that users or our test fleet actually hit. ODS is consolidating native Windows into one runtime behind the host agent. A parallel C# app with a self-built, patched llama.cpp and native-chat branches in core If you've seen this fail on a real install of current main, please open an issue with the steps and logs, and a focused PR for it is very welcome. 🤖 Generated with Claude Code |
Summary
Install ODS as a per-user Windows application, choose CPU (default) or NVIDIA CUDA (opt-in), open the existing Portal, chat locally, and create a verified Markdown file through the native Windows Save picker.
Closes #7937. Refs #7968.
ODS runs without Docker, WSL, Git, Node, Python or a terminal. The installer includes the static CPU engine and acquires the pinned 2B model on first use. CUDA acquires two checked official runtime archives after hardware qualification. This is an unsigned development preview covering text chat and one bounded document tool; full agents, voice, images, extensions and model switching remain separate work.
Watch the actual two-minute CUDA demo. Captions disclose automated live QA, cached runtime/model, recorded cuts and cropped picker navigation.
Implementation
/silent /installflags. Minimum-version verification remains authoritative; an older shared runtime gets actionable device-administrator recovery guidance.AI Assistance
I lead this contribution, its product direction, scope and quality decisions, collaborating with Codex on implementation, analysis, automated tests and review. The validation records identify agent-executed commands.
Release Lane
main; opt-in native development preview.Changed Surface
Risk And Validation
High risk. Current head:
ddc453667edae3ffcefbfadb787d18e2a9ffeb5d; current upstreammainmerged normally. The final-head native Windows workflow succeeded. Checks currently show 74 completed and one inconsistent status:pixel-advice-host-stdlib (3.12)reportsin_progresswhile its conclusion, completed timestamp and parent workflow report success. This status mismatch remains an explicit external gate.The clean guest was Windows 10 Enterprise x64 build 19041. ODS/model/chat/document work used the same WDAG identity with a manually constructed non-elevated medium token, Administrators deny-only and a private current-user/SYSTEM default DACL. Microsoft WebView2 was prepared separately by the elevated guest parent, upgrading 141.0.3537.71 to 156.0.4314.42. This does not qualify a separately provisioned ordinary account or non-elevated Microsoft servicing. Git/Node/Docker/Python were absent; the inbox WSL command was present and optional-feature inventory was unavailable. No host model cache was mapped.
Exact local Setup SHA-256:
db67a64152f4bb8b3eb123a17be2819bdc3c891941101be2b16d149b5972a8aa. It uses tested application source95de936757f58and installer source5edf917986f2; production application/Portal source equivalence was verified when porting into this PR. Builder defaults now match the tested explicit 0.3 version. New CI rebuilds have their own receipts.The downloaded final-head CI artifact was independently verified, then exercised on Windows 10 Pro 19045 / RTX 3060 12 GB / driver 616.92. Setup SHA-256:
2ce7bd85de2434c2434be57f80621f4f029492a60159c374b38d3e0fb8ed06bb; CPU engine:bf6368d12ce312fd31867463348eed9226af96becd9430e8ef88c7674e52d9e3. The exact CPU engine completed real math, rejected a wrong key on protected chat with 401 and cleaned its owned child/session. The unmodified CI application then passed the complete GPU 9/11 Portal checks, including saving 526 bytes with SHA-2561ac3de761ed14adb31844e931b89c0fc580c77fd50a2a78632629fe5daaffdf4. All 62 portable files remained unchanged. This host qualification is separate from the local Setup's clean-guest run.Actual SDK probes reproduced missing device stdout in 4/16 launches with early
HasExitedpolling; waiting for the retained kernel process handle yielded complete output in 16/16. Independent agent review checked the Windows completion contract. Failed attempts and private video-wrapper path discrepancies are retained separately from product regressions.Operational Change Check
Scope And Review Package
This updates existing #7938. The separate #8014 supplies the public CLI's native CUDA route; its CLI/lifecycle implementation and synthetic integration merge were excluded from this PR. Only the identical shared NVIDIA pin data is carried here. Existing PR and maintainer commit attribution is preserved.
The Windows native workflow now includes optional CUDA metadata in review artifacts while CPU remains the default. Manual dispatch can still request a CPU-only package. Close ODS before repair/removal; uninstall retains its private model/history data.