@nextclaw/server 0.11.12 → 0.11.14

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/dist/index.js +2 -1
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -2989,7 +2989,8 @@ var CronRoutesController = class {
2989
2989
  return c.json(err("NOT_AVAILABLE", "cron service unavailable"), 503);
2990
2990
  }
2991
2991
  const query = c.req.query();
2992
- const includeDisabled = query.all === "1" || query.all === "true" || query.all === "yes";
2992
+ const enabledOnly = query.enabledOnly === "1" || query.enabledOnly === "true" || query.enabledOnly === "yes" || query.all === "0" || query.all === "false" || query.all === "no";
2993
+ const includeDisabled = !enabledOnly;
2993
2994
  const jobs = this.options.cronService.listJobs(includeDisabled).map((job) => buildCronJobView(job));
2994
2995
  return c.json(ok({ jobs, total: jobs.length }));
2995
2996
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/server",
3
- "version": "0.11.12",
3
+ "version": "0.11.14",
4
4
  "private": false,
5
5
  "description": "Nextclaw UI/API server.",
6
6
  "type": "module",
@@ -18,12 +18,12 @@
18
18
  "@hono/node-server": "^1.13.3",
19
19
  "hono": "^4.6.2",
20
20
  "ws": "^8.18.0",
21
- "@nextclaw/mcp": "0.1.54",
22
21
  "@nextclaw/ncp-http-agent-server": "0.3.5",
23
- "@nextclaw/openclaw-compat": "0.3.46",
24
- "@nextclaw/runtime": "0.2.21",
25
- "@nextclaw/ncp": "0.4.1",
26
- "@nextclaw/core": "0.11.7"
22
+ "@nextclaw/core": "0.11.9",
23
+ "@nextclaw/openclaw-compat": "0.3.48",
24
+ "@nextclaw/mcp": "0.1.56",
25
+ "@nextclaw/runtime": "0.2.23",
26
+ "@nextclaw/ncp": "0.4.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^20.17.6",