Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/alexandermattturner_agent-glovebox.json

1 line
2.6 KiB
JSON

{"repo": "alexandermattturner/agent-glovebox", "files": {".claude/hooks/monitor-providers.json": {"399b17146db625cf01767ae52a92b70423be2fee": {"t": 1785674224.9583328, "n": 2340, "h": "0f6338dd8aab7800", "c": "{\n \"description\": \"Single source of truth for the monitor's inference providers. One row per provider in auto-detect / scan / picker priority order: 'name' (the GLOVEBOX_MONITOR_PROVIDER id), 'env_key' (its native API-key env var), 'key_prefixes' (literal prefixes a raw key carries, so a bare GLOVEBOX_MONITOR_API_KEY autodetects its provider without GLOVEBOX_MONITOR_PROVIDER; empty when the provider's keys have no stable prefix), 'picker_key' (the var the setup picker stores — defaults to env_key; Anthropic stores the monitor-only GLOVEBOX_MONITOR_API_KEY so a claude.ai subscription isn't billed as API), 'picker_label' (interactive menu row), 'display' + 'help_note' (the static keyless help table). 'monitor_only_key' is GLOVEBOX_MONITOR_API_KEY (the channel the CLI never reads, redacted first). 'min_secret_len' is the placeholder floor below which a configured value is treated as a doc placeholder, not a real key. Consumed by: monitorlib/providers.py (env_key + detect order + key_prefixes autodetect), bin/lib/monitor-key.bash (scan vars, picker, help — via a python3 probe), and the redactors (agent_sanitizer.secrets, lib-env-config.mjs, redact-debug-stream.py, sanitize-output.mjs) which mask the literal value of GLOVEBOX_MONITOR_API_KEY + every env_key. Adding a provider here surfaces it in the backend, the picker, and redaction at once; its wire/url/model still need a row in providers.py's _WIRE_CONFIG (fail-loud if absent).\",\n \"monitor_only_key\": \"GLOVEBOX_MONITOR_API_KEY\",\n \"min_secret_len\": 16,\n \"providers\": [\n {\n \"name\": \"openrouter\",\n \"env_key\": \"OPENROUTER_API_KEY\",\n \"key_prefixes\": [\"sk-or-\"],\n \"picker_label\": \"OpenRouter — recommended (qwen3-coder)\",\n \"display\": \"OpenRouter\",\n \"help_note\": \"recommended default; qwen3-coder\"\n },\n {\n \"name\": \"anthropic\",\n \"env_key\": \"ANTHROPIC_API_KEY\",\n \"key_prefixes\": [\"sk-ant-\"],\n \"picker_key\": \"GLOVEBOX_MONITOR_API_KEY\",\n \"picker_label\": \"Anthropic\",\n \"display\": \"Anthropic\",\n \"help_note\": \"monitor-only; the CLI keeps its own login\"\n },\n {\n \"name\": \"venice\",\n \"env_key\": \"VENICE_INFERENCE_KEY\",\n \"key_prefixes\": [],\n \"picker_label\": \"Venice — end-to-end encrypted (--privacy e2ee)\",\n \"display\": \"Venice\",\n \"help_note\": \"--privacy e2ee\"\n }\n ]\n}\n"}}}}