chore(release): 0.6.0 #14

Merged
pufereq merged 33 commits from release/0.6.0 into main 2026-03-05 19:59:05 +00:00
14 changed files with 331 additions and 100 deletions
Showing only changes of commit efbf99f356 - Show all commits

View File

@@ -49,9 +49,9 @@ class BackendServer:
)
self.clients: dict[str, Client] = {}
self.known_clients: dict[str, dict[str, str | float]] = (
self._load_known_clients()
)
self.known_clients: dict[str, dict[str, str | float]] = {}
self.known_clients = self._load_known_clients()
self.message_handlers: dict[
tuple[Category, ActionType], Callable[[Client, Message], None]
@@ -114,8 +114,7 @@ class BackendServer:
self.logger.warning(
"known_clients.yaml not found, creating empty known clients list"
)
with open("config/known_clients.yaml", "w") as f:
yaml.safe_dump({"known_clients": {}}, f)
self._save_known_clients()
except Exception as e:
self.logger.error(f"Error loading known clients: {e}")
raise