When clicking redo on the first build message, the system would fail with 'Command exited with code 1' because there was nothing to undo. Now we detect if this is the first opencode message and skip the undo step, proceeding directly to rebuilding. Fixes issue where redo button fails on first message in builder.
173 KiB
173 KiB