unsloth/unsloth_cli/commands
Daniel Han 6d674e5cc9
unsloth start: warn before running an agent's remote installer (#7024)
When a coding agent is missing, `unsloth start <agent>` offers to run the
vendor's own installer (curl | bash, irm | iex, or npm) after an interactive
confirm. Those installers execute with the user's privileges and there is no
signature or hash check on the fetched content, so a blind "yes" is a
supply-chain risk if the delivery path is compromised.

Keep the auto-install convenience but make consent informed: before the prompt,
name the exact remote source the installer fetches (or the command it runs for a
package installer) and state that nothing verifies a signature or hash. Behavior
is otherwise unchanged: non-interactive stdin still never executes anything, and
the confirm still defaults to no.
2026-07-09 11:08:39 +02:00
..
__init__.py Rename cli/ to unsloth_cli/ to fix namespace collision with stringzilla (#4393) 2026-03-17 20:40:21 -07:00
chat.py feat(cli): support MLX distributed inference (#6845) 2026-07-08 03:25:39 -07:00
export.py Formatting: ruff line-length 100, kwarg-spacing passes, drop blank after short local imports (#6079) 2026-06-08 04:24:13 -07:00
inference.py feat(cli): support MLX distributed inference (#6845) 2026-07-08 03:25:39 -07:00
start.py unsloth start: warn before running an agent's remote installer (#7024) 2026-07-09 11:08:39 +02:00
studio.py Fix Windows Studio UTF-8 startup handling (#6614) 2026-07-01 13:47:33 +01:00
train.py Add MLX backend support for CLI unsloth train (#6709) 2026-07-08 03:25:26 -07:00