diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-26 09:38:21 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-26 09:38:21 -0500 |
| commit | b13c42cc5566aa7365118fddc7f327b4c774a910 (patch) | |
| tree | dad4b116944b42e94342a5487c518c9b59604226 /Omni/Jr.hs | |
| parent | e709ef77c4158a66ba3e572e52ad866d4855fc21 (diff) | |
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
Diffstat (limited to 'Omni/Jr.hs')
| -rw-r--r-- | Omni/Jr.hs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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)) |
