Skip to content

Fix critical onboarding and Homebrew regressions - #652

Draft
cursor[bot] wants to merge 2 commits into
developfrom
cm/critical-bug-investigation-8227
Draft

Fix critical onboarding and Homebrew regressions#652
cursor[bot] wants to merge 2 commits into
developfrom
cm/critical-bug-investigation-8227

Conversation

@cursor

@cursor cursor Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix Homebrew adoption nix eval attr construction so hostnames are quoted exactly once, preventing forced heuristic fallback and duplicate managed Homebrew entries.
  • Fix onboarding inference readiness for CLI providers so Claude/Codex/OpenCode can use empty model values for CLI defaults without blocking onboarding completion.
  • Restore the native frontend build after the provider refactor by reinstating the missing onboarding provider type and removing an unused CLI table.

Test Plan

  • bun run build
  • bun run test:unit -- src/lib/providers/ai-provider-validation.test.ts src/components/widget/onboarding/inference/inference-setup.test.tsx
  • cargo +stable test --manifest-path apps/native/src-tauri/Cargo.toml homebrew_adopt

Docs

  • No docs update needed
Open in Web View Automation 

CLI providers intentionally allow empty model values for defaults, so onboarding readiness must not require a model for those providers.

Homebrew adoption was also double-quoting the nix-darwin host attr, forcing eval fallback and risking duplicate managed Homebrew entries.

Co-authored-by: cooper <czxtm@users.noreply.github.com>
Recent provider refactoring left a missing onboarding provider type and an unused CLI table, causing tsc to fail before Vite could build.

Co-authored-by: cooper <czxtm@users.noreply.github.com>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least for the homebrew_adopt.rs change, I believe this PR is obsolete.

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.

2 participants