mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-16 21:15:57 +03:00
chore: generate
This commit is contained in:
@@ -20,12 +20,7 @@ function Mcp(props: { context: Plugin.Context }) {
|
||||
|
||||
return (
|
||||
<Show when={list().length}>
|
||||
<box
|
||||
gap={1}
|
||||
flexDirection="row"
|
||||
flexShrink={0}
|
||||
onMouseUp={() => props.context.keymap.dispatch("mcp.list")}
|
||||
>
|
||||
<box gap={1} flexDirection="row" flexShrink={0} onMouseUp={() => props.context.keymap.dispatch("mcp.list")}>
|
||||
<text fg={props.context.theme.text.default}>
|
||||
<Switch>
|
||||
<Match when={failed()}>
|
||||
@@ -61,12 +56,7 @@ function Plugins(props: { context: Plugin.Context }) {
|
||||
|
||||
return (
|
||||
<Show when={failed()}>
|
||||
<box
|
||||
gap={1}
|
||||
flexDirection="row"
|
||||
flexShrink={0}
|
||||
onMouseUp={() => props.context.keymap.dispatch("plugins.list")}
|
||||
>
|
||||
<box gap={1} flexDirection="row" flexShrink={0} onMouseUp={() => props.context.keymap.dispatch("plugins.list")}>
|
||||
<text fg={props.context.theme.text.default}>
|
||||
<span style={{ fg: props.context.theme.text.feedback.error.default }}>⊙ </span>
|
||||
{failed()} plugin{failed() === 1 ? "" : "s"} failed
|
||||
|
||||
Reference in New Issue
Block a user