feat(core): pass in-process RPC bearer via internal handle, not process env (#2709)

This commit is contained in:
oxoxDev
2026-05-29 04:35:33 +05:30
committed by GitHub
parent 4657d16c7c
commit 336d811ca0
10 changed files with 379 additions and 94 deletions
+3 -1
View File
@@ -56,7 +56,9 @@ OPENHUMAN_CORE_RPC_URL=http://127.0.0.1:7788/rpc
# Set this when serving a private web UI preview from a non-loopback origin.
# OPENHUMAN_CORE_ALLOWED_ORIGINS=https://openhuman-ui.example.com
# Core RPC bearer token. Single source of truth for /rpc auth.
# - Tauri desktop: set automatically by the shell — leave blank.
# - Tauri desktop: leave blank. The shell generates a fresh per-launch
# bearer and hands it to the in-process core in-memory; nothing is
# read from this variable.
# - Docker / cloud / VPS: REQUIRED. Generate with `openssl rand -hex 32`.
# Same value goes in the desktop's app/.env.local (or paste into the
# first-run picker). See gitbooks/features/cloud-deploy.md.