nexo-brain 2.6.10 → 2.6.12
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.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +19 -11
- package/bin/nexo-brain.js +525 -95
- package/package.json +4 -1
- package/src/agent_runner.py +322 -0
- package/src/auto_update.py +67 -5
- package/src/cli.py +197 -48
- package/src/client_preferences.py +394 -0
- package/src/client_sync.py +78 -0
- package/src/cron_recovery.py +8 -1
- package/src/crons/manifest.json +6 -0
- package/src/crons/sync.py +14 -1
- package/src/doctor/providers/runtime.py +109 -1
- package/src/plugins/update.py +5 -1
- package/src/runtime_power.py +23 -0
- package/src/scripts/check-context.py +102 -100
- package/src/scripts/deep-sleep/extract.py +29 -54
- package/src/scripts/deep-sleep/synthesize.py +14 -38
- package/src/scripts/nexo-agent-run.py +73 -0
- package/src/scripts/nexo-catchup.py +40 -19
- package/src/scripts/nexo-daily-self-audit.py +17 -14
- package/src/scripts/nexo-evolution-run.py +25 -55
- package/src/scripts/nexo-immune.py +17 -15
- package/src/scripts/nexo-learning-validator.py +90 -58
- package/src/scripts/nexo-postmortem-consolidator.py +15 -14
- package/src/scripts/nexo-sleep.py +20 -14
- package/src/scripts/nexo-synthesis.py +19 -12
- package/src/scripts/nexo-update.sh +28 -2
- package/src/scripts/nexo-watchdog.sh +34 -10
- package/templates/nexo_helper.py +45 -0
- package/templates/plugin-template.py +4 -0
- package/templates/script-template.py +13 -2
- package/templates/skill-script-template.py +8 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexo-brain",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.12",
|
|
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
|
|
457
|
+
NEXO Brain includes a local CLI that runs independently of any single terminal client:
|
|
458
458
|
|
|
459
|
-
- `nexo chat` — launch
|
|
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
|
|
@@ -567,14 +567,20 @@ The installer handles everything and syncs the same `nexo` MCP brain into Claude
|
|
|
567
567
|
After install, use the runtime CLI:
|
|
568
568
|
|
|
569
569
|
```bash
|
|
570
|
-
nexo chat # Launch Claude Code
|
|
570
|
+
nexo chat # Launch the configured terminal client (Claude Code or Codex)
|
|
571
571
|
nexo doctor # Check runtime health
|
|
572
572
|
nexo update # Pull latest version and sync
|
|
573
573
|
nexo clients sync # Re-sync Claude Code/Desktop/Codex to the same brain
|
|
574
574
|
nexo scripts list # See your personal scripts
|
|
575
575
|
```
|
|
576
576
|
|
|
577
|
-
|
|
577
|
+
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.
|
|
578
|
+
|
|
579
|
+
Recommended defaults:
|
|
580
|
+
- Claude Code: `Opus latest`
|
|
581
|
+
- Codex: `gpt-5.4` with `xhigh` reasoning
|
|
582
|
+
|
|
583
|
+
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
584
|
|
|
579
585
|
Your operator will greet you immediately — adapted to the time of day, resuming from where you left off. No cold starts.
|
|
580
586
|
|
|
@@ -598,6 +604,7 @@ Your operator will greet you immediately — adapted to the time of day, resumin
|
|
|
598
604
|
| Auto-update | Non-blocking startup check (5s max), opt-out via schedule.json | Built into server startup |
|
|
599
605
|
| CLAUDE.md tracker | Version-tracked core sections with safe updates preserving customizations | Built into auto-update |
|
|
600
606
|
| Shared client sync | Same `nexo` MCP entry wired into Claude Code, Claude Desktop, and Codex | User config dirs |
|
|
607
|
+
| Client/backend preferences | Selected interactive clients, default terminal client, automation backend, and model/reasoning profiles per client | `NEXO_HOME/config/schedule.json` |
|
|
601
608
|
| Auto-diary | 3-layer system: PostToolUse every 10 calls, PreCompact emergency, heartbeat DIARY_OVERDUE | Built into hooks |
|
|
602
609
|
| Claude Code config | MCP server + 7 hooks + 15 processes registered | ~/.claude/settings.json |
|
|
603
610
|
|
|
@@ -627,7 +634,7 @@ nexo doctor --tier runtime --json # Machine-readable health report
|
|
|
627
634
|
nexo doctor --fix # Apply deterministic repairs
|
|
628
635
|
```
|
|
629
636
|
|
|
630
|
-
Personal scripts live in `NEXO_HOME/scripts/` with inline metadata. See `docs/writing-scripts.md` for details.
|
|
637
|
+
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
638
|
|
|
632
639
|
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
640
|
|
|
@@ -637,8 +644,9 @@ The Doctor system reads existing health artifacts (immune, watchdog, self-audit)
|
|
|
637
644
|
|
|
638
645
|
- **macOS or Linux** (Windows via [WSL](https://learn.microsoft.com/en-us/windows/wsl/install))
|
|
639
646
|
- **Node.js 18+** (for the installer)
|
|
640
|
-
- **Claude
|
|
641
|
-
-
|
|
647
|
+
- **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.
|
|
648
|
+
- **Recommended profiles:** Claude Code + `Opus latest`; Codex + `gpt-5.4` with `xhigh` reasoning if you prefer Codex as your terminal or automation backend.
|
|
649
|
+
- Python 3, Homebrew, and the selected required client/backend can be installed automatically when NEXO has a supported installer path for that dependency.
|
|
642
650
|
|
|
643
651
|
## Architecture
|
|
644
652
|
|
|
@@ -738,13 +746,13 @@ NEXO Brain isn't just engineering — it's applied cognitive psychology:
|
|
|
738
746
|
|
|
739
747
|
### Claude Code (Primary)
|
|
740
748
|
|
|
741
|
-
NEXO Brain is designed as an MCP server. Claude Code
|
|
749
|
+
NEXO Brain is designed as an MCP server. Claude Code remains the primary recommended client and the most complete integration path:
|
|
742
750
|
|
|
743
751
|
```bash
|
|
744
752
|
npx nexo-brain
|
|
745
753
|
```
|
|
746
754
|
|
|
747
|
-
All 150+ tools are available immediately after installation. The installer configures Claude Code's `~/.claude/settings.json` automatically.
|
|
755
|
+
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
756
|
|
|
749
757
|
### Claude Desktop
|
|
750
758
|
|
|
@@ -752,7 +760,7 @@ When Claude Desktop is installed, `nexo-brain`, `nexo update`, and `nexo clients
|
|
|
752
760
|
|
|
753
761
|
### Codex
|
|
754
762
|
|
|
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.
|
|
763
|
+
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
764
|
|
|
757
765
|
### OpenClaw
|
|
758
766
|
|
|
@@ -865,7 +873,7 @@ If NEXO Brain is useful to you, consider:
|
|
|
865
873
|
- **Personal scripts registry**: Scripts in `NEXO_HOME/scripts/` tracked in SQLite with metadata, categories, schedules. Full lifecycle: create, sync, reconcile, schedule, unschedule, remove.
|
|
866
874
|
- **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
875
|
- **Claude Code plugin structure**: `plugin.json`, entry point, packaging for marketplace submission.
|
|
868
|
-
- **`nexo chat`**: Official command to launch
|
|
876
|
+
- **`nexo chat`**: Official command to launch the configured terminal client with NEXO as operator.
|
|
869
877
|
- **Managed Evolution hardening**: Can modify core behavior modules with rollback followups.
|
|
870
878
|
- Cron recovery hardened: TCC diagnostics, keepalive sync, personal schedule catchup.
|
|
871
879
|
|