docs: migrate OpenCode names to MiMoCode in config and CLI docs#1155
Open
itxaiohanglover wants to merge 2 commits into
Open
docs: migrate OpenCode names to MiMoCode in config and CLI docs#1155itxaiohanglover wants to merge 2 commits into
itxaiohanglover wants to merge 2 commits into
Conversation
Replace OPENCODE_* env vars with MIMOCODE_*, .opencode directories with .mimocode, opencode.ai schema URLs with mimocode.ai, and ~/.config/opencode paths with ~/.config/mimocode. Verified against source: flag/flag.ts defines MIMOCODE_CONFIG, MIMOCODE_CONFIG_CONTENT, MIMOCODE_CONFIG_DIR; paths.ts uses .mimocode.
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.
Fixes #1150
Why
The config and CLI docs (
config.mdx,cli.mdx) were carried over from the OpenCode fork and never migrated to MiMoCode names. They instruct users to setOPENCODE_*env vars, create.opencodedirectories, and referenceopencode.aischema URLs that the current code does not honor — a user following these docs is silently ignored.What changed
OPENCODE_CONFIG→MIMOCODE_CONFIGOPENCODE_CONFIG_CONTENT→MIMOCODE_CONFIG_CONTENTOPENCODE_CONFIG_DIR→MIMOCODE_CONFIG_DIR.opencodedirectories →.mimocode~/.config/opencode/→~/.config/mimocode/opencode.ai/config.json→mimocode.ai/config.jsonopencode→mimo(actual binary name perpackage.jsonbin)/etc/opencode/→/etc/mimocode/Verification
Verified actual env var names against source code:
packages/opencode/src/flag/flag.tsdefinesMIMOCODE_CONFIG,MIMOCODE_CONFIG_CONTENT,MIMOCODE_CONFIG_DIRpackages/opencode/src/config/paths.tsuses.mimocodedirectoriespackages/opencode/package.jsonbin ismimo(notopencode)No
opencodereferences remain except the plugin package nameopencode-helicone-session(an actual package name).Adjacent issues (not in this PR)
shared/global.tsmay also contain OpenCode references — not checked in this PR.opencodepackage directory name (packages/opencode/) is internal and not changed.