mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-19 16:31:30 +00:00
Move office and desktop state under plugin storage
Migrate retired /usr/_office and /usr/_desktop trees from plugin startup into /usr/plugins/<plugin>. Update office document storage, desktop session/runtime paths, and context-scoped screenshots to use the plugin-owned state layout. Add focused tests for retired-state migration and the new path behavior.
This commit is contained in:
parent
7b61ceb241
commit
68c3b8b022
15 changed files with 393 additions and 62 deletions
|
|
@ -43,5 +43,7 @@ def _prepare_runtime_safely() -> None:
|
|||
def _log_runtime_preparation_result(result: dict[str, Any]) -> None:
|
||||
if result.get("errors"):
|
||||
PrintStyle.warning("Desktop runtime preparation reported errors:", result["errors"])
|
||||
elif result.get("installed") or result.get("removed"):
|
||||
elif result.get("warnings"):
|
||||
PrintStyle.warning("Desktop runtime preparation reported warnings:", result["warnings"])
|
||||
elif result.get("installed") or result.get("removed") or result.get("migrated"):
|
||||
PrintStyle.info("Desktop runtime prepared:", result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue