Blake Mizerany 2c8f95de19 cmd: default to client2 and simplify pull progress display
Switch the pull and remove operations to use the client2 registry by default,
removing the need to pass an experimental flag.

Also simplify the progress UI during model pulls. Previously, each layer
displayed its own progress bar, resulting in noisy and repetitive output:

	pulling manifest
	pulling aeda25e63ebd... 100% ▕██████████████████████████ 3.3 GB
	pulling e0a42594d802... 100% ▕██████████████████████████  358 B
	...
	writing manifest
	success

This change replaces that with a single progress bar for the entire pull,
followed by a single "Done." message:

	Downloading gemma3: 100% ▕█████████████████████████████▏ 3.3 GB

This provides a cleaner and more intuitive experience, and aligns better
with how users think about pulling models as a unit, rather than a collection
of layers.

To support older clients that still rely on a fixed-width Digest field,
we format the Digest to be at least 20 characters long. The value includes
padding and a truncated model name to prevent out-of-bounds access in
legacy clients. This is a temporary compatibility hack and can be removed
once all clients have adopted the new API.

Updates server behavior to handle all combinations of new and old
clients.
2025-04-08 16:50:55 -07:00
..
2025-02-13 17:09:26 -08:00
2024-08-01 17:06:06 -07:00
2024-08-01 17:06:06 -07:00
2024-08-01 17:06:06 -07:00
2024-06-04 11:13:30 -07:00