compose-market, backed by @ai-sdk/openai-compatible. The remote config supplies the provider and model map. Credentials stay in OpenCode’s local /connect flow.
Provider config shape
The remote config uses this shape:apiKey field. Use OpenCode’s /connect flow for the compose-market provider so OpenCode stores the credential locally, outside the remote config.
Models
OpenCode model keys are public catalog IDs. Examples:/external/v1/models. The remote config only includes fields OpenCode can validate; the full external catalog remains available at /external/v1/models.