From aa87ed97c1c2bca46a0b1056549be75cf8062c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Tue, 25 Aug 2026 15:03:35 -0400 Subject: [PATCH] Dim prompts use the documented dim exec form Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp --- bin/omarchy-agent | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-agent b/bin/omarchy-agent index 6fe737af..8a8de05a 100755 --- a/bin/omarchy-agent +++ b/bin/omarchy-agent @@ -108,8 +108,12 @@ deepcode) [[ -n ${prompt:-} ]] && command+=("$prompt") ;; dim) - command=(dim) - [[ -n ${prompt:-} ]] && command+=("$prompt") + # `dim exec` is the documented one-shot prompt form + if [[ -n ${prompt:-} ]]; then + command=(dim exec "$prompt") + else + command=(dim) + fi ;; *) echo "Unsupported default agent: $agent" >&2