Skip to content

feat(desktop): replace --headless with standalone server - #682

Merged
huichen merged 4 commits into
mainfrom
feat/desktop-headless-binary
Sep 17, 2026
Merged

huichen merged 4 commits into
mainfrom
feat/desktop-headless-binary

Conversation

@huichen

@huichen huichen commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add the GUI-free futureos-headless binary, sharing the existing Desktop backend, login/pairing, store and shutdown lifecycle.
  • Remove futureos --headless; the graphical entrypoint rejects old headless flags with migration guidance before startup. The standalone entrypoint starts headless with no arguments.
  • Add make build-desktop-headless, CLI regression coverage, a manual Linux ELF/container verifier, and update English/Chinese guides, remote docs and package notes.
  • No changes to .github/workflows/, as requested. Existing release packages do not yet include the standalone binary; docs explicitly describe source builds.

Validation

  • Pinned Rust 1.97.0: fmt check, all-targets clippy with -D warnings, and complete crate tests for default GUI, --no-default-features, and --no-default-features --features headless.
  • GUI library tests: 1276 passed; GUI-free library tests: 1008 passed per configuration; standalone CLI/lifecycle tests: 8 passed (isolated HOME, no developer Agent).
  • Documentation checks for docs/ and shellcheck passed. Repository-wide docs check has four existing mobile/docs placement violations outside this PR.
  • Linux Docker smoke verifier is provided for manual use, not wired into CI; not executed locally because the Docker daemon is unavailable.

Migration

Use futureos-headless [--no-qr] [--re-pair] instead of futureos --headless .... GUI and headless executables still share data-directory mutual exclusion.

@huichen
huichen enabled auto-merge (squash) September 17, 2026 03:30
@huichen
huichen merged commit a369327 into main Sep 17, 2026
12 checks passed
@huichen
huichen deleted the feat/desktop-headless-binary branch September 17, 2026 03:51
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