@linzumi/cli 1.0.261 → 1.0.263

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.261",
3
+ "version": "1.0.263",
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": {
@@ -339,8 +339,9 @@ function runTurnStallWatchdogCase(caseInput) {
339
339
  try {
340
340
  watchdog = createClaudeCodeTurnStallWatchdog({
341
341
  thresholdMs: caseInput.thresholdMs,
342
+ sdkRequestDeadlineMs: caseInput.sdkRequestDeadlineMs ?? undefined,
342
343
  isTurnActive: () => turnActive,
343
- onStall: (info) => trace.push({ t: 'stall', silentMs: info.silentMs }),
344
+ onStall: (info) => trace.push({ t: 'stall', ...info }),
344
345
  now: () => clock.nowMs,
345
346
  setTimer: timers.setTimer,
346
347
  clearTimer: timers.clearTimer,
@@ -355,7 +356,10 @@ function runTurnStallWatchdogCase(caseInput) {
355
356
  if (op.op === 'advance') {
356
357
  clock.nowMs = op.toMs;
357
358
  timers.fireDue();
358
- } else if (op.op === 'kick') watchdog.kick({ kind: 'transcript_visible' });
359
+ } else if (op.op === 'transcriptVisible') watchdog.kick({ kind: 'transcript_visible' });
360
+ else if (op.op === 'sdkBookkeeping') watchdog.kick({ kind: 'sdk_bookkeeping' });
361
+ else if (op.op === 'sdkRequestStarted') watchdog.kick({ kind: 'sdk_request_started' });
362
+ else if (op.op === 'sdkRequestFinished') watchdog.kick({ kind: 'sdk_request_finished' });
359
363
  else if (op.op === 'stop') watchdog.stop();
360
364
  else if (op.op === 'setActive') turnActive = op.active === true;
361
365
  }
@@ -621,6 +621,8 @@ async function handle(testCase) {
621
621
  defaultGuestMemoryMb,
622
622
  goldenMachineNamePrefix: GOLDEN_MACHINE_NAME_PREFIX,
623
623
  defaultAgentImage: DEFAULT_AGENT_IMAGE,
624
+ pinnedCloudProvisionCommand: guestCloudProvision.guestCloudProvisionCommand(pinnedGuestCodexVersion).join('\\n'),
625
+ pinnedCloudProvisionMarker: guestCloudProvision.guestCloudProvisionMarkerPath(pinnedGuestCodexVersion),
624
626
  }));
625
627
  case 'readVmState': {
626
628
  const dir = scratch();