feat(studio): add auth-specific paths and integrate auth database location

This commit is contained in:
Shine1i 2026-03-09 20:15:10 +01:00 committed by Manan17
commit f2b2b33769
3 changed files with 16 additions and 3 deletions

View file

@ -32,6 +32,14 @@ def exports_root() -> Path:
return studio_root() / "exports"
def auth_root() -> Path:
return studio_root() / "auth"
def auth_db_path() -> Path:
return auth_root() / "auth.db"
def tmp_root() -> Path:
return Path(tempfile.gettempdir()) / "unsloth-studio"