Phase 8: TypeScript migration, i18n rewrite, Activity Tree, Projects API, Heartbeats

This commit is contained in:
Rose
2026-04-29 11:50:00 +02:00
parent c705fad626
commit 255914c9f1
43 changed files with 17948 additions and 6899 deletions

View File

@@ -19,8 +19,8 @@ def _get_agent_soul(agent_id: str) -> str | None:
Returns None if not found.
"""
if not agent_id or agent_id == "rose":
return None # Rose uses the global HERMES_HOME/SOUL.md
if not agent_id:
return None
for fname in ("soul.md", "SOUL.md"):
path = HERMES_HOME / "agents" / agent_id / fname
@@ -41,7 +41,7 @@ def _get_agent_memory_context(agent_id: str, query: str, limit: int = 5) -> str
Searches rose_memory collection filtered by topic matching "{agent_id}/".
Returns formatted text block or None if nothing found.
"""
if not agent_id or agent_id == "rose":
if not agent_id:
return None
matches = _search_agent_memory(agent_id, query, limit=limit)