Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Add AGPL-3.0 SPDX headers to all source files
Roland Tannousd882678fe49d
diff --git a/cli.py b/cli.pyindex 05f7035b514..84f600c2e83 100644--- a/cli.py+++ b/cli.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from cli import appif __name__ == "__main__":diff --git a/cli/__init__.py b/cli/__init__.pyindex 7a0918d16b5..fe3321f38a0 100644--- a/cli/__init__.py+++ b/cli/__init__.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+import typerfrom cli.commands.train import traindiff --git a/cli/commands/export.py b/cli/commands/export.pyindex 375b6902bad..ba487aeff37 100644--- a/cli/commands/export.py+++ b/cli/commands/export.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from pathlib import Pathfrom typing import Optionaldiff --git a/cli/commands/inference.py b/cli/commands/inference.pyindex 83928b2dbcc..18ff1bb183b 100644--- a/cli/commands/inference.py+++ b/cli/commands/inference.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+import sysfrom typing import Optionaldiff --git a/cli/commands/studio.py b/cli/commands/studio.pyindex 2489676844d..e7be41a4418 100644--- a/cli/commands/studio.py+++ b/cli/commands/studio.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+import timefrom pathlib import Pathfrom typing import Optionaldiff --git a/cli/commands/train.py b/cli/commands/train.pyindex 5941cfa5c3b..2e78db73758 100644--- a/cli/commands/train.py+++ b/cli/commands/train.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+import timefrom pathlib import Pathfrom typing import Optionaldiff --git a/cli/commands/ui.py b/cli/commands/ui.pyindex 6eaeeb793ef..9b950214cad 100644--- a/cli/commands/ui.py+++ b/cli/commands/ui.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+import timefrom pathlib import Pathfrom typing import Optionaldiff --git a/cli/config.py b/cli/config.pyindex b6bc8dc999c..c6c886d7b26 100644--- a/cli/config.py+++ b/cli/config.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from pathlib import Pathfrom typing import Literal, Optional, Listdiff --git a/cli/options.py b/cli/options.pyindex dbc66a9931c..3cdc75fb85e 100644--- a/cli/options.py+++ b/cli/options.py@@ -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 functoolsdiff --git a/install_python_stack.py b/install_python_stack.pyindex c6b4e556f42..78ddc571d0a 100644--- a/install_python_stack.py+++ b/install_python_stack.py@@ -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 thediff --git a/setup.ps1 b/setup.ps1index 61ae40f3b21..5a573126aac 100644--- a/setup.ps1+++ b/setup.ps1@@ -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<#.SYNOPSISFull environment setup for Unsloth Studio on Windows (bundled version).diff --git a/setup.sh b/setup.shindex 6edb470d8df..b1ff403fbe8 100755--- a/setup.sh+++ b/setup.sh@@ -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 pipefailSCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"diff --git a/studio/backend/auth/__init__.py b/studio/backend/auth/__init__.pyindex 60ad59885c2..d9abcc6d3ce 100644--- a/studio/backend/auth/__init__.py+++ b/studio/backend/auth/__init__.py@@ -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."""diff --git a/studio/backend/auth/authentication.py b/studio/backend/auth/authentication.pyindex e725834630f..57569df4973 100644--- a/studio/backend/auth/authentication.py+++ b/studio/backend/auth/authentication.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+import secretsfrom datetime import datetime, timedelta, timezonefrom typing import Optionaldiff --git a/studio/backend/auth/hashing.py b/studio/backend/auth/hashing.pyindex c5d629a2a26..d2ba1e92a9e 100644--- a/studio/backend/auth/hashing.py+++ b/studio/backend/auth/hashing.py@@ -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."""diff --git a/studio/backend/auth/storage.py b/studio/backend/auth/storage.pyindex e5a486bca28..f72a7ed943d 100644--- a/studio/backend/auth/storage.py+++ b/studio/backend/auth/storage.py@@ -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)."""diff --git a/studio/backend/colab.py b/studio/backend/colab.pyindex e3e9bc0cf0c..69400ea6732 100644--- a/studio/backend/colab.py+++ b/studio/backend/colab.py@@ -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!diff --git a/studio/backend/core/__init__.py b/studio/backend/core/__init__.pyindex 2b1e3246c06..3a44c3b3c10 100644--- a/studio/backend/core/__init__.py+++ b/studio/backend/core/__init__.py@@ -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 backenddiff --git a/studio/backend/core/data_recipe/__init__.py b/studio/backend/core/data_recipe/__init__.pyindex 0665a8e4c26..eab78fb8017 100644--- a/studio/backend/core/data_recipe/__init__.py+++ b/studio/backend/core/data_recipe/__init__.py@@ -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)."""diff --git a/studio/backend/core/data_recipe/jobs/__init__.py b/studio/backend/core/data_recipe/jobs/__init__.pyindex bac519ee3a6..eb157ba8336 100644--- a/studio/backend/core/data_recipe/jobs/__init__.py+++ b/studio/backend/core/data_recipe/jobs/__init__.py@@ -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"]diff --git a/studio/backend/core/data_recipe/jobs/constants.py b/studio/backend/core/data_recipe/jobs/constants.pyindex 5d4081abbc8..c67894c7fcd 100644--- a/studio/backend/core/data_recipe/jobs/constants.py+++ b/studio/backend/core/data_recipe/jobs/constants.py@@ -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 logsdiff --git a/studio/backend/core/data_recipe/jobs/manager.py b/studio/backend/core/data_recipe/jobs/manager.pyindex de367dcce65..6e1856b3089 100644--- a/studio/backend/core/data_recipe/jobs/manager.py+++ b/studio/backend/core/data_recipe/jobs/manager.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsimport asynciodiff --git a/studio/backend/core/data_recipe/jobs/parse.py b/studio/backend/core/data_recipe/jobs/parse.pyindex 858ddb7f032..9812baad3ba 100644--- a/studio/backend/core/data_recipe/jobs/parse.py+++ b/studio/backend/core/data_recipe/jobs/parse.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsimport rediff --git a/studio/backend/core/data_recipe/jobs/types.py b/studio/backend/core/data_recipe/jobs/types.pyindex 80bd03cf77f..c004c28d91b 100644--- a/studio/backend/core/data_recipe/jobs/types.py+++ b/studio/backend/core/data_recipe/jobs/types.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsfrom dataclasses import dataclass, fielddiff --git a/studio/backend/core/data_recipe/jobs/worker.py b/studio/backend/core/data_recipe/jobs/worker.pyindex 9181fd81368..fbe9d91b6d1 100644--- a/studio/backend/core/data_recipe/jobs/worker.py+++ b/studio/backend/core/data_recipe/jobs/worker.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsimport jsondiff --git a/studio/backend/core/data_recipe/jsonable.py b/studio/backend/core/data_recipe/jsonable.pyindex b45a378028d..5912e6daf7b 100644--- a/studio/backend/core/data_recipe/jsonable.py+++ b/studio/backend/core/data_recipe/jsonable.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsimport base64diff --git a/studio/backend/core/data_recipe/local_callable_validators.py b/studio/backend/core/data_recipe/local_callable_validators.pyindex 3d95e68265f..5e2749d45d5 100644--- a/studio/backend/core/data_recipe/local_callable_validators.py+++ b/studio/backend/core/data_recipe/local_callable_validators.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsimport jsondiff --git a/studio/backend/core/data_recipe/service.py b/studio/backend/core/data_recipe/service.pyindex 01855f5b1d8..63d841c3723 100644--- a/studio/backend/core/data_recipe/service.py+++ b/studio/backend/core/data_recipe/service.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsimport base64diff --git a/studio/backend/core/export/__init__.py b/studio/backend/core/export/__init__.pyindex 0a883f5f3f5..43c827c6137 100644--- a/studio/backend/core/export/__init__.py+++ b/studio/backend/core/export/__init__.py@@ -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 operationsdiff --git a/studio/backend/core/export/export.py b/studio/backend/core/export/export.pyindex bd14fb412e8..986da0def27 100644--- a/studio/backend/core/export/export.py+++ b/studio/backend/core/export/export.py@@ -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 formatsdiff --git a/studio/backend/core/export/orchestrator.py b/studio/backend/core/export/orchestrator.pyindex 790ac4b0007..d6a04a3c1bc 100644--- a/studio/backend/core/export/orchestrator.py+++ b/studio/backend/core/export/orchestrator.py@@ -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.diff --git a/studio/backend/core/export/worker.py b/studio/backend/core/export/worker.pyindex 82428e670bf..a19ba429e94 100644--- a/studio/backend/core/export/worker.py+++ b/studio/backend/core/export/worker.py@@ -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.diff --git a/studio/backend/core/inference/__init__.py b/studio/backend/core/inference/__init__.pyindex 6d44742d9cc..a0567b8c4e0 100644--- a/studio/backend/core/inference/__init__.py+++ b/studio/backend/core/inference/__init__.py@@ -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 generationdiff --git a/studio/backend/core/inference/audio_codecs.py b/studio/backend/core/inference/audio_codecs.pyindex 5a1fd5d984e..b5cdd92560a 100644--- a/studio/backend/core/inference/audio_codecs.py+++ b/studio/backend/core/inference/audio_codecs.py@@ -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)diff --git a/studio/backend/core/inference/inference.py b/studio/backend/core/inference/inference.pyindex 6ced3fc2ad3..bd9a9c0c437 100644--- a/studio/backend/core/inference/inference.py+++ b/studio/backend/core/inference/inference.py@@ -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"""diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.pyindex f47b9132dba..37a57e4c397 100644--- a/studio/backend/core/inference/llama_cpp.py+++ b/studio/backend/core/inference/llama_cpp.py@@ -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.diff --git a/studio/backend/core/inference/orchestrator.py b/studio/backend/core/inference/orchestrator.pyindex 6910b3dc190..acab9e22453 100644--- a/studio/backend/core/inference/orchestrator.py+++ b/studio/backend/core/inference/orchestrator.py@@ -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.diff --git a/studio/backend/core/inference/worker.py b/studio/backend/core/inference/worker.pyindex e59372c216d..21214fbbc5c 100644--- a/studio/backend/core/inference/worker.py+++ b/studio/backend/core/inference/worker.py@@ -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.diff --git a/studio/backend/core/training/__init__.py b/studio/backend/core/training/__init__.pyindex 0e0299caf67..a081d1c6584 100644--- a/studio/backend/core/training/__init__.py+++ b/studio/backend/core/training/__init__.py@@ -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"""diff --git a/studio/backend/core/training/trainer.py b/studio/backend/core/training/trainer.pyindex 96d593b6cf8..31e05d0bdab 100644--- a/studio/backend/core/training/trainer.py+++ b/studio/backend/core/training/trainer.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Unsloth Training BackendIntegrates Unsloth training capabilities with the FastAPI backenddiff --git a/studio/backend/core/training/training.py b/studio/backend/core/training/training.pyindex b4d33d7c35a..101ba136215 100644--- a/studio/backend/core/training/training.py+++ b/studio/backend/core/training/training.py@@ -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.diff --git a/studio/backend/core/training/worker.py b/studio/backend/core/training/worker.pyindex f657b1c77a5..7b98865eeab 100644--- a/studio/backend/core/training/worker.py+++ b/studio/backend/core/training/worker.py@@ -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.diff --git a/studio/backend/main.py b/studio/backend/main.pyindex 696d8a4d108..3a437f08ffc 100644--- a/studio/backend/main.py+++ b/studio/backend/main.py@@ -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"""diff --git a/studio/backend/models/__init__.py b/studio/backend/models/__init__.pyindex bafcb45a9fe..a6c1b38b34a 100644--- a/studio/backend/models/__init__.py+++ b/studio/backend/models/__init__.py@@ -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"""diff --git a/studio/backend/models/auth.py b/studio/backend/models/auth.pyindex 43c591fb537..c46196271dc 100644--- a/studio/backend/models/auth.py+++ b/studio/backend/models/auth.py@@ -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"""diff --git a/studio/backend/models/data_recipe.py b/studio/backend/models/data_recipe.pyindex 418ef97afc3..fc7e0e8a698 100644--- a/studio/backend/models/data_recipe.py+++ b/studio/backend/models/data_recipe.py@@ -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."""diff --git a/studio/backend/models/datasets.py b/studio/backend/models/datasets.pyindex 49d8b4c4190..73c75dc650f 100644--- a/studio/backend/models/datasets.py+++ b/studio/backend/models/datasets.py@@ -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."""diff --git a/studio/backend/models/export.py b/studio/backend/models/export.pyindex df175961857..182c41bf960 100644--- a/studio/backend/models/export.py+++ b/studio/backend/models/export.py@@ -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."""diff --git a/studio/backend/models/inference.py b/studio/backend/models/inference.pyindex d285d995076..37f342f48ce 100644--- a/studio/backend/models/inference.py+++ b/studio/backend/models/inference.py@@ -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"""diff --git a/studio/backend/models/models.py b/studio/backend/models/models.pyindex 8d5a2bfc0ab..e69c48691fb 100644--- a/studio/backend/models/models.py+++ b/studio/backend/models/models.py@@ -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"""diff --git a/studio/backend/models/responses.py b/studio/backend/models/responses.pyindex c72dfc54dd2..c1577172628 100644--- a/studio/backend/models/responses.py+++ b/studio/backend/models/responses.py@@ -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.diff --git a/studio/backend/models/training.py b/studio/backend/models/training.pyindex c03d7b04bf7..c3b8d99bb4f 100644--- a/studio/backend/models/training.py+++ b/studio/backend/models/training.py@@ -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"""diff --git a/studio/backend/models/users.py b/studio/backend/models/users.pyindex c90e27942f6..a12e7d5908a 100644--- a/studio/backend/models/users.py+++ b/studio/backend/models/users.py@@ -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.diff --git a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/__init__.py b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/__init__.pyindex 0d9b5ce7eb4..020da831f23 100644--- a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/__init__.py+++ b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/__init__.py@@ -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,diff --git a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/chunking.py b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/chunking.pyindex 4ce7d360bcd..358e7ea701c 100644--- a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/chunking.py+++ b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/chunking.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsimport hashlibdiff --git a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/config.py b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/config.pyindex 487579fda10..1f323856d4e 100644--- a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/config.py+++ b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/config.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsfrom pathlib import Pathdiff --git a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/impl.py b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/impl.pyindex 0c81f636bf0..5a5143d1180 100644--- a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/impl.py+++ b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/impl.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+from __future__ import annotationsfrom pathlib import Pathdiff --git a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/plugin.py b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/plugin.pyindex e96d1d2cd6d..6692317d0e6 100644--- a/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/plugin.py+++ b/studio/backend/plugins/data-designer-unstructured-seed/src/data_designer_unstructured_seed/plugin.py@@ -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, PluginTypeunstructured_seed_plugin = Plugin(diff --git a/studio/backend/routes/__init__.py b/studio/backend/routes/__init__.pyindex 7ee5d318d27..13896854f6d 100644--- a/studio/backend/routes/__init__.py+++ b/studio/backend/routes/__init__.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""API Routes"""diff --git a/studio/backend/routes/auth.py b/studio/backend/routes/auth.pyindex 0ad5bb0ea89..76bd15d8461 100644--- a/studio/backend/routes/auth.py+++ b/studio/backend/routes/auth.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Authentication API routes"""diff --git a/studio/backend/routes/data_recipe/__init__.py b/studio/backend/routes/data_recipe/__init__.pyindex 65e7db0279a..3f78c40393b 100644--- a/studio/backend/routes/data_recipe/__init__.py+++ b/studio/backend/routes/data_recipe/__init__.py@@ -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 annotationsdiff --git a/studio/backend/routes/data_recipe/jobs.py b/studio/backend/routes/data_recipe/jobs.pyindex 67a64ec7847..b698848d226 100644--- a/studio/backend/routes/data_recipe/jobs.py+++ b/studio/backend/routes/data_recipe/jobs.py@@ -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 annotationsdiff --git a/studio/backend/routes/data_recipe/mcp.py b/studio/backend/routes/data_recipe/mcp.pyindex 5aa5c3247c4..310fe3b449d 100644--- a/studio/backend/routes/data_recipe/mcp.py+++ b/studio/backend/routes/data_recipe/mcp.py@@ -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 annotationsdiff --git a/studio/backend/routes/data_recipe/seed.py b/studio/backend/routes/data_recipe/seed.pyindex f0396939ca3..e803c054c2d 100644--- a/studio/backend/routes/data_recipe/seed.py+++ b/studio/backend/routes/data_recipe/seed.py@@ -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 annotationsdiff --git a/studio/backend/routes/data_recipe/validate.py b/studio/backend/routes/data_recipe/validate.pyindex a8755f9410d..16995aabb68 100644--- a/studio/backend/routes/data_recipe/validate.py+++ b/studio/backend/routes/data_recipe/validate.py@@ -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 annotationsdiff --git a/studio/backend/routes/datasets.py b/studio/backend/routes/datasets.pyindex b06fa33942b..d21974d540d 100644--- a/studio/backend/routes/datasets.py+++ b/studio/backend/routes/datasets.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Datasets API routes"""diff --git a/studio/backend/routes/export.py b/studio/backend/routes/export.pyindex bf41cba4248..b475f759417 100644--- a/studio/backend/routes/export.py+++ b/studio/backend/routes/export.py@@ -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."""diff --git a/studio/backend/routes/inference.py b/studio/backend/routes/inference.pyindex 287a4d52c5b..387268edbba 100644--- a/studio/backend/routes/inference.py+++ b/studio/backend/routes/inference.py@@ -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."""diff --git a/studio/backend/routes/models.py b/studio/backend/routes/models.pyindex 1590947fdd0..e217ff63d8e 100644--- a/studio/backend/routes/models.py+++ b/studio/backend/routes/models.py@@ -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"""diff --git a/studio/backend/routes/training.py b/studio/backend/routes/training.pyindex 545ef18747f..3deabb5253b 100644--- a/studio/backend/routes/training.py+++ b/studio/backend/routes/training.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Training API routes"""diff --git a/studio/backend/run.py b/studio/backend/run.pyindex 0959746a19d..48cc25cce01 100644--- a/studio/backend/run.py+++ b/studio/backend/run.py@@ -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.diff --git a/studio/backend/tests/conftest.py b/studio/backend/tests/conftest.pyindex 82cbeb3da56..62edae7fd80 100644--- a/studio/backend/tests/conftest.py+++ b/studio/backend/tests/conftest.py@@ -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 thatdiff --git a/studio/backend/tests/test_utils.py b/studio/backend/tests/test_utils.pyindex afb4bab65a3..97466040cf0 100644--- a/studio/backend/tests/test_utils.py+++ b/studio/backend/tests/test_utils.py@@ -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.diff --git a/studio/backend/utils/cache_cleanup.py b/studio/backend/utils/cache_cleanup.pyindex 4673cf995f4..9b18fb08c84 100644--- a/studio/backend/utils/cache_cleanup.py+++ b/studio/backend/utils/cache_cleanup.py@@ -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.diff --git a/studio/backend/utils/datasets/__init__.py b/studio/backend/utils/datasets/__init__.pyindex 2e78057237a..4146006c18a 100644--- a/studio/backend/utils/datasets/__init__.py+++ b/studio/backend/utils/datasets/__init__.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Dataset utilities package.diff --git a/studio/backend/utils/datasets/chat_templates.py b/studio/backend/utils/datasets/chat_templates.pyindex 52c876291d5..ae80055241a 100644--- a/studio/backend/utils/datasets/chat_templates.py+++ b/studio/backend/utils/datasets/chat_templates.py@@ -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.diff --git a/studio/backend/utils/datasets/data_collators.py b/studio/backend/utils/datasets/data_collators.pyindex 41062f6a6f3..f362e93799c 100644--- a/studio/backend/utils/datasets/data_collators.py+++ b/studio/backend/utils/datasets/data_collators.py@@ -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.diff --git a/studio/backend/utils/datasets/dataset_utils.py b/studio/backend/utils/datasets/dataset_utils.pyindex 9c78d1a49a6..b2a290355a5 100644--- a/studio/backend/utils/datasets/dataset_utils.py+++ b/studio/backend/utils/datasets/dataset_utils.py@@ -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.diff --git a/studio/backend/utils/datasets/format_conversion.py b/studio/backend/utils/datasets/format_conversion.pyindex 41a96178576..bb80dd8d6e8 100644--- a/studio/backend/utils/datasets/format_conversion.py+++ b/studio/backend/utils/datasets/format_conversion.py@@ -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.diff --git a/studio/backend/utils/datasets/format_detection.py b/studio/backend/utils/datasets/format_detection.pyindex 2337833befb..b8385faec87 100644--- a/studio/backend/utils/datasets/format_detection.py+++ b/studio/backend/utils/datasets/format_detection.py@@ -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.diff --git a/studio/backend/utils/datasets/model_mappings.py b/studio/backend/utils/datasets/model_mappings.pyindex 22b0f4334b1..56e8ea70c10 100644--- a/studio/backend/utils/datasets/model_mappings.py+++ b/studio/backend/utils/datasets/model_mappings.py@@ -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.diff --git a/studio/backend/utils/datasets/vlm_processing.py b/studio/backend/utils/datasets/vlm_processing.pyindex a864db52fa4..b17c57ef359 100644--- a/studio/backend/utils/datasets/vlm_processing.py+++ b/studio/backend/utils/datasets/vlm_processing.py@@ -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.diff --git a/studio/backend/utils/hardware/__init__.py b/studio/backend/utils/hardware/__init__.pyindex e8256eb9aa3..b48eacbb8bb 100644--- a/studio/backend/utils/hardware/__init__.py+++ b/studio/backend/utils/hardware/__init__.py@@ -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"""diff --git a/studio/backend/utils/hardware/hardware.py b/studio/backend/utils/hardware/hardware.pyindex fd43e620bbe..5b1ef8cfa30 100644--- a/studio/backend/utils/hardware/hardware.py+++ b/studio/backend/utils/hardware/hardware.py@@ -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.diff --git a/studio/backend/utils/inference/__init__.py b/studio/backend/utils/inference/__init__.pyindex 660643a4365..85a6f8fb5c2 100644--- a/studio/backend/utils/inference/__init__.py+++ b/studio/backend/utils/inference/__init__.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Inference utility functions"""diff --git a/studio/backend/utils/inference/inference_config.py b/studio/backend/utils/inference/inference_config.pyindex ff82b47fa6d..05ad01071fc 100644--- a/studio/backend/utils/inference/inference_config.py+++ b/studio/backend/utils/inference/inference_config.py@@ -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.diff --git a/studio/backend/utils/models/__init__.py b/studio/backend/utils/models/__init__.pyindex 11d5f545397..5463d982224 100644--- a/studio/backend/utils/models/__init__.py+++ b/studio/backend/utils/models/__init__.py@@ -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"""diff --git a/studio/backend/utils/models/checkpoints.py b/studio/backend/utils/models/checkpoints.pyindex 7a50d0900da..c601cf64db1 100644--- a/studio/backend/utils/models/checkpoints.py+++ b/studio/backend/utils/models/checkpoints.py@@ -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."""diff --git a/studio/backend/utils/models/model_config.py b/studio/backend/utils/models/model_config.pyindex f301e42a781..8724f4b00b5 100644--- a/studio/backend/utils/models/model_config.py+++ b/studio/backend/utils/models/model_config.py@@ -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"""diff --git a/studio/backend/utils/paths/__init__.py b/studio/backend/utils/paths/__init__.pyindex ffc16dfb3d0..d196f8ce142 100644--- a/studio/backend/utils/paths/__init__.py+++ b/studio/backend/utils/paths/__init__.py@@ -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"""diff --git a/studio/backend/utils/paths/path_utils.py b/studio/backend/utils/paths/path_utils.pyindex 856e478bc2d..1151362c4ce 100644--- a/studio/backend/utils/paths/path_utils.py+++ b/studio/backend/utils/paths/path_utils.py@@ -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"""diff --git a/studio/backend/utils/transformers_version.py b/studio/backend/utils/transformers_version.pyindex 8efbab46a22..d003084b85d 100644--- a/studio/backend/utils/transformers_version.py+++ b/studio/backend/utils/transformers_version.py@@ -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.diff --git a/studio/backend/utils/utils.py b/studio/backend/utils/utils.pyindex 0acdbb33134..a61ce4c7e72 100644--- a/studio/backend/utils/utils.py+++ b/studio/backend/utils/utils.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Shared backend utilities"""diff --git a/studio/frontend/src/app/app.tsx b/studio/frontend/src/app/app.tsxindex 356738ede95..285746adefe 100644--- a/studio/frontend/src/app/app.tsx+++ b/studio/frontend/src/app/app.tsx@@ -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";diff --git a/studio/frontend/src/app/auth-guards.ts b/studio/frontend/src/app/auth-guards.tsindex 6aaa6694ef6..f000db4832e 100644--- a/studio/frontend/src/app/auth-guards.ts+++ b/studio/frontend/src/app/auth-guards.ts@@ -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,diff --git a/studio/frontend/src/app/provider.tsx b/studio/frontend/src/app/provider.tsxindex da88e0cfa32..84746c8859d 100644--- a/studio/frontend/src/app/provider.tsx+++ b/studio/frontend/src/app/provider.tsx@@ -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";diff --git a/studio/frontend/src/app/router.tsx b/studio/frontend/src/app/router.tsxindex dbbd9b1148a..2a5a9f704e1 100644--- a/studio/frontend/src/app/router.tsx+++ b/studio/frontend/src/app/router.tsx@@ -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";diff --git a/studio/frontend/src/app/routes/__root.tsx b/studio/frontend/src/app/routes/__root.tsxindex bf47008c701..ad7027109ea 100644--- a/studio/frontend/src/app/routes/__root.tsx+++ b/studio/frontend/src/app/routes/__root.tsx@@ -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,diff --git a/studio/frontend/src/app/routes/chat.tsx b/studio/frontend/src/app/routes/chat.tsxindex d773b74a410..4addf9d6cbc 100644--- a/studio/frontend/src/app/routes/chat.tsx+++ b/studio/frontend/src/app/routes/chat.tsx@@ -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";diff --git a/studio/frontend/src/app/routes/data-recipes.$recipeId.tsx b/studio/frontend/src/app/routes/data-recipes.$recipeId.tsxindex 0ee88ac0a1c..ace55de439e 100644--- a/studio/frontend/src/app/routes/data-recipes.$recipeId.tsx+++ b/studio/frontend/src/app/routes/data-recipes.$recipeId.tsx@@ -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";diff --git a/studio/frontend/src/app/routes/data-recipes.tsx b/studio/frontend/src/app/routes/data-recipes.tsxindex ff34f5530ee..45bb0252bd3 100644--- a/studio/frontend/src/app/routes/data-recipes.tsx+++ b/studio/frontend/src/app/routes/data-recipes.tsx@@ -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";diff --git a/studio/frontend/src/app/routes/export.tsx b/studio/frontend/src/app/routes/export.tsxindex 26f047b23d5..3037f38f3a9 100644--- a/studio/frontend/src/app/routes/export.tsx+++ b/studio/frontend/src/app/routes/export.tsx@@ -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";diff --git a/studio/frontend/src/app/routes/grid-test.tsx b/studio/frontend/src/app/routes/grid-test.tsxindex dd9113bf284..48de7505934 100644--- a/studio/frontend/src/app/routes/grid-test.tsx+++ b/studio/frontend/src/app/routes/grid-test.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { DashboardGrid, DashboardLayout } from "@/components/layout";import {Card,diff --git a/studio/frontend/src/app/routes/index.tsx b/studio/frontend/src/app/routes/index.tsxindex 4ce567fbec5..818bd3fdc93 100644--- a/studio/frontend/src/app/routes/index.tsx+++ b/studio/frontend/src/app/routes/index.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { createRoute, redirect } from "@tanstack/react-router";import { getPostAuthRoute } from "@/features/auth";import { requireAuth } from "../auth-guards";diff --git a/studio/frontend/src/app/routes/login.tsx b/studio/frontend/src/app/routes/login.tsxindex 5d864842887..36323aa7a01 100644--- a/studio/frontend/src/app/routes/login.tsx+++ b/studio/frontend/src/app/routes/login.tsx@@ -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 { requireGuest } from "../auth-guards";diff --git a/studio/frontend/src/app/routes/onboarding.tsx b/studio/frontend/src/app/routes/onboarding.tsxindex 664f75249e7..5d6d3e47a88 100644--- a/studio/frontend/src/app/routes/onboarding.tsx+++ b/studio/frontend/src/app/routes/onboarding.tsx@@ -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";diff --git a/studio/frontend/src/app/routes/signup.tsx b/studio/frontend/src/app/routes/signup.tsxindex 241a8e852a0..a8bc00b8a3c 100644--- a/studio/frontend/src/app/routes/signup.tsx+++ b/studio/frontend/src/app/routes/signup.tsx@@ -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 { requireGuest } from "../auth-guards";diff --git a/studio/frontend/src/app/routes/studio.tsx b/studio/frontend/src/app/routes/studio.tsxindex be3a912644c..6dded2fcd70 100644--- a/studio/frontend/src/app/routes/studio.tsx+++ b/studio/frontend/src/app/routes/studio.tsx@@ -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";diff --git a/studio/frontend/src/components/assistant-ui/attachment.tsx b/studio/frontend/src/components/assistant-ui/attachment.tsxindex 94e30fb4ac7..52aa07201a0 100644--- a/studio/frontend/src/components/assistant-ui/attachment.tsx+++ b/studio/frontend/src/components/assistant-ui/attachment.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";// Avatar removed — caused circular crop on image thumbnailsdiff --git a/studio/frontend/src/components/assistant-ui/audio-player.tsx b/studio/frontend/src/components/assistant-ui/audio-player.tsxindex 8c5d19abae5..2ad74feecd2 100644--- a/studio/frontend/src/components/assistant-ui/audio-player.tsx+++ b/studio/frontend/src/components/assistant-ui/audio-player.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Button } from "@/components/ui/button";diff --git a/studio/frontend/src/components/assistant-ui/markdown-text.tsx b/studio/frontend/src/components/assistant-ui/markdown-text.tsxindex ecc272815ce..9d6815b4f6e 100644--- a/studio/frontend/src/components/assistant-ui/markdown-text.tsx+++ b/studio/frontend/src/components/assistant-ui/markdown-text.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { copyToClipboard } from "@/lib/copy-to-clipboard";diff --git a/studio/frontend/src/components/assistant-ui/model-selector.tsx b/studio/frontend/src/components/assistant-ui/model-selector.tsxindex c6685f02147..5f69471f182 100644--- a/studio/frontend/src/components/assistant-ui/model-selector.tsx+++ b/studio/frontend/src/components/assistant-ui/model-selector.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import {diff --git a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsxindex 3d91cffb8cd..b834d75902c 100644--- a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx+++ b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import { Spinner } from "@/components/ui/spinner";import {diff --git a/studio/frontend/src/components/assistant-ui/model-selector/types.ts b/studio/frontend/src/components/assistant-ui/model-selector/types.tsindex 0e8cf5fb4db..eba840f40bc 100644--- a/studio/frontend/src/components/assistant-ui/model-selector/types.ts+++ b/studio/frontend/src/components/assistant-ui/model-selector/types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactNode } from "react";export interface ModelOption {diff --git a/studio/frontend/src/components/assistant-ui/reasoning.tsx b/studio/frontend/src/components/assistant-ui/reasoning.tsxindex 7ecbaaf63f8..85c8dae5cf4 100644--- a/studio/frontend/src/components/assistant-ui/reasoning.tsx+++ b/studio/frontend/src/components/assistant-ui/reasoning.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";/* eslint-disable react-refresh/only-export-components */diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsxindex d959305c63c..8bf17494fd1 100644--- a/studio/frontend/src/components/assistant-ui/thread.tsx+++ b/studio/frontend/src/components/assistant-ui/thread.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {ComposerAddAttachment,ComposerAttachments,diff --git a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx b/studio/frontend/src/components/assistant-ui/tool-fallback.tsxindex cd805e8aaa4..bfc0e9b53e0 100644--- a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx+++ b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import {diff --git a/studio/frontend/src/components/assistant-ui/tooltip-icon-button.tsx b/studio/frontend/src/components/assistant-ui/tooltip-icon-button.tsxindex 986a3d1e718..2a1d04f6571 100644--- a/studio/frontend/src/components/assistant-ui/tooltip-icon-button.tsx+++ b/studio/frontend/src/components/assistant-ui/tooltip-icon-button.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Slottable } from "@radix-ui/react-slot";diff --git a/studio/frontend/src/components/example.tsx b/studio/frontend/src/components/example.tsxindex 36bbe8e29d5..bda3d0cdc7c 100644--- a/studio/frontend/src/components/example.tsx+++ b/studio/frontend/src/components/example.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";import type { ComponentProps } from "react";diff --git a/studio/frontend/src/components/layout/dashboard-grid.tsx b/studio/frontend/src/components/layout/dashboard-grid.tsxindex a749b584e4f..42def43e7ba 100644--- a/studio/frontend/src/components/layout/dashboard-grid.tsx+++ b/studio/frontend/src/components/layout/dashboard-grid.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/components/layout/dashboard-layout.tsx b/studio/frontend/src/components/layout/dashboard-layout.tsxindex bd3926b613a..e5a263056d5 100644--- a/studio/frontend/src/components/layout/dashboard-layout.tsx+++ b/studio/frontend/src/components/layout/dashboard-layout.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/components/layout/index.ts b/studio/frontend/src/components/layout/index.tsindex 34a7b75a4ca..f6c784469dc 100644--- a/studio/frontend/src/components/layout/index.ts+++ b/studio/frontend/src/components/layout/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { DashboardLayout } from "./dashboard-layout";export { DashboardGrid } from "./dashboard-grid";diff --git a/studio/frontend/src/components/markdown/markdown-preview.tsx b/studio/frontend/src/components/markdown/markdown-preview.tsxindex c10ec783be7..bc2b13b36e4 100644--- a/studio/frontend/src/components/markdown/markdown-preview.tsx+++ b/studio/frontend/src/components/markdown/markdown-preview.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";import { code } from "@streamdown/code";import { math } from "@streamdown/math";diff --git a/studio/frontend/src/components/markdown/mermaid-error.tsx b/studio/frontend/src/components/markdown/mermaid-error.tsxindex 4e352d4768a..0d205232400 100644--- a/studio/frontend/src/components/markdown/mermaid-error.tsx+++ b/studio/frontend/src/components/markdown/mermaid-error.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { MermaidErrorComponentProps } from "streamdown";function hasSlashComment(chart: string): boolean {diff --git a/studio/frontend/src/components/navbar.tsx b/studio/frontend/src/components/navbar.tsxindex 478651ec95c..cfd16702fca 100644--- a/studio/frontend/src/components/navbar.tsx+++ b/studio/frontend/src/components/navbar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {HoverCard,HoverCardContent,diff --git a/studio/frontend/src/components/section-card.tsx b/studio/frontend/src/components/section-card.tsxindex aee6fdfa05d..ee7269b23ac 100644--- a/studio/frontend/src/components/section-card.tsx+++ b/studio/frontend/src/components/section-card.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";import type { ReactNode } from "react";diff --git a/studio/frontend/src/components/ui/accordion.tsx b/studio/frontend/src/components/ui/accordion.tsxindex 51f928df653..edefe6d35b5 100644--- a/studio/frontend/src/components/ui/accordion.tsx+++ b/studio/frontend/src/components/ui/accordion.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Accordion as AccordionPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/alert-dialog.tsx b/studio/frontend/src/components/ui/alert-dialog.tsxindex 61327e525ec..cbeb02163a6 100644--- a/studio/frontend/src/components/ui/alert-dialog.tsx+++ b/studio/frontend/src/components/ui/alert-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { AlertDialog as AlertDialogPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/alert.tsx b/studio/frontend/src/components/ui/alert.tsxindex b98fe92af6a..d0db9be0f9e 100644--- a/studio/frontend/src/components/ui/alert.tsx+++ b/studio/frontend/src/components/ui/alert.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type VariantProps, cva } from "class-variance-authority";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/animated-shiny-text.tsx b/studio/frontend/src/components/ui/animated-shiny-text.tsxindex 93f3fd58ad8..48672f31fef 100644--- a/studio/frontend/src/components/ui/animated-shiny-text.tsx+++ b/studio/frontend/src/components/ui/animated-shiny-text.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ComponentPropsWithoutRef, CSSProperties, FC } from "react"import { cn } from "@/lib/utils"diff --git a/studio/frontend/src/components/ui/animated-theme-toggler.tsx b/studio/frontend/src/components/ui/animated-theme-toggler.tsxindex 1a1c85722ed..a6999c6eb2c 100644--- a/studio/frontend/src/components/ui/animated-theme-toggler.tsx+++ b/studio/frontend/src/components/ui/animated-theme-toggler.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback, useEffect, useRef, useState } from "react"import { Moon, Sun } from "lucide-react"import { flushSync } from "react-dom"diff --git a/studio/frontend/src/components/ui/aspect-ratio.tsx b/studio/frontend/src/components/ui/aspect-ratio.tsxindex d2bc9a9fe8a..0c93ebaea2f 100644--- a/studio/frontend/src/components/ui/aspect-ratio.tsx+++ b/studio/frontend/src/components/ui/aspect-ratio.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { AspectRatio as AspectRatioPrimitive } from "radix-ui";function AspectRatio({diff --git a/studio/frontend/src/components/ui/avatar.tsx b/studio/frontend/src/components/ui/avatar.tsxindex 2f78ecb2e93..d58bbf4b213 100644--- a/studio/frontend/src/components/ui/avatar.tsx+++ b/studio/frontend/src/components/ui/avatar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Avatar as AvatarPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/badge.tsx b/studio/frontend/src/components/ui/badge.tsxindex 72a126cede0..fc8fa2a5db5 100644--- a/studio/frontend/src/components/ui/badge.tsx+++ b/studio/frontend/src/components/ui/badge.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+/* eslint-disable react-refresh/only-export-components */import { type VariantProps, cva } from "class-variance-authority";diff --git a/studio/frontend/src/components/ui/breadcrumb.tsx b/studio/frontend/src/components/ui/breadcrumb.tsxindex 0ec0f336da3..28f9e7c80f5 100644--- a/studio/frontend/src/components/ui/breadcrumb.tsx+++ b/studio/frontend/src/components/ui/breadcrumb.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Slot } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/button.tsx b/studio/frontend/src/components/ui/button.tsxindex ccc99180e72..2763ffacd5d 100644--- a/studio/frontend/src/components/ui/button.tsx+++ b/studio/frontend/src/components/ui/button.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+/* eslint-disable react-refresh/only-export-components */import { type VariantProps, cva } from "class-variance-authority";diff --git a/studio/frontend/src/components/ui/calendar.tsx b/studio/frontend/src/components/ui/calendar.tsxindex aafeec3e913..c15322ef359 100644--- a/studio/frontend/src/components/ui/calendar.tsx+++ b/studio/frontend/src/components/ui/calendar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import * as React from "react";import {type DayButton,diff --git a/studio/frontend/src/components/ui/card.tsx b/studio/frontend/src/components/ui/card.tsxindex 058a9d3fd30..ba67a5054a6 100644--- a/studio/frontend/src/components/ui/card.tsx+++ b/studio/frontend/src/components/ui/card.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/components/ui/chart.tsx b/studio/frontend/src/components/ui/chart.tsxindex 7ebf5bad3a0..e800c362c01 100644--- a/studio/frontend/src/components/ui/chart.tsx+++ b/studio/frontend/src/components/ui/chart.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import * as React from "react";import * as RechartsPrimitive from "recharts";diff --git a/studio/frontend/src/components/ui/checkbox.tsx b/studio/frontend/src/components/ui/checkbox.tsxindex a5ec1cb85f1..528acf7a871 100644--- a/studio/frontend/src/components/ui/checkbox.tsx+++ b/studio/frontend/src/components/ui/checkbox.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Checkbox as CheckboxPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/collapsible.tsx b/studio/frontend/src/components/ui/collapsible.tsxindex eb2810762b0..e0dff5e31e0 100644--- a/studio/frontend/src/components/ui/collapsible.tsx+++ b/studio/frontend/src/components/ui/collapsible.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";import { Collapsible as CollapsiblePrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/combobox.tsx b/studio/frontend/src/components/ui/combobox.tsxindex 34b66ea64e3..42c6f6f49ad 100644--- a/studio/frontend/src/components/ui/combobox.tsx+++ b/studio/frontend/src/components/ui/combobox.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";/* eslint-disable react-refresh/only-export-components */diff --git a/studio/frontend/src/components/ui/command.tsx b/studio/frontend/src/components/ui/command.tsxindex cf3d02f97f7..3a97db8bfc7 100644--- a/studio/frontend/src/components/ui/command.tsx+++ b/studio/frontend/src/components/ui/command.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Command as CommandPrimitive } from "cmdk";diff --git a/studio/frontend/src/components/ui/confetti.tsx b/studio/frontend/src/components/ui/confetti.tsxindex cd0b44cda77..e80bf25c346 100644--- a/studio/frontend/src/components/ui/confetti.tsx+++ b/studio/frontend/src/components/ui/confetti.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {GlobalOptions as ConfettiGlobalOptions,CreateTypes as ConfettiInstance,diff --git a/studio/frontend/src/components/ui/context-menu.tsx b/studio/frontend/src/components/ui/context-menu.tsxindex 398d12e9226..71720bd5e56 100644--- a/studio/frontend/src/components/ui/context-menu.tsx+++ b/studio/frontend/src/components/ui/context-menu.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { ContextMenu as ContextMenuPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/data-table.tsx b/studio/frontend/src/components/ui/data-table.tsxindex bf2d07021d6..da450e42022 100644--- a/studio/frontend/src/components/ui/data-table.tsx+++ b/studio/frontend/src/components/ui/data-table.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {type ColumnDef,type SortingState,diff --git a/studio/frontend/src/components/ui/dialog.tsx b/studio/frontend/src/components/ui/dialog.tsxindex 40f5427728c..89304285398 100644--- a/studio/frontend/src/components/ui/dialog.tsx+++ b/studio/frontend/src/components/ui/dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Dialog as DialogPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/dropdown-menu.tsx b/studio/frontend/src/components/ui/dropdown-menu.tsxindex a3e27884d85..3894c7b0227 100644--- a/studio/frontend/src/components/ui/dropdown-menu.tsx+++ b/studio/frontend/src/components/ui/dropdown-menu.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/empty.tsx b/studio/frontend/src/components/ui/empty.tsxindex 90353e5e183..aaa9ad1fbc6 100644--- a/studio/frontend/src/components/ui/empty.tsx+++ b/studio/frontend/src/components/ui/empty.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cva, type VariantProps } from "class-variance-authority"import { cn } from "@/lib/utils"diff --git a/studio/frontend/src/components/ui/field.tsx b/studio/frontend/src/components/ui/field.tsxindex 0e20f5125e2..d6a173dbbf6 100644--- a/studio/frontend/src/components/ui/field.tsx+++ b/studio/frontend/src/components/ui/field.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type VariantProps, cva } from "class-variance-authority";import { useMemo } from "react";diff --git a/studio/frontend/src/components/ui/hover-card.tsx b/studio/frontend/src/components/ui/hover-card.tsxindex f691a7e0620..c6a73ee420c 100644--- a/studio/frontend/src/components/ui/hover-card.tsx+++ b/studio/frontend/src/components/ui/hover-card.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { HoverCard as HoverCardPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/input-group.tsx b/studio/frontend/src/components/ui/input-group.tsxindex 32f7d0b598e..86e403ceed7 100644--- a/studio/frontend/src/components/ui/input-group.tsx+++ b/studio/frontend/src/components/ui/input-group.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type VariantProps, cva } from "class-variance-authority";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/input.tsx b/studio/frontend/src/components/ui/input.tsxindex b9a2ac3462d..c60b6b1b02f 100644--- a/studio/frontend/src/components/ui/input.tsx+++ b/studio/frontend/src/components/ui/input.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/components/ui/label.tsx b/studio/frontend/src/components/ui/label.tsxindex a6ba63ed865..f26b4d9434d 100644--- a/studio/frontend/src/components/ui/label.tsx+++ b/studio/frontend/src/components/ui/label.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Label as LabelPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/light-rays.tsx b/studio/frontend/src/components/ui/light-rays.tsxindex 582390607fc..405ba839154 100644--- a/studio/frontend/src/components/ui/light-rays.tsx+++ b/studio/frontend/src/components/ui/light-rays.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { motion } from "motion/react";import { type CSSProperties, useState } from "react";diff --git a/studio/frontend/src/components/ui/menubar.tsx b/studio/frontend/src/components/ui/menubar.tsxindex e48159dfc3a..089e9bb24fb 100644--- a/studio/frontend/src/components/ui/menubar.tsx+++ b/studio/frontend/src/components/ui/menubar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Menubar as MenubarPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/navigation-menu.tsx b/studio/frontend/src/components/ui/navigation-menu.tsxindex 407c6acb2a3..129b97ae508 100644--- a/studio/frontend/src/components/ui/navigation-menu.tsx+++ b/studio/frontend/src/components/ui/navigation-menu.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+/* eslint-disable react-refresh/only-export-components */import { cva } from "class-variance-authority";diff --git a/studio/frontend/src/components/ui/pagination.tsx b/studio/frontend/src/components/ui/pagination.tsxindex 53df2652be5..895f6f1201d 100644--- a/studio/frontend/src/components/ui/pagination.tsx+++ b/studio/frontend/src/components/ui/pagination.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import { Button } from "@/components/ui/button";diff --git a/studio/frontend/src/components/ui/popover.tsx b/studio/frontend/src/components/ui/popover.tsxindex 8912b73bd39..34c0686a99d 100644--- a/studio/frontend/src/components/ui/popover.tsx+++ b/studio/frontend/src/components/ui/popover.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Popover as PopoverPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/progress.tsx b/studio/frontend/src/components/ui/progress.tsxindex 92ca40b73e9..ca4bc0fe0bb 100644--- a/studio/frontend/src/components/ui/progress.tsx+++ b/studio/frontend/src/components/ui/progress.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Progress as ProgressPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/radio-group.tsx b/studio/frontend/src/components/ui/radio-group.tsxindex 383d82b60eb..47685748bf3 100644--- a/studio/frontend/src/components/ui/radio-group.tsx+++ b/studio/frontend/src/components/ui/radio-group.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { RadioGroup as RadioGroupPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/resizable.tsx b/studio/frontend/src/components/ui/resizable.tsxindex b93636cb634..5c9c07bd8ce 100644--- a/studio/frontend/src/components/ui/resizable.tsx+++ b/studio/frontend/src/components/ui/resizable.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import * as ResizablePrimitive from "react-resizable-panels";diff --git a/studio/frontend/src/components/ui/scroll-area.tsx b/studio/frontend/src/components/ui/scroll-area.tsxindex a99e76871fe..3abbefc9ab7 100644--- a/studio/frontend/src/components/ui/scroll-area.tsx+++ b/studio/frontend/src/components/ui/scroll-area.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/select.tsx b/studio/frontend/src/components/ui/select.tsxindex 4c500af08e6..8feeb280682 100644--- a/studio/frontend/src/components/ui/select.tsx+++ b/studio/frontend/src/components/ui/select.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import { Select as SelectPrimitive } from "radix-ui";diff --git a/studio/frontend/src/components/ui/separator.tsx b/studio/frontend/src/components/ui/separator.tsxindex fecc43663a4..bf3f967b622 100644--- a/studio/frontend/src/components/ui/separator.tsx+++ b/studio/frontend/src/components/ui/separator.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Separator as SeparatorPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/sheet.tsx b/studio/frontend/src/components/ui/sheet.tsxindex b086790203e..3227583bc06 100644--- a/studio/frontend/src/components/ui/sheet.tsx+++ b/studio/frontend/src/components/ui/sheet.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Dialog as SheetPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/shine-border.tsx b/studio/frontend/src/components/ui/shine-border.tsxindex 40b1fe8cf1d..d8a0f8d01e3 100644--- a/studio/frontend/src/components/ui/shine-border.tsx+++ b/studio/frontend/src/components/ui/shine-border.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import * as React from "react"import { cn } from "@/lib/utils"diff --git a/studio/frontend/src/components/ui/sidebar.tsx b/studio/frontend/src/components/ui/sidebar.tsxindex e2d611259aa..85e82b63ad4 100644--- a/studio/frontend/src/components/ui/sidebar.tsx+++ b/studio/frontend/src/components/ui/sidebar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client"import * as React from "react"diff --git a/studio/frontend/src/components/ui/skeleton.tsx b/studio/frontend/src/components/ui/skeleton.tsxindex 339123e3c3d..1459672802e 100644--- a/studio/frontend/src/components/ui/skeleton.tsx+++ b/studio/frontend/src/components/ui/skeleton.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";function Skeleton({ className, ...props }: React.ComponentProps<"div">) {diff --git a/studio/frontend/src/components/ui/slider.tsx b/studio/frontend/src/components/ui/slider.tsxindex 5d75b88e6d5..edb30ce2c40 100644--- a/studio/frontend/src/components/ui/slider.tsx+++ b/studio/frontend/src/components/ui/slider.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Slider as SliderPrimitive } from "radix-ui";import * as React from "react";diff --git a/studio/frontend/src/components/ui/sonner.tsx b/studio/frontend/src/components/ui/sonner.tsxindex 9a12a4bb505..b38efaf4b85 100644--- a/studio/frontend/src/components/ui/sonner.tsx+++ b/studio/frontend/src/components/ui/sonner.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Alert02Icon,CheckmarkCircle02Icon,diff --git a/studio/frontend/src/components/ui/sparkles-text.tsx b/studio/frontend/src/components/ui/sparkles-text.tsxindex 552e99cb1c8..b69aa5a6baf 100644--- a/studio/frontend/src/components/ui/sparkles-text.tsx+++ b/studio/frontend/src/components/ui/sparkles-text.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { motion } from "motion/react";import {type CSSProperties,diff --git a/studio/frontend/src/components/ui/spinner.tsx b/studio/frontend/src/components/ui/spinner.tsxindex 3030726f0f4..4853f040151 100644--- a/studio/frontend/src/components/ui/spinner.tsx+++ b/studio/frontend/src/components/ui/spinner.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils"import { HugeiconsIcon } from "@hugeicons/react"import { Loading03Icon } from "@hugeicons/core-free-icons"diff --git a/studio/frontend/src/components/ui/switch.tsx b/studio/frontend/src/components/ui/switch.tsxindex bf11dc7d458..b2f8a2e3b7a 100644--- a/studio/frontend/src/components/ui/switch.tsx+++ b/studio/frontend/src/components/ui/switch.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Switch as SwitchPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/components/ui/table.tsx b/studio/frontend/src/components/ui/table.tsxindex 96eaf73373c..44cae79896c 100644--- a/studio/frontend/src/components/ui/table.tsx+++ b/studio/frontend/src/components/ui/table.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/components/ui/tabs.tsx b/studio/frontend/src/components/ui/tabs.tsxindex 3c3fe2c023a..6dc92198d13 100644--- a/studio/frontend/src/components/ui/tabs.tsx+++ b/studio/frontend/src/components/ui/tabs.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";/* eslint-disable react-refresh/only-export-components */diff --git a/studio/frontend/src/components/ui/terminal.tsx b/studio/frontend/src/components/ui/terminal.tsxindex d9483eaca58..496e74053c3 100644--- a/studio/frontend/src/components/ui/terminal.tsx+++ b/studio/frontend/src/components/ui/terminal.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils"import {Children,diff --git a/studio/frontend/src/components/ui/textarea.tsx b/studio/frontend/src/components/ui/textarea.tsxindex 3133779c442..edbea03848b 100644--- a/studio/frontend/src/components/ui/textarea.tsx+++ b/studio/frontend/src/components/ui/textarea.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type * as React from "react";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/components/ui/toggle-group.tsx b/studio/frontend/src/components/ui/toggle-group.tsxindex 5850f1b186e..6e750b435bb 100644--- a/studio/frontend/src/components/ui/toggle-group.tsx+++ b/studio/frontend/src/components/ui/toggle-group.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";import type { VariantProps } from "class-variance-authority";diff --git a/studio/frontend/src/components/ui/toggle.tsx b/studio/frontend/src/components/ui/toggle.tsxindex 65a7fd6fbbb..ae71b6e87d4 100644--- a/studio/frontend/src/components/ui/toggle.tsx+++ b/studio/frontend/src/components/ui/toggle.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";/* eslint-disable react-refresh/only-export-components */diff --git a/studio/frontend/src/components/ui/tooltip.tsx b/studio/frontend/src/components/ui/tooltip.tsxindex 6584cfaf95e..94fba54cc25 100644--- a/studio/frontend/src/components/ui/tooltip.tsx+++ b/studio/frontend/src/components/ui/tooltip.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Tooltip as TooltipPrimitive } from "radix-ui";import type * as React from "react";diff --git a/studio/frontend/src/config/env.ts b/studio/frontend/src/config/env.tsindex fa7fedb2d6e..5169b9f5a1b 100644--- a/studio/frontend/src/config/env.ts+++ b/studio/frontend/src/config/env.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const env = {MODE: import.meta.env.MODE,DEV: import.meta.env.DEV,diff --git a/studio/frontend/src/config/training.ts b/studio/frontend/src/config/training.tsindex b812dd89f10..5ae61c5129f 100644--- a/studio/frontend/src/config/training.ts+++ b/studio/frontend/src/config/training.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ModelType, StepConfig } from "@/types/training";import type { PipelineType } from "@huggingface/hub";diff --git a/studio/frontend/src/features/auth/api.ts b/studio/frontend/src/features/auth/api.tsindex f42a5447573..257b9b7339e 100644--- a/studio/frontend/src/features/auth/api.ts+++ b/studio/frontend/src/features/auth/api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {clearAuthTokens,getAuthToken,diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsxindex 5ed529a9e81..309a0001a69 100644--- a/studio/frontend/src/features/auth/components/auth-form.tsx+++ b/studio/frontend/src/features/auth/components/auth-form.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Input } from "@/components/ui/input";import { Label } from "@/components/ui/label";diff --git a/studio/frontend/src/features/auth/index.ts b/studio/frontend/src/features/auth/index.tsindex bd0b98f6be4..264ee240fec 100644--- a/studio/frontend/src/features/auth/index.ts+++ b/studio/frontend/src/features/auth/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { LoginPage } from "./login-page";export { SignupPage } from "./signup-page";export { authFetch, refreshSession } from "./api";diff --git a/studio/frontend/src/features/auth/login-page.tsx b/studio/frontend/src/features/auth/login-page.tsxindex b6ccfe0c1c2..15418d66781 100644--- a/studio/frontend/src/features/auth/login-page.tsx+++ b/studio/frontend/src/features/auth/login-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { LightRays } from "@/components/ui/light-rays";import { Card } from "@/components/ui/card";import { AuthForm } from "./components/auth-form";diff --git a/studio/frontend/src/features/auth/session.ts b/studio/frontend/src/features/auth/session.tsindex 69ff2ac2a2d..151aa9e70b5 100644--- a/studio/frontend/src/features/auth/session.ts+++ b/studio/frontend/src/features/auth/session.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const AUTH_TOKEN_KEY = "unsloth_auth_token";export const AUTH_REFRESH_TOKEN_KEY = "unsloth_auth_refresh_token";export const ONBOARDING_DONE_KEY = "unsloth_onboarding_done";diff --git a/studio/frontend/src/features/auth/signup-page.tsx b/studio/frontend/src/features/auth/signup-page.tsxindex 9d83b0bc660..f608b1bb9bf 100644--- a/studio/frontend/src/features/auth/signup-page.tsx+++ b/studio/frontend/src/features/auth/signup-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { LightRays } from "@/components/ui/light-rays";import { Card } from "@/components/ui/card";import { AuthForm } from "./components/auth-form";diff --git a/studio/frontend/src/features/chat/api/chat-adapter.ts b/studio/frontend/src/features/chat/api/chat-adapter.tsindex 8abe71fd62a..af6fcef6e95 100644--- a/studio/frontend/src/features/chat/api/chat-adapter.ts+++ b/studio/frontend/src/features/chat/api/chat-adapter.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ChatModelAdapter } from "@assistant-ui/react";import { toast } from "sonner";import { generateAudio, streamChatCompletions } from "./chat-api";diff --git a/studio/frontend/src/features/chat/api/chat-api.ts b/studio/frontend/src/features/chat/api/chat-api.tsindex f7a47c6a19a..c73b60d440f 100644--- a/studio/frontend/src/features/chat/api/chat-api.ts+++ b/studio/frontend/src/features/chat/api/chat-api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { authFetch } from "@/features/auth";import type {AudioGenerationResponse,diff --git a/studio/frontend/src/features/chat/chat-page.tsx b/studio/frontend/src/features/chat/chat-page.tsxindex f4b0ae72fa0..3972fc2f355 100644--- a/studio/frontend/src/features/chat/chat-page.tsx+++ b/studio/frontend/src/features/chat/chat-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {type LoraModelOption,type ModelOption,diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsxindex 2ffa5a5370d..62ec2fcf8f4 100644--- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx+++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Select,SelectContent,diff --git a/studio/frontend/src/features/chat/db.ts b/studio/frontend/src/features/chat/db.tsindex cc000edae98..c2bdf3fa44b 100644--- a/studio/frontend/src/features/chat/db.ts+++ b/studio/frontend/src/features/chat/db.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import Dexie, { type EntityTable, liveQuery } from "dexie";import { useEffect, useState } from "react";import type { MessageRecord, ThreadRecord } from "./types";diff --git a/studio/frontend/src/features/chat/hooks/use-chat-model-runtime.ts b/studio/frontend/src/features/chat/hooks/use-chat-model-runtime.tsindex 303030372d9..da7d9258f7b 100644--- a/studio/frontend/src/features/chat/hooks/use-chat-model-runtime.ts+++ b/studio/frontend/src/features/chat/hooks/use-chat-model-runtime.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback, useState } from "react";import { toast } from "sonner";import {diff --git a/studio/frontend/src/features/chat/index.ts b/studio/frontend/src/features/chat/index.tsindex 521a0fe27fe..1017763a352 100644--- a/studio/frontend/src/features/chat/index.ts+++ b/studio/frontend/src/features/chat/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { ChatPage } from "./chat-page";export {ChatSettingsPanel,diff --git a/studio/frontend/src/features/chat/lib/training-compare-handoff.ts b/studio/frontend/src/features/chat/lib/training-compare-handoff.tsindex 1ceaf7a00b4..b6613d4ca20 100644--- a/studio/frontend/src/features/chat/lib/training-compare-handoff.ts+++ b/studio/frontend/src/features/chat/lib/training-compare-handoff.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+const TRAINING_COMPARE_HANDOFF_KEY = "chat:training-compare-handoff:v1";const HANDOFF_MAX_AGE_MS = 15 * 60 * 1000;diff --git a/studio/frontend/src/features/chat/runtime-provider.tsx b/studio/frontend/src/features/chat/runtime-provider.tsxindex 46e3c697ade..320ec009067 100644--- a/studio/frontend/src/features/chat/runtime-provider.tsx+++ b/studio/frontend/src/features/chat/runtime-provider.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {AssistantRuntimeProvider,type AttachmentAdapter,diff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsxindex fb4eb8fa69f..8b78822799b 100644--- a/studio/frontend/src/features/chat/shared-composer.tsx+++ b/studio/frontend/src/features/chat/shared-composer.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { TooltipIconButton } from "@/components/assistant-ui/tooltip-icon-button";import { Button } from "@/components/ui/button";import { AUDIO_ACCEPT, MAX_AUDIO_SIZE, fileToBase64 } from "@/lib/audio-utils";diff --git a/studio/frontend/src/features/chat/stores/chat-runtime-store.ts b/studio/frontend/src/features/chat/stores/chat-runtime-store.tsindex d10a6a22d27..f73248ae44d 100644--- a/studio/frontend/src/features/chat/stores/chat-runtime-store.ts+++ b/studio/frontend/src/features/chat/stores/chat-runtime-store.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { create } from "zustand";import {DEFAULT_INFERENCE_PARAMS,diff --git a/studio/frontend/src/features/chat/thread-sidebar.tsx b/studio/frontend/src/features/chat/thread-sidebar.tsxindex b72d48ddfd8..103e847f867 100644--- a/studio/frontend/src/features/chat/thread-sidebar.tsx+++ b/studio/frontend/src/features/chat/thread-sidebar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {SidebarContent,SidebarGroup,diff --git a/studio/frontend/src/features/chat/tour/index.ts b/studio/frontend/src/features/chat/tour/index.tsindex 8db3c1d207d..489c8941b8f 100644--- a/studio/frontend/src/features/chat/tour/index.ts+++ b/studio/frontend/src/features/chat/tour/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { buildChatTourSteps } from "./steps";diff --git a/studio/frontend/src/features/chat/tour/steps.tsx b/studio/frontend/src/features/chat/tour/steps.tsxindex 193a6b6ad37..e6be1aa05b7 100644--- a/studio/frontend/src/features/chat/tour/steps.tsx+++ b/studio/frontend/src/features/chat/tour/steps.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TourStep } from "@/features/tour";export function buildChatTourSteps({diff --git a/studio/frontend/src/features/chat/types.ts b/studio/frontend/src/features/chat/types.tsindex a60bcbe6573..9ed6854ce8a 100644--- a/studio/frontend/src/features/chat/types.ts+++ b/studio/frontend/src/features/chat/types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type ModelType = "base" | "lora";export type ChatView =diff --git a/studio/frontend/src/features/chat/types/api.ts b/studio/frontend/src/features/chat/types/api.tsindex 602574f00a5..b11d570eefa 100644--- a/studio/frontend/src/features/chat/types/api.ts+++ b/studio/frontend/src/features/chat/types/api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export interface BackendModelDetails {id: string;name?: string | null;diff --git a/studio/frontend/src/features/chat/types/runtime.ts b/studio/frontend/src/features/chat/types/runtime.tsindex a1c98ada7df..b94dce994ff 100644--- a/studio/frontend/src/features/chat/types/runtime.ts+++ b/studio/frontend/src/features/chat/types/runtime.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export interface InferenceParams {temperature: number;topP: number;diff --git a/studio/frontend/src/features/chat/utils/parse-assistant-content.ts b/studio/frontend/src/features/chat/utils/parse-assistant-content.tsindex fdf4ce051ea..4d0d7bb875d 100644--- a/studio/frontend/src/features/chat/utils/parse-assistant-content.ts+++ b/studio/frontend/src/features/chat/utils/parse-assistant-content.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ChatModelRunResult } from "@assistant-ui/react";type ContentPart = NonNullable<ChatModelRunResult["content"]>[number];diff --git a/studio/frontend/src/features/data-recipes/data/recipes-db.ts b/studio/frontend/src/features/data-recipes/data/recipes-db.tsindex 1fc9bb17c1e..7b1cb8b60ee 100644--- a/studio/frontend/src/features/data-recipes/data/recipes-db.ts+++ b/studio/frontend/src/features/data-recipes/data/recipes-db.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { createEmptyRecipePayload } from "@/features/recipe-studio";import { normalizeNonEmptyName } from "@/utils";import Dexie, { type EntityTable, liveQuery } from "dexie";diff --git a/studio/frontend/src/features/data-recipes/index.ts b/studio/frontend/src/features/data-recipes/index.tsindex 9c0e59e147a..88dc5f47fd2 100644--- a/studio/frontend/src/features/data-recipes/index.ts+++ b/studio/frontend/src/features/data-recipes/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { DataRecipesPage } from "./pages/data-recipes-page";export { EditRecipePage } from "./pages/edit-recipe-page";diff --git a/studio/frontend/src/features/data-recipes/learning-recipes/index.ts b/studio/frontend/src/features/data-recipes/learning-recipes/index.tsindex 98e20a954a4..3038831b44e 100644--- a/studio/frontend/src/features/data-recipes/learning-recipes/index.ts+++ b/studio/frontend/src/features/data-recipes/learning-recipes/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { RecipePayload } from "@/features/recipe-studio";const structuredOutputsJinjaUrl = new URL(diff --git a/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx b/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsxindex e9e85e23b88..8874a63892d 100644--- a/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx+++ b/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";import {diff --git a/studio/frontend/src/features/data-recipes/pages/edit-recipe-page.tsx b/studio/frontend/src/features/data-recipes/pages/edit-recipe-page.tsxindex 329e0ea87d3..19ef7a2427d 100644--- a/studio/frontend/src/features/data-recipes/pages/edit-recipe-page.tsx+++ b/studio/frontend/src/features/data-recipes/pages/edit-recipe-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { RecipeStudioPage, type RecipePayload } from "@/features/recipe-studio";import { useNavigate } from "@tanstack/react-router";diff --git a/studio/frontend/src/features/data-recipes/types.ts b/studio/frontend/src/features/data-recipes/types.tsindex c16e039d56f..f4a5e852569 100644--- a/studio/frontend/src/features/data-recipes/types.ts+++ b/studio/frontend/src/features/data-recipes/types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { RecipePayload } from "@/features/recipe-studio";export type RecipeRecord = {diff --git a/studio/frontend/src/features/export/anim.ts b/studio/frontend/src/features/export/anim.tsindex 0bfc5aaa8a5..04750f69ba2 100644--- a/studio/frontend/src/features/export/anim.ts+++ b/studio/frontend/src/features/export/anim.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const collapseAnim = {initial: { height: 0, opacity: 0 },animate: { height: "auto" as const, opacity: 1 },diff --git a/studio/frontend/src/features/export/api/export-api.ts b/studio/frontend/src/features/export/api/export-api.tsindex 1eac52f216f..a2fde288699 100644--- a/studio/frontend/src/features/export/api/export-api.ts+++ b/studio/frontend/src/features/export/api/export-api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { authFetch } from "@/features/auth";async function readError(response: Response): Promise<string> {diff --git a/studio/frontend/src/features/export/components/export-dialog.tsx b/studio/frontend/src/features/export/components/export-dialog.tsxindex 42cf54b65d5..1591cf92c3b 100644--- a/studio/frontend/src/features/export/components/export-dialog.tsx+++ b/studio/frontend/src/features/export/components/export-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import {Dialog,diff --git a/studio/frontend/src/features/export/components/method-picker.tsx b/studio/frontend/src/features/export/components/method-picker.tsxindex 1096947d944..7fbdd8491cc 100644--- a/studio/frontend/src/features/export/components/method-picker.tsx+++ b/studio/frontend/src/features/export/components/method-picker.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import {Tooltip,diff --git a/studio/frontend/src/features/export/components/quant-picker.tsx b/studio/frontend/src/features/export/components/quant-picker.tsxindex 8136a46bb56..08eed2b06a5 100644--- a/studio/frontend/src/features/export/components/quant-picker.tsx+++ b/studio/frontend/src/features/export/components/quant-picker.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Tooltip,TooltipContent,diff --git a/studio/frontend/src/features/export/constants.ts b/studio/frontend/src/features/export/constants.tsindex 857e8fa91a1..de1a0d76af5 100644--- a/studio/frontend/src/features/export/constants.ts+++ b/studio/frontend/src/features/export/constants.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TrainingMethod } from "@/types/training";export type ExportMethod = "merged" | "lora" | "gguf";diff --git a/studio/frontend/src/features/export/export-page.tsx b/studio/frontend/src/features/export/export-page.tsxindex fa43c5eb98d..05d697bd5e5 100644--- a/studio/frontend/src/features/export/export-page.tsx+++ b/studio/frontend/src/features/export/export-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { SectionCard } from "@/components/section-card";import { Button } from "@/components/ui/button";import {diff --git a/studio/frontend/src/features/export/index.ts b/studio/frontend/src/features/export/index.tsindex 320f8b6d2ed..42c0c3bd5f1 100644--- a/studio/frontend/src/features/export/index.ts+++ b/studio/frontend/src/features/export/index.ts@@ -1 +1,4 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { ExportPage } from "./export-page";diff --git a/studio/frontend/src/features/export/tour/index.ts b/studio/frontend/src/features/export/tour/index.tsindex 68384f2fc5f..ace954425c8 100644--- a/studio/frontend/src/features/export/tour/index.ts+++ b/studio/frontend/src/features/export/tour/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { exportTourSteps } from "./steps";diff --git a/studio/frontend/src/features/export/tour/steps.tsx b/studio/frontend/src/features/export/tour/steps.tsxindex 559524894b8..d65019a0e32 100644--- a/studio/frontend/src/features/export/tour/steps.tsx+++ b/studio/frontend/src/features/export/tour/steps.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TourStep } from "@/features/tour";export const exportTourSteps: TourStep[] = [diff --git a/studio/frontend/src/features/onboarding/components/splash-screen.tsx b/studio/frontend/src/features/onboarding/components/splash-screen.tsxindex 9839d967af4..f1163915972 100644--- a/studio/frontend/src/features/onboarding/components/splash-screen.tsx+++ b/studio/frontend/src/features/onboarding/components/splash-screen.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Card } from "@/components/ui/card";import { motion } from "motion/react";diff --git a/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx b/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsxindex 5e72e4b7653..0c366c766d6 100644--- a/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx+++ b/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";import {diff --git a/studio/frontend/src/features/onboarding/components/steps/hyperparameters-step.tsx b/studio/frontend/src/features/onboarding/components/steps/hyperparameters-step.tsxindex 9ad9c31e0a6..bb154de0c75 100644--- a/studio/frontend/src/features/onboarding/components/steps/hyperparameters-step.tsx+++ b/studio/frontend/src/features/onboarding/components/steps/hyperparameters-step.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {FieldGroup,FieldLabel,diff --git a/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx b/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsxindex 94f0084100e..fe37ab4db25 100644--- a/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx+++ b/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Combobox,ComboboxContent,diff --git a/studio/frontend/src/features/onboarding/components/steps/model-type-step.tsx b/studio/frontend/src/features/onboarding/components/steps/model-type-step.tsxindex 8cf6e8bc076..8fbbe8ec644 100644--- a/studio/frontend/src/features/onboarding/components/steps/model-type-step.tsx+++ b/studio/frontend/src/features/onboarding/components/steps/model-type-step.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { Card, CardContent } from "@/components/ui/card";import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";diff --git a/studio/frontend/src/features/onboarding/components/steps/summary-step.tsx b/studio/frontend/src/features/onboarding/components/steps/summary-step.tsxindex b1ded62f803..8b4737015cf 100644--- a/studio/frontend/src/features/onboarding/components/steps/summary-step.tsx+++ b/studio/frontend/src/features/onboarding/components/steps/summary-step.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";import { Separator } from "@/components/ui/separator";diff --git a/studio/frontend/src/features/onboarding/components/wizard-content.tsx b/studio/frontend/src/features/onboarding/components/wizard-content.tsxindex 20e37f7d587..1f265e2b9b4 100644--- a/studio/frontend/src/features/onboarding/components/wizard-content.tsx+++ b/studio/frontend/src/features/onboarding/components/wizard-content.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { STEPS } from "@/config/training";import { useTrainingConfigStore } from "@/features/training";import type { StepNumber } from "@/types/training";diff --git a/studio/frontend/src/features/onboarding/components/wizard-footer.tsx b/studio/frontend/src/features/onboarding/components/wizard-footer.tsxindex 2b3af5aa964..9d755e8e140 100644--- a/studio/frontend/src/features/onboarding/components/wizard-footer.tsx+++ b/studio/frontend/src/features/onboarding/components/wizard-footer.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { STEPS } from "@/config/training";import { markOnboardingDone } from "@/features/auth";diff --git a/studio/frontend/src/features/onboarding/components/wizard-layout.tsx b/studio/frontend/src/features/onboarding/components/wizard-layout.tsxindex 81539223957..d23e6a8128c 100644--- a/studio/frontend/src/features/onboarding/components/wizard-layout.tsx+++ b/studio/frontend/src/features/onboarding/components/wizard-layout.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Card } from "@/components/ui/card";import { useNavigate } from "@tanstack/react-router";import { motion } from "motion/react";diff --git a/studio/frontend/src/features/onboarding/components/wizard-sidebar.tsx b/studio/frontend/src/features/onboarding/components/wizard-sidebar.tsxindex 734c8c166d3..7ef8937137c 100644--- a/studio/frontend/src/features/onboarding/components/wizard-sidebar.tsx+++ b/studio/frontend/src/features/onboarding/components/wizard-sidebar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Progress } from "@/components/ui/progress";import { STEPS } from "@/config/training";import { useTrainingConfigStore } from "@/features/training";diff --git a/studio/frontend/src/features/onboarding/components/wizard-step-item.tsx b/studio/frontend/src/features/onboarding/components/wizard-step-item.tsxindex 953b1699c77..70cf3d2fdd9 100644--- a/studio/frontend/src/features/onboarding/components/wizard-step-item.tsx+++ b/studio/frontend/src/features/onboarding/components/wizard-step-item.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";import { useTrainingConfigStore } from "@/features/training";import type { StepConfig, StepNumber } from "@/types/training";diff --git a/studio/frontend/src/features/onboarding/index.ts b/studio/frontend/src/features/onboarding/index.tsindex 4f1fb062653..e1e8a027588 100644--- a/studio/frontend/src/features/onboarding/index.ts+++ b/studio/frontend/src/features/onboarding/index.ts@@ -1 +1,4 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { WizardLayout } from "./components/wizard-layout";diff --git a/studio/frontend/src/features/recipe-studio/api/index.ts b/studio/frontend/src/features/recipe-studio/api/index.tsindex ef13eb92dad..fe3ab9dd5a3 100644--- a/studio/frontend/src/features/recipe-studio/api/index.ts+++ b/studio/frontend/src/features/recipe-studio/api/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { authFetch } from "@/features/auth";const DEFAULT_BASE = "/api/data-recipe";diff --git a/studio/frontend/src/features/recipe-studio/blocks/definitions.ts b/studio/frontend/src/features/recipe-studio/blocks/definitions.tsindex c2d68b26cfd..d059d04cfb3 100644--- a/studio/frontend/src/features/recipe-studio/blocks/definitions.ts+++ b/studio/frontend/src/features/recipe-studio/blocks/definitions.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {BalanceScaleIcon,Clock01Icon,diff --git a/studio/frontend/src/features/recipe-studio/blocks/registry.ts b/studio/frontend/src/features/recipe-studio/blocks/registry.tsindex 35519816956..0dd395d0d38 100644--- a/studio/frontend/src/features/recipe-studio/blocks/registry.ts+++ b/studio/frontend/src/features/recipe-studio/blocks/registry.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type {BlockDefinition,BlockDialogKey,diff --git a/studio/frontend/src/features/recipe-studio/blocks/render-dialog.tsx b/studio/frontend/src/features/recipe-studio/blocks/render-dialog.tsxindex d8d82228424..4455259527e 100644--- a/studio/frontend/src/features/recipe-studio/blocks/render-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/blocks/render-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement } from "react";import type { NodeConfig, SamplerConfig } from "../types";import { getBlockDefinitionForConfig } from "./definitions";diff --git a/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx b/studio/frontend/src/features/recipe-studio/components/block-sheet.tsxindex 079a0ee0045..c04bd87f5fa 100644--- a/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx+++ b/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Badge } from "@/components/ui/badge";import { Input } from "@/components/ui/input";diff --git a/studio/frontend/src/features/recipe-studio/components/chip-input.tsx b/studio/frontend/src/features/recipe-studio/components/chip-input.tsxindex a7dd5ccc167..e2ae74b90e8 100644--- a/studio/frontend/src/features/recipe-studio/components/chip-input.tsx+++ b/studio/frontend/src/features/recipe-studio/components/chip-input.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Cancel01Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";diff --git a/studio/frontend/src/features/recipe-studio/components/controls/layout-controls.tsx b/studio/frontend/src/features/recipe-studio/components/controls/layout-controls.tsxindex 3208688c04f..21f2c4d8da5 100644--- a/studio/frontend/src/features/recipe-studio/components/controls/layout-controls.tsx+++ b/studio/frontend/src/features/recipe-studio/components/controls/layout-controls.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type ReactElement, useCallback } from "react";import {Panel,diff --git a/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsx b/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsxindex c8ca937d1ef..8115b566249 100644--- a/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsx+++ b/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { CookBookIcon, TestTube01Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";import type { ReactElement } from "react";diff --git a/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsx b/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsxindex 2ba13bfb33e..15bd2d7b4e2 100644--- a/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsx+++ b/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type ReactElement, useCallback } from "react";import { Lock, LockOpen, Maximize2, Minus, Plus } from "lucide-react";import { Panel, useReactFlow } from "@xyflow/react";diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsxindex 525dfefba06..b2c57a06673 100644--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsx+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement } from "react";import {Table,diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsxindex 3d4cc11ab63..45c5b27aae0 100644--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsx+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement } from "react";import type { ColumnDef } from "@tanstack/react-table";import { Button } from "@/components/ui/button";diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsxindex e24d23bc8e6..56ba5bbf0e0 100644--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsx+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement, RefObject, UIEvent } from "react";import {Database01Icon,diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsxindex 718722fc67a..6d8cd3a5435 100644--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsx+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement } from "react";type ExecutionRawTabProps = {diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsxindex 75441daf093..78cde58f4cb 100644--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsx+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement } from "react";import { Badge } from "@/components/ui/badge";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/features/recipe-studio/components/executions/executions-view-helpers.ts b/studio/frontend/src/features/recipe-studio/components/executions/executions-view-helpers.tsindex 0533a2e67f2..dcb91ab4ff0 100644--- a/studio/frontend/src/features/recipe-studio/components/executions/executions-view-helpers.ts+++ b/studio/frontend/src/features/recipe-studio/components/executions/executions-view-helpers.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {RecipeExecutionAnalysis,RecipeExecutionStatus,diff --git a/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx b/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsxindex 8fe9a0d225d..619c8512c9f 100644--- a/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx+++ b/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useEffect, useMemo, useRef, useState, type ReactElement } from "react";import type { ColumnDef } from "@tanstack/react-table";import {diff --git a/studio/frontend/src/features/recipe-studio/components/graph/internals-sync.tsx b/studio/frontend/src/features/recipe-studio/components/graph/internals-sync.tsxindex 5200d02d042..5a674272c96 100644--- a/studio/frontend/src/features/recipe-studio/components/graph/internals-sync.tsx+++ b/studio/frontend/src/features/recipe-studio/components/graph/internals-sync.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useUpdateNodeInternals } from "@xyflow/react";import { useEffect, useMemo, useRef } from "react";diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-category-badges.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-category-badges.tsxindex f7eca468eb9..cb15bfcee7a 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-category-badges.tsx+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-category-badges.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { type ReactElement, useLayoutEffect, useRef, useState } from "react";diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-expression.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-expression.tsxindex 206a068a788..4c1883cd0ad 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-expression.tsx+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-expression.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import {Select,diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-field.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-field.tsxindex 9938cf35411..29aba8fada0 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-field.tsx+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-field.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";import type { ReactElement, ReactNode } from "react";diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-llm.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-llm.tsxindex 1e7bfef6c56..1393e2e971c 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-llm.tsx+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-llm.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Combobox,ComboboxContent,diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsxindex 2c2c2ffd41c..ce9e445d33b 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsx+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import type { ReactElement } from "react";import type { ModelConfig, ModelProviderConfig } from "../../types";diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-policy.ts b/studio/frontend/src/features/recipe-studio/components/inline/inline-policy.tsindex 954c00ceaf3..0cec106e54c 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-policy.ts+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-policy.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig, SamplerType } from "../../types";export type ConfigUiMode = "inline" | "dialog";diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-sampler.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-sampler.tsxindex e3918729be1..bd0b2a5a279 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-sampler.tsx+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-sampler.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import {Select,diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsxindex 619faa77048..2f4e6708c86 100644--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsx+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { DocumentAttachmentIcon, DocumentCodeIcon, Plant01Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";import type { ReactElement } from "react";diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.ts b/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.tsindex ed375eef7c6..5002d35f6cf 100644--- a/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.ts+++ b/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const RECIPE_FLOATING_ICON_BUTTON_CLASS ="corner-squircle group h-11 w-11 rounded-xl border border-border/60 bg-transparent p-0 text-muted-foreground hover:bg-transparent hover:text-primary hover:border-primary/60";diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsxindex 8559f3e05cb..69f8c16c52e 100644--- a/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsx+++ b/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Input } from "@/components/ui/input";import { Textarea } from "@/components/ui/textarea";diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsxindex 8f2308c4ac8..afc088e10ae 100644--- a/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx+++ b/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";import { MarkdownPreview } from "@/components/markdown/markdown-preview";diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-graph-semantic-edge.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-graph-semantic-edge.tsxindex 9908a91f92e..2841facbc25 100644--- a/studio/frontend/src/features/recipe-studio/components/recipe-graph-semantic-edge.tsx+++ b/studio/frontend/src/features/recipe-studio/components/recipe-graph-semantic-edge.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { BaseEdge, type EdgeProps, getSmoothStepPath } from "@xyflow/react";import { memo, type ReactElement } from "react";diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsxindex 4a4df6df45a..fb22cd5b19d 100644--- a/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx+++ b/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type KeyboardEvent, type ReactElement, useState } from "react";import {CookBookIcon,diff --git a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsx b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsxindex 1901b141f13..db3147459a7 100644--- a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsx+++ b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ComponentProps, ReactElement } from "react";import { Handle, type HandleProps } from "@xyflow/react";diff --git a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsx b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsxindex 5bfc573f4a6..a1e9435bd6d 100644--- a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsx+++ b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ComponentProps, ReactElement } from "react";import { cn } from "@/lib/utils";diff --git a/studio/frontend/src/features/recipe-studio/components/rf-ui/data-edge.tsx b/studio/frontend/src/features/recipe-studio/components/rf-ui/data-edge.tsxindex ee475b7459e..ccf564ce860 100644--- a/studio/frontend/src/features/recipe-studio/components/rf-ui/data-edge.tsx+++ b/studio/frontend/src/features/recipe-studio/components/rf-ui/data-edge.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement } from "react";import {BaseEdge,diff --git a/studio/frontend/src/features/recipe-studio/components/rf-ui/labeled-handle.tsx b/studio/frontend/src/features/recipe-studio/components/rf-ui/labeled-handle.tsxindex b365bc0b32c..7ec18eee7ef 100644--- a/studio/frontend/src/features/recipe-studio/components/rf-ui/labeled-handle.tsx+++ b/studio/frontend/src/features/recipe-studio/components/rf-ui/labeled-handle.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type ComponentProps, type ReactElement } from "react";import { type HandleProps } from "@xyflow/react";diff --git a/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsx b/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsxindex 9cf2791416e..833a16356e2 100644--- a/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsx+++ b/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {ArrowDown01Icon,ArrowUp01Icon,diff --git a/studio/frontend/src/features/recipe-studio/components/shared/available-references-inline.tsx b/studio/frontend/src/features/recipe-studio/components/shared/available-references-inline.tsxindex 938e5405abf..9e20a761ff9 100644--- a/studio/frontend/src/features/recipe-studio/components/shared/available-references-inline.tsx+++ b/studio/frontend/src/features/recipe-studio/components/shared/available-references-inline.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { type ReactElement, useLayoutEffect, useRef, useState } from "react";import type { AvailableVariableEntry } from "../../utils/variables";diff --git a/studio/frontend/src/features/recipe-studio/components/shared/hf-dataset-combobox.tsx b/studio/frontend/src/features/recipe-studio/components/shared/hf-dataset-combobox.tsxindex 7377bcac693..8287b4bf01b 100644--- a/studio/frontend/src/features/recipe-studio/components/shared/hf-dataset-combobox.tsx+++ b/studio/frontend/src/features/recipe-studio/components/shared/hf-dataset-combobox.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Combobox,ComboboxContent,diff --git a/studio/frontend/src/features/recipe-studio/constants.ts b/studio/frontend/src/features/recipe-studio/constants.tsindex 94fdb028685..af76da04f1b 100644--- a/studio/frontend/src/features/recipe-studio/constants.ts+++ b/studio/frontend/src/features/recipe-studio/constants.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const DEFAULT_NODE_WIDTH = 400;export const DEFAULT_NODE_HEIGHT = 120;export const MIN_NODE_WIDTH = 260;diff --git a/studio/frontend/src/features/recipe-studio/data/executions-db.ts b/studio/frontend/src/features/recipe-studio/data/executions-db.tsindex e09824a6642..1374a2ebb5f 100644--- a/studio/frontend/src/features/recipe-studio/data/executions-db.ts+++ b/studio/frontend/src/features/recipe-studio/data/executions-db.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import Dexie, { type EntityTable } from "dexie";import type { RecipeExecutionRecord } from "../execution-types";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsxindex ef290f18fb1..400050669ae 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Dialog, DialogContent, DialogFooter } from "@/components/ui/dialog";import { Switch } from "@/components/ui/switch";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/expression/expression-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/expression/expression-dialog.tsxindex c734f67fae5..76a431cae3e 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/expression/expression-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/expression/expression-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Select,SelectContent,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/import-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/import-dialog.tsxindex 379091a8ae3..89f56ebab7b 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/import-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/import-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import {Dialog,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsx b/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsxindex 561165c7d0c..ef7e38417c0 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Collapsible,CollapsibleContent,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/llm/llm-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/llm/llm-dialog.tsxindex 7069f6119a0..6d87f7b1179 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/llm/llm-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/llm/llm-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type ReactElement, useRef } from "react";import type { LlmConfig } from "../../types";import { LlmGeneralTab } from "./general-tab";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsx b/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsxindex f83d40161fe..8b36278e0c1 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import {Empty,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/markdown-note/markdown-note-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/markdown-note/markdown-note-dialog.tsxindex 5cb04b51697..d0fa03160b8 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/markdown-note/markdown-note-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/markdown-note/markdown-note-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Slider } from "@/components/ui/slider";import { Textarea } from "@/components/ui/textarea";import type { ReactElement } from "react";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsxindex ed03018dda7..905526bc732 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Collapsible,CollapsibleContent,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsxindex e50beb28c39..11f0ddd67c1 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Collapsible,CollapsibleContent,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsxindex 05b2e458746..545b4f9690b 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import {Collapsible,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsxindex 345cfe89a66..20da471d6a8 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Dialog, DialogContent, DialogFooter, DialogTitle } from "@/components/ui/dialog";import { Input } from "@/components/ui/input";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/bernoulli-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/bernoulli-dialog.tsxindex 41322a6f0b8..3517c32cd10 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/bernoulli-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/bernoulli-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import type { ReactElement } from "react";import type { SamplerConfig } from "../../types";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsxindex 3a776fadd98..2766f5ab9e0 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import {Collapsible,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/datetime-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/datetime-dialog.tsxindex 4d9c134d063..e89309713ea 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/datetime-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/datetime-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import {Select,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/gaussian-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/gaussian-dialog.tsxindex f135e1cd20c..936f52a715d 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/gaussian-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/gaussian-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import {Select,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsxindex b266c76763e..3fa2f02c927 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import {Select,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/subcategory-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/subcategory-dialog.tsxindex 475ecda79ea..1c6adce804f 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/subcategory-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/subcategory-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Select,SelectContent,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/timedelta-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/timedelta-dialog.tsxindex bdd42b0aa00..b36124d651f 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/timedelta-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/timedelta-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import {Select,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/uniform-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/uniform-dialog.tsxindex 9692cd57cc6..5a344f05706 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/uniform-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/uniform-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import {Select,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/uuid-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/uuid-dialog.tsxindex 5a1da73b619..7574ed2e101 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/uuid-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/uuid-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import type { ReactElement } from "react";import type { SamplerConfig } from "../../types";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsxindex 67d005dab34..3ba7c8f82f4 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Checkbox } from "@/components/ui/checkbox";import {diff --git a/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsx b/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsxindex b726541d53a..1aa089ae893 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { type ReactElement, useMemo, useState } from "react";import { useRecipeStudioStore } from "../../stores/recipe-studio";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/shared/dialog-shell.tsx b/studio/frontend/src/features/recipe-studio/dialogs/shared/dialog-shell.tsxindex cbfe5b6d698..8c9ac11750b 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/shared/dialog-shell.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/shared/dialog-shell.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {DialogDescription,DialogHeader,diff --git a/studio/frontend/src/features/recipe-studio/dialogs/shared/field-label.tsx b/studio/frontend/src/features/recipe-studio/dialogs/shared/field-label.tsxindex a57c8cbcdac..8632ec8afa4 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/shared/field-label.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/shared/field-label.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";import { InformationCircleIcon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/shared/name-field.tsx b/studio/frontend/src/features/recipe-studio/dialogs/shared/name-field.tsxindex bd2212f79fd..756c554b1b2 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/shared/name-field.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/shared/name-field.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Input } from "@/components/ui/input";import { type ReactElement, useId } from "react";import { FieldLabel } from "./field-label";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/shared/validation-banner.tsx b/studio/frontend/src/features/recipe-studio/dialogs/shared/validation-banner.tsxindex 088ebfd36c0..8389f4c0dcb 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/shared/validation-banner.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/shared/validation-banner.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactElement } from "react";import type { NodeConfig } from "../../types";import { getConfigErrors } from "../../utils";diff --git a/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/helpers.ts b/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/helpers.tsindex 332c92fbfad..788371bbdec 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/helpers.ts+++ b/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/helpers.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { LlmMcpProviderConfig } from "../../types";export function createMcpProviderId(prefix: string, index: number): string {diff --git a/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsxindex 76a8e5b449b..0d7cee840ca 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";import {diff --git a/studio/frontend/src/features/recipe-studio/dialogs/validators/validator-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/validators/validator-dialog.tsxindex de2d413fd4b..f62acf7026e 100644--- a/studio/frontend/src/features/recipe-studio/dialogs/validators/validator-dialog.tsx+++ b/studio/frontend/src/features/recipe-studio/dialogs/validators/validator-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Collapsible,CollapsibleContent,diff --git a/studio/frontend/src/features/recipe-studio/execution-types.ts b/studio/frontend/src/features/recipe-studio/execution-types.tsindex 1df493a6d57..4281d58296f 100644--- a/studio/frontend/src/features/recipe-studio/execution-types.ts+++ b/studio/frontend/src/features/recipe-studio/execution-types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type RecipeStudioView = "editor" | "executions";export type RecipeExecutionKind = "preview" | "full";diff --git a/studio/frontend/src/features/recipe-studio/executions/execution-helpers.ts b/studio/frontend/src/features/recipe-studio/executions/execution-helpers.tsindex 99e9035d9ba..244f6baec4e 100644--- a/studio/frontend/src/features/recipe-studio/executions/execution-helpers.ts+++ b/studio/frontend/src/features/recipe-studio/executions/execution-helpers.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {RecipeExecutionAnalysis,RecipeExecutionRecord,diff --git a/studio/frontend/src/features/recipe-studio/executions/hydration.ts b/studio/frontend/src/features/recipe-studio/executions/hydration.tsindex 08490aec21f..aaa8f22183b 100644--- a/studio/frontend/src/features/recipe-studio/executions/hydration.ts+++ b/studio/frontend/src/features/recipe-studio/executions/hydration.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { listRecipeExecutions } from "../data/executions-db";import type { RecipeExecutionRecord } from "../execution-types";import {diff --git a/studio/frontend/src/features/recipe-studio/executions/run-settings.ts b/studio/frontend/src/features/recipe-studio/executions/run-settings.tsindex 627722b21e1..49a6f8fb2ec 100644--- a/studio/frontend/src/features/recipe-studio/executions/run-settings.ts+++ b/studio/frontend/src/features/recipe-studio/executions/run-settings.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { RecipeExecutionKind } from "../execution-types";import type { RecipeRunSettings } from "../stores/recipe-executions";import type { RecipePayload } from "../utils/payload/types";diff --git a/studio/frontend/src/features/recipe-studio/executions/runtime.ts b/studio/frontend/src/features/recipe-studio/executions/runtime.tsindex e9f6a22002c..a690b12f04d 100644--- a/studio/frontend/src/features/recipe-studio/executions/runtime.ts+++ b/studio/frontend/src/features/recipe-studio/executions/runtime.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { JobEvent, JobStatusResponse } from "../api";import type {RecipeExecutionBatch,diff --git a/studio/frontend/src/features/recipe-studio/executions/tracker.ts b/studio/frontend/src/features/recipe-studio/executions/tracker.tsindex eda95933f1c..96be37b9969 100644--- a/studio/frontend/src/features/recipe-studio/executions/tracker.ts+++ b/studio/frontend/src/features/recipe-studio/executions/tracker.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { toastError, toastSuccess } from "@/shared/toast";import {getRecipeJobAnalysis,diff --git a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-editor-graph.ts b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-editor-graph.tsindex 11e60c06d71..e7be023137c 100644--- a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-editor-graph.ts+++ b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-editor-graph.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {Edge,EdgeChange,diff --git a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-executions.ts b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-executions.tsindex a0f6cda8b3c..7afe586d41d 100644--- a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-executions.ts+++ b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-executions.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback, useEffect, useState } from "react";import { useShallow } from "zustand/react/shallow";import { toastError } from "@/shared/toast";diff --git a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-persistence.ts b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-persistence.tsindex 7ea6f8726e4..b420811b431 100644--- a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-persistence.ts+++ b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-persistence.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback, useEffect, useMemo, useState } from "react";import { toastError, toastSuccess } from "@/shared/toast";import { normalizeNonEmptyName } from "@/utils";diff --git a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-runtime-visuals.ts b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-runtime-visuals.tsindex 5389909b74c..fe281518129 100644--- a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-runtime-visuals.ts+++ b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-runtime-visuals.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {BalanceScaleIcon,Clock01Icon,diff --git a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-studio-actions.ts b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-studio-actions.tsindex f2e8331c5c1..946ebc4e9bd 100644--- a/studio/frontend/src/features/recipe-studio/hooks/use-recipe-studio-actions.ts+++ b/studio/frontend/src/features/recipe-studio/hooks/use-recipe-studio-actions.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useRecipeExecutions } from "./use-recipe-executions";import { useRecipePersistence } from "./use-recipe-persistence";import type {diff --git a/studio/frontend/src/features/recipe-studio/index.ts b/studio/frontend/src/features/recipe-studio/index.tsindex a38b4ed2108..6be3c0c9854 100644--- a/studio/frontend/src/features/recipe-studio/index.ts+++ b/studio/frontend/src/features/recipe-studio/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { RecipeStudioPage } from "./recipe-studio-page";export type {PersistRecipeInput,diff --git a/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx b/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsxindex d2617cb21fc..1851c6f1b91 100644--- a/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx+++ b/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Background,BackgroundVariant,diff --git a/studio/frontend/src/features/recipe-studio/stores/helpers/edge-sync.ts b/studio/frontend/src/features/recipe-studio/stores/helpers/edge-sync.tsindex 379a2856549..8af7d38d611 100644--- a/studio/frontend/src/features/recipe-studio/stores/helpers/edge-sync.ts+++ b/studio/frontend/src/features/recipe-studio/stores/helpers/edge-sync.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type Edge, addEdge } from "@xyflow/react";import type {LayoutDirection,diff --git a/studio/frontend/src/features/recipe-studio/stores/helpers/model-infra-layout.ts b/studio/frontend/src/features/recipe-studio/stores/helpers/model-infra-layout.tsindex cd065103afa..0a250bb389a 100644--- a/studio/frontend/src/features/recipe-studio/stores/helpers/model-infra-layout.ts+++ b/studio/frontend/src/features/recipe-studio/stores/helpers/model-infra-layout.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Edge, XYPosition } from "@xyflow/react";import { DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH } from "../../constants";import type { LayoutDirection, NodeConfig, RecipeNode } from "../../types";diff --git a/studio/frontend/src/features/recipe-studio/stores/helpers/node-updates.ts b/studio/frontend/src/features/recipe-studio/stores/helpers/node-updates.tsindex 0473776d7de..5e5b888bb05 100644--- a/studio/frontend/src/features/recipe-studio/stores/helpers/node-updates.ts+++ b/studio/frontend/src/features/recipe-studio/stores/helpers/node-updates.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { XYPosition } from "@xyflow/react";import { DEFAULT_NODE_WIDTH } from "../../constants";import type {diff --git a/studio/frontend/src/features/recipe-studio/stores/helpers/reference-sync.ts b/studio/frontend/src/features/recipe-studio/stores/helpers/reference-sync.tsindex c0d7fe892a8..df551f7efdc 100644--- a/studio/frontend/src/features/recipe-studio/stores/helpers/reference-sync.ts+++ b/studio/frontend/src/features/recipe-studio/stores/helpers/reference-sync.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {LlmConfig,ModelConfig,diff --git a/studio/frontend/src/features/recipe-studio/stores/helpers/removals.ts b/studio/frontend/src/features/recipe-studio/stores/helpers/removals.tsindex 5c78d8b5782..3dbf4b2795f 100644--- a/studio/frontend/src/features/recipe-studio/stores/helpers/removals.ts+++ b/studio/frontend/src/features/recipe-studio/stores/helpers/removals.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Edge } from "@xyflow/react";import type { NodeConfig } from "../../types";import { isCategoryConfig, isSubcategoryConfig } from "../../utils";diff --git a/studio/frontend/src/features/recipe-studio/stores/recipe-executions.ts b/studio/frontend/src/features/recipe-studio/stores/recipe-executions.tsindex c776536ca9e..42bd1b7aaf4 100644--- a/studio/frontend/src/features/recipe-studio/stores/recipe-executions.ts+++ b/studio/frontend/src/features/recipe-studio/stores/recipe-executions.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { create } from "zustand";import type { RecipeExecutionKind } from "../execution-types";import type { RecipeExecutionRecord } from "../execution-types";diff --git a/studio/frontend/src/features/recipe-studio/stores/recipe-studio-helpers.ts b/studio/frontend/src/features/recipe-studio/stores/recipe-studio-helpers.tsindex 4515ba1e69e..f796ebe493b 100644--- a/studio/frontend/src/features/recipe-studio/stores/recipe-studio-helpers.ts+++ b/studio/frontend/src/features/recipe-studio/stores/recipe-studio-helpers.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export {applyLayoutDirectionToNodes,buildNodeUpdate,diff --git a/studio/frontend/src/features/recipe-studio/stores/recipe-studio.ts b/studio/frontend/src/features/recipe-studio/stores/recipe-studio.tsindex 7c71400c157..5095ce91908 100644--- a/studio/frontend/src/features/recipe-studio/stores/recipe-studio.ts+++ b/studio/frontend/src/features/recipe-studio/stores/recipe-studio.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {type Connection,type Edge,diff --git a/studio/frontend/src/features/recipe-studio/types/index.ts b/studio/frontend/src/features/recipe-studio/types/index.tsindex 4e0470db710..8cd8a67f03e 100644--- a/studio/frontend/src/features/recipe-studio/types/index.ts+++ b/studio/frontend/src/features/recipe-studio/types/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Node } from "@xyflow/react";export type SamplerType =diff --git a/studio/frontend/src/features/recipe-studio/utils/config-factories.ts b/studio/frontend/src/features/recipe-studio/utils/config-factories.tsindex 697a819ecf8..eac6c6639af 100644--- a/studio/frontend/src/features/recipe-studio/utils/config-factories.ts+++ b/studio/frontend/src/features/recipe-studio/utils/config-factories.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {ExpressionConfig,LlmConfig,diff --git a/studio/frontend/src/features/recipe-studio/utils/config-labels.ts b/studio/frontend/src/features/recipe-studio/utils/config-labels.tsindex b70d7566b12..f30b0f1b678 100644--- a/studio/frontend/src/features/recipe-studio/utils/config-labels.ts+++ b/studio/frontend/src/features/recipe-studio/utils/config-labels.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {ExpressionDtype,LlmType,diff --git a/studio/frontend/src/features/recipe-studio/utils/config-type-guards.ts b/studio/frontend/src/features/recipe-studio/utils/config-type-guards.tsindex af40b524b0b..57faada7f6c 100644--- a/studio/frontend/src/features/recipe-studio/utils/config-type-guards.ts+++ b/studio/frontend/src/features/recipe-studio/utils/config-type-guards.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {ExpressionConfig,LlmConfig,diff --git a/studio/frontend/src/features/recipe-studio/utils/graph.ts b/studio/frontend/src/features/recipe-studio/utils/graph.tsindex d2fe8878d72..a5ba83fcc19 100644--- a/studio/frontend/src/features/recipe-studio/utils/graph.ts+++ b/studio/frontend/src/features/recipe-studio/utils/graph.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export {applyRecipeConnection,isValidRecipeConnection,diff --git a/studio/frontend/src/features/recipe-studio/utils/graph/derive-display-graph.ts b/studio/frontend/src/features/recipe-studio/utils/graph/derive-display-graph.tsindex 45fbea828e3..120875d4272 100644--- a/studio/frontend/src/features/recipe-studio/utils/graph/derive-display-graph.ts+++ b/studio/frontend/src/features/recipe-studio/utils/graph/derive-display-graph.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Edge, Node, XYPosition } from "@xyflow/react";import type { RecipeGraphAuxNodeData } from "../../components/recipe-graph-aux-node";import { DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH } from "../../constants";diff --git a/studio/frontend/src/features/recipe-studio/utils/graph/fit-view.ts b/studio/frontend/src/features/recipe-studio/utils/graph/fit-view.tsindex 8b0175a1df7..70cc29d5e66 100644--- a/studio/frontend/src/features/recipe-studio/utils/graph/fit-view.ts+++ b/studio/frontend/src/features/recipe-studio/utils/graph/fit-view.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Node } from "@xyflow/react";function isMarkdownNoteNode(node: Node): boolean {diff --git a/studio/frontend/src/features/recipe-studio/utils/graph/recipe-graph-connection.ts b/studio/frontend/src/features/recipe-studio/utils/graph/recipe-graph-connection.tsindex bcafb09ebc6..3b15836c29f 100644--- a/studio/frontend/src/features/recipe-studio/utils/graph/recipe-graph-connection.ts+++ b/studio/frontend/src/features/recipe-studio/utils/graph/recipe-graph-connection.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type Connection, type Edge, addEdge } from "@xyflow/react";import type { LayoutDirection, NodeConfig, SamplerConfig } from "../../types";import {diff --git a/studio/frontend/src/features/recipe-studio/utils/graph/relations.ts b/studio/frontend/src/features/recipe-studio/utils/graph/relations.tsindex a032cc65d8e..a725166cfb4 100644--- a/studio/frontend/src/features/recipe-studio/utils/graph/relations.ts+++ b/studio/frontend/src/features/recipe-studio/utils/graph/relations.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig } from "../../types";export function isSemanticRelation(diff --git a/studio/frontend/src/features/recipe-studio/utils/graph/runtime-visual-state.ts b/studio/frontend/src/features/recipe-studio/utils/graph/runtime-visual-state.tsindex 4806892d27b..b12f54cb897 100644--- a/studio/frontend/src/features/recipe-studio/utils/graph/runtime-visual-state.ts+++ b/studio/frontend/src/features/recipe-studio/utils/graph/runtime-visual-state.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Edge } from "@xyflow/react";import type {RecipeExecutionBatch,diff --git a/studio/frontend/src/features/recipe-studio/utils/handle-layout.ts b/studio/frontend/src/features/recipe-studio/utils/handle-layout.tsindex 467d62f5bff..eb15c301ac6 100644--- a/studio/frontend/src/features/recipe-studio/utils/handle-layout.ts+++ b/studio/frontend/src/features/recipe-studio/utils/handle-layout.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const NODE_HANDLE_CLASS ="pointer-events-auto !size-2.5 !border-border/80 !bg-muted shadow-sm hover:!border-primary/70 hover:!bg-primary/20";diff --git a/studio/frontend/src/features/recipe-studio/utils/handles.ts b/studio/frontend/src/features/recipe-studio/utils/handles.tsindex 4e8b85e3ab4..c0111416b82 100644--- a/studio/frontend/src/features/recipe-studio/utils/handles.ts+++ b/studio/frontend/src/features/recipe-studio/utils/handles.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Connection } from "@xyflow/react";import type { LayoutDirection } from "../types";diff --git a/studio/frontend/src/features/recipe-studio/utils/image-preview.ts b/studio/frontend/src/features/recipe-studio/utils/image-preview.tsindex 0f13bc34115..c196f2b3103 100644--- a/studio/frontend/src/features/recipe-studio/utils/image-preview.ts+++ b/studio/frontend/src/features/recipe-studio/utils/image-preview.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const MAX_IMAGE_PREVIEW_BYTES = 200 * 1024;type PreviewImagePayload = {diff --git a/studio/frontend/src/features/recipe-studio/utils/import/edges.ts b/studio/frontend/src/features/recipe-studio/utils/import/edges.tsindex 127b2015bb0..6534b30a5e8 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/edges.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/edges.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Edge } from "@xyflow/react";import type { LayoutDirection, NodeConfig } from "../../types";import {diff --git a/studio/frontend/src/features/recipe-studio/utils/import/helpers.ts b/studio/frontend/src/features/recipe-studio/utils/import/helpers.tsindex e8d543df978..cd55ca162d9 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/helpers.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/helpers.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { extractRefs as extractJinjaRefs } from "../refs";export function isRecord(value: unknown): value is Record<string, unknown> {diff --git a/studio/frontend/src/features/recipe-studio/utils/import/importer.ts b/studio/frontend/src/features/recipe-studio/utils/import/importer.tsindex 41460fb7bf7..fc17a8d0ea1 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/importer.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/importer.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {LlmConfig,LlmMcpProviderConfig,diff --git a/studio/frontend/src/features/recipe-studio/utils/import/index.ts b/studio/frontend/src/features/recipe-studio/utils/import/index.tsindex 09e5f76bc5e..f550523adc8 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/index.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { importRecipePayload } from "./importer";export type { RecipeSnapshot, ImportResult } from "./types";diff --git a/studio/frontend/src/features/recipe-studio/utils/import/parsers.ts b/studio/frontend/src/features/recipe-studio/utils/import/parsers.tsindex 3b7d445011c..5cf8284cc81 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/parsers.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/parsers.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig } from "../../types";import { readString } from "./helpers";import { parseExpression } from "./parsers/expression-parser";diff --git a/studio/frontend/src/features/recipe-studio/utils/import/parsers/expression-parser.ts b/studio/frontend/src/features/recipe-studio/utils/import/parsers/expression-parser.tsindex 03585a1f11a..334394d3ab6 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/parsers/expression-parser.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/parsers/expression-parser.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {ExpressionConfig,ExpressionDtype,diff --git a/studio/frontend/src/features/recipe-studio/utils/import/parsers/llm-parser.ts b/studio/frontend/src/features/recipe-studio/utils/import/parsers/llm-parser.tsindex 28b3e5e87ae..7c67f155188 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/parsers/llm-parser.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/parsers/llm-parser.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {LlmConfig,Score,diff --git a/studio/frontend/src/features/recipe-studio/utils/import/parsers/model-parser.ts b/studio/frontend/src/features/recipe-studio/utils/import/parsers/model-parser.tsindex 5c7085a2dea..47424a3d346 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/parsers/model-parser.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/parsers/model-parser.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {ModelConfig,ModelProviderConfig,diff --git a/studio/frontend/src/features/recipe-studio/utils/import/parsers/sampler-parser.ts b/studio/frontend/src/features/recipe-studio/utils/import/parsers/sampler-parser.tsindex 067216af1a7..eea64d847ab 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/parsers/sampler-parser.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/parsers/sampler-parser.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {SamplerConfig,SamplerType,diff --git a/studio/frontend/src/features/recipe-studio/utils/import/parsers/seed-config-parser.ts b/studio/frontend/src/features/recipe-studio/utils/import/parsers/seed-config-parser.tsindex e8035c30b47..6cf2d71ef9d 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/parsers/seed-config-parser.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/parsers/seed-config-parser.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {SeedConfig,SeedSamplingStrategy,diff --git a/studio/frontend/src/features/recipe-studio/utils/import/parsers/validator-parser.ts b/studio/frontend/src/features/recipe-studio/utils/import/parsers/validator-parser.tsindex 14d9d3116ee..6e5362d9b93 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/parsers/validator-parser.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/parsers/validator-parser.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ValidatorConfig } from "../../../types";import { readNumberString } from "../helpers";import { normalizeValidatorCodeLang } from "../../validators/code-lang";diff --git a/studio/frontend/src/features/recipe-studio/utils/import/types.ts b/studio/frontend/src/features/recipe-studio/utils/import/types.tsindex 281a4e1ad55..8e8b2323602 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/types.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Edge, XYPosition } from "@xyflow/react";import type {LayoutDirection,diff --git a/studio/frontend/src/features/recipe-studio/utils/import/ui.ts b/studio/frontend/src/features/recipe-studio/utils/import/ui.tsindex 76698fc8f29..43a073f701a 100644--- a/studio/frontend/src/features/recipe-studio/utils/import/ui.ts+++ b/studio/frontend/src/features/recipe-studio/utils/import/ui.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { RecipeNode, NodeConfig } from "../../types";import { DEFAULT_NODE_WIDTH } from "../../constants";import { nodeDataFromConfig } from "../index";diff --git a/studio/frontend/src/features/recipe-studio/utils/index.ts b/studio/frontend/src/features/recipe-studio/utils/index.tsindex a30db80f98e..1cfb31d3b6d 100644--- a/studio/frontend/src/features/recipe-studio/utils/index.ts+++ b/studio/frontend/src/features/recipe-studio/utils/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export {makeExpressionConfig,makeLlmConfig,diff --git a/studio/frontend/src/features/recipe-studio/utils/layout.ts b/studio/frontend/src/features/recipe-studio/utils/layout.tsindex 519637172df..a915c708fe5 100644--- a/studio/frontend/src/features/recipe-studio/utils/layout.ts+++ b/studio/frontend/src/features/recipe-studio/utils/layout.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import dagre from "@dagrejs/dagre";import type { Edge, Node } from "@xyflow/react";import { DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH } from "../constants";diff --git a/studio/frontend/src/features/recipe-studio/utils/naming.ts b/studio/frontend/src/features/recipe-studio/utils/naming.tsindex 664ed62c08f..657229766dd 100644--- a/studio/frontend/src/features/recipe-studio/utils/naming.ts+++ b/studio/frontend/src/features/recipe-studio/utils/naming.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig } from "../types";export function nextName(existing: NodeConfig[], prefix: string): string {diff --git a/studio/frontend/src/features/recipe-studio/utils/node-data.ts b/studio/frontend/src/features/recipe-studio/utils/node-data.tsindex 195a5f03bbf..739d7ccf2b9 100644--- a/studio/frontend/src/features/recipe-studio/utils/node-data.ts+++ b/studio/frontend/src/features/recipe-studio/utils/node-data.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { RecipeNodeData, LayoutDirection, NodeConfig } from "../types";import {labelForExpression,diff --git a/studio/frontend/src/features/recipe-studio/utils/parse.ts b/studio/frontend/src/features/recipe-studio/utils/parse.tsindex ea422533db7..64e27f6fad6 100644--- a/studio/frontend/src/features/recipe-studio/utils/parse.ts+++ b/studio/frontend/src/features/recipe-studio/utils/parse.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export function parseNumber(value?: string): number | null {if (!value) {return null;diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/build-payload.ts b/studio/frontend/src/features/recipe-studio/utils/payload/build-payload.tsindex 758fcd49867..5f6122b24bc 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/build-payload.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/build-payload.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Edge, XYPosition } from "@xyflow/react";import type {LayoutDirection,diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/builders-llm.ts b/studio/frontend/src/features/recipe-studio/utils/payload/builders-llm.tsindex f805a046f76..af5c5d07ae9 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/builders-llm.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/builders-llm.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {LlmConfig,LlmMcpProviderConfig,diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/builders-model.ts b/studio/frontend/src/features/recipe-studio/utils/payload/builders-model.tsindex 1d7f7321227..e70e2224d51 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/builders-model.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/builders-model.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ModelConfig, ModelProviderConfig } from "../../types";import { parseJsonObject } from "./parse";diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/builders-processors.ts b/studio/frontend/src/features/recipe-studio/utils/payload/builders-processors.tsindex e50f31db4f7..a9e8453d3f5 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/builders-processors.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/builders-processors.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ExpressionConfig, RecipeProcessorConfig } from "../../types";import { parseJsonObject } from "./parse";diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/builders-sampler.ts b/studio/frontend/src/features/recipe-studio/utils/payload/builders-sampler.tsindex 59065861bd5..66e163e6889 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/builders-sampler.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/builders-sampler.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { CategoryConditionalParams, SamplerConfig } from "../../types";import { isValidSex, parseAgeRange, parseNumber } from "./parse";diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/builders-seed.ts b/studio/frontend/src/features/recipe-studio/utils/payload/builders-seed.tsindex 16c47e5b766..fdefc05e437 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/builders-seed.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/builders-seed.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig, SeedConfig } from "../../types";const DEFAULT_CHUNK_SIZE = 1200;diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/builders-validator.ts b/studio/frontend/src/features/recipe-studio/utils/payload/builders-validator.tsindex ce6e8bf11b5..78a7b1a8c04 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/builders-validator.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/builders-validator.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig, ValidatorConfig } from "../../types";import { isValidatorCodeLang } from "../validators/code-lang";diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/builders.ts b/studio/frontend/src/features/recipe-studio/utils/payload/builders.tsindex b963d6bc0bf..99a8c72b0f8 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/builders.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/builders.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export {buildLlmColumn,buildLlmMcpProvider,diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/empty.ts b/studio/frontend/src/features/recipe-studio/utils/payload/empty.tsindex d0ec917321e..4f5986d03c1 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/empty.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/empty.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { RecipePayload } from "./types";export function createEmptyRecipePayload(): RecipePayload {diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/index.ts b/studio/frontend/src/features/recipe-studio/utils/payload/index.tsindex 11877e0820f..549364e5c07 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/index.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { buildRecipePayload } from "./build-payload";export { createEmptyRecipePayload } from "./empty";export type { RecipePayload, RecipePayloadResult } from "./types";diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/parse.ts b/studio/frontend/src/features/recipe-studio/utils/payload/parse.tsindex 782683d4fb7..c6318e54aa1 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/parse.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/parse.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export {isValidSex,parseAgeRange,diff --git a/studio/frontend/src/features/recipe-studio/utils/payload/types.ts b/studio/frontend/src/features/recipe-studio/utils/payload/types.tsindex 69db100d964..e35f36c59d7 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/types.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type RecipePayload = {recipe: {// biome-ignore lint/style/useNamingConvention: api schemadiff --git a/studio/frontend/src/features/recipe-studio/utils/payload/validate.ts b/studio/frontend/src/features/recipe-studio/utils/payload/validate.tsindex bb02c23f50f..1537d7a75b8 100644--- a/studio/frontend/src/features/recipe-studio/utils/payload/validate.ts+++ b/studio/frontend/src/features/recipe-studio/utils/payload/validate.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {ModelConfig,ModelProviderConfig,diff --git a/studio/frontend/src/features/recipe-studio/utils/processors.ts b/studio/frontend/src/features/recipe-studio/utils/processors.tsindex 4622ee93341..79ded782b75 100644--- a/studio/frontend/src/features/recipe-studio/utils/processors.ts+++ b/studio/frontend/src/features/recipe-studio/utils/processors.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { RecipeProcessorConfig } from "../types";export function buildDefaultSchemaTransform(): RecipeProcessorConfig {diff --git a/studio/frontend/src/features/recipe-studio/utils/reactflow-changes.ts b/studio/frontend/src/features/recipe-studio/utils/reactflow-changes.tsindex fa3fff8ddf5..03fc0773cde 100644--- a/studio/frontend/src/features/recipe-studio/utils/reactflow-changes.ts+++ b/studio/frontend/src/features/recipe-studio/utils/reactflow-changes.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {Edge,EdgeChange,diff --git a/studio/frontend/src/features/recipe-studio/utils/recipe-studio-view.ts b/studio/frontend/src/features/recipe-studio/utils/recipe-studio-view.tsindex d16175933e3..85915376d05 100644--- a/studio/frontend/src/features/recipe-studio/utils/recipe-studio-view.ts+++ b/studio/frontend/src/features/recipe-studio/utils/recipe-studio-view.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig, SamplerConfig } from "../types";export type DialogOptions = {diff --git a/studio/frontend/src/features/recipe-studio/utils/refs.ts b/studio/frontend/src/features/recipe-studio/utils/refs.tsindex 50c5e3d7f7d..82701411081 100644--- a/studio/frontend/src/features/recipe-studio/utils/refs.ts+++ b/studio/frontend/src/features/recipe-studio/utils/refs.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+const JINJA_REF_RE = /{{\s*([a-zA-Z_][a-zA-Z0-9_]*)\s*}}/g;const JINJA_EXPR_RE = /{{\s*([^{}]+?)\s*}}/g;const SIMPLE_JINJA_EXPR_RE = /^[a-zA-Z_][a-zA-Z0-9_.]*$/;diff --git a/studio/frontend/src/features/recipe-studio/utils/rf-node-dimensions.ts b/studio/frontend/src/features/recipe-studio/utils/rf-node-dimensions.tsindex 04881ab8815..5301ddf6f4e 100644--- a/studio/frontend/src/features/recipe-studio/utils/rf-node-dimensions.ts+++ b/studio/frontend/src/features/recipe-studio/utils/rf-node-dimensions.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Node } from "@xyflow/react";function parseDim(value: unknown): number | null {diff --git a/studio/frontend/src/features/recipe-studio/utils/validation.ts b/studio/frontend/src/features/recipe-studio/utils/validation.tsindex 7aa755971a2..2d43bd137e8 100644--- a/studio/frontend/src/features/recipe-studio/utils/validation.ts+++ b/studio/frontend/src/features/recipe-studio/utils/validation.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig } from "../types";import { isValidSex, parseAgeRange, parseIntNumber, parseNumber } from "./parse";import { VALIDATOR_OXC_CODE_LANGS, VALIDATOR_SQL_CODE_LANGS } from "./validators/code-lang";diff --git a/studio/frontend/src/features/recipe-studio/utils/validators/code-lang.ts b/studio/frontend/src/features/recipe-studio/utils/validators/code-lang.tsindex 35aeb323887..21471c324d5 100644--- a/studio/frontend/src/features/recipe-studio/utils/validators/code-lang.ts+++ b/studio/frontend/src/features/recipe-studio/utils/validators/code-lang.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ValidatorCodeLang } from "../../types";export const VALIDATOR_OXC_CODE_LANGS: ValidatorCodeLang[] = [diff --git a/studio/frontend/src/features/recipe-studio/utils/validators/oxc-code-shape.ts b/studio/frontend/src/features/recipe-studio/utils/validators/oxc-code-shape.tsindex 3db49a5dc90..4772b239e46 100644--- a/studio/frontend/src/features/recipe-studio/utils/validators/oxc-code-shape.ts+++ b/studio/frontend/src/features/recipe-studio/utils/validators/oxc-code-shape.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { OxcCodeShape } from "../../types";export const OXC_CODE_SHAPES: OxcCodeShape[] = [diff --git a/studio/frontend/src/features/recipe-studio/utils/validators/oxc-mode.ts b/studio/frontend/src/features/recipe-studio/utils/validators/oxc-mode.tsindex 70b368b9d78..d22d815c992 100644--- a/studio/frontend/src/features/recipe-studio/utils/validators/oxc-mode.ts+++ b/studio/frontend/src/features/recipe-studio/utils/validators/oxc-mode.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { OxcValidationMode } from "../../types";export const OXC_VALIDATION_MODES: OxcValidationMode[] = [diff --git a/studio/frontend/src/features/recipe-studio/utils/variables.ts b/studio/frontend/src/features/recipe-studio/utils/variables.tsindex 7a34ad70063..f11f9d40591 100644--- a/studio/frontend/src/features/recipe-studio/utils/variables.ts+++ b/studio/frontend/src/features/recipe-studio/utils/variables.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { NodeConfig } from "../types";export type AvailableVariableSource = "column" | "seed";diff --git a/studio/frontend/src/features/studio/index.ts b/studio/frontend/src/features/studio/index.tsindex 19cb5780a79..608ad007648 100644--- a/studio/frontend/src/features/studio/index.ts+++ b/studio/frontend/src/features/studio/index.ts@@ -1 +1,4 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { StudioPage } from "./studio-page";diff --git a/studio/frontend/src/features/studio/sections/charts-content.tsx b/studio/frontend/src/features/studio/sections/charts-content.tsxindex 2af4a3b5e82..912474c0640 100644--- a/studio/frontend/src/features/studio/sections/charts-content.tsx+++ b/studio/frontend/src/features/studio/sections/charts-content.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type ReactElement, useEffect, useMemo } from "react";import { useShallow } from "zustand/react/shallow";import { useChartPreferencesStore } from "./charts/chart-preferences-store";diff --git a/studio/frontend/src/features/studio/sections/charts-section.tsx b/studio/frontend/src/features/studio/sections/charts-section.tsxindex 7c2c248608c..44cdb6a6e67 100644--- a/studio/frontend/src/features/studio/sections/charts-section.tsx+++ b/studio/frontend/src/features/studio/sections/charts-section.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useTrainingRuntimeStore } from "@/features/training";import { type ReactElement, Suspense, lazy, useMemo } from "react";diff --git a/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.ts b/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.tsindex fe6a3015326..e67d16a1055 100644--- a/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.ts+++ b/studio/frontend/src/features/studio/sections/charts/chart-preferences-store.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { create } from "zustand";import type { OutlierMode, ScaleMode } from "./types";import { DEFAULT_VISIBLE_POINTS, clamp } from "./utils";diff --git a/studio/frontend/src/features/studio/sections/charts/chart-settings-sheet.tsx b/studio/frontend/src/features/studio/sections/charts/chart-settings-sheet.tsxindex f12e5f19cd9..fe635f3df55 100644--- a/studio/frontend/src/features/studio/sections/charts/chart-settings-sheet.tsx+++ b/studio/frontend/src/features/studio/sections/charts/chart-settings-sheet.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { Label } from "@/components/ui/label";import { Separator } from "@/components/ui/separator";diff --git a/studio/frontend/src/features/studio/sections/charts/eval-loss-chart-card.tsx b/studio/frontend/src/features/studio/sections/charts/eval-loss-chart-card.tsxindex 2a1e837cf3d..779d4231498 100644--- a/studio/frontend/src/features/studio/sections/charts/eval-loss-chart-card.tsx+++ b/studio/frontend/src/features/studio/sections/charts/eval-loss-chart-card.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";import {ChartContainer,diff --git a/studio/frontend/src/features/studio/sections/charts/grad-norm-chart-card.tsx b/studio/frontend/src/features/studio/sections/charts/grad-norm-chart-card.tsxindex db9c987c400..c4c66e5ff70 100644--- a/studio/frontend/src/features/studio/sections/charts/grad-norm-chart-card.tsx+++ b/studio/frontend/src/features/studio/sections/charts/grad-norm-chart-card.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";import {ChartContainer,diff --git a/studio/frontend/src/features/studio/sections/charts/learning-rate-chart-card.tsx b/studio/frontend/src/features/studio/sections/charts/learning-rate-chart-card.tsxindex 0c46afb73ca..8301cbf7a31 100644--- a/studio/frontend/src/features/studio/sections/charts/learning-rate-chart-card.tsx+++ b/studio/frontend/src/features/studio/sections/charts/learning-rate-chart-card.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";import {ChartContainer,diff --git a/studio/frontend/src/features/studio/sections/charts/training-loss-chart-card.tsx b/studio/frontend/src/features/studio/sections/charts/training-loss-chart-card.tsxindex 7004108e1d8..20105601f15 100644--- a/studio/frontend/src/features/studio/sections/charts/training-loss-chart-card.tsx+++ b/studio/frontend/src/features/studio/sections/charts/training-loss-chart-card.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";import {ChartContainer,diff --git a/studio/frontend/src/features/studio/sections/charts/types.ts b/studio/frontend/src/features/studio/sections/charts/types.tsindex adec7ba5e3d..e4b2941d1b5 100644--- a/studio/frontend/src/features/studio/sections/charts/types.ts+++ b/studio/frontend/src/features/studio/sections/charts/types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type ScaleMode = "linear" | "log";export type OutlierMode = "none" | "p99" | "p95";diff --git a/studio/frontend/src/features/studio/sections/charts/utils.ts b/studio/frontend/src/features/studio/sections/charts/utils.tsindex 1d40b2f90d7..89381f60dc8 100644--- a/studio/frontend/src/features/studio/sections/charts/utils.ts+++ b/studio/frontend/src/features/studio/sections/charts/utils.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { LossHistoryItem, OutlierMode, SmoothedLossItem } from "./types";export const CHART_SYNC_ID = "train-metrics-sync";diff --git a/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsx b/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsxindex 70f0cf52313..10a49be7fed 100644--- a/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsx+++ b/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";import {diff --git a/studio/frontend/src/features/studio/sections/dataset-preview-dialog-utils.ts b/studio/frontend/src/features/studio/sections/dataset-preview-dialog-utils.tsindex 735a3abbff2..954bc1e7393 100644--- a/studio/frontend/src/features/studio/sections/dataset-preview-dialog-utils.ts+++ b/studio/frontend/src/features/studio/sections/dataset-preview-dialog-utils.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+type PreviewImagePayload = {type: "image";mime?: string;diff --git a/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx b/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsxindex a0133e95360..650d03cc143 100644--- a/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx+++ b/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type ReactNode, useCallback, useEffect, useMemo, useRef, useState } from "react";import type { ColumnDef } from "@tanstack/react-table";import {diff --git a/studio/frontend/src/features/studio/sections/dataset-section.tsx b/studio/frontend/src/features/studio/sections/dataset-section.tsxindex a72c21100a2..e701e13b454 100644--- a/studio/frontend/src/features/studio/sections/dataset-section.tsx+++ b/studio/frontend/src/features/studio/sections/dataset-section.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { SectionCard } from "@/components/section-card";import { Button } from "@/components/ui/button";import {diff --git a/studio/frontend/src/features/studio/sections/model-section.tsx b/studio/frontend/src/features/studio/sections/model-section.tsxindex 015abc31068..13cabb0a773 100644--- a/studio/frontend/src/features/studio/sections/model-section.tsx+++ b/studio/frontend/src/features/studio/sections/model-section.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { SectionCard } from "@/components/section-card";import {Combobox,diff --git a/studio/frontend/src/features/studio/sections/params-section.tsx b/studio/frontend/src/features/studio/sections/params-section.tsxindex 77680cfd822..51d4c568215 100644--- a/studio/frontend/src/features/studio/sections/params-section.tsx+++ b/studio/frontend/src/features/studio/sections/params-section.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { SectionCard } from "@/components/section-card";import { Checkbox } from "@/components/ui/checkbox";import {diff --git a/studio/frontend/src/features/studio/sections/progress-section-lib.ts b/studio/frontend/src/features/studio/sections/progress-section-lib.tsindex bff5daed814..eded5981493 100644--- a/studio/frontend/src/features/studio/sections/progress-section-lib.ts+++ b/studio/frontend/src/features/studio/sections/progress-section-lib.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TrainingPhase } from "@/features/training";export const phaseLabel: Record<TrainingPhase, string> = {diff --git a/studio/frontend/src/features/studio/sections/progress-section.tsx b/studio/frontend/src/features/studio/sections/progress-section.tsxindex 2125c95164f..bc8858fb953 100644--- a/studio/frontend/src/features/studio/sections/progress-section.tsx+++ b/studio/frontend/src/features/studio/sections/progress-section.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { SectionCard } from "@/components/section-card";import {AlertDialog,diff --git a/studio/frontend/src/features/studio/sections/training-section.tsx b/studio/frontend/src/features/studio/sections/training-section.tsxindex 43cc2f889e1..9d359bd9758 100644--- a/studio/frontend/src/features/studio/sections/training-section.tsx+++ b/studio/frontend/src/features/studio/sections/training-section.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { SectionCard } from "@/components/section-card";import { Button } from "@/components/ui/button";import { ChartContainer } from "@/components/ui/chart";diff --git a/studio/frontend/src/features/studio/studio-page.tsx b/studio/frontend/src/features/studio/studio-page.tsxindex c5651290be4..54cba515a73 100644--- a/studio/frontend/src/features/studio/studio-page.tsx+++ b/studio/frontend/src/features/studio/studio-page.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import {shouldShowTrainingView,diff --git a/studio/frontend/src/features/studio/tour/index.ts b/studio/frontend/src/features/studio/tour/index.tsindex 249d21ada00..fe9d322da41 100644--- a/studio/frontend/src/features/studio/tour/index.ts+++ b/studio/frontend/src/features/studio/tour/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { studioTourSteps } from "./steps";export { studioTrainingTourSteps } from "./training";diff --git a/studio/frontend/src/features/studio/tour/steps/base-model.tsx b/studio/frontend/src/features/studio/tour/steps/base-model.tsxindex cf89aa99652..810ddf29b7c 100644--- a/studio/frontend/src/features/studio/tour/steps/base-model.tsx+++ b/studio/frontend/src/features/studio/tour/steps/base-model.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { ReadMore, type TourStep } from "@/features/tour";export const studioBaseModelStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/steps/dataset.tsx b/studio/frontend/src/features/studio/tour/steps/dataset.tsxindex 4a418d626c3..575d64b8eee 100644--- a/studio/frontend/src/features/studio/tour/steps/dataset.tsx+++ b/studio/frontend/src/features/studio/tour/steps/dataset.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { ReadMore, type TourStep } from "@/features/tour";export const studioDatasetStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/steps/index.tsx b/studio/frontend/src/features/studio/tour/steps/index.tsxindex a11907d0854..69d87818014 100644--- a/studio/frontend/src/features/studio/tour/steps/index.tsx+++ b/studio/frontend/src/features/studio/tour/steps/index.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TourStep } from "@/features/tour";import { studioBaseModelStep } from "./base-model";import { studioDatasetStep } from "./dataset";diff --git a/studio/frontend/src/features/studio/tour/steps/local-model.tsx b/studio/frontend/src/features/studio/tour/steps/local-model.tsxindex bd8a389364c..8da60cbcb06 100644--- a/studio/frontend/src/features/studio/tour/steps/local-model.tsx+++ b/studio/frontend/src/features/studio/tour/steps/local-model.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { ReadMore, type TourStep } from "@/features/tour";export const studioLocalModelStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/steps/method.tsx b/studio/frontend/src/features/studio/tour/steps/method.tsxindex 418ea51e48b..14a623ee754 100644--- a/studio/frontend/src/features/studio/tour/steps/method.tsx+++ b/studio/frontend/src/features/studio/tour/steps/method.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { ReadMore, type TourStep } from "@/features/tour";export const studioMethodStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/steps/nav.tsx b/studio/frontend/src/features/studio/tour/steps/nav.tsxindex 9656f26cf19..f5b976d6c94 100644--- a/studio/frontend/src/features/studio/tour/steps/nav.tsx+++ b/studio/frontend/src/features/studio/tour/steps/nav.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TourStep } from "@/features/tour";export const studioNavStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/steps/params.tsx b/studio/frontend/src/features/studio/tour/steps/params.tsxindex d39baac592b..7e29d3c7766 100644--- a/studio/frontend/src/features/studio/tour/steps/params.tsx+++ b/studio/frontend/src/features/studio/tour/steps/params.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { ReadMore, type TourStep } from "@/features/tour";export const studioParamsStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/steps/save.tsx b/studio/frontend/src/features/studio/tour/steps/save.tsxindex d93548fc3d7..742c3b51df5 100644--- a/studio/frontend/src/features/studio/tour/steps/save.tsx+++ b/studio/frontend/src/features/studio/tour/steps/save.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TourStep } from "@/features/tour";export const studioSaveStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/steps/start.tsx b/studio/frontend/src/features/studio/tour/steps/start.tsxindex 768071df981..3e3e021e648 100644--- a/studio/frontend/src/features/studio/tour/steps/start.tsx+++ b/studio/frontend/src/features/studio/tour/steps/start.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TourStep } from "@/features/tour";export const studioStartStep: TourStep = {diff --git a/studio/frontend/src/features/studio/tour/training/index.ts b/studio/frontend/src/features/studio/tour/training/index.tsindex 5b81ac78e2e..7342cd8879e 100644--- a/studio/frontend/src/features/studio/tour/training/index.ts+++ b/studio/frontend/src/features/studio/tour/training/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { studioTrainingTourSteps } from "./steps";diff --git a/studio/frontend/src/features/studio/tour/training/steps.tsx b/studio/frontend/src/features/studio/tour/training/steps.tsxindex 2cd812ad8b0..c5a3a3bd213 100644--- a/studio/frontend/src/features/studio/tour/training/steps.tsx+++ b/studio/frontend/src/features/studio/tour/training/steps.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TourStep } from "@/features/tour";export const studioTrainingTourSteps: TourStep[] = [diff --git a/studio/frontend/src/features/studio/training-start-overlay.tsx b/studio/frontend/src/features/studio/training-start-overlay.tsxindex 7d38943c063..e2d660343ad 100644--- a/studio/frontend/src/features/studio/training-start-overlay.tsx+++ b/studio/frontend/src/features/studio/training-start-overlay.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {AlertDialog,AlertDialogAction,diff --git a/studio/frontend/src/features/studio/training-view.tsx b/studio/frontend/src/features/studio/training-view.tsxindex 368d0b6ed00..219ab97ec79 100644--- a/studio/frontend/src/features/studio/training-view.tsx+++ b/studio/frontend/src/features/studio/training-view.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { cn } from "@/lib/utils";import { useTrainingRuntimeStore } from "@/features/training";import type { ReactElement } from "react";diff --git a/studio/frontend/src/features/tour/components/guided-tour.tsx b/studio/frontend/src/features/tour/components/guided-tour.tsxindex 0a950814a73..6cd2970fa58 100644--- a/studio/frontend/src/features/tour/components/guided-tour.tsx+++ b/studio/frontend/src/features/tour/components/guided-tour.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { Button } from "@/components/ui/button";import { cn } from "@/lib/utils";import { HugeiconsIcon } from "@hugeicons/react";diff --git a/studio/frontend/src/features/tour/components/read-more.tsx b/studio/frontend/src/features/tour/components/read-more.tsxindex 42c40f26f7f..6b66bec863e 100644--- a/studio/frontend/src/features/tour/components/read-more.tsx+++ b/studio/frontend/src/features/tour/components/read-more.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export function ReadMore({ href = "#" }: { href?: string }) {return (<adiff --git a/studio/frontend/src/features/tour/components/spotlight-overlay.tsx b/studio/frontend/src/features/tour/components/spotlight-overlay.tsxindex c3235ec85cd..a40a6f1488d 100644--- a/studio/frontend/src/features/tour/components/spotlight-overlay.tsx+++ b/studio/frontend/src/features/tour/components/spotlight-overlay.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { motion } from "motion/react";import type { Rect } from "../types";diff --git a/studio/frontend/src/features/tour/hooks/use-guided-tour-controller.ts b/studio/frontend/src/features/tour/hooks/use-guided-tour-controller.tsindex 345a97f9f9f..516b0c34132 100644--- a/studio/frontend/src/features/tour/hooks/use-guided-tour-controller.ts+++ b/studio/frontend/src/features/tour/hooks/use-guided-tour-controller.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback, useEffect, useMemo, useState } from "react";import type { TourStep } from "../types";diff --git a/studio/frontend/src/features/tour/index.ts b/studio/frontend/src/features/tour/index.tsindex ce774259e06..17fa3e7cfaa 100644--- a/studio/frontend/src/features/tour/index.ts+++ b/studio/frontend/src/features/tour/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { GuidedTour } from "./components/guided-tour";export { ReadMore } from "./components/read-more";export { TOUR_OPEN_EVENT, useGuidedTourController } from "./hooks/use-guided-tour-controller";diff --git a/studio/frontend/src/features/tour/lib/confetti-fireworks.ts b/studio/frontend/src/features/tour/lib/confetti-fireworks.tsindex b6366d8c5bd..fc8099c7514 100644--- a/studio/frontend/src/features/tour/lib/confetti-fireworks.ts+++ b/studio/frontend/src/features/tour/lib/confetti-fireworks.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+"use client";type FireworksOpts = {diff --git a/studio/frontend/src/features/tour/lib/dom.ts b/studio/frontend/src/features/tour/lib/dom.tsindex f39b674c324..b00c1f395cf 100644--- a/studio/frontend/src/features/tour/lib/dom.ts+++ b/studio/frontend/src/features/tour/lib/dom.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Rect } from "../types";export function cssEscape(value: string): string {diff --git a/studio/frontend/src/features/tour/lib/layout.ts b/studio/frontend/src/features/tour/lib/layout.tsindex b7f017583f8..26a4ae752b1 100644--- a/studio/frontend/src/features/tour/lib/layout.ts+++ b/studio/frontend/src/features/tour/lib/layout.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { Placement, Rect } from "../types";export function clamp(n: number, min: number, max: number): number {diff --git a/studio/frontend/src/features/tour/types.ts b/studio/frontend/src/features/tour/types.tsindex bdcb78a172e..26e3384d693 100644--- a/studio/frontend/src/features/tour/types.ts+++ b/studio/frontend/src/features/tour/types.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { ReactNode } from "react";export type TourStep = {diff --git a/studio/frontend/src/features/training/api/datasets-api.ts b/studio/frontend/src/features/training/api/datasets-api.tsindex f3098acc80f..047925e60ab 100644--- a/studio/frontend/src/features/training/api/datasets-api.ts+++ b/studio/frontend/src/features/training/api/datasets-api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {CheckFormatResponse,LocalDatasetsResponse,diff --git a/studio/frontend/src/features/training/api/mappers.ts b/studio/frontend/src/features/training/api/mappers.tsindex 1b3207ea9ed..fed17a538c8 100644--- a/studio/frontend/src/features/training/api/mappers.ts+++ b/studio/frontend/src/features/training/api/mappers.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TrainingConfigState } from "../types/config";import type { TrainingStartRequest } from "../types/api";diff --git a/studio/frontend/src/features/training/api/models-api.ts b/studio/frontend/src/features/training/api/models-api.tsindex d434ecde05d..7aeb0ba61ee 100644--- a/studio/frontend/src/features/training/api/models-api.ts+++ b/studio/frontend/src/features/training/api/models-api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { authFetch } from "@/features/auth";interface VisionCheckResponse {diff --git a/studio/frontend/src/features/training/api/train-api.ts b/studio/frontend/src/features/training/api/train-api.tsindex d2f589c2982..8af9f0c0103 100644--- a/studio/frontend/src/features/training/api/train-api.ts+++ b/studio/frontend/src/features/training/api/train-api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { authFetch } from "@/features/auth";import type {TrainingStartRequest,diff --git a/studio/frontend/src/features/training/components/hf-dataset-subset-split-selectors.tsx b/studio/frontend/src/features/training/components/hf-dataset-subset-split-selectors.tsxindex 47a57eaeadf..0dab4685be6 100644--- a/studio/frontend/src/features/training/components/hf-dataset-subset-split-selectors.tsx+++ b/studio/frontend/src/features/training/components/hf-dataset-subset-split-selectors.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {Select,SelectContent,diff --git a/studio/frontend/src/features/training/hooks/use-training-actions.ts b/studio/frontend/src/features/training/hooks/use-training-actions.tsindex 1aaa58ea128..b748daa9070 100644--- a/studio/frontend/src/features/training/hooks/use-training-actions.ts+++ b/studio/frontend/src/features/training/hooks/use-training-actions.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback } from "react";import { checkDatasetFormat } from "../api/datasets-api";import { buildTrainingStartPayload } from "../api/mappers";diff --git a/studio/frontend/src/features/training/hooks/use-training-runtime-lifecycle.ts b/studio/frontend/src/features/training/hooks/use-training-runtime-lifecycle.tsindex ad7f61cc5e3..c2a302882c5 100644--- a/studio/frontend/src/features/training/hooks/use-training-runtime-lifecycle.ts+++ b/studio/frontend/src/features/training/hooks/use-training-runtime-lifecycle.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { hasAuthToken } from "@/features/auth";import { useEffect } from "react";import {diff --git a/studio/frontend/src/features/training/index.ts b/studio/frontend/src/features/training/index.tsindex abdba37388d..97404c75bce 100644--- a/studio/frontend/src/features/training/index.ts+++ b/studio/frontend/src/features/training/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { useTrainingConfigStore } from "./stores/training-config-store";export {shouldShowTrainingView,diff --git a/studio/frontend/src/features/training/lib/model-defaults.ts b/studio/frontend/src/features/training/lib/model-defaults.tsindex b9d0abccc88..53bf2199798 100644--- a/studio/frontend/src/features/training/lib/model-defaults.ts+++ b/studio/frontend/src/features/training/lib/model-defaults.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { BackendModelConfig } from "../api/models-api";import type { TrainingConfigState } from "../types/config";diff --git a/studio/frontend/src/features/training/lib/sync-runtime.ts b/studio/frontend/src/features/training/lib/sync-runtime.tsindex bf255f58c68..14c361339b7 100644--- a/studio/frontend/src/features/training/lib/sync-runtime.ts+++ b/studio/frontend/src/features/training/lib/sync-runtime.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import {getTrainingMetrics,getTrainingStatus,diff --git a/studio/frontend/src/features/training/lib/validation.ts b/studio/frontend/src/features/training/lib/validation.tsindex 6ca95c4b026..a12c7159314 100644--- a/studio/frontend/src/features/training/lib/validation.ts+++ b/studio/frontend/src/features/training/lib/validation.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { TrainingConfigState } from "../types/config";export interface StartValidationResult {diff --git a/studio/frontend/src/features/training/lib/yaml-config.ts b/studio/frontend/src/features/training/lib/yaml-config.tsindex 3bc113f173a..0414c3463e2 100644--- a/studio/frontend/src/features/training/lib/yaml-config.ts+++ b/studio/frontend/src/features/training/lib/yaml-config.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import * as yaml from "js-yaml";import type { BackendModelConfig } from "../api/models-api";import type { TrainingConfigState } from "../types/config";diff --git a/studio/frontend/src/features/training/stores/dataset-preview-dialog-store.ts b/studio/frontend/src/features/training/stores/dataset-preview-dialog-store.tsindex 9129e31be74..fad5c094f11 100644--- a/studio/frontend/src/features/training/stores/dataset-preview-dialog-store.ts+++ b/studio/frontend/src/features/training/stores/dataset-preview-dialog-store.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { create } from "zustand";import type { CheckFormatResponse } from "../types/datasets";diff --git a/studio/frontend/src/features/training/stores/training-config-store.ts b/studio/frontend/src/features/training/stores/training-config-store.tsindex 3318a192d86..f34e571542a 100644--- a/studio/frontend/src/features/training/stores/training-config-store.ts+++ b/studio/frontend/src/features/training/stores/training-config-store.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { DEFAULT_HYPERPARAMS, STEPS } from "@/config/training";import type { StepNumber } from "@/types/training";import { create } from "zustand";diff --git a/studio/frontend/src/features/training/stores/training-runtime-store.ts b/studio/frontend/src/features/training/stores/training-runtime-store.tsindex 41b0fcca074..7364f01d8a3 100644--- a/studio/frontend/src/features/training/stores/training-runtime-store.ts+++ b/studio/frontend/src/features/training/stores/training-runtime-store.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { create } from "zustand";import type {TrainingMetricsResponse,diff --git a/studio/frontend/src/features/training/types/api.ts b/studio/frontend/src/features/training/types/api.tsindex 2e99930a2c4..f222f4352e6 100644--- a/studio/frontend/src/features/training/types/api.ts+++ b/studio/frontend/src/features/training/types/api.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export interface TrainingStartRequest {model_name: string;training_type: string;diff --git a/studio/frontend/src/features/training/types/config.ts b/studio/frontend/src/features/training/types/config.tsindex ca77a69d2a2..bc8305430b9 100644--- a/studio/frontend/src/features/training/types/config.ts+++ b/studio/frontend/src/features/training/types/config.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type {DatasetFormat,DatasetSource,diff --git a/studio/frontend/src/features/training/types/datasets.ts b/studio/frontend/src/features/training/types/datasets.tsindex 41a71affaf0..423efa88feb 100644--- a/studio/frontend/src/features/training/types/datasets.ts+++ b/studio/frontend/src/features/training/types/datasets.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type CheckFormatResponse = {requires_manual_mapping: boolean;detected_format: string;diff --git a/studio/frontend/src/features/training/types/runtime.ts b/studio/frontend/src/features/training/types/runtime.tsindex b6e417c9638..fb64fb3fd92 100644--- a/studio/frontend/src/features/training/types/runtime.ts+++ b/studio/frontend/src/features/training/types/runtime.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type TrainingPhase =| "idle"| "downloading_model"diff --git a/studio/frontend/src/hooks/index.ts b/studio/frontend/src/hooks/index.tsindex 3932baf088f..d3c798db98b 100644--- a/studio/frontend/src/hooks/index.ts+++ b/studio/frontend/src/hooks/index.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export { useDebouncedValue } from "./use-debounced-value";export { useGpuInfo } from "./use-gpu-info";export { useGpuUtilization } from "./use-gpu-utilization";diff --git a/studio/frontend/src/hooks/use-debounced-value.ts b/studio/frontend/src/hooks/use-debounced-value.tsindex 860d5181a43..865fb12f75a 100644--- a/studio/frontend/src/hooks/use-debounced-value.ts+++ b/studio/frontend/src/hooks/use-debounced-value.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useEffect, useState } from "react";export function useDebouncedValue<T>(value: T, delayMs = 300): T {diff --git a/studio/frontend/src/hooks/use-gpu-info.ts b/studio/frontend/src/hooks/use-gpu-info.tsindex 98ca056050d..250703a5f02 100644--- a/studio/frontend/src/hooks/use-gpu-info.ts+++ b/studio/frontend/src/hooks/use-gpu-info.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useEffect, useState } from "react";export interface GpuInfo {diff --git a/studio/frontend/src/hooks/use-gpu-utilization.ts b/studio/frontend/src/hooks/use-gpu-utilization.tsindex 785104489b9..4b55dc1e3fe 100644--- a/studio/frontend/src/hooks/use-gpu-utilization.ts+++ b/studio/frontend/src/hooks/use-gpu-utilization.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { authFetch } from "@/features/auth";import { useEffect, useRef, useState } from "react";diff --git a/studio/frontend/src/hooks/use-hardware-info.ts b/studio/frontend/src/hooks/use-hardware-info.tsindex 150e03ad088..017a99b70c3 100644--- a/studio/frontend/src/hooks/use-hardware-info.ts+++ b/studio/frontend/src/hooks/use-hardware-info.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { authFetch } from "@/features/auth";import { useEffect, useState } from "react";diff --git a/studio/frontend/src/hooks/use-hf-dataset-search.ts b/studio/frontend/src/hooks/use-hf-dataset-search.tsindex f051ec1a685..e5c821bb5c0 100644--- a/studio/frontend/src/hooks/use-hf-dataset-search.ts+++ b/studio/frontend/src/hooks/use-hf-dataset-search.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { listDatasets } from "@huggingface/hub";import { useCallback, useMemo } from "react";import type { ModelType } from "@/types/training";diff --git a/studio/frontend/src/hooks/use-hf-dataset-splits.ts b/studio/frontend/src/hooks/use-hf-dataset-splits.tsindex 3f5f5c36acf..a3d4ee295d0 100644--- a/studio/frontend/src/hooks/use-hf-dataset-splits.ts+++ b/studio/frontend/src/hooks/use-hf-dataset-splits.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback, useEffect, useState } from "react";// ---------------------------------------------------------------------------diff --git a/studio/frontend/src/hooks/use-hf-model-search.ts b/studio/frontend/src/hooks/use-hf-model-search.tsindex dd5f9cf8a79..5f603a71e8d 100644--- a/studio/frontend/src/hooks/use-hf-model-search.ts+++ b/studio/frontend/src/hooks/use-hf-model-search.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import type { PipelineType } from "@huggingface/hub";import { listModels } from "@huggingface/hub";import { useCallback, useMemo } from "react";diff --git a/studio/frontend/src/hooks/use-hf-paginated-search.ts b/studio/frontend/src/hooks/use-hf-paginated-search.tsindex f78f560dd6c..2060d4d9966 100644--- a/studio/frontend/src/hooks/use-hf-paginated-search.ts+++ b/studio/frontend/src/hooks/use-hf-paginated-search.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useCallback, useEffect, useRef, useState } from "react";interface HfPaginatedState<T> {diff --git a/studio/frontend/src/hooks/use-hf-token-validation.ts b/studio/frontend/src/hooks/use-hf-token-validation.tsindex 1882745ecab..24cd49b8d60 100644--- a/studio/frontend/src/hooks/use-hf-token-validation.ts+++ b/studio/frontend/src/hooks/use-hf-token-validation.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { whoAmI } from "@huggingface/hub";import { useCallback, useEffect, useRef, useState } from "react";import { useDebouncedValue } from "./use-debounced-value";diff --git a/studio/frontend/src/hooks/use-infinite-scroll.ts b/studio/frontend/src/hooks/use-infinite-scroll.tsindex 5c7a7f1cf03..296e4df3a38 100644--- a/studio/frontend/src/hooks/use-infinite-scroll.ts+++ b/studio/frontend/src/hooks/use-infinite-scroll.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useEffect, useRef } from "react";export function useInfiniteScroll(fetchMore: () => void, _itemCount: number) {diff --git a/studio/frontend/src/hooks/use-mobile.ts b/studio/frontend/src/hooks/use-mobile.tsindex 6c79753ee8c..84a05f36502 100644--- a/studio/frontend/src/hooks/use-mobile.ts+++ b/studio/frontend/src/hooks/use-mobile.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useEffect, useState } from "react";const MOBILE_BREAKPOINT = 768;diff --git a/studio/frontend/src/hooks/use-recommended-model-vram.ts b/studio/frontend/src/hooks/use-recommended-model-vram.tsindex 69692ff4161..2ba9731c995 100644--- a/studio/frontend/src/hooks/use-recommended-model-vram.ts+++ b/studio/frontend/src/hooks/use-recommended-model-vram.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { modelInfo } from "@huggingface/hub";import { useEffect, useState } from "react";diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex f3f45f407f0..419883ebf6d 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -1,3 +1,6 @@+/* SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0 */+/* Copyright © 2025 Unsloth AI */+@import "tailwindcss";@import "tw-animate-css";@import "shadcn/tailwind.css";diff --git a/studio/frontend/src/lib/audio-utils.ts b/studio/frontend/src/lib/audio-utils.tsindex 5adde372f21..7101a3c245e 100644--- a/studio/frontend/src/lib/audio-utils.ts+++ b/studio/frontend/src/lib/audio-utils.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export const AUDIO_ACCEPT = "audio/wav,audio/mpeg,audio/webm,audio/ogg,audio/flac,audio/mp4";export const MAX_AUDIO_SIZE = 50 * 1024 * 1024;diff --git a/studio/frontend/src/lib/copy-to-clipboard.ts b/studio/frontend/src/lib/copy-to-clipboard.tsindex 3ef3df11770..45ab1fece4b 100644--- a/studio/frontend/src/lib/copy-to-clipboard.ts+++ b/studio/frontend/src/lib/copy-to-clipboard.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+/*** Copy text to clipboard in a way that works on Mac/Safari.* Uses a synchronous textarea + execCommand fallback so the copy runs in thediff --git a/studio/frontend/src/lib/utils.ts b/studio/frontend/src/lib/utils.tsindex 74c6227f817..c925d22b60f 100644--- a/studio/frontend/src/lib/utils.ts+++ b/studio/frontend/src/lib/utils.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { type ClassValue, clsx } from "clsx";import { twMerge } from "tailwind-merge";diff --git a/studio/frontend/src/lib/vram.ts b/studio/frontend/src/lib/vram.tsindex 8152104ee2d..e02ee875ef0 100644--- a/studio/frontend/src/lib/vram.ts+++ b/studio/frontend/src/lib/vram.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+/*** VRAM estimation for model loading (4-bit quantization via bitsandbytes).*diff --git a/studio/frontend/src/main.tsx b/studio/frontend/src/main.tsxindex 4358241c94a..a04585cd6c4 100644--- a/studio/frontend/src/main.tsx+++ b/studio/frontend/src/main.tsx@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { StrictMode } from "react";import { createRoot } from "react-dom/client";diff --git a/studio/frontend/src/shared/toast.ts b/studio/frontend/src/shared/toast.tsindex f3cfa08a9d5..6e459de28dc 100644--- a/studio/frontend/src/shared/toast.ts+++ b/studio/frontend/src/shared/toast.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { toast } from "sonner";export function toastSuccess(message: string): void {diff --git a/studio/frontend/src/speech-recognition.d.ts b/studio/frontend/src/speech-recognition.d.tsindex c583b200a6f..e70f9c160f7 100644--- a/studio/frontend/src/speech-recognition.d.ts+++ b/studio/frontend/src/speech-recognition.d.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+/*** Minimal Web Speech API (Speech Recognition) types for browsers that support it.* Full types: @types/dom-speech-recognitiondiff --git a/studio/frontend/src/stores/index.ts b/studio/frontend/src/stores/index.tsindex 700bc2e935c..91b0dc175e6 100644--- a/studio/frontend/src/stores/index.ts+++ b/studio/frontend/src/stores/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+// Global storesexport {};diff --git a/studio/frontend/src/stores/training.ts b/studio/frontend/src/stores/training.tsindex d3bd63d6487..64dd1cce9a4 100644--- a/studio/frontend/src/stores/training.ts+++ b/studio/frontend/src/stores/training.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+import { useTrainingConfigStore } from "@/features/training";export const useWizardStore = useTrainingConfigStore;diff --git a/studio/frontend/src/types/index.ts b/studio/frontend/src/types/index.tsindex e668ba7d64c..80459afba71 100644--- a/studio/frontend/src/types/index.ts+++ b/studio/frontend/src/types/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+// Shared typesexport type {};diff --git a/studio/frontend/src/types/training.ts b/studio/frontend/src/types/training.tsindex 18c3bbe407a..690929b9a31 100644--- a/studio/frontend/src/types/training.ts+++ b/studio/frontend/src/types/training.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export type ModelType = "vision" | "tts" | "embeddings" | "text";export type TrainingMethod = "qlora" | "lora" | "full";diff --git a/studio/frontend/src/utils/index.ts b/studio/frontend/src/utils/index.tsindex f2bd368099d..22221d3c606 100644--- a/studio/frontend/src/utils/index.ts+++ b/studio/frontend/src/utils/index.ts@@ -1,2 +1,5 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+// Utility functionsexport { normalizeNonEmptyName } from "./strings";diff --git a/studio/frontend/src/utils/strings.ts b/studio/frontend/src/utils/strings.tsindex a9f1bc5797c..de5eba119ad 100644--- a/studio/frontend/src/utils/strings.ts+++ b/studio/frontend/src/utils/strings.ts@@ -1,3 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+// Copyright © 2025 Unsloth AI+export function normalizeNonEmptyName(value: string,fallback = "Unnamed",diff --git a/studio/tests/test_openai_completions.py b/studio/tests/test_openai_completions.pyindex 31bbc6d51e5..71cb062bd78 100644--- a/studio/tests/test_openai_completions.py+++ b/studio/tests/test_openai_completions.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Tests for the OpenAI-compatible /chat/completions endpoint.diff --git a/studio/tests/test_remote_lora_detection.py b/studio/tests/test_remote_lora_detection.pyindex 870758e76ec..c0ada86e0a6 100644--- a/studio/tests/test_remote_lora_detection.py+++ b/studio/tests/test_remote_lora_detection.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Test remote LoRA adapter detection via HuggingFace Hub API.diff --git a/studio/tests/test_sse_progress.py b/studio/tests/test_sse_progress.pyindex d2c007d99ee..c6a3ae6a075 100644--- a/studio/tests/test_sse_progress.py+++ b/studio/tests/test_sse_progress.py@@ -1,3 +1,6 @@+# SPDX-License-Identifier: AGPL-3.0-only - See /studio/LICENSE.AGPL-3.0+# Copyright © 2025 Unsloth AI+"""Tests for the SSE training progress endpoint and status fallback.