← Commit history

Publish 0.2.28

John Lauer ·1820c8887a ·3mo ago ·parent 0a0b514
3 files changed +24−3
package.json+1−1
@@ -4,7 +4,7 @@   "type": "bootstrap",   "title": "Hydrogen Desktop Bootstrap (apps + skills)",   "brief": "Layer Hydrogen Desktop's workspace onto a standard Adom workstation.",-  "version": "0.2.27",+  "version": "0.2.28",   "description": "Hydrogen Desktop's PLATFORM-GENERIC workspace layer on top of adom/core. Installs adom/core for the full Adom ecosystem, then adds everything common to running inside Hydrogen Desktop on ANY platform: the platform-generic hd-* skills (BUNDLED in this package by design; wsl2 skills ride adom/hd-windows-bootstrap, mac skills ride adom/hd-mac-bootstrap) and the generic HD editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hd-windows-bootstrap, adom/hd-mac-bootstrap.",   "org": "adom",   "tags": [
page.json+1−1
@@ -4,7 +4,7 @@   "type": "bootstrap",   "title": "Hydrogen Desktop Bootstrap (apps + skills)",   "brief": "Layer Hydrogen Desktop's workspace onto a standard Adom workstation.",-  "version": "0.2.27",+  "version": "0.2.28",   "description": "Hydrogen Desktop's PLATFORM-GENERIC workspace layer on top of adom/core. Installs adom/core for the full Adom ecosystem, then adds everything common to running inside Hydrogen Desktop on ANY platform: the platform-generic hd-* skills (BUNDLED in this package by design; wsl2 skills ride adom/hd-windows-bootstrap, mac skills ride adom/hd-mac-bootstrap) and the generic HD editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hd-windows-bootstrap, adom/hd-mac-bootstrap.",   "org": "adom",   "tags": [
skills/hd-avatar/SKILL.md+22−1
@@ -16,7 +16,28 @@ The avatar appears in HD's title bar and as the header of the profile menu (the Card** — see the `identity-card` skill). Two things matter: uploading it, and making the running HD pick it up. -## Change it (from the container)+## The usual ask: GENERATE one (most people have no image file ready)++"Change my avatar" almost never means "upload this file" — the user rarely has one prepared.+The AI-first answer is to **make the picture for them**, which is fully doable in-container:++1. **Author** the avatar as SVG/HTML — initials on a brand gradient, a mark, whatever they+   described. Square, and design it to read at 32px, not just at full size.+2. **Render to PNG** with the Puppeteer-managed Chrome (same pipeline the `adom-wiki-hero-image`+   skill uses — the container's `chromium-browser` is a dead stub, and+   `chrome --headless --screenshot` hangs; use Puppeteer/CDP with an explicit `browser.close()`):+   ```bash+   CHROME=$(ls -d /home/adom/.cache/puppeteer/chrome/linux-*/chrome-linux64/chrome | head -1)+   # render avatar.html → avatar.png at 512x512+   ```+3. **Upload + repaint** (below).+4. **Show them the result** — inject the PNG into shotlog, or just say it's live; never claim+   success without checking the hash changed.++Offer a couple of concrete directions rather than asking an open question ("initials on the+brand teal? a minimal circuit mark?") — deciding for them is usually kinder than a blank prompt.++## Change it from a file (when they DO have one)  ```bash adom-cli carbon user avatar-upload /path/to/image.png   # any image; 204 on success