Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(scripts): document one-click sign-in for the dev web script

Steven Enamakel37a01f6c5ed1
diff --git a/scripts/run-dev-web.sh b/scripts/run-dev-web.sh
index b5d446f367..4e88c70bc3 100755
--- a/scripts/run-dev-web.sh
+++ b/scripts/run-dev-web.sh
@@ -14,6 +14,11 @@
# dev-server-only `/__dev-connect` route (see `devConnectPlugin` in
# `app/vite.config.ts`), which is where the browser is pointed first.
#
+# Sign-in is one click: the OAuth buttons pass `<vite origin>/__dev-auth` as the
+# backend redirectUri (loopback URIs are accepted), and that route bounces the
+# returned token onto the `#/auth` callback. The session is stored in the core's
+# workspace, so later runs against the same workspace start signed in.
+#
# Usage:
# pnpm dev:app:web # start core + vite, open the browser
# pnpm dev:app:web --no-browser # start both, just print the URL (for agents)
@@ -169,6 +174,7 @@ echo
echo "[dev:web] ready"
echo "[dev:web] core : http://127.0.0.1:$core_port/rpc"
echo "[dev:web] open : $connect_url"
+echo "[dev:web] sign in with one click on a provider; the session persists in the core workspace"
echo
if (( open_browser )); then