Repository navigation
fix(desktop): restore Package.swift and Package.resolved gutted by fixture commit - #10334
skanderkaroui wants to merge 1 commit into
Conversation
…xture commit Commit 991d02a ("fixture", author Cache Test) reduced Package.swift to a one-line placeholder and wiped Package.resolved, breaking the desktop Swift build for everyone on main (swift-tools-version specification error). It is still an ancestor of main and no later commit touched these files, so this restores them from the fixture commit's parent (fe323c0) — the last good state. Verification: xcrun swift package dump-package parses the restored manifest without error (previously failed with the tools-version error). Failure-Class: none
…n redesign (#10340) ## Summary Restores onboarding functionality that the Second Brain redesign (#10218) dropped, re-implemented on top of the new conversational design (no old UI brought back). Each fix is its own commit: - **Auto-detect user name** (#9919) — seed the name field from the known `givenName`, kick a backend name fetch, and adopt an async name arrival (Apple sends the name only on first auth), so onboarding greets by name instead of a generic placeholder. Also re-hydrates name/language/role drafts on resume. - **Clear onboarding state on sign-out** (#10108) — `sbOnboardingResumeStep` + `onboardingRole` were added by the redesign but left out of the shared clearing list, leaking the prior user's resume step + role to the next account on the same Mac. Added both, plus a regression test. - **Drag-to-grant Full Disk Access** (#9742) — the drag-to-grant helper was wired for Screen Recording but not FDA; now both use it. - **Connector brand marks + Claude Code restart** (#10210 / #10205) — connect rows show each connector's brand icon, and Claude Code shows a restart prompt once connected so running sessions reload the new MCP config. - **Remove post-onboarding walkthrough** — the coach-mark tour that ran after onboarding (spotlighting each nav pill) is deleted; a just-onboarded user lands straight on Home. - **Pin the drag-to-grant card under System Settings** — the permission drag card was pinned to the screen's bottom quarter; it now anchors directly beneath the live Settings window (flipping above it when there's no room below) so it follows the window and never covers the drop target. ## Verification Build/manual verification pending — depends on #10334 (restores the `Package.swift`/`Package.resolved` that a stray "fixture" commit gutted on `main`, which currently breaks the desktop Swift build). This PR carries no Package changes; once #10334 lands and this rebases, it builds on the repaired manifest. ## Product invariants affected - INV-INT-1 ## Failure class (fixes) Failure-Class: none <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10340?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
|
Superseded by #10333, which already restored Package.swift/Package.resolved on main. Closing as duplicate. |
|
Hey @skanderkaroui 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Summary
Restore
desktop/macos/Desktop/Package.swiftandPackage.resolved, which commit991d02a345("fixture", authorCache Test <[email protected]>) reduced to a one-line placeholder / wiped. That broke the desktop Swift build for everyone onmain(swift-tools-version specification is possibly missingerror). The bad commit is still an ancestor ofmain, and no later commit touched these files, so this restores them from the fixture commit's parent (fe323c0379) — the last good state.Verification
xcrun swift package dump-packageparses the restored manifest without error (previously failed with the tools-version error). Line counts restored to 166 / 212.Product invariants affected
none
Failure class (fixes)
Failure-Class: none