feat(cli): improve search ranking output

This commit is contained in:
Andrey Avtomonov 2026-05-17 01:59:21 +02:00
parent de72a10ffb
commit 855c0644ff
12 changed files with 267 additions and 35 deletions

View file

@ -141,6 +141,9 @@ Semantic-layer list and search commands return human-readable output by
default. Use `--json` on `list` or `search` when an agent needs structured
output. Use `--format sql` on `query` to inspect generated SQL before
execution, or leave `--format json` for the compiled query and optional rows.
Pretty `sl search` output shows `#1`, `#2`, and later rank badges for the
displayed results. Plain and JSON output keep the raw `score` value, which is a
ranking score rather than a percentage.
```json
{