Skip to content

patent v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Jun 04:45

patent 0.4.0 adds clipboard copy, CI-friendly exit codes, a Docker image, and a round of bug fixes.

Highlights

Clipboard copy. Press y on any match to yank its URL to the clipboard. Works in both the list and detail views, with a brief status confirmation.

Graduated exit codes. The process now exits 0 (Open), 1 (Crowded), or 2 (Saturated), so you can gate CI pipelines on prior-art density without parsing JSON.

Docker image. Community-contributed Dockerfile for running patent in containers (thanks @mdeville).

Nix flake. Community-contributed flake.nix for Nix users (thanks @mdeville).

Bug fixes

  • Fix infinite loop in is_whole_word on empty match name.
  • Fix RubyGems .take(20) before .filter() dropping valid results.
  • Remove duplicate User-Agent headers on 4 source adapters.
  • Only retry on transient errors (Http/LlmUnreachable), not model errors.
  • Add max_tokens: 512 on the OpenAI-compatible path.
  • Maven no longer reports versionCount as a popularity signal (thanks @Arvuno).
  • crates.io adapter now honors base_url when building result URLs.

Install

cargo install patent

Or grab a prebuilt binary / one-line installer from the assets below.


Install patent 0.4.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/r14dd/patent/releases/download/v0.4.0/patent-installer.sh | sh

Download patent 0.4.0

File Platform Checksum
patent-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
patent-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
patent-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum