@vm0/runner 3.17.2 → 3.18.0

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.
Files changed (2) hide show
  1. package/index.js +5 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2473,9 +2473,10 @@ var GUEST_BINARY_PATHS = {
2473
2473
  /** PID 1 init process - sets up overlayfs and spawns vsock-guest */
2474
2474
  guestInit: "/sbin/guest-init",
2475
2475
  /** Storage download - parallel downloads with streaming extraction */
2476
- guestDownload: "/usr/local/bin/guest-download"
2476
+ guestDownload: "/usr/local/bin/guest-download",
2477
+ /** Agent orchestrator - handles CLI execution, events, checkpoints */
2478
+ guestAgent: "/usr/local/bin/guest-agent"
2477
2479
  };
2478
- var RUN_AGENT_PATH = "/usr/local/bin/vm0-agent/run-agent.mjs";
2479
2480
 
2480
2481
  // src/lib/proxy/vm-registry.ts
2481
2482
  import fs6 from "fs";
@@ -3149,7 +3150,7 @@ async function executeJob(context, config, options = {}) {
3149
3150
  logger9.log(
3150
3151
  `Running agent via vsock with ${Object.keys(envVars).length} env vars...`
3151
3152
  );
3152
- command = `node ${RUN_AGENT_PATH} > ${systemLogFile} 2>&1`;
3153
+ command = `${GUEST_BINARY_PATHS.guestAgent} > ${systemLogFile} 2>&1`;
3153
3154
  }
3154
3155
  const { pid } = await guest.spawnAndWatch(command, maxWaitMs, envVars);
3155
3156
  logger9.log(`Process started with pid=${pid}`);
@@ -4668,7 +4669,7 @@ var snapshotCommand = new Command5("snapshot").description("Generate a Firecrack
4668
4669
  );
4669
4670
 
4670
4671
  // src/index.ts
4671
- var version = true ? "3.17.2" : "0.1.0";
4672
+ var version = true ? "3.18.0" : "0.1.0";
4672
4673
  program.name("vm0-runner").version(version).description("Self-hosted runner for VM0 agents");
4673
4674
  program.addCommand(startCommand);
4674
4675
  program.addCommand(doctorCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/runner",
3
- "version": "3.17.2",
3
+ "version": "3.18.0",
4
4
  "description": "Self-hosted runner for VM0 agents",
5
5
  "repository": {
6
6
  "type": "git",