@linzumi/cli 1.0.151 → 1.0.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -216,7 +216,15 @@ async function runSessionCase(caseInput) {
216
216
  }
217
217
  throw new Error(step.message ?? 'scripted snapshot failure');
218
218
  },
219
- onTurnTerminal: (turnId, outcome, reason, retryableEmptyTurn, autoResume, fate) => {
219
+ onTurnTerminal: (
220
+ turnId,
221
+ outcome,
222
+ reason,
223
+ retryableEmptyTurn,
224
+ autoResume,
225
+ fate,
226
+ freshSessionResume
227
+ ) => {
220
228
  trace.push({
221
229
  t: 'terminal',
222
230
  turnId,
@@ -224,6 +232,10 @@ async function runSessionCase(caseInput) {
224
232
  reason: reason ?? null,
225
233
  retryableEmptyTurn: retryableEmptyTurn === true,
226
234
  autoResumeMidStreamStall: autoResume === true,
235
+ // #3455 leg 4 (Greptile P2): the second-stall fresh-session flag is
236
+ // part of the compared terminal surface, so a future divergence in
237
+ // the ReScript reducer goes red here, not just in the TS e2e tests.
238
+ freshSessionResumeMidStreamStall: freshSessionResume === true,
227
239
  fate: fate ?? null,
228
240
  });
229
241
  },