diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2026-04-11 05:26:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-11 05:26:52 +0100 |
| commit | 4d81ec537f91ebed0d5498a36596a516dbf7d26b (patch) | |
| tree | 01c9ed9f3e3e6ecf61461c99fd8fd6998c26a8c3 /crates/atuin-daemon/src/components/search.rs | |
| parent | fix: ensure daemon is running (#3384) (diff) | |
| download | atuin-4d81ec537f91ebed0d5498a36596a516dbf7d26b.zip | |
feat: track coding agent shell usage (#3388)
https://github.com/user-attachments/assets/7868c7a4-6a91-4c93-ac6a-e8665cf1f799
## Checks
- [ ] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [ ] I have checked that there are no existing pull requests for the
same thing
Diffstat (limited to 'crates/atuin-daemon/src/components/search.rs')
| -rw-r--r-- | crates/atuin-daemon/src/components/search.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crates/atuin-daemon/src/components/search.rs b/crates/atuin-daemon/src/components/search.rs index 9fc87fae..a2e74aa5 100644 --- a/crates/atuin-daemon/src/components/search.rs +++ b/crates/atuin-daemon/src/components/search.rs @@ -304,6 +304,7 @@ impl SearchSvc for SearchGrpcService { .try_into() .unwrap_or(FilterMode::Global); let proto_context = search_req.context; + let authors = search_req.authors; debug!( "search request: query = {}, query_id = {}, filter_mode = {}, context = {:?}", @@ -332,7 +333,13 @@ impl SearchSvc for SearchGrpcService { .in_scope(|| async { let index = index.read().await; index - .search(&query, index_filter, &query_context, RESULTS_LIMIT) + .search( + &query, + index_filter, + &query_context, + &authors, + RESULTS_LIMIT, + ) .await }) .await; |
