docs: fix OpenCode plugin paths to MiMoCode in plugins.mdx#1246
Open
0xSkybreaker wants to merge 1 commit into
Open
docs: fix OpenCode plugin paths to MiMoCode in plugins.mdx#12460xSkybreaker wants to merge 1 commit into
0xSkybreaker wants to merge 1 commit into
Conversation
The plugin docs still referenced `.opencode/plugins/` directories and other OpenCode paths/config files. MiMoCode's plugin loader only scans `.mimocode/` directories (see Global.APP = "mimocode" in global.ts and Glob.scan in plugin.ts). Users following the old docs created plugins in directories that were silently ignored. - Replace all `.opencode/plugins/` → `.mimocode/plugins/` - Replace `~/.config/opencode/` → `~/.config/mimocode/` - Replace all `.opencode/` config file paths (package.json, etc.) - Update "OpenCode"/"opencode" prose references to "MiMo Code" - Update osascript notification title example Closes: XiaomiMiMo#1151
888fccb to
dceb682
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The plugin docs (
packages/web/src/content/docs/plugins.mdx) still reference.opencode/plugins/directories. MiMoCode's plugin loader only scans.mimocode/directories — users who follow the docs create plugins in directories that are silently ignored.Verified against current
main:packages/opencode/src/config/plugin.ts:33— scansGlob.scan("{plugin,plugins}/*.{ts,js}", { cwd: dir })on dirs frompaths.tspackages/opencode/src/config/paths.ts:25—directories()looks for.mimocode(not.opencode)packages/shared/src/global.ts:6—const APP = "mimocode".mimocode/plugins/Changes
All references to directory paths, config files, and "OpenCode"/"opencode" prose updated to MiMoCode equivalents:
.opencode/plugins/→.mimocode/plugins/~/.config/opencode/→~/.config/mimocode/.opencode/code block titles →.mimocode/Schema URLs (
opencode.ai/config.json) and npm package names left unchanged — those are real external references.Closes: #1151