Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
ci(smoke): present the browser's Origin when completing onboarding
rubenluetke10-beep73d82f1896d0
diff --git a/.github/workflows/fresh-install-smoke.yml b/.github/workflows/fresh-install-smoke.ymlindex 172e3829e2..f08b3a7e85 100644--- a/.github/workflows/fresh-install-smoke.yml+++ b/.github/workflows/fresh-install-smoke.yml@@ -171,9 +171,9 @@ jobs:import sys, time, json, http.clientport = int(sys.argv[1])- def req(method, path):+ def req(method, path, headers=None):c = http.client.HTTPConnection("127.0.0.1", port, timeout=2)- c.request(method, path)+ c.request(method, path, headers=headers or {})r = c.getresponse()return r.status, r.read()@@ -191,7 +191,15 @@ jobs:assert state is not None, "onboarding state did not answer within 15 s of boot"assert state["completed"] is False, f"fresh install must be incomplete: {state}"- status, _ = req("POST", "/api/onboarding/complete")+ # Completing onboarding may schedule a desktop restart, so the route+ # demands the same-origin Origin header a real browser click sends+ # (lifecycle_guard.require_interactive_desktop_action) — a headless+ # POST without one is refused with 403 by design.+ status, _ = req(+ "POST",+ "/api/onboarding/complete",+ headers={"Origin": f"http://127.0.0.1:{port}"},+ )assert status == 200, f"complete failed: {status}"status, body = req("GET", "/api/onboarding/state")assert json.loads(body)["completed"] is True, "completed did not persist"