Skip to content

feat(desktop): default to local mode on first-run setup - #65

Merged
Luhaozhu merged 1 commit into
mainfrom
feat/desktop-default-local-mode
Aug 5, 2026
Merged

feat(desktop): default to local mode on first-run setup#65
Luhaozhu merged 1 commit into
mainfrom
feat/desktop-default-local-mode

Conversation

@Luhaozhu

@Luhaozhu Luhaozhu commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • On a fresh install (no server.json yet), the first-run mode picker now pre-selects Local mode instead of Cloud. The desktop bundle ships the local server payload, so local works out of the box.
  • Thin bundles (HUGAGENT_DESKTOP_BUNDLE=thin) and platforms without local-server support still pre-select Cloud.
  • Existing configurations (explicit choice or legacy deployment_mode) keep their inferred pre-selection unchanged, so upgrades are unaffected.
  • Bumps desktop version to 0.2.15 for the next release.

Testing

  • cargo check and cargo test --lib pass (39 tests).

On a fresh install (no server.json yet) the first-run mode picker now
pre-selects Local mode instead of Cloud — the desktop bundle ships the
local server payload, so local works out of the box. Thin bundles and
platforms without local-server support still pre-select Cloud, and any
existing configuration keeps its inferred mode unchanged.

Also bump desktop version to 0.2.15 for the next release.
@Luhaozhu
Luhaozhu merged commit 4dbab71 into main Aug 5, 2026
5 checks passed
@Luhaozhu
Luhaozhu deleted the feat/desktop-default-local-mode branch August 5, 2026 05:13
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