mirror of
https://github.com/Twigpine/zero.git
synced 2026-11-11 23:40:28 -10:00
Two robustness/security bugs from a full-tree audit, each with a test. - providermodeldiscovery: when a live /models probe succeeds (200) but its model ids don't match the curated catalog, the merge was empty and the whole live+curated list was discarded — the picker collapsed to the bare built-in set with a misleading "no model ids" error. Now fall back to the curated catalog instead of returning an empty list. - redaction: Authorization / Proxy-Authorization headers carrying an opaque token or a custom (non-standard) scheme were not redacted in free text (logs, command/diff output, errors, session search), echoing live credentials back into model context and rendered output. The scheme is now optional, so any credential value is redacted to end-of-line; a recognized scheme name is still kept for readability.