Rework omni search onto a typed search contract and add a TUI artifacts view
Protocol: replace the loose Query/Kind/Matches/Limit search fields with a Search request object and a SearchResults response, and have the server answer search from Store.Search over the shared run projections (runFrom/runStamps).
CLI: add the read-only 'pipelines search QUERY [--type KIND] [--limit N] [--json]' command with usage/help, and document the typed targets, ranking and bounds in docs/cli.md.
TUI: the '/' popup keeps type-to-search, up/down, Enter and Esc, renders one ranked list with kind badges and a bracketed (non-colour) match snippet, and Enter opens the matched pipeline, run, step, artifact or field; footer text updated to match.
TUI: add a dedicated run artifacts view ('A') with open/copy of recorded files, and move artifacts out of the run-detail File changes section (artifactCaptureNotes).
Tests: add Store.OpenReadOnly for read-only inspection of a live database plus pipeline/server/TUI search tests and artifacts tests, including env-gated live checks.
This commit is contained in:
@@ -38,7 +38,7 @@ and external editor/OpenCode behavior were not assessed by that review.
|
||||
| Status | Narrow cards hide addresses; scrolling does not reveal them. | Wrap card contents and scroll the actual service-card canvas. |
|
||||
| Task form | Tool lists consume prompt space; wrong footer. | Larger task area, compact scope summary, correct submit/cancel controls. |
|
||||
| CLI pipeline picker | Background Home controls remain visible. | Picker-specific filter/select/cancel controls. |
|
||||
| Search | “Omnisearch” promises broader scope than pipeline search. | “Search pipelines” and specific open/cancel instructions. |
|
||||
| Search | Home `/` now opens one omni popup that searches pipelines, versions, runs, steps/visits, artifact names and stage input/output/evidence text. | Keep the omni popup: typed badges, a non-colour marked snippet for text matches, and Enter-to-open navigation; the run-list `/` filter is unchanged. |
|
||||
| Commands | No descriptions or indication of hidden entries. | Selected-command explanation and visible range/count. |
|
||||
| Versions | Selected/latest markers truncate on narrow screens. | Correct view-version footer; further metadata prioritization remains a follow-up. |
|
||||
| Naming/publication | Naming inherits publication shortcuts. | Input-specific name-saving/retention footer. |
|
||||
@@ -61,6 +61,9 @@ repeated stages; `0` returns to the overview. `j`/`k` scrolls Details or pans Gr
|
||||
depending on focus. `h`/`l` and arrow keys pan a focused graph; in Details,
|
||||
left/right selects the previous/next visit. `c` centers the focused graph.
|
||||
`o`, `s`, `i`, `t`, `m` disclose result, progress, input, evidence and execution details.
|
||||
`A` opens the run's artifacts view: recorded files grouped by stage and visit, with
|
||||
name, content type and human size in aligned columns, an `[img]` marker for images,
|
||||
the URL per entry, and `Enter`/`o` to open or `y` to copy the selected entry.
|
||||
|
||||
Home still advertises only `/` search and `:` commands. `q` never exits the client;
|
||||
use `:quit`. Consequential actions still require explicit confirmation.
|
||||
|
||||
Reference in New Issue
Block a user