mimocode-models-discovery
v0.10.2
Published
Mimo Code wrapper for opencode-models-discovery.
Maintainers
Readme
mimocode-models-discovery
Mimo Code wrapper for opencode-models-discovery.
This package does not copy or modify the upstream implementation. It only re-exports the upstream ModelDiscoveryPlugin for use from the Mimo Code package name.
Package versions track the upstream implementation version. For example, [email protected] depends on [email protected].
Usage
No manual installation is required. Reference the plugin package directly from your mimocode.json config.
Minimal configuration:
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"mimocode-models-discovery"
]
}With friendly model names enabled:
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
["mimocode-models-discovery", { "smartModelName": true }]
]
}The plugin discovers models from OpenAI-compatible providers at startup and injects the discovered models into the active config.
Mimocode Compatibility
0.10.2 adds host-aware auth fallback for Mimocode.
When the plugin needs to recover /connect-managed credentials during startup, it now reads the local auth store from:
~/.local/share/opencode/auth.jsonwhenOPENCODE=1~/.local/share/mimocode/auth.jsonwhenMIMOCODE=1~/.local/share/opencode/auth.jsonwhen no host marker is present
This keeps the same config shape while allowing the wrapper to work in both OpenCode and Mimocode environments.
Upstream
The implementation is provided by opencode-models-discovery.
Security
Do not publish local debug configuration files such as mimocode.json, .env, or credentials.
