Auto-run single executable in uvx/uv tool run when package name differs
When a package provides exactly one executable that doesn't match the
package name, automatically run that executable with an informative note,
aligning with pipx/npx/bunx behavior.
Before:
$ uvx tally-cli --version
An executable named `tally-cli` is not provided by package `tally-cli`.
The following executables are available:
- tally
Use `uvx --from tally-cli tally` instead.
After:
$ uvx tally-cli --version
NOTE: running app 'tally' from 'tally-cli'
tally version 0.1.3 (3671a4f)
This change is backwards compatible - all existing working commands
continue to work exactly as before. Only commands that previously failed
(single executable with different name) now succeed.
Closes #6403
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reject unnamed indexes with `explicit = true`
An unnamed explicit index can never be used, since explicit indexes must
be referenced by name in `sources`. This adds validation at
deserialization time via a custom `Deserialize` impl on `Index`.
Closes #14878
https://claude.ai/code/session_01RtuQ1bcsHbj8qebME8okgB
Remove `bits` field from Preview debug output
Custom Debug impl for Preview that displays flags as a list of enum
variants instead of the BitFlags internal representation with raw bits.
https://claude.ai/code/session_0165mjfe9jM99HSQ5epXea5B