← Commit history
Publish 2.1.3
8 files changed
+108−22
CHANGELOG.md+10@@ -1,5 +1,15 @@ # Changelog +## 2.1.3 (2026-11-05)++Listings say what they are, and a reel listing no longer reads as "out of stock". DigiKey and JLCPCB data is still partial upstream (see below).++- DigiKey hits are labelled by packaging (Tape & Reel, Cut Tape, Digi-Reel) with their minimum order. A full-reel listing reading 0 now says that DigiKey's cut tape was not checked, and the empty state and the substitution note no longer claim DigiKey is out on the strength of it (adom/adom-parts-search#11).+- A recommendation names a minimum order above 1, and the `cheapest` policy no longer lets a reel-only price beat a listing sold in small quantities (the reported $0.002 case).+- Every hit carries `price_breaks` and `min_order`; both show on the page and in `show`. JLCPCB tiers are read in all the shapes its service sends, so prices appear as soon as its search answer carries them. A JLCPCB hit with no price says so and links its JLCPCB page (adom/adom-parts-search#10).+- Not fixed here: DigiKey's service still returns one listing per part, and JLCPCB's search answer still has no prices. Both need a change on the vendor services.+- Source: `src/wiki.rs` was never pushed to this page, so the page did not build. It is rebuilt from the 2.1.2 binary and checked against it, and publish.sh now pushes it.+ ## 2.1.2 (2026-11-04) Any `--limit` works again. The wiki's parts-search route takes 3, 5 or 10, so `--limit 2` (or 7, or 25) came back as an error in every vendor column. Parts Search now asks for the smallest of those that covers the limit, 10 at most, and shows only as many hits as you asked for.
SKILL.md+7@@ -137,6 +137,13 @@ When the query is an exact MPN, the recommendation is **that exact part** whenev Each `hit` includes `image_url` for the webview: use `show` when the user needs to eyeball product photos (Claude Code terminal can't show images). +### Read a hit's listing facts before calling a part unavailable or cheap++- `price_breaks` is `[{qty, price}]`, `min_order` is the fewest units the listing sells, and `packaging` is `Tape & Reel`, `Cut Tape` or `Digi-Reel` when the vendor or its part number says. For JLCPCB, `min_order` is the first price break's quantity.+- `note` says what the numbers do not tell you. **Relay it.**+- **DigiKey answers with one listing per part, often the full reel.** A `Tape & Reel` hit at stock 0 does not mean DigiKey is out: its cut-tape stock is not in the answer. Check the hit's `product_url` before you call the part unavailable or substitute it. A reel's price is not a prototype price: read `min_order`.+- **JLCPCB's search answer can have stock and no price** (`unit_price` null with a `note`). That means no price was sent, not that the part is free or unavailable.+ ## The page `adom-parts-search show` (or `serve`, or the Dock Bar card) opens a Hydrogen tab titled **"Parts Search"**. The page is the dashboard: a 44px header (brand, current query, vendor health LED, settings cog), a **Say it** strip of phrases the user can copy or stage into this app's AI thread, the search bar, the recommendation banner, and three columns:
bin/adom-parts-search⋯ 1 unchanged line ⋯
install.shpackage.json+34−2@@ -1,6 +1,6 @@ { "slug": "adom-parts-search",- "version": "2.1.2",+ "version": "2.1.3", "type": "app", "description": "One search box across Mouser, DigiKey and JLCPCB. Parallel queries, side-by-side product photos, and a Mouser-preferred recommendation that reasons around stock and lead time. Dock Bar ready: serve, health, settings, Say it.", "dependencies": {},@@ -34,5 +34,37 @@ "SKILL.md", "BUILD-SKILL.md", "CHANGELOG.md"+ ],+ "changelog": "Listings say what they are, and a reel listing no longer reads as \"out of stock\". DigiKey and JLCPCB data is still partial upstream (see below).",+ "discovery_triggers": [+ "parts-search",+ "parts-search parts",+ "parts-search pricing",+ "parts-search search",+ "parts-search part number",+ "component search",+ "part lookup",+ "price breaks",+ "datasheet parts-search",+ "in stock parts-search"+ ],+ "discovery_pitch": "Search Parts Search Electronics for components, pricing, stock, and datasheets \u2014 CLI + webview app + shared backend service.",+ "sample_prompts": [+ {+ "label": "source an STM32F103RBT6",+ "prompt": "source an STM32F103RBT6"+ },+ {+ "label": "where can I get an ESP32-S3-WROOM cheape",+ "prompt": "where can I get an ESP32-S3-WROOM cheapest and fastest"+ },+ {+ "label": "compare Mouser, DigiKey and JLCPCB for a",+ "prompt": "compare Mouser, DigiKey and JLCPCB for an LM555"+ },+ {+ "label": "price this BOM across distributors",+ "prompt": "price this BOM across distributors"+ } ]-}+}
page.json+50−20@@ -4,7 +4,7 @@ "slug": "adom-parts-search", "title": "Parts Search", "brief": "One search box across Mouser, DigiKey and JLCPCB: parallel queries, side-by-side product photos, and a Mouser-preferred recommendation that reasons around stock and lead time.",- "version": "2.1.2",+ "version": "2.1.3", "install": { "binary_name": "adom-parts-search", "install_dir": "",@@ -36,30 +36,60 @@ "path": "screenshots/hero.png" }, "sample_prompts": [- "source an STM32F103RBT6",- "where can I get an ESP32-S3-WROOM cheapest and fastest",- "compare Mouser, DigiKey and JLCPCB for an LM555",- "price this BOM across distributors"+ {+ "label": "source an STM32F103RBT6",+ "prompt": "source an STM32F103RBT6"+ },+ {+ "label": "where can I get an ESP32-S3-WROOM cheape",+ "prompt": "where can I get an ESP32-S3-WROOM cheapest and fastest"+ },+ {+ "label": "compare Mouser, DigiKey and JLCPCB for a",+ "prompt": "compare Mouser, DigiKey and JLCPCB for an LM555"+ },+ {+ "label": "price this BOM across distributors",+ "prompt": "price this BOM across distributors"+ } ], "discovery_triggers": [- "parts search",- "find part",- "source component",- "source part",- "compare distributors",- "compare vendors",- "Mouser or DigiKey",- "BOM sourcing",- "price this part",- "where can I get",- "check stock",- "parts availability",- "fastest delivery"+ "parts-search",+ "parts-search parts",+ "parts-search pricing",+ "parts-search search",+ "parts-search part number",+ "component search",+ "part lookup",+ "price breaks",+ "datasheet parts-search",+ "in stock parts-search" ],- "discovery_pitch": "Search Mouser + DigiKey + JLCPCB in parallel from one interface, with product photos and a Mouser-preferred best-source pick.",+ "discovery_pitch": "Search Parts Search Electronics for components, pricing, stock, and datasheets — CLI + webview app + shared backend service.", "metadata": { "platform": "linux" }, "category": "tools",- "org": "adom"+ "org": "adom",+ "description": "One search box across Mouser, DigiKey and JLCPCB. Parallel queries, side-by-side product photos, and a Mouser-preferred recommendation that reasons around stock and lead time. Dock Bar ready: serve, health, settings, Say it.",+ "dependencies": {},+ "needs_sudo": false,+ "scripts": {+ "install": "./install.sh",+ "uninstall": "./uninstall.sh"+ },+ "files": [+ "bin/**",+ "skills/**",+ "docs/icon.svg",+ "dockbar.json",+ "install.sh",+ "uninstall.sh",+ "package.json",+ "README.md",+ "SKILL.md",+ "BUILD-SKILL.md",+ "CHANGELOG.md"+ ],+ "changelog": "Listings say what they are, and a reel listing no longer reads as \"out of stock\". DigiKey and JLCPCB data is still partial upstream (see below)." }
skills/adom-parts-search/SKILL.md+7@@ -137,6 +137,13 @@ When the query is an exact MPN, the recommendation is **that exact part** whenev Each `hit` includes `image_url` for the webview: use `show` when the user needs to eyeball product photos (Claude Code terminal can't show images). +### Read a hit's listing facts before calling a part unavailable or cheap++- `price_breaks` is `[{qty, price}]`, `min_order` is the fewest units the listing sells, and `packaging` is `Tape & Reel`, `Cut Tape` or `Digi-Reel` when the vendor or its part number says. For JLCPCB, `min_order` is the first price break's quantity.+- `note` says what the numbers do not tell you. **Relay it.**+- **DigiKey answers with one listing per part, often the full reel.** A `Tape & Reel` hit at stock 0 does not mean DigiKey is out: its cut-tape stock is not in the answer. Check the hit's `product_url` before you call the part unavailable or substitute it. A reel's price is not a prototype price: read `min_order`.+- **JLCPCB's search answer can have stock and no price** (`unit_price` null with a `note`). That means no price was sent, not that the part is free or unavailable.+ ## The page `adom-parts-search show` (or `serve`, or the Dock Bar card) opens a Hydrogen tab titled **"Parts Search"**. The page is the dashboard: a 44px header (brand, current query, vendor health LED, settings cog), a **Say it** strip of phrases the user can copy or stage into this app's AI thread, the search bar, the recommendation banner, and three columns:
uninstall.sh