You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Setup wizard writes config to cwd, not a fixed location — breaks VS Code extension connection #852
The setup wizard's location picker offers two choices: "Global user config" or "Current project directory." Neither option shows the resolved path — just the abstract label. So there's no way to know which actual directory you're about to write into before confirming.
The VS Code extension spawns its ACP subprocess with cwd set to the workspace root — not wherever the wizard was originally run. If a user picks "project" while their terminal happens to be sitting somewhere else, the config lands in the wrong place, and the extension's CLI process finds no config there:
[CLI stderr] [nanocoder] ACP initialization failed: No providers configured. Run nanocoder interactively to set them up.
Symptom: webview stuck on "Loading models...", then "Failed to create ACP session."
Repro
Open a terminal at some other directory (e.g. VS Code's install path).
Run nanocoder, pick "Current project directory," complete setup, save.
Open the actual project in VS Code, use the extension.
Extension can't find the config. ACP session fails.
Root cause
source/wizards/steps/location-step.tsx computes both projectPath and globalPath, but only ever displays globalPath (and only as a note when it already exists). The "Current project directory" option itself never shows what path it resolves to.
Suggested fix
Show the resolved absolute path next to both options in the location picker, so the choice is over a real path, not an abstract category.
Activity
kishore280 commentedon Aug 12, 2026
Happy to take this if wanted — can open a PR.