
slaguru666andClaude Opus 4.8
028dcb5e4e
feat: online art Generate — configured endpoint, cached into the library
Add the art tray's online Generate: prompt → a GM-configured image-gen
endpoint → new pencil image cached into a persisted, searchable library
(offline thereafter). No endpoint or key is hardcoded — the GM pastes
their gen URL (⚙ field, persisted). Degrades gracefully: unconfigured or
offline → Generate disabled, library search fully works; network is never
load-bearing.
- src/art/generate.js: createArtGenerator (injectable fetch/navigator).
- src/art/library.js: pure addGenerated (dedupe + cap 24).
- art-tray: generate row, endpoint config, generated cache (gmd.art.*).
Tests: generate.test.js, library.test.js, art-tray-generate.test.js;
existing art-tray tests unchanged. 206 tests pass; build clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-20 23:48:05 +01:00
..
2026-07-20 23:48:05 +01:00
2026-07-20 15:47:06 +01:00
2026-07-20 23:00:17 +01:00
2026-07-20 22:34:38 +01:00
2026-07-20 16:47:49 +01:00
2026-07-20 21:35:47 +01:00
2026-07-20 16:33:40 +01:00
2026-07-20 14:05:52 +01:00
2026-07-20 14:01:51 +01:00
2026-07-20 23:00:17 +01:00
2026-07-20 22:34:38 +01:00
2026-07-20 16:54:25 +01:00
2026-07-20 21:35:47 +01:00
2026-07-20 23:15:14 +01:00
2026-07-20 15:51:58 +01:00
2026-07-20 23:15:14 +01:00
2026-07-20 14:15:50 +01:00
2026-07-20 15:21:59 +01:00
2026-07-20 23:15:14 +01:00
2026-07-20 15:35:57 +01:00