nextclaw 0.19.1 → 0.19.3

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.
@@ -1,7 +1,9 @@
1
1
  #!/usr/bin/env node
2
+ import { n as resolveNextclawPackageResource, t as readNextclawPackageVersion } from "../../package-version.utils-BIAQ3zyy.js";
2
3
  import { createRequire } from "node:module";
3
4
  import { APP_NAME, APP_TAGLINE, loadConfig } from "@nextclaw/core";
4
5
  import { Command } from "commander";
6
+ import "node:fs";
5
7
  import "node:path";
6
8
  import "@nextclaw/server";
7
9
  import { NextclawServiceRuntime, readLearningLoopRuntimeConfig } from "@nextclaw/service";
@@ -3630,7 +3632,11 @@ const registerHostServiceControls = ({ program, nextclaw }) => {
3630
3632
  //#region src/cli/app/index.ts
3631
3633
  const LOGO = "🤖";
3632
3634
  const program = new Command();
3633
- const runtime = new NextclawServiceRuntime({ logo: LOGO });
3635
+ const runtime = new NextclawServiceRuntime({
3636
+ logo: LOGO,
3637
+ packagedPublicKeyPath: resolveNextclawPackageResource(import.meta.url, "update-bundle-public.pem"),
3638
+ version: readNextclawPackageVersion(import.meta.url)
3639
+ });
3634
3640
  const withRepeatableTag = (value, previous = []) => [...previous, value];
3635
3641
  const registerRemoteCommandGroup = (target, nextclaw) => {
3636
3642
  registerRemoteCommands(target, nextclaw.commands.remote);
@@ -1,8 +1,12 @@
1
1
  #!/usr/bin/env node
2
+ import { t as readNextclawPackageVersion } from "../../package-version.utils-BIAQ3zyy.js";
2
3
  import { dirname, resolve } from "node:path";
3
4
  import { runNextclawNpmRuntimeLauncher } from "@nextclaw/service";
4
5
  import { fileURLToPath } from "node:url";
5
6
  //#region src/cli/launcher/index.ts
6
- runNextclawNpmRuntimeLauncher(process.argv, { packagedAppEntrypoint: resolve(dirname(fileURLToPath(import.meta.url)), "../app/index.js") });
7
+ runNextclawNpmRuntimeLauncher(process.argv, {
8
+ launcherVersion: readNextclawPackageVersion(import.meta.url),
9
+ packagedAppEntrypoint: resolve(dirname(fileURLToPath(import.meta.url)), "../app/index.js")
10
+ });
7
11
  //#endregion
8
12
  export {};
@@ -0,0 +1,14 @@
1
+ import { readFileSync } from "node:fs";
2
+ import { dirname, resolve } from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ //#region src/cli/package-version.utils.ts
5
+ function readNextclawPackageVersion(importMetaUrl) {
6
+ const packageJsonPath = resolve(dirname(fileURLToPath(importMetaUrl)), "../../../package.json");
7
+ const parsed = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
8
+ return typeof parsed.version === "string" ? parsed.version : "0.0.0";
9
+ }
10
+ function resolveNextclawPackageResource(importMetaUrl, resourcePath) {
11
+ return resolve(dirname(fileURLToPath(importMetaUrl)), "../../../resources", resourcePath);
12
+ }
13
+ //#endregion
14
+ export { resolveNextclawPackageResource as n, readNextclawPackageVersion as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.19.1",
3
+ "version": "0.19.3",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -41,22 +41,22 @@
41
41
  "commander": "^12.1.0",
42
42
  "jszip": "^3.10.1",
43
43
  "yaml": "^2.8.1",
44
- "@nextclaw/core": "0.12.14",
45
- "@nextclaw/ncp-mcp": "0.1.81",
46
44
  "@nextclaw/companion": "0.1.2",
47
- "@nextclaw/kernel": "0.1.3",
45
+ "@nextclaw/core": "0.12.14",
46
+ "@nextclaw/ncp-agent-runtime": "0.3.17",
48
47
  "@nextclaw/ncp": "0.5.7",
49
- "@nextclaw/ncp-toolkit": "0.5.12",
50
- "@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.6",
51
- "@nextclaw/openclaw-compat": "1.0.14",
52
- "@nextclaw/nextclaw-hermes-acp-bridge": "0.1.6",
53
48
  "@nextclaw/mcp": "0.1.79",
54
- "@nextclaw/service": "0.1.2",
55
- "@nextclaw/server": "0.12.14",
49
+ "@nextclaw/nextclaw-hermes-acp-bridge": "0.1.6",
50
+ "@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.6",
51
+ "@nextclaw/ncp-toolkit": "0.5.12",
52
+ "@nextclaw/kernel": "0.1.3",
56
53
  "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.1.7",
54
+ "@nextclaw/ncp-mcp": "0.1.81",
55
+ "@nextclaw/openclaw-compat": "1.0.14",
56
+ "@nextclaw/service": "0.1.4",
57
57
  "@nextclaw/runtime": "0.2.46",
58
- "@nextclaw/ncp-agent-runtime": "0.3.17",
59
- "@nextclaw/remote": "0.1.91"
58
+ "@nextclaw/remote": "0.1.91",
59
+ "@nextclaw/server": "0.12.14"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/node": "^20.17.6",