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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user