app
DigiKey Electronics Search
Public Made by Adomby adom
DigiKey component search in your workspace — millions of parts with real-time stock, quantity pricing and datasheets. CLI verbs, a Hydrogen app, and a shared backend service.
← Commit history
Publish 1.0.7
6 files changed
+18−18
SKILL.md+4−4@@ -188,7 +188,7 @@ adom-digikey search "LM317" adom-digikey app # UI reads $DIGIKEY_API automatically ``` -Most containers don't need to set the API env var explicitly — `adom-digikey` installs from the wiki registry (`adom-wiki pkg install adom/adom-digikey`) and is kept current by the auto-update hook. The CLI autodetects a local `adom-digikey serve` on 127.0.0.1:8777 and falls back to calling DigiKey directly if `DIGIKEY_CLIENT_ID` is set locally.+Gallia users don't need to set `DIGIKEY_API` explicitly — `adom-digikey` is a Tier A app (see `adom-app-model`), so it's installed by every `gallia/install.mjs` run from the wiki binary. The CLI autodetects a local `adom-digikey serve` on 127.0.0.1:8777 and falls back to calling DigiKey directly if `DIGIKEY_CLIENT_ID` is set locally. ### Local-only (quick testing) @@ -196,13 +196,13 @@ On any container, if `DIGIKEY_CLIENT_ID` is set and you run `adom-digikey serve ## Installation -Install from the wiki registry — the package delivers the binary and the skills together:+The binary is distributed as a GitHub release from `adom-inc/adom-digikey`. After downloading to `/usr/local/bin/adom-digikey` and making it executable, run: ```bash-adom-wiki pkg install adom/adom-digikey+adom-digikey install ``` -This installs the CLI to `~/.local/bin` and the skills to `~/.claude/skills/adom-digikey/`.+This deploys the skill to `~/.claude/skills/digikey/SKILL.md` and installs bash completions. ## Notes
bin/adom-digikey⋯ 1 unchanged line ⋯
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-digikey",- "version": "1.0.6",+ "version": "1.0.7", "type": "app", "description": "DigiKey component search in your workspace \u2014 millions of parts with real-time stock, quantity pricing and datasheets. CLI verbs, a Hydrogen app, and a shared backend service.", "dependencies": {},
page.json+4−4@@ -3,8 +3,8 @@ "type": "app", "slug": "adom-digikey", "title": "DigiKey Electronics Search",- "brief": "DigiKey component search in your workspace \u2014 millions of parts with real-time stock, quantity pricing and datasheets. CLI verbs, a Hydrogen app, and a shared backend service.",- "version": "1.0.6",+ "brief": "DigiKey component search in your workspace — millions of parts with real-time stock, quantity pricing and datasheets. CLI verbs, a Hydrogen app, and a shared backend service.",+ "version": "1.0.7", "install": { "binary_name": "adom-digikey", "install_dir": "",@@ -60,11 +60,11 @@ "datasheet digikey", "in stock digikey" ],- "discovery_pitch": "Search DigiKey Electronics for components, pricing, stock, and datasheets \u2014 CLI + webview app + shared backend service.",+ "discovery_pitch": "Search DigiKey Electronics for components, pricing, stock, and datasheets — CLI + webview app + shared backend service.", "metadata": { "platform": "linux" },- "description": "DigiKey component search in your workspace \u2014 millions of parts with real-time stock, quantity pricing and datasheets. CLI verbs, a Hydrogen app, and a shared backend service.",+ "description": "DigiKey component search in your workspace — millions of parts with real-time stock, quantity pricing and datasheets. CLI verbs, a Hydrogen app, and a shared backend service.", "dependencies": {}, "needs_sudo": false, "scripts": {
skills/adom-digikey-build/SKILL.md+5−5@@ -27,7 +27,7 @@ A release syncs five places to the same version X.Y.Z: 3. **Ralph loop the UI** (per app-creator): open in pup, drive a real search, screenshot, check `/console` for errors. ```bash DIGIKEY_API=<backend> adom-digikey app --no-tab &- adom-bridge-cli browser_open_window '{"sessionId":"digikey","profile":"digikey","url":"http://127.0.0.1:8891"}'+ adom-desktop browser_open_window '{"sessionId":"digikey","profile":"digikey","url":"http://127.0.0.1:8891"}' # drive a search, screenshot, verify 0 console errors ``` @@ -44,10 +44,10 @@ A release syncs five places to the same version X.Y.Z: curl -s https://digikey-<slug>.adom.cloud/health | jq '.version' # → "X.Y.Z" ``` -7. **Verify on a fresh user container** (optional):+7. **Verify on a fresh user container** (optional, but catches gallia regressions): ```bash # on a fresh container:- adom-wiki pkg install adom/adom-digikey+ node ~/gallia/install.mjs # Tier A block fetches from wiki adom-digikey --version # → "adom-digikey X.Y.Z" ``` @@ -57,10 +57,10 @@ A release syncs five places to the same version X.Y.Z: - [ ] Wiki page at `apps/adom-digikey` renders the new `install_hint` one-liner - [ ] User has seen a working screenshot of the webview - [ ] No console errors via `GET /console`-- [ ] a clean `adom-wiki pkg install adom/adom-digikey` pulls + installs the new version+- [ ] `gallia/install.mjs` Tier A block still works (pulls + installs the new version) - [ ] **Brand audit — in-app icons are monochrome white.** Run: ```- grep -nE 'fill="#(00b8b0|00b8b1)"|stroke="#(00b8b0|00b8b1)"|color: var\(--accent\)' src/app/*.html src/app/*.svg 2>/dev/null+ grep -nE 'fill="#00b8b0"|stroke="#00b8b0"|color: var\(--accent\)' src/app/*.html src/app/*.svg 2>/dev/null ``` Expected result: empty, OR only the text-color rules (`.digikey-pn`, `<a>`, focus-rings) on non-SVG elements. Any match on an `<svg>` or
skills/adom-digikey/SKILL.md+4−4@@ -188,7 +188,7 @@ adom-digikey search "LM317" adom-digikey app # UI reads $DIGIKEY_API automatically ``` -Most containers don't need to set the API env var explicitly — `adom-digikey` installs from the wiki registry (`adom-wiki pkg install adom/adom-digikey`) and is kept current by the auto-update hook. The CLI autodetects a local `adom-digikey serve` on 127.0.0.1:8777 and falls back to calling DigiKey directly if `DIGIKEY_CLIENT_ID` is set locally.+Gallia users don't need to set `DIGIKEY_API` explicitly — `adom-digikey` is a Tier A app (see `adom-app-model`), so it's installed by every `gallia/install.mjs` run from the wiki binary. The CLI autodetects a local `adom-digikey serve` on 127.0.0.1:8777 and falls back to calling DigiKey directly if `DIGIKEY_CLIENT_ID` is set locally. ### Local-only (quick testing) @@ -196,13 +196,13 @@ On any container, if `DIGIKEY_CLIENT_ID` is set and you run `adom-digikey serve ## Installation -Install from the wiki registry — the package delivers the binary and the skills together:+The binary is distributed as a GitHub release from `adom-inc/adom-digikey`. After downloading to `/usr/local/bin/adom-digikey` and making it executable, run: ```bash-adom-wiki pkg install adom/adom-digikey+adom-digikey install ``` -This installs the CLI to `~/.local/bin` and the skills to `~/.claude/skills/adom-digikey/`.+This deploys the skill to `~/.claude/skills/digikey/SKILL.md` and installs bash completions. ## Notes