Files
SecScore/.copying/hosting/index.ts
T
Yukino_fox 18eada8ff3 feat: 实现依赖注入系统、插件架构和窗口管理
- 引入ExamAware的DI系统并适配SecScore项目
- 添加服务注册表和窗口管理器
- 实现基于Koishi的Disposable设计的插件系统
- 集成Winston日志服务
- 分离设置窗口为独立页面
- 将非核心功能改为内置插件
- 更新README文件
- 添加相关hooks和工具函数
2026-04-26 19:39:56 +08:00

31 lines
670 B
TypeScript

export {
ExamAwareHostBuilder,
PluginHost,
createPluginHostBuilder,
Host,
defineExamAwarePlugin,
} from "./hostBuilder"
export { ServiceCollection, ServiceProvider } from "./serviceCollection"
export {
PluginContextToken,
PluginLoggerToken,
PluginSettingsToken,
DesktopApiToken,
HostApplicationLifetimeToken,
} from "./tokens"
export type {
PluginRuntimeContext,
PluginLogger,
PluginSettingsAPI,
ServiceAPI,
HostedService,
PluginMiddleware,
HostBuilderSettings,
HostBuilderContext,
PluginHostApplicationLifetime,
ConfigureServicesDelegate,
ConfigureHostDelegate,
PluginHostApplicationContext,
ServiceToken,
} from "./types"