nextclaw 0.18.12-beta.13 → 0.18.12-beta.14

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.
@@ -14272,6 +14272,20 @@ async function describeUnmanagedHealthyTargetMessage(params) {
14272
14272
  //#endregion
14273
14273
  //#region src/cli/shared/services/runtime/service-managed-startup.service.ts
14274
14274
  const { APP_NAME: APP_NAME$1, loadConfig: loadConfig$4 } = NextclawCore;
14275
+ function resolveManagedServiceReadySnapshot(params) {
14276
+ const { snapshot, readLocalUiRuntimeState, isProcessRunningFn: providedIsProcessRunningFn } = params;
14277
+ const localUiRuntimeState = (readLocalUiRuntimeState ?? localUiRuntimeStore.read)();
14278
+ const isProcessRunningFn = providedIsProcessRunningFn ?? isProcessRunning;
14279
+ if (!localUiRuntimeState || typeof localUiRuntimeState.pid !== "number" || !Number.isFinite(localUiRuntimeState.pid) || localUiRuntimeState.uiPort !== snapshot.uiPort || !isProcessRunningFn(localUiRuntimeState.pid)) return snapshot;
14280
+ return {
14281
+ ...snapshot,
14282
+ pid: localUiRuntimeState.pid,
14283
+ uiUrl: localUiRuntimeState.uiUrl,
14284
+ apiUrl: localUiRuntimeState.apiUrl,
14285
+ uiHost: localUiRuntimeState.uiHost ?? snapshot.uiHost,
14286
+ uiPort: localUiRuntimeState.uiPort ?? snapshot.uiPort
14287
+ };
14288
+ }
14275
14289
  function resolveLauncherCliEntry(importMetaUrl) {
14276
14290
  const modulePath = fileURLToPath(importMetaUrl);
14277
14291
  const cliRootIndex = modulePath.replace(/\\/g, "/").lastIndexOf("/cli/");
@@ -14601,12 +14615,13 @@ var ManagedServiceCommandService = class {
14601
14615
  return;
14602
14616
  }
14603
14617
  startup.child.unref();
14618
+ const readySnapshot = resolveManagedServiceReadySnapshot({ snapshot: startup.snapshot });
14604
14619
  await reportManagedServiceStart({
14605
14620
  appName: APP_NAME$1,
14606
14621
  state: writeReadyManagedServiceState({
14607
14622
  readinessTimeoutMs: startup.readinessTimeoutMs,
14608
14623
  readiness,
14609
- snapshot: startup.snapshot
14624
+ snapshot: readySnapshot
14610
14625
  }),
14611
14626
  uiConfig,
14612
14627
  uiUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.18.12-beta.13",
3
+ "version": "0.18.12-beta.14",
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/kernel": "0.1.2-beta.2",
46
- "@nextclaw/mcp": "0.1.78-beta.1",
47
45
  "@nextclaw/core": "0.12.13-beta.1",
46
+ "@nextclaw/mcp": "0.1.78-beta.1",
47
+ "@nextclaw/kernel": "0.1.2-beta.2",
48
48
  "@nextclaw/ncp": "0.5.6-beta.0",
49
+ "@nextclaw/ncp-agent-runtime": "0.3.16-beta.1",
49
50
  "@nextclaw/ncp-mcp": "0.1.80-beta.1",
51
+ "@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.5-beta.1",
50
52
  "@nextclaw/ncp-toolkit": "0.5.11-beta.0",
51
- "@nextclaw/ncp-agent-runtime": "0.3.16-beta.1",
52
53
  "@nextclaw/nextclaw-hermes-acp-bridge": "0.1.5-beta.1",
53
- "@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.5-beta.1",
54
54
  "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.1.6-beta.1",
55
- "@nextclaw/remote": "0.1.90-beta.1",
56
- "@nextclaw/openclaw-compat": "1.0.13-beta.1",
57
55
  "@nextclaw/server": "0.12.13-beta.1",
58
- "@nextclaw/runtime": "0.2.45-beta.0"
56
+ "@nextclaw/runtime": "0.2.45-beta.0",
57
+ "@nextclaw/openclaw-compat": "1.0.13-beta.1",
58
+ "@nextclaw/remote": "0.1.90-beta.1"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/node": "^20.17.6",