llm-host/tests/fixtures/qr_golden.json
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

1 line
No EOL
6.1 KiB
JSON

{"hello world": {"version": 1, "mask": 2, "rows": ["111111100101101111111", "100000100010001000001", "101110101111001011101", "101110101110101011101", "101110101010101011101", "100000101001001000001", "111111101010101111111", "000000001010000000000", "101111100101001111100", "011011010101111111101", "101011110110111001110", "101001000101110011100", "000101111100111000001", "000000001010100011001", "111111100001001000110", "100000101000010101111", "101110101001001100001", "101110101100111111000", "101110101100100100100", "100000100110110011100", "111111101101101010010"]}, "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz": {"version": 6, "mask": 2, "rows": ["11111110011100001001101101101101101111111", "10000010000000101010000011010110001000001", "10111010101001001001010110000011001011101", "10111010110100010011101101101101101011101", "10111010110100101101101101101101101011101", "10000010111001101110000011010110001000001", "11111110101010101010101010101010101111111", "00000000111000001011010110000011000000000", "10111110011101110101101101101101101111100", "11110101011000001101101101101101101110101", "00101111100011101110000011010110011000100", "01100001111111010011010110000011011001011", "10000010100010000101001101101101100101111", "10111001011000101100101101101101101110101", "10101011100011101111000011010110011000100", "10101001111111001011110110000011011001011", "11010010000000011101101101101101100101111", "10010100111010110101101101101101101110101", "01100111011100000100000011010110011000100", "11101000101000001111010110000011011001011", "11010010011000101001110101101101100101111", "10110000110010110111100101101101101110101", "01100110111101100110000011010110011000100", "11011000111001101011010110000011011001010", "11110011110011000101101101101101100101100", "00100001110000101101101101101101101110101", "11001110110110101110000011010110011000100", "00110001001101101011010110000011011001011", "00010110111011011101101101101101100101111", "10101101110110011100001101101101101110101", "10001010110010101110100011010110011000100", "10110001001011111010010110000011011001011", "10001110111011011100101101101101111111111", "00000000100000000001101101101101100010101", "11111110010110111010001011010111101010100", "10000010111111100001000110000011100011011", "10111010110010001011111101101100111111111", "10111010100000100101100101101100100100111", "10111010111111111010000011010110101110100", "10000010001111100111010110000011111001010", "11111110100011000011101101101101011001100"]}, "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy": {"version": 10, "mask": 1, "rows": ["111111101000001100111000101010101010101010101111001111111", "100000100000111110001011011011101110111011101101001000001", "101110101110100001010011010001000100010001000111001011101", "101110100111001101001101110101010101010101010101001011101", "101110100101101100100000111111101010101010101001001011101", "100000101000111110000011011000101110111011101110001000001", "111111101010101010101010101010101010101010101010101111111", "000000000001100111010100111000111011101110111010100000000", "101000110001111010110010001111101010101010101010000100101", "000010000010010000011111001101010101010101010101010100111", "000111100111110111111100101100010001000100010000100100101", "000110000001110001010100110110111011101110111010101111010", "011100101001101010110110000010101010101010101010001010010", "111101000010001110011001001101010101010101010101010100111", "001000100111100001111010101100010001000100010000100100101", "000101000011100101010100110110111011101110111010101111010", "011101101001101000101010000010101010101010101010001010001", "110111000110000010001101001101010101010101010101010100111", "000011100001100011001100101100010001000100010000100100101", "001011010101100010000010110110111011101110111010101111010", "011111110001001000010110000010101010101010101010001010010", "110101000110100010110011001101010101010101010101010100111", "000000110101000010111100101100010001000100010000100100101", "001011000110100011001010110110111011101110111010101111010", "011111111100101001001110000010101010101010101010001010010", "110101010010000011010011001101010101010101010101010100111", "100011111100110010000100111111110001000100010000111110101", "011010001111100011110010111000111011101110111010100011010", "101110101100001001001110011010101010101010101011101010010", "000110001010001010010011011000110101010101010101100010111", "111111111101110100000000101111110001000100010000111110101", "101011000111011001110100111011111011101110111011111011010", "110000100100001111001010011001001010101010101011010000010", "010000010010011000010111001101010101010101010100010100110", "111010101111111000000010100010110001000100010000001010100", "100011001101000111110010111011111011101110111011111011000", "110011100000000011010010011001001010101010101011010000011", "010000010010000100011011001101010101010101010100010100111", "110000101111111000110010100010110001000100010000001010101", "100000001111000010000100111011111011101110111011111011010", "110010100000000011010010011001001010101010101011010000010", "010010010010000101101011001101010101010101010100010100111", "110010101001011001001010100010110001000100010000001010101", "110011001111000011011100111011111011101110111011111011010", "100011110101100011011010011001001010101010101011010000010", "010011011100000101101011001101010101010101010100010100111", "101001110001110000001010100010110001000100010000001010101", "111110001111100011100100111011111011101110111011111011010", "000000101101001111111010011111101010101010101011111110010", "000000001100111001001011001000110101010101010101100010111", "111111101001100100001010101010110001000100010001101010101", "100000100110100111100000101000111011101110111010100011010", "101110100101001001111010001111101010101010101010111110010", "101110100100100101001111011110110101010101010101101110100", "101110101111110110001000110010110001000100010000101010111", "100000100110100001100000110101011011101110111011010101000", "111111101111010011101110001100001010101010101011000100001"]}}