mirror of
https://github.com/FluxaMedia/fluxa-core.git
synced 2026-08-07 17:19:53 +00:00
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. |
||
|---|---|---|
| .. | ||
| wire | ||