Repository navigation
v0.7.7
fix(plugin): flatten models.dev catalog response
models.dev/api.json returns a dict of providers with nested models, not
an array. findModelsDevMatch iterated with for...of over the raw response,
causing TypeError: {} is not iterable. This fix flattens the nested
provider dict into a flat array of {id, capabilities} entries before use.
Also fixes the provider api field to ensure opencode's built-in plugin
can resolve the endpoint URL for 9router-family providers.