fix: install.sh venv-Fallback + Post-Deployment-Verifikation + --fresh-onboarding, Raumübersicht mit Keywords 100% + Kontext

This commit is contained in:
Bernd (Hermes)
2026-07-22 15:39:08 +02:00
parent 1dc9e7a95f
commit 42e714827f
4 changed files with 292 additions and 16 deletions
+15 -1
View File
@@ -18,7 +18,21 @@ import urllib.request
from typing import Any, Dict, List, Optional
import urllib.parse
from tools.registry import tool_error, tool_result
# Inlined from tools.registry — avoids import conflict with the plugin's
# own tools.py module (which shadows the core tools/ package when the
# plugin directory is on sys.path).
def tool_error(message, **extra) -> str:
result = {"error": str(message)}
if extra:
result.update(extra)
return json.dumps(result, ensure_ascii=False)
def tool_result(data=None, **kwargs) -> str:
if data is not None:
return json.dumps(data, ensure_ascii=False)
return json.dumps(kwargs, ensure_ascii=False)
logger = logging.getLogger(__name__)