fix(skills): point HOME_DIR to real home directory and fix Hermes database path

This commit is contained in:
2026-06-26 21:17:43 +09:00
parent b47fcbda9b
commit e14ee90243
2 changed files with 5 additions and 5 deletions
@@ -286,11 +286,11 @@ if purge and purge_uuid:
print(f"purged: {brain}", flush=True)
target['agy_conversation_id_own'] = None
elif agent == 'hermes':
json_file = f"{home}/.mam/sessions/session_{purge_uuid}.json"
json_file = f"{home}/.hermes/sessions/session_{purge_uuid}.json"
if os.path.exists(json_file):
os.remove(json_file)
print(f"purged: {json_file}", flush=True)
hdb = f"{home}/.mam/state.db"
hdb = f"{home}/.hermes/state.db"
if os.path.exists(hdb):
try:
import sqlite3