Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function DialogGoUpsell(props: DialogGoUpsellProps) {
<box flexDirection="row">
<text fg={theme.textMuted}>Subscribe to </text>
<text attributes={TextAttributes.BOLD} fg={theme.textMuted}>
OpenCode Go
MiMo Go
</text>
<text fg={theme.textMuted}> for reliable access to the</text>
</box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function ApiMethod(props: ApiMethodProps) {
opencode: (
<box gap={1}>
<text fg={theme.textMuted}>
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.
</text>
<text fg={theme.text}>
Expand All @@ -375,11 +375,11 @@ function ApiMethod(props: ApiMethodProps) {
"opencode-go": (
<box gap={1}>
<text fg={theme.textMuted}>
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.
</text>
<text fg={theme.text}>
Go to <span style={{ fg: theme.primary }}>https://opencode.ai/zen</span> and enable OpenCode Go
Go to <span style={{ fg: theme.primary }}>https://opencode.ai/zen</span> and enable MiMo Go
</text>
</box>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function DialogStatus() {
<Match when={(item.status as string) === "pending"}>Pending approval</Match>
<Match when={item.status === "disabled"}>Disabled in configuration</Match>
<Match when={(item.status as string) === "needs_auth"}>
Needs authentication (run: opencode mcp auth {key})
Needs authentication (run: mimo mcp auth {key})
</Match>
<Match when={(item.status as string) === "needs_client_registration" && item}>
{(val) => (val() as { error: string }).error}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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(() => {
Expand Down