Skip to content

Fix computer reconnection and add interactive CLI management - #27

Merged
Hydralerne merged 1 commit into
mainfrom
fix/computer-recovery-flow
Oct 2, 2026
Merged

Hydralerne merged 1 commit into
mainfrom
fix/computer-recovery-flow

Conversation

@Hydralerne

@Hydralerne Hydralerne commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

After an npm upgrade, a computer could keep an older managed daemon and stale startup configuration, leaving saved phones unable to discover its new tunnel address. This change aligns managed upgrades with the CLI release, repairs startup registration, and enrolls eligible connections in encrypted address recovery while preserving computer identity and phone approvals.

Running mindwire now opens an interactive menu for reconnecting, pairing and repairing phones, managing automatic startup and connection providers, updating or stopping the service, and inspecting its status. Update requests share the existing operation, honor explicit restart requests, and require the requested daemon release. Explicit version pins and disabled address recovery remain respected.

Validation completed locally:

  • SDK build and TypeScript checks; computer lifecycle, directory, update, startup, and binary-acquisition tests.
  • go test -race ./internal/computer.
  • Native iPhone recovery through the hosted directory and public Cloudflare route, preserving the saved phone key.
  • Service restart/address-change recovery and actual macOS startup repair, plus interactive CLI keyboard navigation and clean exit.

All five repository CI jobs passed: SDK, Go daemon, real Docker E2E, website, and console. The console job passed on retry after an intermittent existing unsupported-content-type assertion returned 400 instead of 415; three subsequent full local PostgreSQL directory-suite runs also passed (60 tests).

@Hydralerne
Hydralerne merged commit 7fae79c into main Oct 2, 2026
9 of 10 checks passed
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