tools/makepad_builder replaces tools/makepad_loader: one build target shared across app builds, workspace package selection, checkout progress on the public Git API, detached built apps with a completion state, waits for Windows security scans, manual retry after compiler locks, dedicated-folder installer checks, catalog and runtime fixes. tools/web_server and its scripts leave for github.com/makepad/webserver. Arch USB clone/restore scripts, the qwen38 box scripts and the G-belt serial test join tools/. docs/agents records the agent workflow and the remote-control handoff protocol; AGENTS.md forbids vendored sources and bulk imports. Cargo.toml lists apps/wm-dyn, libs/code_language, libs/search, libs/tar, libs/loader_bundle and tools/makepad_builder, and drops the two removed crates. Squashed from work: - Share Builder target across Makepad app builds - Fix Builder workspace package selection - Align Builder checkout progress with public Git API - Detach built apps and show completion state - Wait for Windows security scans - Offer manual retry after Windows compiler locks - docs: the agent workflow of record and the remote-control handoff protocol - builder: dedicated-folder installer checks, catalog and runtime fixes; Windows job objects hold c_void handles - tools: Arch USB clone/restore scripts, the qwen38 box scripts, and the G-belt serial test - tools: the web server moves to makepad/webserver - AGENTS.md: no vendored sources or bulk imports in the tree Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
14 lines
1,015 B
PowerShell
14 lines
1,015 B
PowerShell
# One-line completion check for the two detached jobs
|
|
$dl = ""; $pv = ""
|
|
if (Test-Path C:\ai\models\qwen38\dl.log) { $dl = (Get-Content C:\ai\models\qwen38\dl.log -Raw) }
|
|
if (Test-Path C:\ai\qwen38\provision.log) { $pv = (Get-Content C:\ai\qwen38\provision.log -Raw) }
|
|
$sz = 0
|
|
if (Test-Path C:\ai\models\qwen38\hf) { $sz = (Get-ChildItem C:\ai\models\qwen38\hf -Recurse -File -ErrorAction SilentlyContinue | Measure-Object Length -Sum).Sum }
|
|
$dlDone = $dl -match 'SNAPSHOT_DONE'
|
|
$pvDone = $pv -match 'PROVISION_DONE'
|
|
$dlErr = $dl -match 'Error|Traceback'
|
|
$pvErr = ($pv -match 'error|fatal') -and (-not $pvDone)
|
|
Write-Output ("dl_gb=" + [math]::Round($sz/1GB,1) + " dl_done=" + $dlDone + " dl_err=" + $dlErr + " pv_done=" + $pvDone + " pv_err=" + $pvErr)
|
|
if ($dlDone -and $pvDone) { Write-Output "ALL_DONE" }
|
|
if ($dlErr) { Write-Output "=== dl.log tail ==="; Get-Content C:\ai\models\qwen38\dl.log -Tail 10 }
|
|
if ($pvErr) { Write-Output "=== provision.log tail ==="; Get-Content C:\ai\qwen38\provision.log -Tail 10 }
|