From 98eda71da4de34981967c5835251fc79f4e0c26c Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Fri, 29 May 2026 20:12:06 +0900 Subject: fix: preserve per-tab working directory on send refreshAgentConfig (added to pick up model/key edits on send) also overwrote the tab's workingDirectory with the agent's default cwd every time, discarding the directory the user set via setWorkingDirectory. Remove that line so refreshing agent config no longer clobbers the per-tab working directory. Also merge top-level wishlist.md into dispatch/wishlist.md and drop the items completed today (subagent summon, stop button). --- packages/frontend/src/lib/tabs.svelte.ts | 4 +++- wishlist.md | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/frontend/src/lib/tabs.svelte.ts b/packages/frontend/src/lib/tabs.svelte.ts index f96a35e..bb8f4cf 100644 --- a/packages/frontend/src/lib/tabs.svelte.ts +++ b/packages/frontend/src/lib/tabs.svelte.ts @@ -1215,7 +1215,9 @@ export function createTabStore() { if (!freshAgent) return; const patch: Partial = { agentModels: freshAgent.models, - workingDirectory: freshAgent.cwd || null, + // NOTE: do not reset workingDirectory here. It is a per-tab user + // setting (see setWorkingDirectory); refreshing agent config on + // send must not clobber the directory the user chose for this tab. }; // Preserve the user's current selection if it still exists in the // refreshed models list. Only fall back to the first model when the diff --git a/wishlist.md b/wishlist.md index f896dc0..1799aac 100644 --- a/wishlist.md +++ b/wishlist.md @@ -9,8 +9,6 @@ - **Edit chat history.** Click on any existing message in the chat history and choose to edit it — this applies to user messages, AI responses, and tool results. -- **Status indicator next to the chat input box.** Exists: spinner while running, checkmark on success, X on error. Needs: clickable to cancel (with text label), not just the spinner icon. - - **Update the way tools appear in the chat UI.** Improve the visual presentation of tool calls and their results — make them more readable, compact, and scannable. - **Show git diffs for edited files.** When the AI edits a file (write_file tool call), display a git diff in the UI rather than just the raw file content. @@ -20,5 +18,3 @@ - **ntfy push notifications.** Configurable ntfy.sh notifications — ping on chat completion, errors, permission prompts, and other events. Configure topic URL and which events trigger notifications. - **Fix the todo system.** The current task list tool and its UI have bugs or limitations that need addressing. - - -- cgit v1.2.3