feat(engine): plugin overlay windows and create-time identity seeds
- Plugin overlay windows: with the ImGui shell off, a plugin may export RynthPluginRenderOverlay to draw its own ImGui windows (RynthAi: ILT Hub, Item Info, HUDs) beside the Avalonia UI. engine.json "EnablePluginOverlayWindows" (default on) turns them off. A throw switches off only that plugin's overlay; the plugin keeps running. The ImGui frame is submitted after the Avalonia quad so these windows sit on top. - Create-time identity seeds: names and ITEM_TYPE are captured from the PublicWeenieDesc passed to CreateObject, so off-thread readers have them before the first identity snapshot (~10 s after login). Off-thread raw PWD reads are served from the PWD snapshot. - Hot reload: LoadedPlugin.ClearResolvedDelegates drops export delegates so the module can unload. RynthPluginRenderOverlay is an optional export, not a host API slot; the plugin contract version is unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
9709a39e63
commit
4be686e964
11 changed files with 601 additions and 23 deletions
|
|
@ -160,6 +160,7 @@ internal static class EngineLifecycle
|
|||
// tick pump and plugins go away — both otherwise keep firing in the old
|
||||
// generation's (intentionally still-mapped) module across hot-reloads.
|
||||
Step("ChatFileDispatcher.Stop", () => Compatibility.ChatFileDispatcher.Stop());
|
||||
Step("LogSettings.StopWatcher", () => LogSettings.StopWatcher());
|
||||
Step("AutoIdService.Stop", () => Compatibility.AutoIdService.Stop());
|
||||
|
||||
// Stop the headless tick pump BEFORE plugin shutdown / FreeLibrary.
|
||||
|
|
|
|||
Loading…
Reference in a new issue