nexo-brain 2.6.11 → 2.6.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexo-brain",
3
- "version": "2.6.11",
3
+ "version": "2.6.13",
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
@@ -454,9 +454,9 @@ npx nexo-brain # detects current version, migrates automatically
454
454
 
455
455
  ## Runtime CLI (v2.6.0)
456
456
 
457
- NEXO Brain includes a local CLI that runs independently of Claude Code:
457
+ NEXO Brain includes a local CLI that runs independently of any single terminal client:
458
458
 
459
- - `nexo chat` — launch Claude Code with NEXO as the operator
459
+ - `nexo chat` — launch the configured terminal client with NEXO as the operator
460
460
  - `nexo update` — sync runtime from source, run migrations, reconcile schedules
461
461
  - `nexo doctor --tier runtime` — boot/runtime/deep diagnostics with `--fix` mode
462
462
  - `nexo scripts list` — list all personal scripts and their status
@@ -484,7 +484,7 @@ Core and personal jobs now declare explicit recovery contracts in `crons/manifes
484
484
 
485
485
  | Field | Purpose |
486
486
  |-------|---------|
487
- | `recovery_policy` | `catchup`, `restart`, or `skip` |
487
+ | `recovery_policy` | `catchup`, `restart`, `restart_daemon`, or `skip` |
488
488
  | `run_on_boot` | Re-run when the machine starts |
489
489
  | `run_on_wake` | Re-run after sleep/resume |
490
490
  | `idempotent` | Safe to re-run without side effects |
@@ -492,6 +492,8 @@ Core and personal jobs now declare explicit recovery contracts in `crons/manifes
492
492
 
493
493
  If the Mac was asleep during a scheduled window, `catchup` detects the gap from `cron_runs` (not a state file) and re-executes eligible jobs once. Interval-based personal scripts get a single recovery run, not repeated ticks.
494
494
 
495
+ For personal daemon-style helpers, `recovery_policy=restart_daemon` plus `schedule_required=true` declares an official `KeepAlive` schedule. NEXO can now reconcile and repair those daemons instead of treating them as unmanaged legacy LaunchAgents.
496
+
495
497
  ## Startup Preflight (v2.6.2)
496
498
 
497
499
  Before `nexo chat` or MCP server start, NEXO runs a preflight check:
@@ -567,14 +569,20 @@ The installer handles everything and syncs the same `nexo` MCP brain into Claude
567
569
  After install, use the runtime CLI:
568
570
 
569
571
  ```bash
570
- nexo chat # Launch Claude Code with NEXO as operator
572
+ nexo chat # Launch the configured terminal client (Claude Code or Codex)
571
573
  nexo doctor # Check runtime health
572
574
  nexo update # Pull latest version and sync
573
575
  nexo clients sync # Re-sync Claude Code/Desktop/Codex to the same brain
574
576
  nexo scripts list # See your personal scripts
575
577
  ```
576
578
 
577
- Or use the shell alias created during install (e.g. `atlas`), which runs `claude --dangerously-skip-permissions "."` launching Claude Code with tool-use permissions pre-approved so the operator can act autonomously.
579
+ During install, NEXO now asks which interactive clients you want to connect, which one `nexo chat` should open by default, whether to enable background automation, which backend should run that automation, and which model profile each active terminal/backend should use. Shared brain stays on in every mode.
580
+
581
+ Recommended defaults:
582
+ - Claude Code: `Opus latest`
583
+ - Codex: `gpt-5.4` with `xhigh` reasoning
584
+
585
+ Or use the shell alias created during install (e.g. `atlas`), which now runs `nexo chat .` so it opens whichever terminal client you selected as default.
578
586
 
579
587
  Your operator will greet you immediately — adapted to the time of day, resuming from where you left off. No cold starts.
580
588
 
@@ -598,6 +606,7 @@ Your operator will greet you immediately — adapted to the time of day, resumin
598
606
  | Auto-update | Non-blocking startup check (5s max), opt-out via schedule.json | Built into server startup |
599
607
  | CLAUDE.md tracker | Version-tracked core sections with safe updates preserving customizations | Built into auto-update |
600
608
  | Shared client sync | Same `nexo` MCP entry wired into Claude Code, Claude Desktop, and Codex | User config dirs |
609
+ | Client/backend preferences | Selected interactive clients, default terminal client, automation backend, and model/reasoning profiles per client | `NEXO_HOME/config/schedule.json` |
601
610
  | Auto-diary | 3-layer system: PostToolUse every 10 calls, PreCompact emergency, heartbeat DIARY_OVERDUE | Built into hooks |
602
611
  | Claude Code config | MCP server + 7 hooks + 15 processes registered | ~/.claude/settings.json |
603
612
 
@@ -627,7 +636,7 @@ nexo doctor --tier runtime --json # Machine-readable health report
627
636
  nexo doctor --fix # Apply deterministic repairs
