← Commit history

Publish 0.7.1

barrett-land ·9199ea04ea ·3mo ago ·parent ef4df79
6 files changed +34−240
README.md+7−57
@@ -1,61 +1,11 @@-# Adom Project Manager+# Adom Project Manager → renamed to **Adom Nucleus** -A small web app (served locally, opened in a Hydrogen webview) for browsing and-working with your Adom wiki **boards / projects**. Built on-[`adom-lbr`](https://wiki.adom.inc/adom/adom-lbr) — it reuses the adom-lbr codec-to render and convert symbols/footprints on the fly.+`adom-project-manager` is now **`adom-nucleus`**. -![Adom Project Manager — projects](docs/projects.png)+- Install: `adompkg install adom/adom-nucleus`+- Run: `adom-nucleus --port 8785 &` -## What it does+Kept as a deprecated alias (depends on `adom/adom-nucleus`). Please migrate. -- **Projects, three tabs**-  - **Personal** — boards you own that aren't scoped to an org.-  - **Organization** — boards scoped to an org you belong to, grouped by org.-  - **Public** — a search box; type a name + Enter to find any public board.-  - Boards you've starred on the wiki pin to the top (★); the rest sort alphabetically.-- **Component viewer** — click a board to see its components (categorized by type),-  then click one to view its **symbol + footprint + 3D**, rendered on the fly from-  the canonical adom-lbr JSON, with pin/pad highlight.-- **Interactive board & schematic views** — the board pane is-  **adom-layout-viewer** and the schematic pane is **adom-schematic-viewer**,-  embedded live rather than as flat images. Click a pad or trace to highlight its-  whole net; hover a symbol or pad for MPN, stock, price, wiki page and datasheet.-  Both render from the project's own EDA export, so they look exactly like KiCad.-  ![Interactive board view with a net highlighted](docs/board-view.png)-- **Layer stackup** — for a footprint, see which layer each graphic becomes in-  **KiCad** and **Altium**.-- **Add to Library** — push selected components into your existing KiCad/Altium-  libraries.-- **Add Project to my Computer** — deliver a board's full KiCad project. In-  *project-only* mode it's made **self-contained**: symbols/footprints are-  extracted into a project library, every `lib_id`/footprint reference is-  re-pointed to it, and project-local `sym-lib-table` / `fp-lib-table` are written-  — so it opens anywhere with no broken links.--## Run--```bash-adom-project-manager --port 8785-```--Then open `http://localhost:<port>` in a browser or Hydrogen webview. Delivery to-your machine (Add to Library / Add Project) goes through the **adom-desktop**-bridge, and identity/stars come from the signed-in `adom-wiki` session.--## Built on adom-lbr--The Rust binary depends on the `altium-codec` crate from `adom-lbr` (KiCad-import/export + the canonical part model). As a wiki package it declares-`adom/adom-lbr` as a dependency.--## Publishing boards--Boards are published to the wiki with **[molecule-publish](https://wiki.adom.inc/adom/molecule-publish)**,-which installs alongside the Manager as a dependency. It bundles 3D models,-normalizes paths and renders the board so the page has everything the Manager-needs (3D, schematic, PCB). The older bundled `publish-board` skill is-deprecated and is no longer shipped.--![Adom Nucleus](docs/projects.png)-![Board view](docs/board-view.png)+![Adom Nucleus](docs/hero.png)+![Adom Nucleus](docs/hero.png)
SKILL.md+3−38
@@ -1,44 +1,9 @@ --- name: adom-project-manager-description: Open the Adom Project Manager to browse your Adom wiki boards/projects (Personal / Organization / Public), view a component's symbol + footprint + 3D and per-EDA layer stackup, add components to your KiCad/Altium libraries, or deliver a self-contained KiCad project to your computer. Triggers include "open the project manager", "browse my boards", "add this board's parts to my kicad library", "download this project as a self-contained kicad project", "view the layer stackup".+description: DEPRECATED alias — renamed to Adom Nucleus (adom-nucleus). Use adom-nucleus. user-invocable: true --- -# Adom Project Manager+# Adom Project Manager (deprecated) -A local web app (opened in a Hydrogen webview) for browsing and working with your-Adom wiki boards/projects. Built on `adom-lbr` (it reuses the codec to render +-convert on the fly).--## Run it--```bash-adom-project-manager --port 8785 &-```--Open `http://localhost:8785` in a browser or Hydrogen webview. To surface it in-the user's webview panel, use `adom-cli hydrogen webview open-or-refresh`.--## What's inside--- **Projects tabs** — Personal (your non-org boards), Organization (org boards you-  can access, grouped by org), Public (search box, Enter to load). Starred boards-  pin to the top; the rest are alphabetical.-- **Viewer** — click a board → its components (categorized) → symbol + footprint +-  3D + the KiCad/Altium layer stackup, with pin/pad highlight.-- **Interactive board/schematic panes** — embedded **adom-layout-viewer**-  (`/board-view/<slug>/pcb`) and **adom-schematic-viewer** (`/board-view/<slug>/sch`).-  Net highlighting, per-part hover with live stock/price. The Manager serves-  `/board-view/<slug>/enrich` on their behalf, since an embed has no server of-  its own. Rendered views are cached in-process per slug+version.-- **Add to Library** — selected components into the user's KiCad/Altium libraries.-- **Add Project to my Computer** — a board's full KiCad project; *project-only*-  mode makes it self-contained (project symbol/footprint libraries, re-pointed-  references, project-local lib-tables).--## Prerequisites--- **adom-desktop** bridge running — delivery to the user's machine (Add to-  Library / Add Project, project fetch) and desktop screenshots go through it.-- Signed-in **adom-wiki** session — identity (Personal/Org tabs) and stars.-- **python3** in the container — the self-containment step for Add Project.+Renamed to **Adom Nucleus**. Install `adom/adom-nucleus`.
install.sh+2−22
@@ -1,24 +1,4 @@ #!/bin/bash set -euo pipefail-DIR="$(cd "$(dirname "$0")" && pwd)"; BIN="${HOME}/.local/bin"; mkdir -p "$BIN"-install -m 0755 "$DIR/bin/adom-project-manager" "$BIN/adom-project-manager"; echo "Installed adom-project-manager"--# Board-GLB optimizer: --render-board shrinks the raw kicad-cli board GLB (merge-# primitives, quantize) before publishing. It shells to `node <script>` using-# @gltf-transform; both are OPTIONAL — without them --render-board just publishes-# the un-optimized GLB. Install the script + its deps best-effort next to the bin.-if [ -f "$DIR/glb_optimize.mjs" ]; then-  install -m 0644 "$DIR/glb_optimize.mjs" "$BIN/glb_optimize.mjs"-  if command -v npm >/dev/null 2>&1; then-    ( cd "$BIN" && npm install --no-save --no-audit --no-fund \-        @gltf-transform/core @gltf-transform/functions @gltf-transform/extensions >/dev/null 2>&1 ) \-      && echo "Installed board-GLB optimizer (gltf-transform)" \-      || echo "Note: gltf-transform deps not installed; --render-board will publish un-optimized GLBs"-  else-    echo "Note: npm not found; --render-board will publish un-optimized GLBs (install node+npm to enable optimization)"-  fi-fi--# 0.5.0 bundled the deprecated publish-board skill; molecule-publish replaces it-# (installed as a package dependency), so clear the stale copy.-rm -rf "${HOME}/.claude/skills/publish-board"+echo "adom-project-manager was RENAMED to adom-nucleus (installed via the adom/adom-nucleus dependency)."+B="${HOME}/.local/bin"; [ -x "$B/adom-nucleus" ] && ln -sf "$B/adom-nucleus" "$B/adom-project-manager" 2>/dev/null || true
package.json+10−76
@@ -1,79 +1,13 @@ {-  "slug": "adom-project-manager",-  "version": "0.7.0",-  "type": "app",-  "description": "Adom Project Manager \u2014 browse your wiki boards/projects (Personal / Organization / Public), view symbol + footprint + 3D and the per-EDA footprint layer stackup, explore the board and schematic in INTERACTIVE viewers (click a net, hover a part for stock and price), add components to your KiCad/Altium libraries, and deliver self-contained KiCad projects. Built on adom-lbr.",-  "dependencies": {-    "adom/adom-lbr": "^2.6.0",-    "adom/adom-symbol": "^1.1.8",-    "adom/adom-footprint": "^1.0.21",-    "adom/adom-layout-viewer": "^0.3.0",-    "adom/adom-schematic-viewer": "^0.4.0",-    "adom/molecule-publish": "^2.1.2"-  },-  "tags": [-    "kicad",-    "altium",-    "eda",-    "project",-    "manager",-    "library",-    "footprint",-    "symbol",-    "wiki",-    "adom-lbr",-    "schematic",-    "pcb",-    "viewer",-    "interactive"-  ],-  "hero": {-    "type": "billboard",-    "headline": "Renamed to Adom Nucleus",-    "subhead": "adom-project-manager is now adom/adom-nucleus. This alias keeps the old name installable and pulls Nucleus. Please migrate to adom/adom-nucleus.",-    "screenshot": "docs/hero.png",-    "accent": "#00b8b1"-  },-  "scripts": {-    "install": "./install.sh",-    "uninstall": "./uninstall.sh"-  },+  "slug": "adom-project-manager", "version": "0.7.1", "type": "app",+  "description": "DEPRECATED — renamed to Adom Nucleus (adom/adom-nucleus). Kept installable so existing installs and references keep working; depends on adom-nucleus. Install adom/adom-nucleus going forward.",+  "dependencies": { "adom/adom-nucleus": "^0.7.0" },+  "tags": ["deprecated","alias","nucleus","eda","kicad"],+  "scripts": { "install": "./install.sh", "uninstall": "./uninstall.sh" },   "needs_sudo": false,-  "files": [-    "SKILL.md",-    "README.md",-    "install.sh",-    "uninstall.sh",-    "docs/**"-  ],-  "discovery_triggers": [-    "adom project manager",-    "browse wiki boards",-    "view footprint layer stackup",-    "add components to my kicad library",-    "deliver a self-contained kicad project",-    "project manager for eda",-    "open the interactive board view",-    "highlight a net on this board",-    "what is this part on the schematic"-  ],-  "discovery_pitch": "Browse your wiki boards/projects, inspect each component's symbol, footprint, 3D model and per-EDA layer stackup, add parts to your KiCad/Altium libraries, and deliver self-contained KiCad projects \u2014 built on adom-lbr.",-  "sample_prompts": [-    {-      "prompt": "Open the Adom Project Manager",-      "label": "Open manager"-    },-    {-      "prompt": "Add this board's components to my KiCad libraries",-      "label": "Add to library"-    },-    {-      "prompt": "Deliver this project as a self-contained KiCad project",-      "label": "Add project"-    },-    {-      "prompt": "Open the interactive PCB view for this board and highlight the +3.3V net",-      "label": "Explore board"-    }-  ]+  "files": ["SKILL.md","README.md","install.sh","uninstall.sh","docs/**"],+  "hero": { "type":"billboard","headline":"Renamed to Adom Nucleus","subhead":"adom-project-manager is now adom/adom-nucleus — the central hub for boards, molecules and libraries. This alias keeps the old name installable and pulls Nucleus.","screenshot":"docs/hero.png","accent":"#00b8b1" },+  "discovery_triggers": ["adom project manager","adom nucleus"],+  "discovery_pitch": "Renamed to Adom Nucleus (adom/adom-nucleus).",+  "sample_prompts": [ { "prompt": "Open Adom Nucleus", "label": "Open Nucleus" } ] }
page.json+11−44
@@ -1,31 +1,17 @@ {   "slug": "adom-project-manager",-  "version": "0.7.0",+  "version": "0.7.1",   "type": "app",-  "description": "Adom Project Manager — browse your wiki boards/projects (Personal / Organization / Public), view symbol + footprint + 3D and the per-EDA footprint layer stackup, explore the board and schematic in INTERACTIVE viewers (click a net, hover a part for stock and price), add components to your KiCad/Altium libraries, and deliver self-contained KiCad projects. Built on adom-lbr.",+  "description": "DEPRECATED — renamed to Adom Nucleus (adom/adom-nucleus). Kept installable so existing installs and references keep working; depends on adom-nucleus. Install adom/adom-nucleus going forward.",   "dependencies": {-    "adom/adom-lbr": "^2.6.0",-    "adom/adom-symbol": "^1.1.8",-    "adom/adom-footprint": "^1.0.21",-    "adom/adom-layout-viewer": "^0.3.0",-    "adom/adom-schematic-viewer": "^0.4.0",-    "adom/molecule-publish": "^2.1.2"+    "adom/adom-nucleus": "^0.7.0"   },   "tags": [-    "kicad",-    "altium",+    "deprecated",+    "alias",+    "nucleus",     "eda",-    "project",-    "manager",-    "library",-    "footprint",-    "symbol",-    "wiki",-    "adom-lbr",-    "schematic",-    "pcb",-    "viewer",-    "interactive"+    "kicad"   ],   "hero": {     "type": "billboard",@@ -48,32 +34,13 @@   ],   "discovery_triggers": [     "adom project manager",-    "browse wiki boards",-    "view footprint layer stackup",-    "add components to my kicad library",-    "deliver a self-contained kicad project",-    "project manager for eda",-    "open the interactive board view",-    "highlight a net on this board",-    "what is this part on the schematic"+    "adom nucleus"   ],-  "discovery_pitch": "Browse your wiki boards/projects, inspect each component's symbol, footprint, 3D model and per-EDA layer stackup, add parts to your KiCad/Altium libraries, and deliver self-contained KiCad projects — built on adom-lbr.",+  "discovery_pitch": "Renamed to Adom Nucleus (adom/adom-nucleus).",   "sample_prompts": [     {-      "prompt": "Open the Adom Project Manager",-      "label": "Open manager"-    },-    {-      "prompt": "Add this board's components to my KiCad libraries",-      "label": "Add to library"-    },-    {-      "prompt": "Deliver this project as a self-contained KiCad project",-      "label": "Add project"-    },-    {-      "prompt": "Open the interactive PCB view for this board and highlight the +3.3V net",-      "label": "Explore board"+      "prompt": "Open Adom Nucleus",+      "label": "Open Nucleus"     }   ],   "org": "adom",
uninstall.sh+1−3
@@ -1,5 +1,3 @@ #!/bin/bash set -euo pipefail-rm -f "${HOME}/.local/bin/adom-project-manager"; echo "Uninstalled adom-project-manager"-rm -f "${HOME}/.local/bin/glb_optimize.mjs"-rm -rf "${HOME}/.claude/skills/publish-board"+rm -f "${HOME}/.local/bin/adom-project-manager"