@kl-c/matrixos 0.3.49 → 0.3.50

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.50",
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
  }
@@ -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.50",
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
  }
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.50",
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.50",
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",