diff --git a/src/features/agents/AgentsView.tsx b/src/features/agents/AgentsView.tsx index 30651b9d6..a83b73761 100644 --- a/src/features/agents/AgentsView.tsx +++ b/src/features/agents/AgentsView.tsx @@ -26,7 +26,7 @@ import { useTx } from "@/platform/i18n"; import { executeAction } from "@/platform/actions"; export function AgentsHeaderActions() { - return ; + return ; } export function AgentsLocationActions() { @@ -34,13 +34,8 @@ export function AgentsLocationActions() { const tx = useTx(); return (
- - + +
); } @@ -242,7 +237,6 @@ export function AgentsView() { ref={historyRef} icon="history" title="Agent sessions" - size="small" aria-haspopup="dialog" aria-expanded={historyOpen} onClick={() => { diff --git a/src/features/agents/BuiltinAgents.tsx b/src/features/agents/BuiltinAgents.tsx index 9b32a16bf..d9e728973 100644 --- a/src/features/agents/BuiltinAgents.tsx +++ b/src/features/agents/BuiltinAgents.tsx @@ -3,7 +3,7 @@ import { useCallback, useEffect, useState } from "react"; import type { AgentProvider } from "@/bindings"; import { tx, useTxTemplate } from "@/platform/i18n"; import clsx from "clsx"; -import { Button, Icon, IconButton, Input, List, Spinner, T } from "@/ui"; +import { Icon, IconButton, Input, List, Spinner, T } from "@/ui"; import { useSettingsForm } from "@/workbench/contributions"; import { providerIcon } from "./model"; import type { CommandsBackend } from "./registry"; @@ -148,7 +148,6 @@ function Details({ /> { @@ -161,11 +160,7 @@ function Details({ } }} /> - {value && ( - - )} + {value && set("")} />}

Leave empty to find the executable on PATH. Changes apply to new sessions. diff --git a/src/features/agents/Home.module.css b/src/features/agents/Home.module.css index 67cad0ade..f5238baf1 100644 --- a/src/features/agents/Home.module.css +++ b/src/features/agents/Home.module.css @@ -11,7 +11,8 @@ color: var(--fg); } .inner { - width: min(720px, 100%); + /* The same width as a running session's composer and conversation. */ + width: min(var(--agent-conversation-width), 100%); display: flex; flex-direction: column; gap: 8px; diff --git a/src/features/database/Database.module.css b/src/features/database/Database.module.css index 924f93121..d53fa8808 100644 --- a/src/features/database/Database.module.css +++ b/src/features/database/Database.module.css @@ -1237,6 +1237,12 @@ color: transparent !important; caret-color: var(--fg-strong); } +/* The input's own glyphs are transparent so the highlight layer below paints them; without + this the selection would be an empty highlight. */ +.sqlInputText::selection { + background: var(--bg-editor-selection); + color: var(--fg-strong); +} .sqlHighlight { position: absolute; inset: 0; diff --git a/src/features/graphql/GraphQL.module.css b/src/features/graphql/GraphQL.module.css index 0dec8518b..480de69c7 100644 --- a/src/features/graphql/GraphQL.module.css +++ b/src/features/graphql/GraphQL.module.css @@ -196,7 +196,7 @@ } .variables::selection { background: var(--bg-editor-selection); - color: transparent; + color: var(--fg); } /*