nexo-brain 7.1.3 → 7.1.4

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexo-brain",
3
- "version": "7.1.3",
3
+ "version": "7.1.4",
4
4
  "description": "Local cognitive runtime for Claude Code \u2014 persistent memory, overnight learning, doctor diagnostics, personal scripts, recovery-aware jobs, startup preflight, and optional dashboard/power helper.",
5
5
  "author": {
6
6
  "name": "NEXO Brain",
package/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  [Watch the overview video](https://nexo-brain.com/watch/) · [Watch on YouTube](https://www.youtube.com/watch?v=i2lkGhKyVqI) · [Open the infographic](https://nexo-brain.com/assets/nexo-brain-infographic-v5.png)
20
20
 
21
- Version `7.1.3` is the current packaged-runtime line. It closes the remaining post-`7.1.2` product/runtime gap for packaged Desktop-managed installs: the Brain updater can reuse Desktop's bundled npm runtime, portable user-data restores are inspectable before import, product-mode detection is tighter on real packaged machines, and the public release surfaces once again match the runtime line that actually ships. The companion NEXO Desktop client (v0.22.3, closed-source distributed separately) embeds the same release line for its guided bootstrap, repair, and restore flow.
21
+ Version `7.1.4` is the current packaged-runtime line. It hardens the real packaged update path after live rollout: packaged Desktop-managed installs now finalize the runtime layout before running import verification, so root shim files are back in place before the health-check runs. The companion NEXO Desktop client (v0.22.4, closed-source distributed separately) embeds the same coordinated hotfix line for guided bootstrap, repair, and update flow.
22
22
 
23
23
  Previously in `7.0.1`: hotfix over v7.0.0 (db._core.DB_PATH was only caller still hardcoded to legacy ~/.nexo/data/nexo.db; every shared-DB command silently returned empty results post-migration). Previously in `7.0.0`: **BREAKING — Plan Consolidado fase F0.6**: physical separation of the runtime tree into `~/.nexo/{core,personal,runtime}/`. The flat layout (`~/.nexo/scripts/`, `brain/`, `data/`, `operations/`, ...) is gone. Operators on v6.x are auto-migrated on first `nexo update`; fresh installs land directly in the new tree. New `paths.py` helpers are transition-aware.
24
24
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nexo-brain",
3
- "version": "7.1.3",
3
+ "version": "7.1.4",
4
4
  "mcpName": "io.github.wazionapps/nexo",
5
- "description": "NEXO Brain \u2014 Shared brain for AI agents. Persistent memory, semantic RAG, natural forgetting, metacognitive guard, trust scoring, 150+ MCP tools. Works with Claude Code, Codex, Claude Desktop & any MCP client. 100% local, free.",
5
+ "description": "NEXO Brain Shared brain for AI agents. Persistent memory, semantic RAG, natural forgetting, metacognitive guard, trust scoring, 150+ MCP tools. Works with Claude Code, Codex, Claude Desktop & any MCP client. 100% local, free.",
6
6
  "homepage": "https://nexo-brain.com",
7
7
  "bin": {
8
8
  "nexo-brain": "./bin/nexo-brain.js",
@@ -1129,17 +1129,20 @@ def _handle_packaged_update(progress_fn=None, *, include_clis: bool = True) -> s
1129
1129
  if regression:
1130
1130
  errors.append(f"post-migration wipe: {regression}")
1131
1131
 
1132
- # Verify server can still import
1133
- _emit_progress(progress_fn, "Verifying runtime import health...")
1134
- verify_err = _verify_import()
1135
- if verify_err:
1136
- errors.append(f"verification: {verify_err}")
1137
-
1138
1132
  _emit_progress(progress_fn, "Canonicalizing packaged runtime layout...")
1139
1133
  layout_ok, layout_error = _finalize_packaged_runtime_layout()
1140
1134
  if not layout_ok:
1141
1135
  errors.append(f"layout finalize: {layout_error}")
1142
1136
 
1137
+ # Verify server can still import after the packaged layout has been
1138
+ # restored. Packaged npm updates may temporarily replace the root-level
1139
+ # shim files that `import server` relies on, so verification must run
1140
+ # after `_finalize_packaged_runtime_layout()` recreates them.
1141
+ _emit_progress(progress_fn, "Verifying runtime import health...")
1142
+ verify_err = _verify_import()
1143
+ if verify_err:
1144
+ errors.append(f"verification: {verify_err}")
1145
+
1143
1146
  hook_sync_warning = None
1144
1147
  cron_sync_warning = None
1145
1148
  retired_runtime_files: list[str] = []