nextclaw 0.18.12-beta.11 → 0.18.12-beta.13

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.
@@ -15396,9 +15396,15 @@ function createRuntimeControlHost(params) {
15396
15396
  }
15397
15397
  //#endregion
15398
15398
  //#region src/cli/shared/services/ui/service-ui-hosts.service.ts
15399
+ function resolveApplyRestartMode(uiPort) {
15400
+ const serviceState = managedServiceStateStore.read();
15401
+ if (serviceState?.pid === process.pid) return "managed-service-restart";
15402
+ if (process.env.NEXTCLAW_RUNTIME_BUNDLE_CHILD === "1" && typeof serviceState?.uiPort === "number" && serviceState.uiPort === uiPort) return "managed-service-restart";
15403
+ return "manual-process-restart";
15404
+ }
15399
15405
  function createServiceUiHosts(params) {
15400
15406
  const { requestRestart, serviceCommands, uiConfig } = params;
15401
- const applyRestartMode = managedServiceStateStore.read()?.pid === process.pid ? "managed-service-restart" : "manual-process-restart";
15407
+ const applyRestartMode = resolveApplyRestartMode(uiConfig.port);
15402
15408
  return {
15403
15409
  remoteAccess: createRemoteAccessHost(params),
15404
15410
  runtimeControl: createRuntimeControlHost({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.18.12-beta.11",
3
+ "version": "0.18.12-beta.13",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -42,20 +42,20 @@
42
42
  "jszip": "^3.10.1",
43
43
  "yaml": "^2.8.1",
44
44
  "@nextclaw/companion": "0.1.1-beta.1",
45
- "@nextclaw/core": "0.12.13-beta.1",
46
45
  "@nextclaw/kernel": "0.1.2-beta.2",
47
46
  "@nextclaw/mcp": "0.1.78-beta.1",
48
- "@nextclaw/ncp-agent-runtime": "0.3.16-beta.1",
47
+ "@nextclaw/core": "0.12.13-beta.1",
48
+ "@nextclaw/ncp": "0.5.6-beta.0",
49
49
  "@nextclaw/ncp-mcp": "0.1.80-beta.1",
50
+ "@nextclaw/ncp-toolkit": "0.5.11-beta.0",
51
+ "@nextclaw/ncp-agent-runtime": "0.3.16-beta.1",
50
52
  "@nextclaw/nextclaw-hermes-acp-bridge": "0.1.5-beta.1",
51
53
  "@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.5-beta.1",
52
54
  "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.1.6-beta.1",
53
- "@nextclaw/ncp-toolkit": "0.5.11-beta.0",
54
- "@nextclaw/ncp": "0.5.6-beta.0",
55
- "@nextclaw/runtime": "0.2.45-beta.0",
56
- "@nextclaw/server": "0.12.13-beta.1",
55
+ "@nextclaw/remote": "0.1.90-beta.1",
57
56
  "@nextclaw/openclaw-compat": "1.0.13-beta.1",
58
- "@nextclaw/remote": "0.1.90-beta.1"
57
+ "@nextclaw/server": "0.12.13-beta.1",
58
+ "@nextclaw/runtime": "0.2.45-beta.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/node": "^20.17.6",