Skip to content

v2.49.5

Choose a tag to compare

@github-actions github-actions released this 07 Jul 05:11
· 170 commits to main since this release
8eb4137

Random AI prompt + image generator for the Stable Diffusion WebUI -- a CLI and a local web UI.

Pre-release software. Provided as-is under Apache-2.0.

What's new in this release

2026-07-06 — Interactive DPL editor layer: hover dials, + line actions, gutter, coloring (2.49.5)

A standardized interactivity layer added to the shared DplEditor (so every prompt box — regular /
negative / gallery / Manage — gets it at once):

  • Hover intensity/focus dials. Resting on a {#…} block reference floats two little speedometer
    dials above it (INTENSITY, FOCUS), 50 dead-center / straight-up. Dragging (or double-clicking) writes
    iNN% / fNN% back into that one reference; landing on exactly 50 (the default) drops the argument so
    the reference stays clean. New lib/dpl/dplDials.js (a plain CodeMirror ViewPlugin; the panel is
    position:fixed on document.body so it never clips, re-anchored on scroll + after each edit).
  • + context-aware line actions. A + sits in a left gutter on the hovered/cursor line; clicking it
    opens a menu that adapts to context: inside the --- front matter → front-matter keys + blank-line
    inserts; the first line with no front matter yet → "Insert front matter"; a line with content →
    "Promote to…" (wrap as - / maybe / NN% chance / otherwise / [weight] / [i<NN%]); always →
    "Replace line with…" (every line-type template), insert blank line above/below, and "New section…"
    (standard Start / Auto Begin / Auto End, or a custom one). New lib/dpl/dplLineActions.js.
  • Line numbers + active-line highlight. lineNumbers() + highlightActiveLine() /
    highlightActiveLineGutter(), themed via the --* tokens in dpl-editor.css.
  • Syntax-coloring gaps closed (dplLanguage.js tokenizer): the insert js: path now colors as a
    ref; otherwise NN% / otherwise maybe colors the whole gate; the (NN% nothing) choice miss is part
    of the choice keyword; and a combined [100 i<10% f<40%] weight/condition bracket colors as one dial
    unit (was previously mangled).
  • New localized strings live in lib/dpl/dplInteractiveMessages.js (formatted through intl and passed
    into the plain-CM extensions). Verified in Chrome across all four editors; full headless gate green
    (lint incl. stylelint, smoke, 416 web tests incl. the SSR prerender guard, web build).

How to get it

Prefer not to build? Download a pre-built edition:

  • Desktop app -- Windows .msi / .exe (or a portable .zip), macOS .dmg, Linux .AppImage / .deb (attached below). Self-contained; nothing to install first.
  • random-ai-prompt-2.49.5-online.zip -- the online edition as static files; host it anywhere, or just use https://prompt.fairyfox.io.
  • random-ai-prompt-2.49.5.tar.gz -- source tarball (run with Node 24: npm install then npm start).
  • random-ai-prompt-2.49.5-docs.zip -- the generated documentation site.

What's Changed

  • Release v2.49.5 — interactive DPL editor layer by @junebug12851 in #45

Full Changelog: v2.49.4...v2.49.5