Connect my computer: works from Docker and on Windows

- Docker passes BROKE_HOSTED through (setting it in .env did nothing before)
- the helper finds claude.exe / claude.cmd on Windows (PATH uses ';' there),
  runs a .cmd through cmd.exe with the question on stdin only, and keeps the
  Windows variables Claude needs to find its login; opencode on Windows only as .exe
- the page gives Windows a PowerShell command (curl.exe, file then node)
- Copy works on a plain http LAN address

Tested on Windows end to end with a stand-in claude.cmd: pairing, a question with
quotes, & and %, and every lockdown flag arriving intact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MangaValkandClaude Opus 5.5 committed 2026-11-17 20:50:41 +01:00
1 parent ea53718e5d
commit 0232766260
4 files changed
+54 -12

No files matched your search

+2
View File
@@ -45,6 +45,8 @@ services:
SUPABASE_SERVICE_ROLE_KEY: ${SERVICE_ROLE_KEY}
# Inside the stack only, so no SSL (broke turns SSL on unless the URL says otherwise).
SUPABASE_DB_URL: postgresql://postgres:${POSTGRES_PASSWORD}@db:5432/postgres?sslmode=disable
# 1 = AI runs on your own computer through "Connect my computer" (Claude Code there). Hides the local model.
BROKE_HOSTED: ${BROKE_HOSTED:-}
LOCAL_LLM_BASE_URL: ${LOCAL_LLM_BASE_URL:-http://ollama:11434/v1}
LOCAL_LLM_MODEL: ${LOCAL_LLM_MODEL:-}
PLAID_CLIENT_ID: ${PLAID_CLIENT_ID:-}