← Commit history

Publish 0.5.72

John Lauer ·a7055843e9 ·7d ago ·parent 1be9f7f
3 files changed +34−9
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.71",+  "version": "0.5.72",   "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+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.71",+  "version": "0.5.72",   "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": [
skills/hydrogen-annotate/SKILL.md+32−7
@@ -1,20 +1,40 @@ --- name: hydrogen-annotate-version: 1.0.0+version: 1.1.0 description: >-  Annotate in Hydrogen Desktop: the pencil in the Title Bar (left of the bell) that lets the-  human draw on the whole Hydrogen window (a red circle, an arrow, a box, a text note, or a-  plain snip) and puts the marked-up area on the clipboard as a PNG, ready to paste into an AI-  thread. Covers the tools, Auto versus Multi capture, the keys, what the AI can do (POST+  Annotate in Hydrogen Desktop: the pencil in the Title Bar (left of the bell), or Alt+Shift+M /+  Alt+Shift+A from any app, lets the human draw over the whole screen, any app (KiCad, a browser,+  Hydrogen), with a red circle, an arrow, a box, a text note or a plain snip, and puts the+  marked-up area on the clipboard as a PNG, ready to paste into an AI thread. Covers the tools, Auto versus Multi capture, the keys, what the AI can do (POST   /annotate opens the overlay for the human; the AI itself takes screenshots with   POST /screenshot, not with annotate), and how to read what the user pasted. Trigger words:   annotate, annotation, draw on the screen, red circle, circle it, mark it up, markup,   pencil icon, pencil in the title bar, snip, snip a region, paste a screenshot into the chat,-  /annotate, annotate overlay, arrow on the screenshot, box on the screenshot.+  /annotate, annotate overlay, arrow on the screenshot, box on the screenshot, alt+shift+m,+  alt+shift+a, annotate shortcut, annotate the desktop, draw over kicad, desktop annotate. ---  # Annotate: draw on the screen, paste it into your AI thread +## On the whole desktop (Hydrogen 1.0.611+)++Annotate covers the **whole monitor the pointer is on, over any app**, not just Hydrogen:++- Start it from anywhere with **Alt+Shift+M** (Multi: draw several shapes, then Enter) or+  **Alt+Shift+A** (one shot: the capture fires when the mouse is released), or click the pencil.+  These are pup's keys; with a pup window in front, Hydrogen hands the key to pup's own annotate.+- A transparent layer with a thin teal edge covers the screen, with pup's toolbar at the top. Drag+  the toolbar by its grip (the dots at its left end); it remembers where you left it.+- Alt+tab to any app (KiCad, say) and draw over it. **Enter** captures, **Esc** leaves, **Ctrl+Z**+  undoes, **Space** switches Auto and Multi. The hotkey again while it is open switches the mode+  and brings it back to the front.+- The capture is the area around the drawing with the drawing on it, on the clipboard as PNG (and+  as a bitmap for apps that want one), and saved in `%APPDATA%\hydrogen-desktop\annotations`.+- A small card at the bottom-right of that screen shows what was copied (Copy again, Show file).+  It never takes focus, so Ctrl+V goes where you were; it leaves after 8 seconds unless hovered.++While the layer is up, clicks go to the drawing, not to the app under it (alt+tab still works).+ The pencil in Hydrogen's **Title Bar**, left of the bell and right of the CPU/RAM meter, is **Annotate**. It puts a drawing canvas over the whole Hydrogen window (the editor, the wiki, every panel; they are all under the same canvas), with the same toolbar pup uses. The human@@ -62,7 +82,8 @@ the part you mean"): adom-bridge --target <desktop> hd_api '{"method":"POST","path":"/annotate","body":{"tool":"pen","mode":"auto"}}' ``` -`tool` is pen | arrow | box | text | snip (default pen), `mode` is auto | multi (default auto),+`tool` is pen | arrow | box | text | snip (default pen), `mode` is auto | multi, `scope` is+desktop (the default since 1.0.611: the whole monitor, any app) or window (inside Hydrogen only), `close: true` dismisses the overlay. The response says whether the window took it (`ok`). Then say what you want them to mark and wait; the result lands on **their** clipboard, not in your context, so ask them to paste it. Do not open the overlay while they are@@ -75,6 +96,10 @@ typing or during a demo recording without saying so first; it covers the whole w   `src/lib/stores/annotate.ts` (`startAnnotate(tool, mode)`, `closeAnnotate()`). - The route: `POST /annotate` in `src-tauri/crates/hydrogen-control/src/lib.rs`. - The capture itself is `POST /screenshot` with `target=full`, cropped in the overlay.+- Desktop mode: `src-tauri/crates/hydrogen-app/src/desktop_annotate.rs` (the overlay and preview+  windows, the capture, the clipboard, the hotkeys), the `annotate-desktop` route with+  `src/lib/components/annotate/DesktopOverlay.svelte` and `DesktopPreview.svelte`, and the shared+  tools in `src/lib/annotate/draw.ts`.  Related: `hydrogen-self-screenshot` (the AI's own screenshots), `hydrogen-captions` (text overlays the AI puts on screen for narration; not for marking things up), `hydrogen-pup`