Skip to content

image search cli#716

Merged
willccbb merged 2 commits into
mainfrom
feature/image-search-cli
Jun 5, 2026
Merged

image search cli#716
willccbb merged 2 commits into
mainfrom
feature/image-search-cli

Conversation

@kcoopermiller
Copy link
Copy Markdown
Member

@kcoopermiller kcoopermiller commented Jun 4, 2026

Note

Low Risk
CLI-only listing UX and query forwarding; no auth, data, or infrastructure changes.

Overview
Adds server-side search to prime images list via --search / -q, passing a search query parameter to GET /images so filtering applies across the full registry (not only the current page).

Empty-result handling is updated: when a search is active, users see search-specific guidance (e.g. no matches for the term) instead of the generic “push an image” message, with branches that still prefer out-of-range page hints when page > 1 and totalCount is absent.

Tests cover param forwarding, omission when unset, and empty-state messaging edge cases.

Reviewed by Cursor Bugbot for commit 86c39a6. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ac5f821. Configure here.

Comment thread packages/prime/src/prime_cli/commands/images.py Outdated
@willccbb willccbb merged commit a0d2f78 into main Jun 5, 2026
30 of 31 checks passed
@willccbb willccbb deleted the feature/image-search-cli branch June 5, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants