summaryrefslogtreecommitdiff
path: root/Omni/Jr.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Jr.hs')
-rw-r--r--Omni/Jr.hs6
1 files changed, 4 insertions, 2 deletions
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))