Client (apps/even-client): pure interaction reducer with generation-based stale-result rejection, HUD renderer, measured pagination, Even Hub SDK 0.0.16 adapter, bridge HTTP client, phone pairing/status/diagnostics page. Bridge (services/bridge): device pairing and revocable expiring credentials, turn engine with idempotent submit, cancel, deadlines and restart recovery, Hermes Runs API adapter, OpenAI-compatible STT adapter, operator CLI. Contract (packages/contracts): versioned schemas, types and error codes. Tests: 122 unit/integration (fakes), 6 simulator scenarios (Even Hub simulator 0.9.5), 9 scenarios against a real Hermes v0.23.1 gateway with a stub model. No real STT, real model or physical device has been exercised; see docs/test-evidence.md and docs/device-test-plan.md. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
45 lines
2.0 KiB
Bash
45 lines
2.0 KiB
Bash
# Hermeven bridge configuration. Copy to `.env` (ignored by git) on the bridge host.
|
|
# Nothing in this file belongs in the client app or in the repository.
|
|
|
|
# --- Hermes (required) -------------------------------------------------------
|
|
# Base URL of the Hermes API server. For multi-profile routing use .../p/<profile>.
|
|
HERMES_BASE_URL=http://127.0.0.1:8642
|
|
# The API_SERVER_KEY of that Hermes profile. Stays on the bridge host only.
|
|
HERMES_API_KEY=replace-with-your-hermes-api-server-key
|
|
# A label for the profile this bridge serves. Devices are bound to it.
|
|
HERMES_PROFILE_LABEL=default
|
|
|
|
# --- Bridge listener ---------------------------------------------------------
|
|
# Loopback by default. A phone reaches it through a TLS-terminating reverse proxy or a
|
|
# private network (for example Tailscale). Binding a non-loopback address needs the
|
|
# explicit acknowledgement below; the bridge itself does not terminate TLS.
|
|
HERMEVEN_HOST=127.0.0.1
|
|
HERMEVEN_PORT=8787
|
|
# HERMEVEN_ALLOW_NON_LOOPBACK=true
|
|
# HERMEVEN_TRUST_PROXY=true
|
|
HERMEVEN_DB_PATH=./data/hermeven.sqlite
|
|
|
|
# Exact origins of the page that calls the bridge (comma separated, no wildcards).
|
|
# Read the real value from Diagnostics -> "Page origin" in the phone page.
|
|
HERMEVEN_ALLOWED_ORIGINS=
|
|
|
|
# --- Speech-to-text (optional; typed questions work without it) --------------
|
|
# "none" or "openai-compatible" (any server with POST {base}/audio/transcriptions).
|
|
STT_PROVIDER=none
|
|
# STT_BASE_URL=https://stt.example/v1
|
|
# STT_API_KEY=replace-with-your-stt-key
|
|
# STT_MODEL=whisper-1
|
|
|
|
# --- Budgets (defaults shown) ------------------------------------------------
|
|
# HERMEVEN_CAPTURE_MAX_SECONDS=30
|
|
# HERMEVEN_TRANSCRIBE_DEADLINE_SECONDS=30
|
|
# HERMEVEN_AGENT_DEADLINE_SECONDS=120
|
|
# HERMEVEN_APPROVAL_WAIT_SECONDS=300
|
|
# HERMEVEN_RESULT_RETENTION_SECONDS=900
|
|
# HERMEVEN_TOKEN_TTL_SECONDS=604800
|
|
# HERMEVEN_PAIRING_TTL_SECONDS=7776000
|
|
|
|
# Per-request instructions layered on the agent's own prompt (not stored in history).
|
|
# Leave unset for the default "answer briefly in plain text" guidance; set empty to send none.
|
|
# HERMEVEN_INSTRUCTIONS=
|