628
637
  ```
629
638
 
630
- Personal scripts live in `NEXO_HOME/scripts/` with inline metadata. See `docs/writing-scripts.md` for details.
639
+ Personal scripts live in `NEXO_HOME/scripts/` with inline metadata. Their Python templates now include `run_automation_text(...)`, which routes work through the configured NEXO automation backend instead of hardcoding `claude -p` or provider-specific model names. See `docs/writing-scripts.md` for details.
631
640
 
632
641
  Skills v2 combine procedural guides with optional executable scripts. Personal skills live in `NEXO_HOME/skills/`, packaged core skills live in `NEXO_CODE/skills/` during development and `NEXO_HOME/skills-core/` in installed environments, and staged runtime copies live in `NEXO_HOME/skills-runtime/`. Execution is fully autonomous: Deep Sleep can evolve mature guide skills into executable drafts automatically, and runtime execution no longer waits for manual approval. See `docs/skills-v2.md` for the full model.
633
642
 
@@ -637,8 +646,9 @@ The Doctor system reads existing health artifacts (immune, watchdog, self-audit)
637
646
 
638
647
  - **macOS or Linux** (Windows via [WSL](https://learn.microsoft.com/en-us/windows/wsl/install))
639
648
  - **Node.js 18+** (for the installer)
640
- - **Claude Opus (latest version) strongly recommended.** NEXO Brain provides 150+ MCP tools across 20+ categories. This cognitive load requires a top-tier model with large context window. Smaller models (Haiku, Sonnet) may struggle with tool selection and produce inconsistent results. Opus handles all 150+ tools without hesitation.
641
- - Python 3, Homebrew, and Claude Code are installed automatically if missing.
649
+ - **Claude Code is the primary recommended client.** It remains the most mature NEXO path: native hooks, the most battle-tested automation contract, and the clearest parity with historical production behavior.
650
+ - **Recommended profiles:** Claude Code + `Opus latest`; Codex + `gpt-5.4` with `xhigh` reasoning if you prefer Codex as your terminal or automation backend.
651
+ - Python 3, Homebrew, and the selected required client/backend can be installed automatically when NEXO has a supported installer path for that dependency.
642
652
 
643
653
  ## Architecture
644
654
 
@@ -738,13 +748,13 @@ NEXO Brain isn't just engineering — it's applied cognitive psychology:
738
748
 
739
749
  ### Claude Code (Primary)
740
750
 
741
- NEXO Brain is designed as an MCP server. Claude Code is the primary supported client:
751
+ NEXO Brain is designed as an MCP server. Claude Code remains the primary recommended client and the most complete integration path:
742
752
 
743
753
  ```bash
744
754
  npx nexo-brain
745
755
  ```
746
756
 
747
- All 150+ tools are available immediately after installation. The installer configures Claude Code's `~/.claude/settings.json` automatically.
757
+ All 150+ tools are available immediately after installation. The installer configures Claude Code's `~/.claude/settings.json` automatically. The recommended Claude profile is `Opus latest`.
748
758
 
749
759
  ### Claude Desktop
750
760
 
@@ -752,7 +762,7 @@ When Claude Desktop is installed, `nexo-brain`, `nexo update`, and `nexo clients
752
762
 
753
763
  ### Codex
754
764
 
755
- When Codex CLI is available, `nexo-brain`, `nexo update`, and `nexo clients sync` register the same `nexo` MCP server via `codex mcp add`, so Codex uses the same local memory store as Claude Code and Claude Desktop.
765
+ When Codex CLI is available, `nexo-brain`, `nexo update`, and `nexo clients sync` register the same `nexo` MCP server via `codex mcp add`, so Codex uses the same local memory store as Claude Code and Claude Desktop. If selected during install, `nexo chat` can open Codex directly and background automation can also run through Codex. The current recommended Codex profile is `gpt-5.4` with `xhigh` reasoning.
756
766
 
757
767
  ### OpenClaw
758
768
 
@@ -865,7 +875,7 @@ If NEXO Brain is useful to you, consider:
865
875
  - **Personal scripts registry**: Scripts in `NEXO_HOME/scripts/` tracked in SQLite with metadata, categories, schedules. Full lifecycle: create, sync, reconcile, schedule, unschedule, remove.
866
876
  - **Orchestrator removed from core** (breaking): Was opt-in personal automation adding complexity for all users. Existing users keep their setup in `NEXO_HOME/scripts/`.
867
877
  - **Claude Code plugin structure**: `plugin.json`, entry point, packaging for marketplace submission.
868
- - **`nexo chat`**: Official command to launch Claude Code with NEXO as operator.
878
+ - **`nexo chat`**: Official command to launch the configured terminal client with NEXO as operator.
869
879
  - **Managed Evolution hardening**: Can modify core behavior modules with rollback followups.
870
880
  - Cron recovery hardened: TCC diagnostics, keepalive sync, personal schedule catchup.
871
881