From 1d6f55ce97904a2a3fa7cece08ef68a7451d03d8 Mon Sep 17 00:00:00 2001 From: Ariel Tobiana Date: Fri, 13 Mar 2026 08:40:38 +0200 Subject: [PATCH] Include current_directory and custom_color in list-workspaces output (#544) Expose workspace working directory and tab color in the workspace.list response, enabling CLI-based workspace sorting and color inspection. --- Sources/TerminalController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/TerminalController.swift b/Sources/TerminalController.swift index 6a708ae2..bf4862c6 100644 --- a/Sources/TerminalController.swift +++ b/Sources/TerminalController.swift @@ -2877,7 +2877,9 @@ class TerminalController { "index": index, "title": ws.title, "selected": ws.id == tabManager.selectedTabId, - "pinned": ws.isPinned + "pinned": ws.isPinned, + "current_directory": v2OrNull(ws.currentDirectory), + "custom_color": v2OrNull(ws.customColor) ] } }