Skip to content

fix(core): allow home fff picker#31556

Open
rexdotsh wants to merge 1 commit into
anomalyco:devfrom
rexdotsh:fix/fff-home-picker
Open

fix(core): allow home fff picker#31556
rexdotsh wants to merge 1 commit into
anomalyco:devfrom
rexdotsh:fix/fff-home-picker

Conversation

@rexdotsh

@rexdotsh rexdotsh commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #31555

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Fixes FFF picker creation when the requested search directory is exactly $HOME.

Before this change, OpenCode only passed enableHomeDirScanning for the first FFF picker. That meant selecting $HOME later from the web project picker could fail if another project picker had already been initialized.

This canonicalizes the user's home directory and enables FFF's home-scanning opt-in when the requested picker directory resolves to $HOME, while preserving the existing first-picker behavior.

How did you verify your code works?

  • cd packages/core && bun typecheck
  • Verified locally that the web project picker can search $HOME after other project pickers were initialized.

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Project picker fails when selecting $HOME after another FFF picker is initialized

1 participant