The backend's "incorrect password" error already returns the correct,
PATH-based command ("unsloth studio reset-password"), which the installer puts
on PATH on every platform. The auth form rewrote it on Windows into a relative
path:
.\unsloth_studio\Scripts\unsloth.exe studio reset-password
That only resolves when the terminal happens to be inside the Studio home dir
(~\.unsloth\studio). From any normal working directory (e.g. C:\Users\<you>) it
fails with CommandNotFoundException, so users could not follow the hint to
recover a forgotten password.
Remove the Windows-only rewrite (and its now-unused usePlatformStore import) and
display the backend's command as-is. Frontend typecheck passes (the one
remaining tsc error, @tauri-apps/plugin-window-state in provider.tsx, is a
pre-existing desktop-only module-resolution issue unrelated to this change).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| .gitkeep | ||
| .npmrc | ||
| biome.json | ||
| components.json | ||
| data-designer.openapi (1).yaml | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||