From c681197cd1df01db188ba6092bc66bd324cd0afb Mon Sep 17 00:00:00 2001 From: Philip Zeyliger Date: Sun, 25 Jan 2026 21:33:35 +0000 Subject: [PATCH] shelley: pass working directory to xterm terminal URL Prompt: Change the Shelley.json file generation to include this flag with a placeholder WORKING_DIR and change Shelley to have replacement for this parameter in its menu handling. The terminal_url in shelley.json now includes '?d=WORKING_DIR' placeholder. When the user clicks the Terminal button in Shelley's menu, the WORKING_DIR placeholder is replaced with the current conversation's working directory (URL-encoded), so the terminal opens in the correct directory. Co-authored-by: Shelley --- ui/src/components/ChatInterface.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/components/ChatInterface.tsx b/ui/src/components/ChatInterface.tsx index 3a44b1a9a2425be1f9d2ea89982876c39ae5e334..746fc8104644329f4a4a597cde5742d2a916ace5 100644 --- a/ui/src/components/ChatInterface.tsx +++ b/ui/src/components/ChatInterface.tsx @@ -1364,7 +1364,9 @@ function ChatInterface({