docs-api can serve artifacts over SSH (DOCS_ARTIFACTS_SSH_*) when the
NAS mount is absent, docs CLI honors DOCS_API_URL/PDF_BRAIN_API_URL,
and Typesense searches respect TYPESENSE_SEARCH_CUTOFF_MS.
"This is known as graceful degradation." -- Secrets of the JavaScript
Ninja
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
fetchDocSummaries wrapped in try/catch — search still works if Typesense is slow.
handleStatus wrapped in try/catch — returns zeros if Typesense unreachable.
Global unhandledRejection handler prevents silent Bun crashes.
docs-api and CLI both tried vector_query with empty [] which only works with
Typesense auto-embed. v2 uses pre-computed ollama vectors. Text search on
retrieval_text still works. TODO: embed query via ollama for vector search.