feat(FN-2613): merge fusion/fn-2613 (auto-resolved)

- fix(FN-2613): restore green CI after static engine import changes
- test(FN-2613): complete Step 3 — update mobile and standalone CSS assertions
- feat(FN-2613): complete Step 2 — move standalone token override to global styles
This commit is contained in:
Fusion
2026-04-26 15:53:50 -07:00
committed by gsxdsm
parent 45f6b0d458
commit c4f45abcb6
3 changed files with 55 additions and 5 deletions

View File

@@ -22,10 +22,16 @@ export { createFnAgent, promptWithFallback, describeModel, setHostExtensionPaths
// Register createFnAgent into core's loader so consumers in @fusion/core
// (e.g. ai-summarize, memory-compaction) can resolve it without a circular
// static import. Runs once at engine module load.
import * as core from "@fusion/core";
import * as fusionCore from "@fusion/core";
import { createFnAgent as _createFnAgentForCore } from "./pi.js";
if ("setCreateFnAgent" in core) {
core.setCreateFnAgent?.(_createFnAgentForCore);
const fusionCoreExports = fusionCore as Record<string, unknown>;
if (
"setCreateFnAgent" in fusionCoreExports &&
typeof fusionCoreExports["setCreateFnAgent"] === "function"
) {
(fusionCoreExports["setCreateFnAgent"] as (factory: typeof _createFnAgentForCore) => void)(
_createFnAgentForCore
);
}
export {
resolveSessionSkills,