xonecas.io
64875
Mc

mini-coder / commit 0c040aa

fix: add spinner during ralph loop execution

xonecas2026-03-11 0c040aabf9d3ad8cc60854662cce6a74333ff442 parent b0ae2be

1 file changed

src/agent/input-loop.ts+3−0
@@ -101,9 +101,12 @@ export async function runInputLoop(opts: InputLoopOptions): Promise<void> {
101101
102102 let result: string;
103103 try {
104+ cmdCtx.startSpinner("ralph");
104105 const output = await cmdCtx.runSubagent(ralphGoal);
105106 result = output.result;
107+ cmdCtx.stopSpinner();
106108 } catch (err) {
109+ cmdCtx.stopSpinner();
107110 reporter.writeText(
108111 `${PREFIX.info} ${c.yellow("ralph")} ${c.dim(`— iteration ${String(iteration)} failed: ${String(err)}`)}`,
109112 );