nexo-brain 2.6.0 → 2.6.1
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/package.json +1 -1
- package/src/crons/sync.py +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexo-brain",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"mcpName": "io.github.wazionapps/nexo",
|
|
5
5
|
"description": "NEXO — Cognitive co-operator for Claude Code. Memory, emotional intelligence, overnight learning (Deep Sleep), personal scripts registry, cron management, trust scoring, managed evolution, and adaptive calibration.",
|
|
6
6
|
"bin": {
|
package/src/crons/sync.py
CHANGED
|
@@ -370,7 +370,7 @@ def sync_linux(dry_run: bool = False):
|
|
|
370
370
|
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
|
371
371
|
|
|
372
372
|
manifest_crons = load_manifest()
|
|
373
|
-
wrapper_src =
|
|
373
|
+
wrapper_src = SOURCE_ROOT / "scripts" / "nexo-cron-wrapper.sh"
|
|
374
374
|
wrapper_dest = _copy_script_to_nexo_home(wrapper_src)
|
|
375
375
|
|
|
376
376
|
log(f"Manifest: {len(manifest_crons)} core crons")
|
|
@@ -383,13 +383,13 @@ def sync_linux(dry_run: bool = False):
|
|
|
383
383
|
|
|
384
384
|
for cron in manifest_crons:
|
|
385
385
|
cron_id = cron["id"]
|
|
386
|
-
script_src =
|
|
386
|
+
script_src = SOURCE_ROOT / cron["script"]
|
|
387
387
|
script_dest = _copy_script_to_nexo_home(script_src)
|
|
388
388
|
script_type = cron.get("type", "python")
|
|
389
389
|
|
|
390
390
|
# Copy subdirectories
|
|
391
391
|
subdir_name = script_src.stem.replace("nexo-", "")
|
|
392
|
-
subdir_src =
|
|
392
|
+
subdir_src = SOURCE_ROOT / "scripts" / subdir_name
|
|
393
393
|
if subdir_src.is_dir():
|
|
394
394
|
_copy_script_to_nexo_home(subdir_src)
|
|
395
395
|
|
|
@@ -411,7 +411,7 @@ Description=NEXO: {cron.get('description', cron_id)}
|
|
|
411
411
|
Type=oneshot
|
|
412
412
|
ExecStart={exec_cmd}
|
|
413
413
|
Environment=NEXO_HOME={NEXO_HOME}
|
|
414
|
-
Environment=NEXO_CODE={
|
|
414
|
+
Environment=NEXO_CODE={SOURCE_ROOT}
|
|
415
415
|
Environment=HOME={Path.home()}
|
|
416
416
|
StandardOutput=append:{stdout_log}
|
|
417
417
|
StandardError=append:{stderr_log}
|