From b13c42cc5566aa7365118fddc7f327b4c774a910 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 26 Nov 2025 09:38:21 -0500 Subject: Improve worker prompt and fix output interleaving - More explicit prompt: MUST run bild --test, fix hlint issues - Add workerQuiet flag to disable ANSI status bar in loop mode - Loop mode uses simple putText, manual jr work keeps status bar --- Omni/Jr.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Omni/Jr.hs') diff --git a/Omni/Jr.hs b/Omni/Jr.hs index f6f8d27..8636e54 100644 --- a/Omni/Jr.hs +++ b/Omni/Jr.hs @@ -92,7 +92,8 @@ move args { AgentCore.workerName = name, AgentCore.workerPid = Nothing, AgentCore.workerStatus = AgentCore.Idle, - AgentCore.workerPath = path + AgentCore.workerPath = path, + AgentCore.workerQuiet = False -- Show ANSI status bar for manual work } let taskId = fmap Text.pack (Cli.getArg args (Cli.argument "task-id")) @@ -148,7 +149,8 @@ runLoop delaySec = do { AgentCore.workerName = name, AgentCore.workerPid = Nothing, AgentCore.workerStatus = AgentCore.Idle, - AgentCore.workerPath = "." + AgentCore.workerPath = ".", + AgentCore.workerQuiet = True -- No ANSI status bar in loop mode } putText "[loop] Starting worker..." AgentWorker.start worker (Just (TaskCore.taskId task)) -- cgit v1.2.3