← Commit history

0.5.58: clock widget on 27013; the port rule in the widget skill

John Lauer ·a6b72cb027 · ·parent ab42575
4 files changed +6−5
hydrogen-widget.json+1−1
@@ -9,7 +9,7 @@   "install": "adom/hydrogen-bootstrap",   "launch": {     "command": "hydrogen-widget-clock",-    "port": 8963+    "port": 27013   },   "health": {     "url": "/",
package.json+1−1
@@ -4,7 +4,7 @@   "type": "bootstrap",   "title": "Adom Hydrogen (platform base)",   "brief": "Layer Hydrogen's workspace onto a standard Adom workstation.",-  "version": "0.5.57",+  "version": "0.5.58",   "description": "Hydrogen'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 on ANY platform: the runtime-neutral hydrogen-* skills and the generic editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hydrogen-windows-bootstrap (WSL2), adom/hydrogen-mac-bootstrap, adom/hydrogen-ubuntu-bootstrap. The reference design other orgs copy to build their own bootstrap on adom/core.",   "org": "adom",   "tags": [
page.json+2−2
@@ -4,7 +4,7 @@   "type": "bootstrap",   "title": "Adom Hydrogen (platform base)",   "brief": "Layer Hydrogen's workspace onto a standard Adom workstation.",-  "version": "0.5.57",+  "version": "0.5.58",   "description": "Hydrogen'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 on ANY platform: the runtime-neutral hydrogen-* skills and the generic editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hydrogen-windows-bootstrap (WSL2), adom/hydrogen-mac-bootstrap, adom/hydrogen-ubuntu-bootstrap. The reference design other orgs copy to build their own bootstrap on adom/core.",   "org": "adom",   "tags": [@@ -49,4 +49,4 @@     "hydrogen editor configuration",     "where do hydrogen skills come from"   ]-}\ No newline at end of file+}
skills/hydrogen-widget/SKILL.md+2−1
@@ -111,6 +111,7 @@ an AI sign-in that lives next to the editor extension; a repo with one thing to | `id` | unique, lowercase, stable; the curated list and the control API address it | | `name`, `brief` | the pulldown row and its hover text | | `icon` | an iconify name for the row (`mdi:clock-outline`), or `vendor:claude` / `vendor:codex` for the vendor marks the AI launch bar paints, so a person can tell whose numbers a widget shows |+| `launch.port` | the port your page serves on inside the workspace. Pick one far from where apps land: not the 8000s (dashboards, dev servers, the KiCad dashboard's 8931), not the ephemeral range (32768 and up). The shipped widgets sit at 27011 to 27013; take 27020 and up for yours. A widget is a side panel and must never cost an app its port (John 2026-09-15). | | `width` | slot width in px in the compact Title Bar (one horizontal row); clamped to 48..320 | | `width_tall` | slot width in the full Title Bar, where your page stacks its rows; defaults to 60 percent of `width` | | `install` | the adom-wiki package that provides the command; defaults to the repo itself |@@ -211,7 +212,7 @@ into `~/.local/bin`. That is the whole SDK. ``` curl -s -X POST $ADOM_HD_CONTROL_URL/widgets/open -H 'content-type: application/json' -d '{"id":"clock"}' curl -s $ADOM_HD_CONTROL_URL/widgets/status-curl -s http://8963.localhost:$(python3 -c "import json;print(json.load(open('/home/adom/.adom/ports.json'))['proxy'])")/data.json+curl -s http://27013.localhost:$(python3 -c "import json;print(json.load(open('/home/adom/.adom/ports.json'))['proxy'])")/data.json ```  Then look: a screenshot of the Hydrogen window shows the slot left of the meter, the chevron