@kl-c/matrixos 0.3.49 → 0.3.51

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/cli/index.js CHANGED
@@ -2163,7 +2163,7 @@ var package_default;
2163
2163
  var init_package = __esm(() => {
2164
2164
  package_default = {
2165
2165
  name: "@kl-c/matrixos",
2166
- version: "0.3.49",
2166
+ version: "0.3.51",
2167
2167
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
2168
2168
  main: "./dist/index.js",
2169
2169
  types: "dist/index.d.ts",
@@ -165923,8 +165923,16 @@ function cronStart(options = {}) {
165923
165923
  });
165924
165924
  runner3.start();
165925
165925
  if (options.daemon) {
165926
- console.log("[cron] scheduler started (daemon). Ctrl-C or 'matrixos cron stop' to exit.");
165927
- process.stdin.resume();
165926
+ console.log("[cron] scheduler started (daemon). Running until stopped.");
165927
+ setInterval(() => {}, 1 << 30);
165928
+ process.on("SIGTERM", () => {
165929
+ runner3.stop();
165930
+ process.exit(0);
165931
+ });
165932
+ process.on("SIGINT", () => {
165933
+ runner3.stop();
165934
+ process.exit(0);
165935
+ });
165928
165936
  } else {
165929
165937
  console.log("[cron] scheduler started. Jobs will fire per their schedule. Press Ctrl-C to stop.");
165930
165938
  }
@@ -190248,6 +190256,9 @@ cron3.command("remove <id>").description("Remove a scheduled job by id").action(
190248
190256
  cron3.command("start").description("Start the cron scheduler (runs in foreground; pair with systemd for daemon mode)").option("--daemon", "Park the event loop (for systemd service)").action(async (options) => {
190249
190257
  const { cronStart: cronStart2 } = await Promise.resolve().then(() => (init_cron(), exports_cron));
190250
190258
  const code = cronStart2({ daemon: options.daemon });
190259
+ if (options.daemon) {
190260
+ return;
190261
+ }
190251
190262
  process.exit(code);
190252
190263
  });
190253
190264
  cron3.command("stop").description("Stop the cron scheduler (terminates the running scheduler process)").action(async () => {
@@ -2163,7 +2163,7 @@ var package_default;
2163
2163
  var init_package = __esm(() => {
2164
2164
  package_default = {
2165
2165
  name: "@kl-c/matrixos",
2166
- version: "0.3.49",
2166
+ version: "0.3.51",
2167
2167
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
2168
2168
  main: "./dist/index.js",
2169
2169
  types: "dist/index.d.ts",
@@ -165978,8 +165978,16 @@ function cronStart(options = {}) {
165978
165978
  });
165979
165979
  runner3.start();
165980
165980
  if (options.daemon) {
165981
- console.log("[cron] scheduler started (daemon). Ctrl-C or 'matrixos cron stop' to exit.");
165982
- process.stdin.resume();
165981
+ console.log("[cron] scheduler started (daemon). Running until stopped.");
165982
+ setInterval(() => {}, 1 << 30);
165983
+ process.on("SIGTERM", () => {
165984
+ runner3.stop();
165985
+ process.exit(0);
165986
+ });
165987
+ process.on("SIGINT", () => {
165988
+ runner3.stop();
165989
+ process.exit(0);
165990
+ });
165983
165991
  } else {
165984
165992
  console.log("[cron] scheduler started. Jobs will fire per their schedule. Press Ctrl-C to stop.");
165985
165993
  }
@@ -190303,6 +190311,9 @@ cron3.command("remove <id>").description("Remove a scheduled job by id").action(
190303
190311
  cron3.command("start").description("Start the cron scheduler (runs in foreground; pair with systemd for daemon mode)").option("--daemon", "Park the event loop (for systemd service)").action(async (options) => {
190304
190312
  const { cronStart: cronStart2 } = await Promise.resolve().then(() => (init_cron(), exports_cron));
190305
190313
  const code = cronStart2({ daemon: options.daemon });
190314
+ if (options.daemon) {
190315
+ return;
190316
+ }
190306
190317
  process.exit(code);
190307
190318
  });
190308
190319
  cron3.command("stop").description("Stop the cron scheduler (terminates the running scheduler process)").action(async () => {
package/dist/index.js CHANGED
@@ -368086,7 +368086,7 @@ function getCachedVersion(options = {}) {
368086
368086
  // package.json
368087
368087
  var package_default = {
368088
368088
  name: "@kl-c/matrixos",
368089
- version: "0.3.49",
368089
+ version: "0.3.51",
368090
368090
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
368091
368091
  main: "./dist/index.js",
368092
368092
  types: "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl-c/matrixos",
3
- "version": "0.3.49",
3
+ "version": "0.3.51",
4
4
  "description": "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "dist/index.d.ts",