mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 13:32:23 +00:00
* feat: display app version in settings panel * fix(onboarding): auto-refresh accessibility state after grant (#351) * style(onboarding): apply formatter for issue #351 fix * fix(onboarding): ESLint + typed mock for ScreenPermissionsStep; clear flag in handler Consolidate tauriCommands imports and drop redundant mock cast. Handle granted accessibility in focus/visibility callback instead of a follow-up effect. Made-with: Cursor * fix(release): gate OAuth deep links on minimum app version (#365) - Add semver helpers and VITE_MINIMUM_SUPPORTED_APP_VERSION / download URL in app config - Block openhuman://oauth/success when desktop build is below minimum; enqueue error, open latest-release URL, dispatch oauth:stale-app - Pass new Vite env vars through release.yml and build-windows.yml Build frontend - Document policy in docs/RELEASE_POLICY.md; note vars in app/.env.example Closes #365 Made-with: Cursor * fix: import React in SkillSetupWizard component * fix: address CodeRabbit review (OAuth gate, semver, logging) - Anchor semver regex to full string; arrow-style exports; tests for bad inputs - Never throw from evaluateOAuthAppVersionGate; try/catch in deep link + omit raw URL from error logs - Document build-time vs runtime policy in config JSDoc and RELEASE_POLICY - Remove unused React import in SkillSetupWizard (tsc) Made-with: Cursor * fix: CodeRabbit — fail-closed OAuth gate, tauri-action Vite env, runbook - Block OAuth when minimum is set but getVersion fails or version is unparseable - Pass VITE_MINIMUM_* through tauri-action env (release + Windows) so bundles match yarn build - Expand RELEASE_POLICY: artifact retirement, dual workflow env note - Friendlier copy when current version is unknown Made-with: Cursor
36 lines
1.6 KiB
Bash
36 lines
1.6 KiB
Bash
# Frontend (Vite) environment variables
|
|
# Copy to app/.env.local and fill in values as needed.
|
|
# Only VITE_-prefixed vars are exposed to the browser.
|
|
#
|
|
# Tags: [required] must be set, [optional] has a sensible default or can be blank
|
|
|
|
# [optional] Core RPC endpoint (Tauri sets this automatically; override for web-only dev)
|
|
VITE_OPENHUMAN_CORE_RPC_URL=http://127.0.0.1:7788/rpc
|
|
|
|
# [required] Backend API URL (web fallback when core RPC is unavailable)
|
|
VITE_BACKEND_URL=https://staging-api.alphahuman.xyz
|
|
|
|
# [optional] Telegram bot username used for managed DM linking fallback (default: openhuman_bot)
|
|
VITE_TELEGRAM_BOT_USERNAME=openhuman_bot
|
|
|
|
# [optional] Skills GitHub repository slug (default: tinyhumansai/openhuman-skills)
|
|
VITE_SKILLS_GITHUB_REPO=tinyhumansai/openhuman-skills
|
|
|
|
# [optional] Sentry DSN for error reporting (leave blank to disable)
|
|
VITE_SENTRY_DSN=
|
|
|
|
# [optional] Dev-only: auto-inject JWT token to skip login flow
|
|
VITE_DEV_JWT_TOKEN=
|
|
|
|
# [optional] Dev-only: force onboarding flow to always show
|
|
VITE_DEV_FORCE_ONBOARDING=false
|
|
|
|
# [optional] Client-side timeout for skill callTool/triggerSync (seconds; default 120, max 3600).
|
|
# Should match OPENHUMAN_TOOL_TIMEOUT_SECS on the core when set.
|
|
# VITE_TOOL_TIMEOUT_SECS=
|
|
|
|
# [optional] Minimum desktop app semver to complete OAuth deep links (openhuman://oauth/success). Leave unset in dev.
|
|
# VITE_MINIMUM_SUPPORTED_APP_VERSION=0.51.0
|
|
# [optional] Download page when OAuth is blocked due to an outdated build (default: GitHub releases/latest).
|
|
# VITE_LATEST_APP_DOWNLOAD_URL=https://github.com/tinyhumansai/openhuman/releases/latest
|