Commit Graph
6 Commits
Author SHA1 Message Date
faumarayandClaude Opus 4.8 23759899bb Use Api::fail() for error returns (241 sites)
Mechanically convert std::unexpected(Api::Error(ErrorCode::X, msg[, src]))
to Api::fail(ErrorCode::X, msg[, src]) across Core. Pure syntax; forwards of
existing errors (std::unexpected(x.error())) are unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 22:07:18 +03:00
faumarayandClaude Opus 4.8 f8757d6040 Inline 4 trivial Void delegation shims
Remove YouTubeClient::urlEncode/decodeHtmlEntities/parseIso8601Duration and
StateSerializer::getCurrentTimestampISO8601 — each just forwarded to one Void
call — and have the ~12 call sites call Void directly
(Void::Encoding::Url::encode, Void::Text::html_unescape,
Void::Time::parse_iso8601_interval(...).value_or(0), Void::Time::utc_now_iso8601).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 22:04:43 +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