@agentconnect.md/daemon 1.27.0-rc.7 → 1.27.0-rc.8

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/dist/index.js CHANGED
@@ -58766,6 +58766,11 @@ function nonEmpty(value) {
58766
58766
  }
58767
58767
  //#endregion
58768
58768
  //#region src/index.ts
58769
+ const [nodeMajor = 0, nodeMinor = 0] = process.versions.node.split(".").map(Number);
58770
+ if (!(nodeMajor > 24 || nodeMajor === 24 && nodeMinor >= 12)) {
58771
+ console.error(`agentconnect: Node.js >=24.12.0 is required; found ${process.versions.node} at ${process.execPath}. Upgrade Node.js before starting AgentConnect (reinstall the background service after changing Node).`);
58772
+ process.exit(1);
58773
+ }
58769
58774
  if (process.argv[2] === "__sandbox-runtime" || process.argv[2] === "__sandbox-runtime-offline") {
58770
58775
  const { runSandboxRuntimeProvider } = await import("./sandbox-runtime-provider-D1jQYM4k.js");
58771
58776
  process.exit(await runSandboxRuntimeProvider(process.argv.slice(3), { offline: process.argv[2] === "__sandbox-runtime-offline" }));