fix: correct openclaw.json key paths in verify.sh --all-agents

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 10:52:39 +10:00
co-authored by Claude Sonnet 4.6
parent 719723225d
commit 2184442bc2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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.6.0",
"version": "2.6.1",
"source": "https://github.com/dtzp555-max/memory-continuity",
"configSchema": {
"type": "object",
+2 -2
View File
@@ -107,9 +107,9 @@ config_file = sys.argv[1]
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'))
seen = set()
for agent in data.get('list', []):
for agent in data.get('agents', {}).get('list', []):
agent_id = agent.get('id', '')
if not agent_id or agent_id in seen:
continue