llm-host/tests
neil c8b70afdbf Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard
install-newt now sets up the tunnel for the API only; the dashboard stays on the LAN.
Dashboard sign-in is its own step: install-oidc (the OIDC flow, split out) or install-otp,
which pairs authenticator apps with a QR code in the terminal (stdlib QR encoder, TOTP per
RFC 6238) so a code also opens the dashboard, with replay and lockout rules.
expose-dashboard walks through publishing the dashboard, only after install-newt, and
warns while it's protected by the API key alone; with codes it offers to switch the key off
for the dashboard. Each install-* has a remove-*.

Also opencode-install.sh: a standalone script, fetched from the repo, that installs opencode
if needed, saves the API key to a 0600 file and adds the provider to opencode.json for new
and existing configs. /v1/models reports whether the model reasons, for that script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:56:54 -08:00
..
fixtures Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard 2026-11-06 15:56:54 -08:00
harness.py Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard 2026-11-06 15:56:54 -08:00
run.py Add tests/: four suites, a runner, and a sandbox that can't escape 2026-11-03 02:23:15 -08:00
test_dashboard.py Requests table: durations in h/m/s, and the seconds each phase took 2026-11-04 00:23:33 -08:00
test_dashboard_auth.py Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard 2026-11-06 15:56:54 -08:00
test_newt.py Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard 2026-11-06 15:56:54 -08:00
test_opencode.py Scrub real machine hostname from README and test fixtures 2026-11-05 01:29:45 -08:00
test_opencode_install.py Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard 2026-11-06 15:56:54 -08:00
test_otp.py Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard 2026-11-06 15:56:54 -08:00
test_proxy.py Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard 2026-11-06 15:56:54 -08:00
test_reasoning.py Reasoning effort is the dashboard's to set, not the client's 2026-11-03 15:01:26 -08:00