Skip to content

Fix local imports and OpenAI-compatible cache - #663

Draft
cursor[bot] wants to merge 1 commit into
developfrom
cm/critical-bug-investigation-3508
Draft

Fix local imports and OpenAI-compatible cache#663
cursor[bot] wants to merge 1 commit into
developfrom
cm/critical-bug-investigation-3508

Conversation

@cursor

@cursor cursor Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Restore local path handling in advanced onboarding imports so /etc/nix-darwin, ~/..., path:..., and relative paths select an existing config directory instead of being treated as repository refs.
  • Reject path-like values in the Rust repo import parser to protect direct IPC callers from cloning guessed GitHub repos.
  • Replace stale vllm OpenAI-compatible cache/subscription keys with openai_compatible / openaiCompatibleApiBaseUrl.

Test Plan

  • bun run test:unit -- src/components/widget/onboarding/lib/flake-ref.test.ts src/components/widget/settings/settings-dialog.test.tsx src/components/widget/settings/ai-models-tab.test.tsx
  • cargo +stable test --manifest-path src-tauri/Cargo.toml bootstrap::import::tests -- --nocapture (from apps/native; passes with one pre-existing float fallback warning)

Docs

  • No docs update needed
Open in Web View Automation 

Co-authored-by: cooper <czxtm@users.noreply.github.com>
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