You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
T27 OS KEYS tab: show the OpenRouter key request line (needs_key_request, after #11285) #11289
Follow-up of #11285 (the OpenRouter free tier, landed in keys.t27, pty_logic.t27 and session_store.t27). What is left is the one line in the window.
keys.t27 now holds the decision: needs_key_request(provider, stored_count) -> bool is true only for the OpenRouter provider with no key stored, and key_request_text(p, stored_count, out) -> usize writes KEY_REQUEST_OPENROUTER ("Add an OpenRouter key to use its free models", 44 bytes) or returns 0. Measured 2026-10-20T08:49Z: no OpenRouter key in the Keychain (service ai.t27.os); the one found in old env files answers 401.
Only .t27 (skill only-t27). glass_window.t27 is held by another session's branch today; this lands after that branch merges.
Requirements
FR-001: The KEYS tab of glass_window.t27 MUST show the line from key_request_text for every provider for which needs_key_request is true, and nothing when it is false.
FR-002: The owner adds the key himself through the tab's existing add-key path; no key value is written to any file, commit or log.
FR-003: A test MUST pin that the line appears exactly when no OpenRouter key is stored.
User Scenarios
Given no OpenRouter key stored, when the KEYS tab opens, then it shows "Add an OpenRouter key to use its free models".
Given an OpenRouter key stored, when the KEYS tab opens, then the line is gone.
Boundary
specs/t27os/glass_window.t27
Success Criteria
t27b test specs/t27os/glass_window.t27 --check ends with exit 0
the running app shows the line with no OpenRouter key stored
Activity
T27 OS keys: an OpenRouter free tier after the z.ai flash tier, paid …
T27 OS keys: an OpenRouter free tier after the z.ai flash tier, paid …