@vtxmacro/cli 2026.9.40 → 2026.9.41

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.
@@ -16,7 +16,7 @@ import { fileURLToPath } from "node:url";
16
16
  // agent-cli-release.json
17
17
  var agent_cli_release_default = {
18
18
  package_name: "@vtxmacro/cli",
19
- package_version: "2026.9.40",
19
+ package_version: "2026.9.41",
20
20
  codex_package_name: "@openai/codex",
21
21
  codex_version: "0.153.3",
22
22
  copilot_sdk_package_name: "@github/copilot-sdk",
package/bin/vtx.js CHANGED
@@ -77,7 +77,7 @@ var init_agent_cli_release = __esm({
77
77
  "agent-cli-release.json"() {
78
78
  agent_cli_release_default = {
79
79
  package_name: "@vtxmacro/cli",
80
- package_version: "2026.9.40",
80
+ package_version: "2026.9.41",
81
81
  codex_package_name: "@openai/codex",
82
82
  codex_version: "0.153.3",
83
83
  copilot_sdk_package_name: "@github/copilot-sdk",
@@ -34523,9 +34523,18 @@ var init_runner = __esm({
34523
34523
  };
34524
34524
  }
34525
34525
  });
34526
+ const wakeScheduledAtMs = this.now();
34527
+ let nextWakeAtMs = null;
34528
+ let wakeError;
34529
+ try {
34530
+ nextWakeAtMs = wakeScheduledAtMs + parseInferenceAgentWake(result2.turn.text, assignment) * 1e3;
34531
+ } catch (error48) {
34532
+ wakeError = error48;
34533
+ }
34534
+ const scheduledWakeAt = nextWakeAtMs === null ? null : new Date(nextWakeAtMs).toISOString();
34526
34535
  state = { ...state, pending_turn: {
34527
34536
  ...state.pending_turn,
34528
- next_wake_at: null,
34537
+ next_wake_at: scheduledWakeAt,
34529
34538
  terminal_receipt: {
34530
34539
  terminal_status: "completed",
34531
34540
  failure_code: null,
@@ -34544,12 +34553,7 @@ var init_runner = __esm({
34544
34553
  }
34545
34554
  }, updated_at: nowIso() };
34546
34555
  await writeInferenceAgentRuntimeState(this.options.statePath, state);
34547
- const wakeSeconds = parseInferenceAgentWake(result2.turn.text, assignment);
34548
- const wakeScheduledAtMs = this.now();
34549
- const nextWakeAtMs = wakeScheduledAtMs + wakeSeconds * 1e3;
34550
- const scheduledWakeAt = new Date(nextWakeAtMs).toISOString();
34551
- state = { ...state, pending_turn: { ...state.pending_turn, next_wake_at: scheduledWakeAt } };
34552
- await writeInferenceAgentRuntimeState(this.options.statePath, state);
34556
+ if (nextWakeAtMs === null || scheduledWakeAt === null) throw wakeError;
34553
34557
  const wakeHeartbeat = await this.options.controlClient.heartbeat({
34554
34558
  operation_id: randomUUID(),
34555
34559
  host_id: this.options.hostId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtxmacro/cli",
3
- "version": "2026.9.40",
3
+ "version": "2026.9.41",
4
4
  "description": "VTX Macro CLI, MCP server, and durable external inference host.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",