Skip to content

fix: rebrand leftover OpenCode references to MiMo Code across server, desktop i18n, and frontend JS#235

Closed
MarkYangKp wants to merge 9 commits into
XiaomiMiMo:mainfrom
MarkYangKp:fix/rebrand-opencode-api-descriptions-and-desktop-i18n
Closed

fix: rebrand leftover OpenCode references to MiMo Code across server, desktop i18n, and frontend JS#235
MarkYangKp wants to merge 9 commits into
XiaomiMiMo:mainfrom
MarkYangKp:fix/rebrand-opencode-api-descriptions-and-desktop-i18n

Conversation

@MarkYangKp

@MarkYangKp MarkYangKp commented Jun 11, 2026

Copy link
Copy Markdown

Issue for this PR

Related to #224

Type of change

  • Bug fix

What does this PR do?

Fix leftover OpenCode branding that was missed by the existing rebrand PRs (#9, #112, #184, #202). Changes span 40 files, 103 occurrences across three areas:

1. Server API route descriptions (6 files, 15 occurrences)

  • Replace OpenCode with MiMo Code in instance route API documentation strings: index, config, session, project, pty, experimental

2. Desktop i18n updater strings (14 locale files, 28 occurrences)

  • Replace OpenCode with MiMo Code in desktop updater notification messages across all supported languages

3. Frontend JS runtime + build config (20 files, 60 occurrences)

  • entry.tsx: localStorage key, favicon URL, hostname check, VITE env vars
  • deep-links.ts: protocol (opencode:// → mimo://), event name, type name, global property
  • persist.ts: storage key prefix (opencode. → mimocode.)
  • titlebar.tsx: DOM IDs and VITE env var
  • highlights.tsx: changelog URL
  • server.ts, terminal.tsx: default username
  • env.d.ts, playwright.config.ts: type declarations and test config
  • electron.vite.config.ts: build constants, plugin names, virtual module
  • constants.ts: settings store key
  • desktop/main/env.d.ts, server.ts, index.ts: virtual module imports
  • enterprise share page: title, description, GitHub/Discord/website links, OG image URL

How did you verify your code works?

  • Grepped to confirm zero remaining VITE_OPENCODE_ references
  • Grepped to confirm zero remaining virtual:opencode-server references
  • All 103 replacements verified via grep on the changed files

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

qiaozongming and others added 9 commits June 11, 2026 01:23
docs: correct OpenCode repository URL in README files
…-qrcode

docs: update community group chat QR code
…desktop i18n

Replace leftover OpenCode branding in server API route descriptions
(6 files, 15 occurrences) and desktop updater i18n strings (14 locale
files, 28 occurrences). These were missed by existing rebrand PRs
(XiaomiMiMo#9, XiaomiMiMo#112, XiaomiMiMo#184, XiaomiMiMo#202).

Related to XiaomiMiMo#224
…d config

Replace remaining OpenCode branding in frontend application code:
- entry.tsx: localStorage key, favicon URL, hostname check, env vars
- deep-links.ts: protocol (opencode:// → mimo://), event name, type, global property
- persist.ts: storage keys (opencode. → mimocode.)
- titlebar.tsx: DOM IDs and env var
- highlights.tsx: changelog URL
- server.ts, terminal.tsx: default username
- electron.vite.config.ts: build constants, plugin names, env vars
- constants.ts: settings store key, env var
- env.d.ts: type declarations
- enterprise share page: title, description, links

Related to XiaomiMiMo#224
@MarkYangKp MarkYangKp changed the title fix(opencode): rebrand OpenCode to MiMo Code in API descriptions and desktop i18n fix: rebrand leftover OpenCode references to MiMo Code across server, desktop i18n, and frontend JS Jun 11, 2026
@qiaozongming qiaozongming force-pushed the main branch 4 times, most recently from 97aefc0 to ab53d06 Compare June 15, 2026 14:00
@qiaozongming

Copy link
Copy Markdown
Collaborator

#961

@qiaozongming

Copy link
Copy Markdown
Collaborator

#1100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants