Summary
On Windows, the first-time install setup wizard appears to be skipped (or rendered too fast to interact with) when the user already has a Supermodel API key in their environment. Reported by a customer: their terminal "blew through" the wizard and they never saw the prompts — including the prompt to exclude .graph.* sidecar files from VCS.
Reported behavior
Customer "Elm" did a fresh npm install -g @supermodeltools/cli on Windows. On first invocation, the expected setup wizard (which normally walks through API key entry, ignore-file setup, etc.) did not appear, or scrolled past so fast it was non-interactive. They had a Supermodel API key already set in their environment.
Expected behavior
Even when a valid API key is detected in env, the user should still be walked through (or at minimum shown) the remaining first-run setup steps — particularly the .graph.* ignore-file prompt, which is unrelated to auth.
Hypothesis
The wizard likely short-circuits the entire flow when SUPERMODEL_API_KEY (or equivalent) is already present, instead of skipping just the auth step and continuing with the remaining setup steps.
Repro (suspected)
- On a fresh Windows machine, set
SUPERMODEL_API_KEY in env before installing.
npm install -g @supermodeltools/cli
- Run
supermodel <something> for the first time.
- Observe: setup wizard either doesn't appear or scrolls through non-interactively;
.graph.* files are not added to .gitignore.
Needs confirmation on a clean Windows VM.
Suggested fix direction
- Decouple the auth step from the rest of the first-run wizard — env-detected key should skip auth-prompts only, not the whole flow.
- If the wizard is meant to be one-shot and silent when env is pre-configured, surface a one-line summary of what was auto-configured and what was skipped, with a
supermodel setup command to re-run interactively.
Summary
On Windows, the first-time install setup wizard appears to be skipped (or rendered too fast to interact with) when the user already has a Supermodel API key in their environment. Reported by a customer: their terminal "blew through" the wizard and they never saw the prompts — including the prompt to exclude
.graph.*sidecar files from VCS.Reported behavior
Customer "Elm" did a fresh
npm install -g @supermodeltools/clion Windows. On first invocation, the expected setup wizard (which normally walks through API key entry, ignore-file setup, etc.) did not appear, or scrolled past so fast it was non-interactive. They had a Supermodel API key already set in their environment.Expected behavior
Even when a valid API key is detected in env, the user should still be walked through (or at minimum shown) the remaining first-run setup steps — particularly the
.graph.*ignore-file prompt, which is unrelated to auth.Hypothesis
The wizard likely short-circuits the entire flow when
SUPERMODEL_API_KEY(or equivalent) is already present, instead of skipping just the auth step and continuing with the remaining setup steps.Repro (suspected)
SUPERMODEL_API_KEYin env before installing.npm install -g @supermodeltools/clisupermodel <something>for the first time..graph.*files are not added to.gitignore.Needs confirmation on a clean Windows VM.
Suggested fix direction
supermodel setupcommand to re-run interactively.