mirror of
https://github.com/anomalyco/opencode.git
synced 2026-06-01 19:05:38 +00:00
chore: generate
This commit is contained in:
@@ -1153,7 +1153,9 @@ export function Prompt(props: PromptProps) {
|
|||||||
<Show when={local.agent.current()} fallback={<box height={1} />}>
|
<Show when={local.agent.current()} fallback={<box height={1} />}>
|
||||||
{(agent) => (
|
{(agent) => (
|
||||||
<>
|
<>
|
||||||
<text fg={fadeColor(highlight(), agentMetaAlpha())}>{store.mode === "shell" ? "Shell" : Locale.titlecase(agent().name)}</text>
|
<text fg={fadeColor(highlight(), agentMetaAlpha())}>
|
||||||
|
{store.mode === "shell" ? "Shell" : Locale.titlecase(agent().name)}
|
||||||
|
</text>
|
||||||
<Show when={store.mode === "normal"}>
|
<Show when={store.mode === "normal"}>
|
||||||
<box flexDirection="row" gap={1}>
|
<box flexDirection="row" gap={1}>
|
||||||
<text fg={fadeColor(theme.textMuted, modelMetaAlpha())}>·</text>
|
<text fg={fadeColor(theme.textMuted, modelMetaAlpha())}>·</text>
|
||||||
|
|||||||
Reference in New Issue
Block a user