Skip to content

fix: align SecAgent plugin host SDK with market build - #269

Merged
lrsgzs merged 5 commits into
SECTL:masterfrom
PANDAJSR:agent/fix-plugin-market-runtime
Aug 18, 2026
Merged

fix: align SecAgent plugin host SDK with market build#269
lrsgzs merged 5 commits into
SECTL:masterfrom
PANDAJSR:agent/fix-plugin-market-runtime

Conversation

@PANDAJSR

Copy link
Copy Markdown
Contributor

变更

  • 将 SecAgent 主机接口与实现纳入同一条插件化改造链,包含 IExternalStudentDrawService
  • 合并桌面端插件市场公钥从输出目录读取的修复。

根因

591c9aa 单独基于旧主线构建时,主程序不包含 #266IExternalStudentDrawService,却加载了按该接口编译的 SecAgent 插件,导致启动阶段 TypeLoadException

验证

  • dotnet restore 使用本机已有 SoundFlow 1.2.1.3 缓存完成。
  • dotnet build SecRandom.Desktop/SecRandom.Desktop.csproj -c Release:0 errors。
  • 使用当前 SDK 重新构建 SecAgent 插件后启动主程序,保持运行 8 秒未崩溃。

@lrsgzs lrsgzs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请做好本分工作,尽量不要引入新的点名实现等。目前只需要移除SecAgent相关内容即可。

Comment thread SecRandom/ViewModels/MainPages/QuickDrawPageViewModel.cs Outdated
Comment thread SecRandom/Services/Plugins/PluginMarketService.cs
Comment thread SecRandom.PluginSdk/IExternalStudentDrawService.cs Outdated
@lrsgzs
lrsgzs merged commit 8f990fd into SECTL:master Aug 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants