Add AGPL-3.0 SPDX headers to all source files

This commit is contained in:
Roland Tannous 2026-03-09 20:17:45 +00:00
parent ac2906f357
commit d882678fe4
471 changed files with 1413 additions and 0 deletions

3
cli.py
View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from cli import app
if __name__ == "__main__":

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
import typer
from cli.commands.train import train

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from pathlib import Path
from typing import Optional

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
import sys
from typing import Optional

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
import time
from pathlib import Path
from typing import Optional

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
import time
from pathlib import Path
from typing import Optional

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
import time
from pathlib import Path
from typing import Optional

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from pathlib import Path
from typing import Literal, Optional, List

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""Generate Typer CLI options from Pydantic models."""
import functools

View file

@ -1,4 +1,8 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""Cross-platform Python dependency installer for Unsloth Studio.
Called by both setup.sh (Linux / WSL) and setup.ps1 (Windows) after the

View file

@ -1,4 +1,6 @@
#Requires -Version 5.1
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
<#
.SYNOPSIS
Full environment setup for Unsloth Studio on Windows (bundled version).

View file

@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Authentication module for JWT-based auth with SQLite storage.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
import secrets
from datetime import datetime, timedelta, timezone
from typing import Optional

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Password hashing utilities using PBKDF2.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
SQLite storage for authentication data (user credentials + JWT secret).
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Colab-specific helpers for running Unsloth Studio.
Uses Colab's built-in proxy - no external tunneling needed!

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Unified core module for Unsloth backend

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Data Recipe core (DataDesigner wrapper + job runner).
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from .manager import JobManager, get_job_manager
__all__ = ["JobManager", "get_job_manager"]

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
# stages parsed from data-designer logs

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
import asyncio

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
import re

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
from dataclasses import dataclass, field

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
import json

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
import base64

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
import json

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
import base64

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Export submodule - Model export operations

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
# backend/export.py
"""
Export backend - handles model exporting in various formats

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Export orchestrator subprocess-based.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Export subprocess entry point.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Inference submodule - Inference backend for model loading and generation

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Audio codec loading and decoding for TTS inference.
Supports: SNAC (Orpheus), CSM (Sesame), BiCodec (Spark), DAC (OuteTTS)

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Core inference backend - streamlined
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
llama-server inference backend for GGUF models.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Inference orchestrator subprocess-based.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Inference subprocess entry point.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Training submodule - Training backends and trainer classes
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Unsloth Training Backend
Integrates Unsloth training capabilities with the FastAPI backend

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Training backend subprocess orchestrator.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Training subprocess entry point.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Main FastAPI application for Unsloth UI Backend
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic models for API request/response schemas
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic schemas for Authentication API
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic schemas for Data Recipe (DataDesigner) API.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Dataset-related Pydantic models for API requests and responses.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic schemas for Export API.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic schemas for Inference API
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic schemas for Model Management API
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic response schemas for endpoints that previously returned raw dicts.
These are small response models for training and model management routes.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Pydantic schemas for Training API
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""Pydantic models for authentication tokens.
This module defines the Token response model used by auth routes.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from .chunking import (
DEFAULT_CHUNK_OVERLAP,
DEFAULT_CHUNK_SIZE,

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
import hashlib

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
from pathlib import Path

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from __future__ import annotations
from pathlib import Path

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
from data_designer.plugins.plugin import Plugin, PluginType
unstructured_seed_plugin = Plugin(

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
API Routes
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Authentication API routes
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""Data Recipe route package."""
from __future__ import annotations

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""Job lifecycle endpoints for data recipe."""
from __future__ import annotations

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""MCP helper endpoints for data recipe."""
from __future__ import annotations

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""Seed inspect endpoints for data recipe."""
from __future__ import annotations

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""Validation endpoints for data recipe."""
from __future__ import annotations

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Datasets API routes
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Export API routes: checkpoint discovery and model export operations.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Inference API routes for model loading and text generation.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Model Management API routes
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Training API routes
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Run script for Unsloth UI Backend.
Works independently and can be moved to any directory.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Shared pytest configuration for the backend test suite.
Ensures that the backend root is on sys.path so that

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Tests for utils/hardware and utils/utils device detection, GPU memory, error formatting.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Utility for cleaning up the Unsloth compiled cache directory.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Dataset utilities package.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Chat template application utilities for dataset processing.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Data collators for dataset processing.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Dataset utilities for format detection, conversion, and template application.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Format conversion utilities for dataset processing.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Format detection utilities for dataset processing.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Model and template mappings for dataset processing.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
VLM (Vision-Language Model) processing utilities.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Hardware detection and GPU utilities
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Hardware detection run once at startup, read everywhere.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Inference utility functions
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Inference configuration loading utilities.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Model and LoRA configuration handling
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Checkpoint scanning utilities for discovering training runs and their checkpoints.
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Model and LoRA configuration handling
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Path utilities for model and dataset handling
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Path utilities for model and dataset handling
"""

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Automatic transformers version switching.

View file

@ -1,3 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
# Copyright © 2025 Unsloth AI
"""
Shared backend utilities
"""

View file

@ -1,3 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
// Copyright © 2025 Unsloth AI
import { RouterProvider } from "@tanstack/react-router";
import { router } from "./router";

View file

@ -1,3 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
// Copyright © 2025 Unsloth AI
import { redirect } from "@tanstack/react-router";
import {
getPostAuthRoute,

View file

@ -1,3 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
// Copyright © 2025 Unsloth AI
import { Toaster } from "@/components/ui/sonner";
import { ThemeProvider } from "next-themes";
import type { ReactNode } from "react";

View file

@ -1,3 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
// Copyright © 2025 Unsloth AI
import { createRouter } from "@tanstack/react-router";
import { Route as rootRoute } from "./routes/__root";
import { Route as dataRecipesRoute } from "./routes/data-recipes";

View file

@ -1,3 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
// Copyright © 2025 Unsloth AI
import { Navbar } from "@/components/navbar";
import {
Outlet,

View file

@ -1,3 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
// Copyright © 2025 Unsloth AI
import { createRoute } from "@tanstack/react-router";
import { lazy } from "react";
import { requireAuth } from "../auth-guards";

View file

@ -1,3 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0
// Copyright © 2025 Unsloth AI
import { createRoute } from "@tanstack/react-router";
import type { ReactElement } from "react";
import { lazy } from "react";

Some files were not shown because too many files have changed in this diff Show more