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