From 6d21f142afda6f870556229e4acfdbb2c5fbfdc4 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Thu, 21 May 2026 19:13:20 +0200 Subject: [PATCH] update new session dialog --- src/app.tsx | 2 +- src/style.css | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/app.tsx b/src/app.tsx index 253690f..a9ab5a7 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -106,7 +106,7 @@ export function App() { }, [selectedId]) const handleCreate = useCallback(async (params: { - cwd: string; backend: string; model: string; agent: string + name?: string; cwd: string; backend: string; model: string; agent: string }) => { await createSession(params) setShowNew(false) diff --git a/src/style.css b/src/style.css index ab5693c..361819d 100644 --- a/src/style.css +++ b/src/style.css @@ -700,6 +700,8 @@ details[open] > .tool-header::before { border-radius: var(--r-xl); padding: 28px; width: min(460px, 100%); + max-height: 85vh; + overflow-y: auto; display: flex; flex-direction: column; gap: 22px; @@ -771,6 +773,13 @@ details[open] > .tool-header::before { justify-content: flex-end; } +.advanced-section summary { + cursor: pointer; + color: var(--text-dim); + font-size: 0.85rem; +} +.advanced-section summary:hover { color: var(--text); } + /* ---- Acme theme overrides ---- */ [data-theme="acme"] .message-list { padding: 8px 16px 8px;