nextclaw 0.18.12 → 0.19.1
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 +164 -17805
- package/dist/cli/launcher/index.js +2 -50
- package/package.json +18 -17
- package/ui-dist/assets/api-lwyw9j7i.js +15 -0
- package/ui-dist/assets/{app-manager-provider-BZr5VxCe.js → app-manager-provider-C0ONQxUg.js} +1 -1
- package/ui-dist/assets/{app-navigation.config-BjIj_FLm.js → app-navigation.config-DgiR0c5_.js} +1 -1
- package/ui-dist/assets/{channels-list-page-L6FFtRYn.js → channels-list-page-Dl839n02.js} +1 -1
- package/ui-dist/assets/{chat-ZQIVJChB.js → chat-DwUf7AKR.js} +36 -36
- package/ui-dist/assets/chat-page-B-FvPmA7.js +1 -0
- package/ui-dist/assets/{desktop-update-config-AXzb7OEa.js → desktop-update-config-D5g_gPak.js} +1 -1
- package/ui-dist/assets/{dialog-DgybjpeU.js → dialog-CdtCU2xX.js} +1 -1
- package/ui-dist/assets/{dist-CxcPOISF.js → dist-CuqvE--P.js} +1 -1
- package/ui-dist/assets/{es2015-BVRlEE06.js → es2015-yYU5Ad5w.js} +1 -1
- package/ui-dist/assets/{index-B7RsQ-ne.js → index-Doxyk7L2.js} +2 -2
- package/ui-dist/assets/marketplace-page-BRHkZaO5.js +1 -0
- package/ui-dist/assets/{marketplace-page-ClRW-W3g.js → marketplace-page-CawcdL6Y.js} +1 -1
- package/ui-dist/assets/mcp-marketplace-page-CL7BF4dD.js +1 -0
- package/ui-dist/assets/{mcp-marketplace-page-DtngnIi0.js → mcp-marketplace-page-DEGfJ_70.js} +1 -1
- package/ui-dist/assets/{model-config-D_y8F0j6.js → model-config-r-1RPSrZ.js} +1 -1
- package/ui-dist/assets/{notice-card-uzwjFyML.js → notice-card-BPtCVEKW.js} +1 -1
- package/ui-dist/assets/{popover-C8tMB7tR.js → popover-jbfQhYQh.js} +1 -1
- package/ui-dist/assets/{provider-scoped-model-input-ORZutTDv.js → provider-scoped-model-input-gdk2lmRi.js} +1 -1
- package/ui-dist/assets/{providers-list-DSc3d8me.js → providers-list-DpISIr3M.js} +1 -1
- package/ui-dist/assets/remote-BnRNqMlb.js +1 -0
- package/ui-dist/assets/{runtime-config-page-B4uSax1I.js → runtime-config-page-DQ8YY8Lc.js} +1 -1
- package/ui-dist/assets/{search-config-CaqqlsdW.js → search-config-BWqz8nqY.js} +1 -1
- package/ui-dist/assets/{secrets-config-llf5ROde.js → secrets-config-CjzSNg0Y.js} +1 -1
- package/ui-dist/assets/{select-uO-zhYsH.js → select-Cw5Zkb1w.js} +1 -1
- package/ui-dist/assets/{sessions-config-page-BqOXte9x.js → sessions-config-page-beoDPtII.js} +2 -2
- package/ui-dist/assets/{setting-row-BIiXR4hx.js → setting-row-Cjl2d40s.js} +1 -1
- package/ui-dist/assets/{tag-chip-DVbgpsYW.js → tag-chip-CoWHxYJj.js} +1 -1
- package/ui-dist/assets/{theme-provider-BU77FNSB.js → theme-provider-B5XReW_-.js} +1 -1
- package/ui-dist/assets/{tooltip-CvAtG-kT.js → tooltip-GYzH-Hfq.js} +1 -1
- package/ui-dist/assets/{use-config-D2QgG7qc.js → use-config-BhJHD3-G.js} +1 -1
- package/ui-dist/assets/{use-confirm-dialog-BBClFV8E.js → use-confirm-dialog-Bqgy3Gi-.js} +1 -1
- package/ui-dist/assets/{use-infinite-scroll-loader-CWzpUecQ.js → use-infinite-scroll-loader-BfexitoF.js} +1 -1
- package/ui-dist/assets/{use-viewport-layout-C6EN0_eq.js → use-viewport-layout-D33zVbr5.js} +1 -1
- package/ui-dist/index.html +15 -15
- package/ui-dist/sw.js +4 -7
- package/dist/npm-runtime-update-state.store-75vzvn0B.js +0 -633
- package/ui-dist/assets/api-Dai6UR3J.js +0 -15
- package/ui-dist/assets/chat-page-CR1yI96r.js +0 -1
- package/ui-dist/assets/marketplace-page-Bj55-6F2.js +0 -1
- package/ui-dist/assets/mcp-marketplace-page-_Wu2VnHy.js +0 -1
- package/ui-dist/assets/remote-rWiu3cys.js +0 -1
|
@@ -1,56 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as NpmRuntimeBundleLayoutStore, d as getPackageVersion$1, i as NpmRuntimeBundleService, r as inferDefaultNpmRuntimeReleaseChannel, s as shouldPreferPackagedNpmRuntime, t as NpmRuntimeUpdateStateStore } from "../../npm-runtime-update-state.store-75vzvn0B.js";
|
|
3
|
-
import { createExternalCommandEnv } from "@nextclaw/core";
|
|
4
2
|
import { dirname, resolve } from "node:path";
|
|
3
|
+
import { runNextclawNpmRuntimeLauncher } from "@nextclaw/service";
|
|
5
4
|
import { fileURLToPath } from "node:url";
|
|
6
|
-
import { spawnSync } from "node:child_process";
|
|
7
|
-
//#region src/cli/launcher/npm-runtime-launcher.service.ts
|
|
8
|
-
var NpmRuntimeLauncher = class {
|
|
9
|
-
env;
|
|
10
|
-
layout;
|
|
11
|
-
constructor(options) {
|
|
12
|
-
this.options = options;
|
|
13
|
-
this.env = options.env ?? process.env;
|
|
14
|
-
this.layout = options.layout ?? new NpmRuntimeBundleLayoutStore();
|
|
15
|
-
}
|
|
16
|
-
run = () => {
|
|
17
|
-
const runtimeScriptPath = this.resolveRuntimeScriptPath();
|
|
18
|
-
const result = spawnSync(process.execPath, [runtimeScriptPath, ...this.options.argv.slice(2)], {
|
|
19
|
-
stdio: "inherit",
|
|
20
|
-
env: {
|
|
21
|
-
...createExternalCommandEnv(this.env),
|
|
22
|
-
NEXTCLAW_RUNTIME_BUNDLE_CHILD: "1"
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
process.exit(typeof result.status === "number" ? result.status : 1);
|
|
26
|
-
};
|
|
27
|
-
resolveRuntimeScriptPath = () => {
|
|
28
|
-
if (this.env.NEXTCLAW_DISABLE_RUNTIME_BUNDLE_LAUNCHER === "1" || this.env.NEXTCLAW_RUNTIME_BUNDLE_CHILD === "1") return this.resolvePackagedAppEntrypoint();
|
|
29
|
-
const stateStore = new NpmRuntimeUpdateStateStore(this.layout.getStatePath(), { defaultChannel: inferDefaultNpmRuntimeReleaseChannel(getPackageVersion$1()) });
|
|
30
|
-
const bundleService = new NpmRuntimeBundleService({
|
|
31
|
-
layout: this.layout,
|
|
32
|
-
stateStore,
|
|
33
|
-
launcherVersion: getPackageVersion$1()
|
|
34
|
-
});
|
|
35
|
-
try {
|
|
36
|
-
const currentBundle = bundleService.resolveCurrentBundle();
|
|
37
|
-
if (currentBundle && shouldPreferPackagedNpmRuntime({
|
|
38
|
-
launcherVersion: getPackageVersion$1(),
|
|
39
|
-
currentBundleVersion: currentBundle.manifest.runtimeVersion ?? currentBundle.manifest.bundleVersion
|
|
40
|
-
})) return this.resolvePackagedAppEntrypoint();
|
|
41
|
-
return currentBundle?.runtimeScriptPath ?? this.resolvePackagedAppEntrypoint();
|
|
42
|
-
} catch (error) {
|
|
43
|
-
console.error(`Cannot start current runtime bundle: ${error instanceof Error ? error.message : String(error)}`);
|
|
44
|
-
console.error("Falling back to the packaged npm launcher runtime.");
|
|
45
|
-
return this.resolvePackagedAppEntrypoint();
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
resolvePackagedAppEntrypoint = () => {
|
|
49
|
-
return resolve(dirname(fileURLToPath(import.meta.url)), "../app/index.js");
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
//#endregion
|
|
53
5
|
//#region src/cli/launcher/index.ts
|
|
54
|
-
|
|
6
|
+
runNextclawNpmRuntimeLauncher(process.argv, { packagedAppEntrypoint: resolve(dirname(fileURLToPath(import.meta.url)), "../app/index.js") });
|
|
55
7
|
//#endregion
|
|
56
8
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextclaw",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -41,21 +41,22 @@
|
|
|
41
41
|
"commander": "^12.1.0",
|
|
42
42
|
"jszip": "^3.10.1",
|
|
43
43
|
"yaml": "^2.8.1",
|
|
44
|
-
"@nextclaw/
|
|
45
|
-
"@nextclaw/
|
|
46
|
-
"@nextclaw/
|
|
47
|
-
"@nextclaw/
|
|
48
|
-
"@nextclaw/
|
|
49
|
-
"@nextclaw/ncp-
|
|
50
|
-
"@nextclaw/ncp-
|
|
51
|
-
"@nextclaw/
|
|
52
|
-
"@nextclaw/nextclaw-
|
|
53
|
-
"@nextclaw/
|
|
54
|
-
"@nextclaw/
|
|
55
|
-
"@nextclaw/
|
|
56
|
-
"@nextclaw/
|
|
57
|
-
"@nextclaw/
|
|
58
|
-
"@nextclaw/
|
|
44
|
+
"@nextclaw/core": "0.12.14",
|
|
45
|
+
"@nextclaw/ncp-mcp": "0.1.81",
|
|
46
|
+
"@nextclaw/companion": "0.1.2",
|
|
47
|
+
"@nextclaw/kernel": "0.1.3",
|
|
48
|
+
"@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
|
+
"@nextclaw/mcp": "0.1.79",
|
|
54
|
+
"@nextclaw/service": "0.1.2",
|
|
55
|
+
"@nextclaw/server": "0.12.14",
|
|
56
|
+
"@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.1.7",
|
|
57
|
+
"@nextclaw/runtime": "0.2.46",
|
|
58
|
+
"@nextclaw/ncp-agent-runtime": "0.3.17",
|
|
59
|
+
"@nextclaw/remote": "0.1.91"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"@types/node": "^20.17.6",
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"tsx": "^4.19.2",
|
|
64
65
|
"typescript": "^5.6.3",
|
|
65
66
|
"vitest": "^4.1.2",
|
|
66
|
-
"@nextclaw/ui": "0.12.
|
|
67
|
+
"@nextclaw/ui": "0.12.21"
|
|
67
68
|
},
|
|
68
69
|
"scripts": {
|
|
69
70
|
"dev": "tsx watch --tsconfig tsconfig.json src/cli/app/index.ts",
|