21 Commits
Author SHA1 Message Date
faumaray a6555d4c69 Enforce signed licenses and seamless track handoff
Independent component release / publish (push) Failing after 11s
2026-08-02 01:47:23 +03:00
faumaray c2ec314eb9 Reject incompatible managed plugins before activation
Independent component release / publish (push) Failing after 8s
2026-08-01 18:00:04 +03:00
faumaray d456257d0c Support CMake 4.0 SQLite target 2026-07-29 23:31:30 +03:00
faumaray 29c7e60733 Export stable C ABI and add component releases 2026-07-29 22:40:35 +03:00
faumaray b08f8ad29b Core: publish reloadable module descriptor 2026-07-28 23:32:32 +03:00
faumaray 915e2ab981 Core: build independently at 2.0.0 2026-07-28 23:18:08 +03:00
faumaray 9637f1eef7 Core: add configurable startup log rotation 2026-07-28 21:10:09 +03:00
faumaray 7975f2b38e update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-25 23:44:42 +03:00
faumaray 9f06af6c80 Update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-16 19:59:45 +03:00
faumaray 39aff68d8d Update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-15 19:49:57 +03:00
faumaray 01362d2e51 Update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-12 02:56:29 +03:00
faumaray 5c036d91fb making WEB
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-11 00:45:17 +03:00
faumaray d146f11f02 Release 1.0.0
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-04 01:49:28 +03:00
faumarayandClaude Opus 4.8 aedd3e1692 Expose Core as a Void::Plugin (C ABI + v2 state), additive
Add a CorePlugin adapter (IS-A Void::Plugin::IPlugin and IS-A Core, hence
Api::ICoreInterface) and export the void_plugin_* C ABI from Export.cpp:
create/destroy/info plus the v2 state protocol (serialize/deserialize routed
through Core's already-Void::Json prepareForHotReload/restoreAfterHotReload).
The host recovers the bot interface by dynamic_cast-ing the IPlugin* back to
ICoreInterface*.

Additive: the legacy CreateCore/DestroyCore exports stay, so the current
dylib CoreLoader keeps working while the host migrates to
Void::Plugin::PluginManager. Verified via a dlopen smoke test (symbols
resolve; info/version correct; create/serialize/deserialize/destroy safe on
an uninitialized Core). The live hot-reload + state-survival test under
TeamSpeak is the remaining gate for the host-side loader swap. Link
Void::Plugin.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 21:40:42 +03:00
faumarayandClaude Opus 4.8 32fbffa171 Introduce a service registry as Core's composition root
Add Void::Service::ServiceRegistry to Core. initialize() now registers every
service by interface — ILogger, ConfigManager, EventBus, INetworkClient,
Database, MusicManager, RpcServer — so code can resolve them via
Core::services().require<I>() instead of reaching for global singletons. The
three former singletons (logger/config/event bus) are wrapped in non-owning
aliasing shared_ptrs and remain valid behind the ECHOION_LOG_*/PUBLISH/
SUBSCRIBE macros; the registry just makes them discoverable as services.

This establishes the DI backbone; migrating individual call sites to
registry resolution is intentionally incremental. Requires the VoidLibrary
fix allowing non-polymorphic service types in provide<I>. Link Void::Service.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 17:00:31 +03:00
faumarayandClaude Opus 4.8 9ff27483ab Own the database connection via Void::Sqlite
DatabaseImpl now holds a Void::Sqlite::Database (RAII open/close, WAL +
busy-timeout + foreign_keys); the existing raw-sqlite3 query methods borrow
its handle() unchanged. Removes the manual sqlite3_open/close + journal-mode
boilerplate.

Deliberately keeps echoion's schema_migrations migration framework rather
than switching to Void's PRAGMA user_version Migrator: existing databases
record versions in schema_migrations with user_version=0, and migrations
2/3 DROP tables — re-running them would destroy live data. Verified with an
integration test (data survives close+reopen; migrate() stays idempotent).

Link Void::Sqlite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 16:40:55 +03:00
faumarayandClaude Opus 4.8 914eb0a232 Rewrite NetworkClient as a Void::Net::HttpClient adapter
Replace the ~700-line hand-rolled HTTP stack (Boost.Beast/Asio client,
URL parsing, HTTP-CONNECT + SOCKS5 proxy handshakes, a bespoke 4-thread
packaged_task pool) with a thin adapter over Void::Net::HttpClient that
still implements Api::INetworkClient. Translates Api::HttpRequest/Response/
ProxyConfig <-> Void::Net types; retry/backoff stays on Void::Retry; async
methods use std::async. Link Void::Net.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 16:35:11 +03:00
faumarayandClaude Opus 4.8 00759450ff Swap hand-rolled utils for Void primitives
Replace bespoke implementations with the new universal Void utilities:
- YouTubeClient: urlEncode -> Void::Encoding::Url::encode; ~140-line
  decodeHtmlEntities -> Void::Text::html_unescape; parseIso8601Duration ->
  Void::Time::parse_iso8601_interval.
- StateSerializer: getCurrentTimestampISO8601 -> Void::Time::utc_now_iso8601.
- Database: generateRpcToken's rand() loop -> Void::Random::random_string
  (seeded from std::random_device).
Link Void::Text / Void::Time / Void::Math.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 16:32:08 +03:00
faumaray 2bdb63766d Migrate core infrastructure to VoidLibrary 2026-06-22 15:53:23 +03:00
faumaray 53801f2b53 many different fixes 2026-02-03 05:07:15 +03:00
faumaray a583c17916 Initial commit 2026-02-01 23:04:49 +03:00