feat: multi-platform service setup (--setup, --service, build scripts, CI)#41
Merged
Conversation
…ep, fix RUSTFOX_HOME path
…nstall path, release.yml, spawn_blocking, numbering)
Replaces the stub at src/setup/wizard.rs with the full implementation migrated from src/bin/setup.rs. The wizard now lives in the rustfox library so the main binary can reuse it via 'rustfox --setup'. Highlights: - Web mode: Axum server serving setup/index.html SPA on port 8719 - CLI mode: terminal-based setup prompts with defaults - OAuth flow: MCP server discovery, PKCE, dynamic client registration, token exchange callback, and token polling endpoint - Shared config parsing/formatting helpers with 14 unit tests - Service installation delegated to setup::service::handle() Tests: cargo test --lib setup::wizard::tests → 14 passed
…rks; add Finish button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Integrates setup wizard into
rustfox --setup, addsrustfox --servicefor background service management across Linux/macOS/Windows, and provides build scripts + CI for release artifacts.CLI
rustfox --setuprustfox --setup --clirustfox --service installrustfox --service removerustfox --service statusrustfox --service start/stopPlatform service support
Build artifacts (GitHub Releases)
.tar.gzfor Linux x86_64.tar.gzfor macOS aarch64 (Apple Silicon).zipfor Windows x86_64.debfor Linux (attached to release)Architecture
src/bin/setup.rs(1163 lines) intosrc/setup/wizard.rs—bin/setup.rsis now a 19-line thin wrappersrc/setup/service.rswith#[cfg(target_os = ...)]gatessrc/setup/mod.rs(manual arg parsing, no new deps)scripts/services/with{{MUSTACHE}}placeholdersVerification
cargo check✅cargo clippy -- -D warnings✅cargo fmt --all -- --check✅cargo test(372 pass) ✅Design doc
Spec:
docs/superpowers/specs/2026-06-12-multi-platform-service-setup-design.mdPlan:
docs/superpowers/plans/2026-06-12-multi-platform-service-setup.md