Enforce signed licenses and seamless track handoff
Independent component release / publish (push) Failing after 11s

This commit is contained in:
faumaray committed 2026-08-02 01:47:23 +03:00
1 parent c2ec314eb9
commit a6555d4c69
15 files changed
+1367 -98

No files matched your search

+4
View File
@@ -6,6 +6,7 @@
#include "MusicManager.hpp"
#include "NetworkClient.hpp"
#include "RpcServer.hpp"
#include "licensing/LicenseManager.hpp"
#ifdef ECHOION_WITH_WEB
#include "echoion/web/HttpServer.hpp"
#endif
@@ -192,9 +193,12 @@ namespace Echoion::Core
// Guard helper: ok if initialized, else a ServiceUnavailable error.
[[nodiscard]] Api::Result<void> requireInitialized() const noexcept;
// Normal bot operations are denied while licensing is update-only.
[[nodiscard]] Api::Result<void> requireOperational() const noexcept;
// Components
std::shared_ptr<NetworkClient> networkClient_;
std::unique_ptr<Licensing::LicenseManager> licenseManager_;
std::shared_ptr<LyricsService> lyricsService_;
std::shared_ptr<MusicManager> musicManager_;
std::unique_ptr<CommandManager> commandManager_;