← Commit history

Publish 0.2.25

John Lauer ·5bb300d544 ·3mo ago ·parent bb46034
3 files changed +17−9
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.24",+  "version": "0.2.25",   "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.24",+  "version": "0.2.25",   "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-lightbulb/SKILL.md+15−7
@@ -38,20 +38,28 @@ POST /ui/invoke {"id": "samples-menu.open"}     # and "samples-menu.close" GET /claude/sample-prompts ``` -## Add or reword a prompt WITHOUT a release+## Where the list comes from (three layers, later wins) -`%APPDATA%\hydrogen-desktop\sample-prompts.json` is an overlay the menu reads at-request time:+1. **Compiled defaults** in the HD build (offline fallback).+2. **The wiki list** (0.1.263+): `lightbulb-prompts/prompts.json` on the HD wiki+   page — the fleet-wide lineup, updated INDEPENDENTLY of HD releases. HD checks+   it on every menu open (debounced 15 min) plus every 4 hours during business+   hours (Mon-Fri 7am-7pm local); a changed list pops into an open menu live.+   Cache: `%APPDATA%\hydrogen-desktop\sample-prompts-remote.json`. Docs + PR+   guide: the [Lightbulb Prompts sub-readme](https://wiki.adom.inc/adom/hydrogen-desktop/files/lightbulb-prompts/README.md).+3. **The user's local file** `%APPDATA%\hydrogen-desktop\sample-prompts.json` —+   personal overrides, always wins:  ```json [{"id":"thread-my-demo","label":"My demo","blurb":"one line","prompt":"the full prompt text"}] ``` -- A **new id** appends a menu item; a **matching id** overrides a compiled-  entry (label/blurb, and the prompt body if non-empty).+- A **new id** appends a menu item; a **matching id** overrides a lower layer+  (label/blurb, and the prompt body if non-empty). - Any `thread-*` id routes to the runner automatically — no code change needed.-- Bad JSON is logged and ignored (the built-in list still shows).-- Drop the file, reopen the menu — no rebuild, no restart.+- Bad JSON (local or wiki) is logged and ignored — the menu never breaks.+- To contribute a prompt for EVERYONE: PR `lightbulb-prompts/prompts.json` in the+  hydrogen-desktop repo (see the sub-readme above for the rules).  Prompts are written in the user's casual first-person voice, as ONE flat paragraph (a typed newline would submit early). Never edit John's compiled