@multi-profile-provider/opencode
v0.1.5
Published
One-command OpenCode setup entrypoint for multi-profile-provider
Downloads
40
Readme
@multi-profile-provider/opencode
Lifecycle helper for plugin-only OpenCode profile switching. Normal profile switching happens through OpenCode plugin tools, not a daily launcher CLI.
Quick path
npx @multi-profile-provider/opencode setup
npx @multi-profile-provider/opencode update
npx @multi-profile-provider/opencode uninstall --preserve-profilesDirect plugin install is also supported:
opencode plugin -g multi-profile-provider-opencode-pluginWhat setup does
| Step | Behavior |
|---|---|
| OpenCode prerequisite | Verifies opencode --version. |
| OpenCode plugin | Installs or refreshes the plugin. |
| Profile registry | Creates the default Main profile only when no profiles exist. |
| Next commands | Points users to OpenCode plugin tools. |
Safe to run again
Setup and update preserve profiles, active selection, tokens, and config. They do not overwrite existing profile data.
Uninstall choices
Choose explicitly:
npx @multi-profile-provider/opencode uninstall --preserve-profiles
npx @multi-profile-provider/opencode uninstall --purge-profilesTroubleshooting
| Problem | What to check |
|---|---|
| OpenCode missing | Install OpenCode and confirm opencode --version. |
| Plugin install fails | Retry opencode plugin -g multi-profile-provider-opencode-plugin. |
| Profile data question | Use preserve unless the user explicitly wants purge. |
Lower-level packages
@multi-profile-provider/core— lower-level storage/auth domain.@multi-profile-provider/cli— internal lifecycle helper modules.@multi-profile-provider/opencode-plugin— scoped plugin adapter.multi-profile-provider-opencode-plugin— direct-install compatibility plugin.
OpenCode plugin tools own day-to-day create/select/status/account operations.
