File size: 643 Bytes
798bcc6
 
 
 
 
 
 
bcbb712
798bcc6
 
 
1
2
3
4
5
6
7
8
9
10
11
12
// ESM bootstrap for Kimi App
// Import minimal utilities as modules; rely on existing globals for legacy parts
import { KimiProviderUtils } from "./kimi-utils.js";
import KimiLLMManager from "./kimi-llm-manager.js";
import KimiEmotionSystem from "./kimi-emotion-system.js";

// Expose module imports to legacy code paths that still rely on window
// Ensure KimiProviderUtils is available (imported from kimi-utils.js)
window.KimiProviderUtils = window.KimiProviderUtils || KimiProviderUtils;
window.KimiLLMManager = window.KimiLLMManager || KimiLLMManager;
window.KimiEmotionSystem = window.KimiEmotionSystem || KimiEmotionSystem;