From c366d3ec472937b5e0f5dc77d9b770d185e9f5a5 Mon Sep 17 00:00:00 2001 From: dtzp555 Date: Thu, 19 Mar 2026 09:23:42 +1000 Subject: [PATCH] fix: correct agents.list path in openclaw.json detection Co-Authored-By: Claude Sonnet 4.6 --- openclaw.plugin.json | 2 +- scripts/post-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openclaw.plugin.json b/openclaw.plugin.json index 4ecf9b7..150d8d9 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -2,7 +2,7 @@ "id": "memory-continuity", "name": "Memory Continuity", "description": "Preserves working state across /new, reset, compaction, and gateway restarts via a simple markdown checkpoint file.", - "version": "2.4.0", + "version": "2.4.1", "source": "https://github.com/dtzp555-max/memory-continuity", "configSchema": { "type": "object", diff --git a/scripts/post-install.sh b/scripts/post-install.sh index b6aa9a4..d407a6a 100755 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -111,9 +111,9 @@ openclaw_dir = sys.argv[2] with open(config_file) as f: data = json.load(f) -default_ws = data.get('defaults', {}).get('workspace', os.path.join(openclaw_dir, 'workspace', 'main')) +default_ws = data.get('agents', {}).get('defaults', {}).get('workspace', os.path.join(openclaw_dir, 'workspace', 'main')) -agents = data.get('list', []) +agents = data.get('agents', {}).get('list', []) seen = set() idx = 1