backend
Databricks backend for the local model proxy.
Wraps a single default-auth WorkspaceClient and exposes the three
things the proxy server needs, each delegating to @dbx-tools/model: the
workspace serving-endpoint list, fuzzy name resolution (resolve.rankModelIdLive, so a loose "opus" / "claude sonnet" snaps to
the best live endpoint id - match score, then class, then within-class
version), and a fresh set of auth headers per upstream request (invoke.authHeaders).
What is left here is only the proxy’s own policy: which client to construct, and holding the endpoint catalogue for the process lifetime. The catalogue is listed once and re-listed on a resolve miss, so a model deployed after start-up still resolves on first use - no cache layer, just one lazy load.