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.6
5 files changed
+15−15
SKILL.md+4−4@@ -188,7 +188,7 @@ adom-digikey search "LM317" adom-digikey app # UI reads $DIGIKEY_API automatically ``` -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.+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. ### Local-only (quick testing) @@ -196,13 +196,13 @@ On any container, if `DIGIKEY_CLIENT_ID` is set and you run `adom-digikey serve ## Installation -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:+Install from the wiki registry — the package delivers the binary and the skills together: ```bash-adom-digikey install+adom-wiki pkg install adom/adom-digikey ``` -This deploys the skill to `~/.claude/skills/digikey/SKILL.md` and installs bash completions.+This installs the CLI to `~/.local/bin` and the skills to `~/.claude/skills/adom-digikey/`. ## Notes
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-digikey",- "version": "1.0.5",+ "version": "1.0.6", "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+1−1@@ -4,7 +4,7 @@ "slug": "adom-digikey", "title": "DigiKey Electronics Search", "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.5",+ "version": "1.0.6", "install": { "binary_name": "adom-digikey", "install_dir": "",
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-desktop browser_open_window '{"sessionId":"digikey","profile":"digikey","url":"http://127.0.0.1:8891"}'+ adom-bridge-cli 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, but catches gallia regressions):+7. **Verify on a fresh user container** (optional): ```bash # on a fresh container:- node ~/gallia/install.mjs # Tier A block fetches from wiki+ adom-wiki pkg install adom/adom-digikey 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`-- [ ] `gallia/install.mjs` Tier A block still works (pulls + installs the new version)+- [ ] a clean `adom-wiki pkg install adom/adom-digikey` pulls + installs the new version - [ ] **Brand audit — in-app icons are monochrome white.** Run: ```- grep -nE 'fill="#00b8b0"|stroke="#00b8b0"|color: var\(--accent\)' src/app/*.html src/app/*.svg 2>/dev/null+ grep -nE 'fill="#(00b8b0|00b8b1)"|stroke="#(00b8b0|00b8b1)"|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 ``` -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.+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. ### Local-only (quick testing) @@ -196,13 +196,13 @@ On any container, if `DIGIKEY_CLIENT_ID` is set and you run `adom-digikey serve ## Installation -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:+Install from the wiki registry — the package delivers the binary and the skills together: ```bash-adom-digikey install+adom-wiki pkg install adom/adom-digikey ``` -This deploys the skill to `~/.claude/skills/digikey/SKILL.md` and installs bash completions.+This installs the CLI to `~/.local/bin` and the skills to `~/.claude/skills/adom-digikey/`. ## Notes