Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
Time-skip: final 'Both versions are ready' line, no stale warning after B finished
Niko1221e3bf0ad04d4e
diff --git a/apps/host/server/timeskip-fork.mjs b/apps/host/server/timeskip-fork.mjsindex 94deb33b4..f3c0ea379 100644--- a/apps/host/server/timeskip-fork.mjs+++ b/apps/host/server/timeskip-fork.mjs@@ -191,6 +191,7 @@ export function createForkTimeskip({ agent, dir, notify = () => {}, now = Date.n}const end = agent.planState(bChat);r.b.state = end?.steps.every(x => ['done', 'skipped'].includes(x.state)) ? 'done' : 'failed';+ if (r.b.state === 'done') r.b.note = end.steps.some(x => x.state === 'skipped') ? 'A step that could not finish was left as it is.' : null;if (r.b.state === 'failed') r.b.note = stopped() ? 'Stopped.' : 'B did not finish, so only A is shown.';announce(r);};@@ -238,7 +239,9 @@ export function createForkTimeskip({ agent, dir, notify = () => {}, now = Date.nif (bDone) await bDone.catch(e => { r.b.state = 'failed'; r.b.note = 'B stopped: ' + String(e.message ?? e).slice(0, 160); });if (stopped()) return;setPhase(r, 'checking'); say(r, 'comparing', 'Comparing A and B…');- r.finishedAt = now(); r.activity = null; setPhase(r, 'completed');+ r.finishedAt = now();+ r.activity = r.b?.state === 'done' ? { code: 'ready', text: 'Both versions are ready. Compare A and B, then keep the one you like.', args: {} } : { code: 'ready', text: 'The result is ready.' + (r.b?.note ? ' ' + r.b.note : ''), args: {} };+ setPhase(r, 'completed');} catch (e) {if (stopped()) return;r.error = String(e.message ?? e).slice(0, 400); r.finishedAt = now(); r.activity = null; setPhase(r, 'failed');diff --git a/apps/host/tests/timeskip-fork.test.mjs b/apps/host/tests/timeskip-fork.test.mjsindex ea091fadf..10d783dba 100644--- a/apps/host/tests/timeskip-fork.test.mjs+++ b/apps/host/tests/timeskip-fork.test.mjs@@ -61,6 +61,7 @@ test('plan -> lever (with its why) -> A runs every step -> B forks after step 1assert.deepEqual([done.a.state, done.a.step, done.a.total], ['done', 3, 3]);assert.equal(done.b.state, 'done'); assert.equal(done.b.plan.length, 2);assert.equal(done.needsUserReview, true);+ assert.match(done.activity.text, /^Both versions are ready/); assert.equal(done.b.note ?? null, null, 'no stale warning when B finished');assert.deepEqual(done.labels, { original: 'A', updated: 'B' });// events told the story in orderconst phases = r.events.map(e => e.phase);