Repository navigation
Description
Problem
The current v0.2.0 release requires users to download and install multiple separate artifacts:
- The DMG (GUI app only, with daemon as an internal Tauri sidecar)
- The `nodespace` CLI binary separately
- The `nodespaced` daemon binary separately
This is a poor install experience. Users should get everything from a single download.
Goal
One download, everything works — GUI, CLI (`nodespace`), and daemon (`nodespaced`) all available after install.
Proposed Approach
macOS — `.pkg` installer (primary)
- Installs `NodeSpace.app` to `/Applications`
- Installs `nodespace` and `nodespaced` binaries to `/usr/local/bin`
- No symlinks — binaries are installed directly to standard locations
/usr/local/binis inPATHby default on macOS — no PATH modification needed in the postinstall script- Homebrew cask wraps the `.pkg` for `brew install --cask nodespace`
- The Tauri sidecar pattern becomes unnecessary — Tauri finds `nodespaced` on PATH
- Daemon runs as a launchd service (already implemented), persists independently of the GUI
Linux — `.deb` / `.rpm` or tarball
- Installs GUI app + drops `nodespace` and `nodespaced` into `/usr/bin`
- Same outcome as macOS pkg
Windows — `.msi` or NSIS installer
- Installs GUI app + daemon (`nodespaced.exe`) added to `%PATH%`
- CLI deferred until Named Pipe transport is implemented (Add Named Pipe transport to nodespace CLI for Windows support #1452)
Signing & Notarization
The DMG/app is already signed and notarized via CI (Apple Developer credentials in GitHub secrets). The standalone binaries (`nodespaced`, `nodespace`) uploaded as raw release assets are currently not signed — they are bare `cargo build` outputs. This causes Gatekeeper to block them with "cannot be verified" on download.
The `.pkg` must be signed and notarized end-to-end:
- All binaries inside the `.pkg` must be signed with the Developer ID Application certificate before packaging
- The `.pkg` itself must be signed with the Developer ID Installer certificate
- The `.pkg` must be notarized with Apple and stapled before upload to the release
- The same Apple Developer credentials already in CI secrets (`APPLE_CERTIFICATE`, `APPLE_ID`, `APPLE_PASSWORD`, `APPLE_TEAM_ID`) should be reused
Upgrade Path
- Community → Community: installer overwrites `/usr/local/bin/nodespaced` unconditionally
- Pro → Pro: Pro installer overwrites with newer Pro binary
- Community installer detecting existing Pro: the community `.pkg` postinstall script MUST check the existing binary's edition before overwriting. If Pro is detected, show a dialog warning the user and offer to abort:
This requires `nodespaced` to expose a `--edition` flag (returns `community` or `pro`). The installer queries it before copying the new binary.
"You are installing NodeSpace Community, which would replace your Pro installation. Continue anyway, or abort to keep Pro."
Pro GUI
Pro-specific GUI features are gated by tier detection (existing `WatchSyncStatus` probe), not by a separate app build. Community users see upgrade prompts for Pro features — single app ships to everyone.
Acceptance Criteria
- macOS `.pkg` installs app + CLI + daemon in one step
- All binaries inside `.pkg` are signed with Developer ID Application certificate
- `.pkg` itself signed with Developer ID Installer certificate and notarized
- Gatekeeper passes on a clean macOS install (no quarantine warnings)
- Daemon installed as a launchd service, survives GUI quit
- `nodespaced --edition` flag implemented (returns `community` or `pro`)
- Community `.pkg` postinstall script detects existing Pro binary and warns before overwriting
- Windows `.msi` installs app + daemon
- Tauri sidecar removed once `.pkg` is the canonical install path
- `release.yml` updated to build and upload `.pkg` / `.msi` artifacts
- Homebrew cask updated to wrap the `.pkg`
Release Pipeline Changes
- Build `.pkg` for macOS (using `pkgbuild` + `productbuild` or a Tauri plugin)
- Sign binaries and `.pkg`, notarize and staple before upload
- Update `release.yml` to upload `.pkg` as the primary macOS artifact alongside (or replacing) the raw DMG
- Remove Tauri sidecar setup for `nodespaced` once pkg install is the canonical path
- Re-add Homebrew cask automation (currently removed, pending `HOMEBREW_TAP_TOKEN` secret)
- Add npm publish automation (currently removed, pending `NPM_TOKEN` secret)
Activity
malibio commentedon Jun 24, 2026
Frontend baseline: 140 test files, 3885 tests passed
Unified installer: bundle GUI, CLI, and daemon into a single install (#…