diff --git a/packages/opencode/src/cli/cmd/tui/component/dialog-go-upsell.tsx b/packages/opencode/src/cli/cmd/tui/component/dialog-go-upsell.tsx index ace4b090..63ac3cc7 100644 --- a/packages/opencode/src/cli/cmd/tui/component/dialog-go-upsell.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/dialog-go-upsell.tsx @@ -100,7 +100,7 @@ export function DialogGoUpsell(props: DialogGoUpsellProps) { Subscribe to - OpenCode Go + MiMo Go for reliable access to the diff --git a/packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx b/packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx index c9c94a45..3486e623 100644 --- a/packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx @@ -364,7 +364,7 @@ function ApiMethod(props: ApiMethodProps) { opencode: ( - OpenCode Zen gives you access to all the best coding models at the cheapest prices with a single API + MiMo Code gives you access to all the best coding models at the cheapest prices with a single API key. @@ -375,11 +375,11 @@ function ApiMethod(props: ApiMethodProps) { "opencode-go": ( - OpenCode Go is a $10 per month subscription that provides reliable access to popular open coding models + MiMo Go is a $10 per month subscription that provides reliable access to popular open coding models with generous usage limits. - Go to https://opencode.ai/zen and enable OpenCode Go + Go to https://opencode.ai/zen and enable MiMo Go ), diff --git a/packages/opencode/src/cli/cmd/tui/component/dialog-status.tsx b/packages/opencode/src/cli/cmd/tui/component/dialog-status.tsx index 72019298..1a72c5f2 100644 --- a/packages/opencode/src/cli/cmd/tui/component/dialog-status.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/dialog-status.tsx @@ -82,7 +82,7 @@ export function DialogStatus() { Pending approval Disabled in configuration - Needs authentication (run: opencode mcp auth {key}) + Needs authentication (run: mimo mcp auth {key}) {(val) => (val() as { error: string }).error} diff --git a/packages/opencode/src/cli/cmd/tui/component/error-component.tsx b/packages/opencode/src/cli/cmd/tui/component/error-component.tsx index c74d3bbc..2d75a858 100644 --- a/packages/opencode/src/cli/cmd/tui/component/error-component.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/error-component.tsx @@ -31,7 +31,7 @@ export function ErrorComponent(props: { }) const [copied, setCopied] = createSignal(false) - const issueURL = new URL("https://github.com/anomalyco/opencode/issues/new?template=bug-report.yml") + const issueURL = new URL("https://github.com/XiaomiMiMo/MiMo-Code/issues/new?template=bug-report.yml") // Choose safe fallback colors per mode since theme context may not be available const isLight = props.mode === "light" @@ -43,17 +43,17 @@ export function ErrorComponent(props: { } if (props.error.message) { - issueURL.searchParams.set("title", `opentui: fatal: ${props.error.message}`) + issueURL.searchParams.set("title", `MiMo Code: fatal: ${props.error.message}`) } if (props.error.stack) { issueURL.searchParams.set( "description", - "```\n" + props.error.stack.substring(0, 6000 - issueURL.toString().length) + "...\n```", + "```\n" + props.error.stack.split("\n").slice(0, 3).join("\n").substring(0, 2000) + "\n...\n```", ) } - issueURL.searchParams.set("opencode-version", InstallationVersion) + issueURL.searchParams.set("mimo-version", InstallationVersion) const copyIssueURL = () => { void Clipboard.copy(issueURL.toString()).then(() => {