feat(dashboard): Mini Remote drawer on the RynthAi dashboard #4

Closed
Silentkelpie wants to merge 8 commits from Silentkelpie/SK-RynthCore:feat/mini-remote-drawer into main
First-time contributor

Adds a Mini Remote drawer to the RynthAi dashboard, next to Ranges / Files / Patrols. The whole Mini Remote (toggles, sections and its options) is drawn inside the drawer.

Stacked on #2 (sk/features-on-rynth-main). It needs the plugin overlay plumbing and the Char/Hub launchers from #2. Until #2 merges, this diff also shows #2's commits; the change itself is the last commit (2ef0d43).

How it works

  • New optional plugin export int RynthPluginRenderEmbed(const char* surface, float w, float h, float* wantW, float* wantH), which is resolved by PluginLoader and documented in PluginContract.cs.
  • PluginManager.RenderEmbed calls it on the render thread, inside the drawer's child window. If it throws, the pointer is cleared and logged, so the drawer degrades to a message instead of crashing.
  • RemoteDrawer sizes itself from the size the plugin reports, clamped to the screen. Its open/closed state persists in the dashboard state cache (new line 11, remote|noremote).
  • Right-click on the Hub launcher toggles the drawer. When the dashboard is popped out (no drawers), it shows the floating Mini Remote instead.
  • Older plugins without the export get a short "needs a newer RynthAi" note in the drawer.

Companion plugin PR: rynth/RynthSuite (feat/mini-remote-drawer).
Build: dotnet build -c Release (engine) is clean.

Adds a **Mini Remote** drawer to the RynthAi dashboard, next to Ranges / Files / Patrols. The whole Mini Remote (toggles, sections and its options) is drawn inside the drawer. **Stacked on #2** (`sk/features-on-rynth-main`). It needs the plugin overlay plumbing and the Char/Hub launchers from #2. Until #2 merges, this diff also shows #2's commits; the change itself is the last commit (`2ef0d43`). ### How it works - New optional plugin export `int RynthPluginRenderEmbed(const char* surface, float w, float h, float* wantW, float* wantH)`, which is resolved by `PluginLoader` and documented in `PluginContract.cs`. - `PluginManager.RenderEmbed` calls it on the render thread, inside the drawer's child window. If it throws, the pointer is cleared and logged, so the drawer degrades to a message instead of crashing. - `RemoteDrawer` sizes itself from the size the plugin reports, clamped to the screen. Its open/closed state persists in the dashboard state cache (new line 11, `remote|noremote`). - Right-click on the Hub launcher toggles the drawer. When the dashboard is popped out (no drawers), it shows the floating Mini Remote instead. - Older plugins without the export get a short "needs a newer RynthAi" note in the drawer. Companion plugin PR: rynth/RynthSuite (feat/mini-remote-drawer). Build: `dotnet build -c Release` (engine) is clean.
- RynthInstallPaths: logs, AcClient, RynthSuite data and imgui.ini resolve
  from the installer-chosen folders instead of hard-coded C:\Games paths
  (engine, injector, loader, launcher, StatusAgent).
- Logging levels: engine.json "LoggingLevel" plus per-category levels
  (LogSettings), edited live from the launcher's Logging tab; RynthLog
  category methods write through them. Errors are always written.
- RynthCore.DesktopLog: shared rolling log + .NET desktop prerequisite check
  for the launcher and agents.
- Item drag bridge: an AC inventory item dragged onto an ImGui window is
  handed to the window instead of dropping on the ground (DragDropHooks,
  ItemDragBridge, Win32Backend input routing); ImGui gets the mouse over
  Avalonia panels while it wants it.

No plugin API changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
- 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>
- Nav (ImGui + Avalonia): multi-select points, move/duplicate/delete, set
  active, reverse, snap to path, pauses, portals, simplify, breadcrumb
  recording and "Route from Trail"; edit status from the plugin's nav JSON.
- Skills: progression sections (XP calculator, augmentations,
  enlightenment) from the optional RynthPluginGetProgressionJson export.
- Charms tracking source (optional RynthPluginGetCharmsJson export).
- Chat filters: rule presets and a match tester; Settings: plugin-driven
  sections and crafting status rows.
- Inventory, RynthAi face and dungeon map layout fixes.

The new sources are optional plugin exports looked up by name: an older
plugin simply leaves those sections empty. No host API slots are used.

Co-authored-by: Cursor <cursoragent@cursor.com>
Skills panel > Progression gains an "Attribute raiser (infinite attributes)"
section for RynthAi's new IltAttributeRaiser: unassigned XP, Raise now / Stop /
Refresh costs, auto-raise every N minutes, raise-order mode (priority, round
robin, cheapest), an XP reserve, and a row per attribute/vital with a tick
(what may be spent on), the client's base value, the server's next-level cost,
up/down order arrows and +1 / +10. Edits go back as "prog attr..." commands.
An older RynthAi (no "attr" in the snapshot) shows "Update RynthAi".

Settings > Misc gains "Server Features (ILT / infinite attributes)": a status
line, the server-name list (comma separated, * wildcard) and a manual override.
To carry the list, the settings schema gets two row kinds, Text (commits on
Enter or focus loss) and Status (read-only line), drawn by both the ImGui and
the Avalonia faces. RynthAi lays a save over its current values, so an older
RynthAi just ignores the new fields.

Pairs with the RynthAi half in rynth/RynthSuite PR #2 (IltAttributeRaiser, ServerFeatureGate).

Co-authored-by: Cursor <cursoragent@cursor.com>
A fourth left-edge drawer holds RynthAi's whole Mini Remote (rates, target
and summon bars, item slots, toggles, bank, rebuff, Translate, Guardian)
with its Options menu. Right-click Hub opens it, as right-click Patrol opens
the Patrol drawer; popped out it shows the floating Mini Remote.

New optional plugin export RynthPluginRenderEmbed: the plugin draws a named
surface into the engine's current ImGui window on the render thread and
reports the size it wants. No RynthCoreAPI change. Pairs with RynthAi 0.5.27.

Co-authored-by: Cursor <cursoragent@cursor.com>
Resolves the conflicts that kept PR #2 from merging. Where rynth/main
already ships the same feature, its version wins: the shared read-only
RynthInstallPaths, chat match modes and standard filters, ItemInfoOnSelect
and merge-on-save for engine.json. The installer plugin hand-off moves to a
launcher-only InstallerHandoff helper; LoggingLevel stays launcher-owned.

See Changelog/2026-10-08-merge-rynth-main-into-pr2.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
rynth/main's /ra iteminfo replaces PR #2's Mag-Tools item info in RynthSuite,
so the button's 'iteminfo window' remote command no longer exists.

Co-authored-by: Cursor <cursoragent@cursor.com>
Author
First-time contributor

Closing. Superseded: the Mini Remote drawer was replaced by the Mini Remote hosted in the engine window. Anything still wanted comes back on the standing sk PR, rebased on main 2026.10.11.1.

Closing. Superseded: the Mini Remote drawer was replaced by the Mini Remote hosted in the engine window. Anything still wanted comes back on the standing `sk` PR, rebased on main 2026.10.11.1.
Silentkelpie closed this pull request 2026-10-12 00:19:33 -04:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rynth/RynthCore!4
No description provided.