fluxa-core/src
KhooLy 90d13d9983 Consolidate addon resource parse+plan into a single core call
Extracts parse_addon_body (returns a ParsedAddonBody enum instead of
always serializing to a JSON string) so the existing three-hop path
(parseAddonResourceResult -> wrapAddonResourceResponse ->
resourceParsePlan, still used by subtitles.ts) and the new single-call
parseAndPlanAddonResource share the same parsing logic instead of
duplicating error-envelope construction.

Removes the now-redundant wrapAddonResourceResponse FFI method. Tests
assert the combined call produces byte-identical output to the old
three-step pipeline.

Pairs with fluxa-desktop's matching addonManifest.ts/fetchPlanning.ts
change.
2026-07-09 21:29:29 +03:00
..
bindings feat: parse fallback/source-selection mode strings into enums at the boundary 2026-07-07 15:04:13 +03:00
headless_engine chore: format Rust sources 2026-07-08 15:04:56 +03:00
runtime feat: update desktop core API support 2026-07-03 16:05:52 +03:00
types feat(types): add typed Profile wire struct, harden MetaItem/Stream for reuse 2026-07-07 14:55:30 +03:00
addon_protocol.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
addon_resource.rs Consolidate addon resource parse+plan into a single core call 2026-07-09 21:29:29 +03:00
addon_store.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
anime_detection.rs chore(ci): add GitHub Actions workflow and clippy lint policy 2026-07-07 14:22:15 +03:00
app_state.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
calendar_plan.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
cast_protocol.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
constants.rs feat: companion server, FFI cleanup, and pre-release hardening 2026-06-17 20:01:42 +03:00
content_identity.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
core_api.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
core_contract.rs Initial commit 2026-06-09 14:24:41 +03:00
core_error.rs feat(core-error): add CoreError + host-pollable log sink, harden effect completion status 2026-07-07 14:35:49 +03:00
data_policy.rs Initial commit 2026-06-09 14:24:41 +03:00
discovery_plan.rs Initial commit 2026-06-09 14:24:41 +03:00
dolby_vision_rpu.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
env.rs Initial commit 2026-06-09 14:24:41 +03:00
external_sync.rs chore: format Rust sources 2026-07-07 22:46:39 +03:00
ffi.rs Consolidate addon resource parse+plan into a single core call 2026-07-09 21:29:29 +03:00
headless_adapter_plan.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
home_ranking.rs fix(search-plan): JSON-encode transport-url/genre FFI returns 2026-07-07 13:58:18 +03:00
intro_segments.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
lib.rs perf(headless-engine): replace clone-and-diff dispatch with dirty tracking 2026-07-07 14:46:52 +03:00
library_state.rs Treat blank episode thumbnail as missing when caching continue-watching art 2026-07-08 13:57:59 +03:00
log_sink.rs feat(core-error): add CoreError + host-pollable log sink, harden effect completion status 2026-07-07 14:35:49 +03:00
offline_download.rs Initial commit 2026-06-09 14:24:41 +03:00
platform_plan.rs Consolidate addon resource parse+plan into a single core call 2026-07-09 21:29:29 +03:00
player_flow.rs feat: parse fallback/source-selection mode strings into enums at the boundary 2026-07-07 15:04:13 +03:00
player_policy.rs chore: format Rust sources 2026-07-07 22:46:39 +03:00
player_scrobble.rs feat: parse scrobble action and auth provider strings into enums at the boundary 2026-07-07 16:01:23 +03:00
profile_contract.rs feat: parse scrobble action and auth provider strings into enums at the boundary 2026-07-07 16:01:23 +03:00
profile_prefs.rs feat: update desktop core API support 2026-07-03 16:05:52 +03:00
repository_flow.rs Initial commit 2026-06-09 14:24:41 +03:00
search_plan.rs fix(search-plan): JSON-encode transport-url/genre FFI returns 2026-07-07 13:58:18 +03:00
stream_policy.rs feat: parse fallback/source-selection mode strings into enums at the boundary 2026-07-07 15:04:13 +03:00
tmdb_plan.rs chore(ci): add GitHub Actions workflow and clippy lint policy 2026-07-07 14:22:15 +03:00
watchlist_plan.rs perf: cache/statics for regex compilation in stream ranking hot paths 2026-07-07 14:49:49 +03:00