@linzumi/cli 1.0.233 → 1.0.235

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linzumi/cli",
3
- "version": "1.0.233",
3
+ "version": "1.0.235",
4
4
  "description": "Linzumi CLI \u2014 point a Codex agent at the real code on your laptop, with your team watching and steering from shared threads.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -235,6 +235,9 @@ function handleLockLifecycle(testCase) {
235
235
  configPath,
236
236
  pid: action.pid,
237
237
  ...(action.launchSource === undefined ? {} : { launchSource: action.launchSource }),
238
+ ...(action.processGroupLeader === undefined
239
+ ? {}
240
+ : { processGroupLeader: action.processGroupLeader }),
238
241
  now,
239
242
  isPidAlive,
240
243
  cliVersion: action.cliVersion,
@@ -326,8 +329,12 @@ async function handleTakeoverFlow(testCase) {
326
329
  const lockReleased = () =>
327
330
  schedule.lockReleasedAtMs !== undefined && virtualMs >= schedule.lockReleasedAtMs;
328
331
  const deps = {
329
- isPidAlive: () =>
330
- schedule.pidDeadAtMs === undefined ? true : virtualMs < schedule.pidDeadAtMs,
332
+ isPidAlive: (pid) =>
333
+ pid < 0 && schedule.groupDeadAtMs !== undefined
334
+ ? virtualMs < schedule.groupDeadAtMs
335
+ : schedule.pidDeadAtMs === undefined
336
+ ? true
337
+ : virtualMs < schedule.pidDeadAtMs,
331
338
  signalPid: (pid, signal) => {
332
339
  signals.push({ pid, signal, atMs: virtualMs });
333
340
  const code = signalFailures[signal];
@@ -355,7 +355,7 @@ function runTurnStallWatchdogCase(caseInput) {
355
355
  if (op.op === 'advance') {
356
356
  clock.nowMs = op.toMs;
357
357
  timers.fireDue();
358
- } else if (op.op === 'kick') watchdog.kick();
358
+ } else if (op.op === 'kick') watchdog.kick({ kind: 'transcript_visible' });
359
359
  else if (op.op === 'stop') watchdog.stop();
360
360
  else if (op.op === 'setActive') turnActive = op.active === true;
361
361
  }