nextclaw 0.19.0 → 0.19.2
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/app/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { t as readNextclawPackageVersion } from "../../package-version.utils-BVMIgyn8.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";
|
|
7
|
+
import "node:path";
|
|
5
8
|
import "@nextclaw/server";
|
|
6
9
|
import { NextclawServiceRuntime, readLearningLoopRuntimeConfig } from "@nextclaw/service";
|
|
7
10
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -3629,7 +3632,10 @@ const registerHostServiceControls = ({ program, nextclaw }) => {
|
|
|
3629
3632
|
//#region src/cli/app/index.ts
|
|
3630
3633
|
const LOGO = "🤖";
|
|
3631
3634
|
const program = new Command();
|
|
3632
|
-
const runtime = new NextclawServiceRuntime({
|
|
3635
|
+
const runtime = new NextclawServiceRuntime({
|
|
3636
|
+
logo: LOGO,
|
|
3637
|
+
version: readNextclawPackageVersion(import.meta.url)
|
|
3638
|
+
});
|
|
3633
3639
|
const withRepeatableTag = (value, previous = []) => [...previous, value];
|
|
3634
3640
|
const registerRemoteCommandGroup = (target, nextclaw) => {
|
|
3635
3641
|
registerRemoteCommands(target, nextclaw.commands.remote);
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { t as readNextclawPackageVersion } from "../../package-version.utils-BVMIgyn8.js";
|
|
3
|
+
import { dirname, resolve } from "node:path";
|
|
2
4
|
import { runNextclawNpmRuntimeLauncher } from "@nextclaw/service";
|
|
5
|
+
import { fileURLToPath } from "node:url";
|
|
3
6
|
//#region src/cli/launcher/index.ts
|
|
4
|
-
runNextclawNpmRuntimeLauncher(process.argv
|
|
7
|
+
runNextclawNpmRuntimeLauncher(process.argv, {
|
|
8
|
+
launcherVersion: readNextclawPackageVersion(import.meta.url),
|
|
9
|
+
packagedAppEntrypoint: resolve(dirname(fileURLToPath(import.meta.url)), "../app/index.js")
|
|
10
|
+
});
|
|
5
11
|
//#endregion
|
|
6
12
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
//#endregion
|
|
11
|
+
export { readNextclawPackageVersion as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextclaw",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
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/kernel": "0.1.3",
|
|
45
44
|
"@nextclaw/companion": "0.1.2",
|
|
46
|
-
"@nextclaw/ncp-agent-runtime": "0.3.17",
|
|
47
45
|
"@nextclaw/core": "0.12.14",
|
|
48
|
-
"@nextclaw/
|
|
46
|
+
"@nextclaw/kernel": "0.1.3",
|
|
49
47
|
"@nextclaw/ncp": "0.5.7",
|
|
50
|
-
"@nextclaw/
|
|
48
|
+
"@nextclaw/mcp": "0.1.79",
|
|
51
49
|
"@nextclaw/nextclaw-hermes-acp-bridge": "0.1.6",
|
|
52
50
|
"@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.1.7",
|
|
53
51
|
"@nextclaw/openclaw-compat": "1.0.14",
|
|
52
|
+
"@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.6",
|
|
54
53
|
"@nextclaw/runtime": "0.2.46",
|
|
55
|
-
"@nextclaw/server": "0.12.14",
|
|
56
|
-
"@nextclaw/service": "0.1.1",
|
|
57
54
|
"@nextclaw/ncp-mcp": "0.1.81",
|
|
58
55
|
"@nextclaw/remote": "0.1.91",
|
|
59
|
-
"@nextclaw/
|
|
56
|
+
"@nextclaw/service": "0.1.3",
|
|
57
|
+
"@nextclaw/ncp-agent-runtime": "0.3.17",
|
|
58
|
+
"@nextclaw/server": "0.12.14",
|
|
59
|
+
"@nextclaw/ncp-toolkit": "0.5.12"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/node": "^20.17.6",
|