Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

loop (Windows WinUI 3)

Runtime mode: Embedded - in-process TraverseEmbedder (.NET) loads digest-pinned runtime/runtime.wasm. No traverse-cli serve sidecar is required.

Native Windows client for the loop reference app.

Prerequisites

  • Windows 10 1809+ (build 17763) or Windows 11
  • Visual Studio 2022 with the Windows App SDK and .NET desktop development workloads
  • Bundled runtime assets under Loop/Assets/bundles/loop/ (synced below)

Sync the embedded bundle

$env:TRAVERSE_REPO = "C:\temp\traverse"   # clone of traverse-framework/Traverse
bash scripts/ci/sync_winui_loop_bundle.sh

This copies runtime/runtime.wasm + runtime-release.json (digest pin) and app manifests into the WinUI Assets tree.

Settings

Open Settings (gear icon) to set:

  • Workspace - default local-default
  • Bundle path (optional) - override the bundled Assets root

No Runtime URL is required in embedded mode.

Build and run

From Visual Studio 2022, open Loop.sln and run on x64.

Or from a Developer PowerShell:

cd apps\loop\windows-winui
dotnet build Loop.sln -c Release
dotnet test Loop.sln -c Release
dotnet run --project Loop\Loop.csproj

Architecture

File Role
EmbeddedHost.cs RuntimeTraverseEmbedder / InMemoryTraverseEmbedder boundary
ExecutionViewModel.cs MVVM submit + Embedded Ready/Unavailable status
HomePage.xaml Transcript input, output fields, trace
SettingsPage.xaml Workspace + optional bundle path
MainWindow.xaml Navigation shell - Embedded + status + workspace + workflow

Vendored SDK: vendor/traverse-embedder-dotnet/ (Traverse Spec 068 / 071).

Design language

Follow docs/design-language.md. Zone 1 shows Embedded with Ready / Unavailable / Starting.