fix(opencode-plugin): respect log level in provider.models() catalog path (#8982) (#10798)

Reconciliado com a release (conflito mecânico em stryker.conf.json — registro de teste que já existia na tip, apenas resolvido mantendo a entrada) e revalidado: 12/12 testes do arquivo log-level.test.ts passando (incluindo os 4 novos deste PR). CI vermelho é o base-red já rastreado em #9985. Obrigado!
This commit is contained in:
ToastedPatatas
2026-08-21 13:15:50 +08:00
committed by GitHub
parent 3805494250
commit 825e2ab3ab
7 changed files with 197 additions and 63 deletions

View File

@@ -205,6 +205,10 @@ const IGNORE_FROM_CODE = new Set([
// NVIDIA diagnostic/test helpers used only by ad-hoc scripts.
"NVIDIA_BASE_URL",
"NVIDIA_MODEL",
// Discord integration ad-hoc script (scripts/ad-hoc/mesh-send.mjs) —
// operator-supplied bot credentials, not user-facing OmniRoute config.
"BOT_TOKEN",
"BOT_URL",
// XDG standard data directory — set by OS/desktop session, not OmniRoute config.
// Read by setup-open-code.mjs to locate platform-specific OpenCode data dir.
"XDG_DATA_HOME",