Skip to content

feat(settings): add desktop API endpoint configuration - #243

Closed
JnyRoad wants to merge 4 commits into
OpenBMB:mainfrom
JnyRoad:feat/desktop-api-endpoint-settings-pr236
Closed

JnyRoad wants to merge 4 commits into
OpenBMB:mainfrom
JnyRoad:feat/desktop-api-endpoint-settings-pr236

Conversation

@JnyRoad

@JnyRoad JnyRoad commented Aug 30, 2026

Copy link
Copy Markdown

Summary

Adds a desktop Network and API settings card that shows the active same-machine API Base URL and saves validated next-launch listener settings without exposing account API keys.

Features

  • Adds administrator-only APIs to read and save network listener settings.
  • Supports local, LAN, and externally published next-launch modes with validated listener ports and public origins.
  • Shows the API Base URL currently used by the desktop service and provides an explicit copy action.
  • Persists next-launch choices separately from the running listener; port and access-scope changes take effect only after a full desktop restart.
  • Keeps browser-runtime display and listener configuration paired so the shown endpoint matches the active runtime.

Implementation

  • Adds the runtime network configuration module and packages it with the desktop backend.
  • Updates the runtime settings UI, type contract, desktop launcher, backend documentation, and focused regression coverage.

Validation

  • Python: 57 targeted network, launcher, and API-setting tests passed.
  • Frontend: RuntimeSettingsPage tests passed.
  • Frontend production build passed.

@JnyRoad JnyRoad closed this by deleting the head repository Sep 2, 2026
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.

1 participant