nextclaw 0.13.24 → 0.13.25

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/cli/index.js +14 -1
  2. package/package.json +9 -8
package/dist/cli/index.js CHANGED
@@ -3246,7 +3246,20 @@ function buildNextclawConfiguredRemoteState(config2) {
3246
3246
  return buildConfiguredRemoteState(config2);
3247
3247
  }
3248
3248
  function readCurrentNextclawRemoteRuntimeState() {
3249
- return currentProcessRemoteRuntimeState ?? readServiceState()?.remote ?? null;
3249
+ const serviceState = readServiceState();
3250
+ const currentRemoteState = currentProcessRemoteRuntimeState ?? serviceState?.remote ?? null;
3251
+ if (!currentRemoteState) {
3252
+ return null;
3253
+ }
3254
+ if (!serviceState || isProcessRunning(serviceState.pid)) {
3255
+ return currentRemoteState;
3256
+ }
3257
+ return {
3258
+ ...currentRemoteState,
3259
+ state: currentRemoteState.enabled ? "disconnected" : "disabled",
3260
+ lastError: currentRemoteState.lastError ?? "Managed service is not running.",
3261
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString()
3262
+ };
3250
3263
  }
3251
3264
  function resolveNextclawRemoteStatusSnapshot(config2) {
3252
3265
  return resolveRemoteStatusSnapshot({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.13.24",
3
+ "version": "0.13.25",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -39,15 +39,15 @@
39
39
  "chokidar": "^3.6.0",
40
40
  "commander": "^12.1.0",
41
41
  "yaml": "^2.8.1",
42
- "@nextclaw/mcp": "0.1.20",
43
42
  "@nextclaw/core": "0.9.8",
44
- "@nextclaw/ncp": "0.3.1",
45
- "@nextclaw/ncp-agent-runtime": "0.2.1",
46
- "@nextclaw/ncp-mcp": "0.1.20",
47
43
  "@nextclaw/ncp-toolkit": "0.4.1",
48
- "@nextclaw/remote": "0.1.16",
44
+ "@nextclaw/ncp-agent-runtime": "0.2.1",
45
+ "@nextclaw/ncp": "0.3.1",
46
+ "@nextclaw/mcp": "0.1.21",
49
47
  "@nextclaw/runtime": "0.2.8",
50
- "@nextclaw/server": "0.10.20",
48
+ "@nextclaw/remote": "0.1.17",
49
+ "@nextclaw/server": "0.10.21",
50
+ "@nextclaw/ncp-mcp": "0.1.21",
51
51
  "@nextclaw/openclaw-compat": "0.3.11"
52
52
  },
53
53
  "devDependencies": {
@@ -56,7 +56,8 @@
56
56
  "tsup": "^8.3.5",
57
57
  "tsx": "^4.19.2",
58
58
  "typescript": "^5.6.3",
59
- "vitest": "^2.1.2"
59
+ "vitest": "^2.1.2",
60
+ "@nextclaw/ui": "0.9.9"
60
61
  },
61
62
  "scripts": {
62
63
  "dev": "tsx watch --tsconfig tsconfig.json src/cli/index.ts",