Skip to content

Releases

ShotLuma Design v0.5.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 17:04
  • Add twelve editable multi-device layouts, with independent controls for the primary screenshot, relative size and spacing. Exploration compares relative spacing and hierarchy in the actual layout. Protected effects use explicit grants and have upright, uncropped alternatives.
  • New conversational projects with an open visual brief default to three real previews. Fast and guided modes handle direct requests and guided choices. Interactive projects record a selection or explicit delegation before final export.
  • Keep screenshots, copy and canvas requirements consistent across options. Compare measured layouts and actual screenshot treatment. Mix visual style, composition, art direction and presentation independently.
  • Render candidates at a 960 px long edge by default. Reuse the browser context and verified assets across a round, cache renders by revision and settings, and preserve individual previews if the comparison fails.
  • Studio opens pending projects on the comparison, offers a bilingual rendered style library, and saves selections and chat handoffs. Browser launcher status, the local link and the chat fallback are reported separately.
  • Expose the workflow in standard MCP instructions, tools, resources and prompt. Existing v0.4 project files and calls without a workflow mode preserve their original interaction behavior.

Install / update

  • Codex: codex plugin marketplace add Aana11/shotluma-design-mcp --ref stable, then install ShotLuma Design from the plugin directory.
  • Claude Code: /plugin marketplace add https://github.com/Aana11/shotluma-design-mcp.git#stable, then /plugin install shotluma-design@shotluma.
  • Standalone MCP: npx -y shotluma-design-mcp@0.5.0

Verify downloads with sha256sum -c SHA256SUMS.

ShotLuma Design v0.4.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 07:17
2b4d51b

"Art Direction & Local Studio": combinable art directions, transparent screenshot display decisions, version history and collaboration, and the optional local ShotLuma Studio (English and 简体中文). See docs/ACCEPTANCE-0.4.md for what was verified and the known open items (Studio and browser launch on macOS/Linux/WSL tested by CI only, no real-user study yet).

Added

  • Art-direction system with four combinable dimensions (visual style, composition, art direction, presentation): 10 art directions, 8 compositions, 6 presentations, each with design knowledge and a procedural composer that outputs editable layers. Colors derived from the screenshots or the saved visual system. Tools list_art_directions, generate_candidates (distinct directions per round), manage_candidates (select, reject, promote, mix, remove), compose_series.
  • Render primitives (project schema v2): path layers, conic gradients, film grain, extra shadows, blend modes, blur, gradient alpha masks, frosted glass, gradient and vertical text.
  • Screen display decision and transparency: set_screen_display at project/page/layer level (layer > page > project > safe default preserve) with source and reason; screenPresentation in inspect, preview, validate and export results; screenDisplayNotice when the drawn result differs from the request; shotluma-export-report.json with every export; preview_screen_display (zoomed real-render comparison and corner-content analysis).
  • Version history (manage_history: list, undo, redo, restore; append-only), cross-process project lock, collaboration state with persisted user feedback and a manual "continue" hand-off (get_studio_feedback, resolve_studio_feedback).
  • ShotLuma Studio: optional local web workbench (studio CLI command, open_studio, get_studio_state, close_studio) in English and Simplified Chinese (follows the browser language, 中文/EN switch) — see docs/STUDIO.md.
  • Docs: docs/ART-DIRECTION.md, docs/STUDIO.md, docs/PRIVACY.md, docs/ACCEPTANCE-0.4.md; acceptance run examples/acceptance/.

Changed

  • Blend modes, blur and masks are refused on protected assets and on groups containing them (PROTECTED_EFFECT).
  • Fidelity reference renders keep the page's other layers at 1% opacity instead of hiding them, so effects elsewhere on the page cannot put the two renders on different compositing paths. The comparison tolerance is unchanged.
  • REVISION_CONFLICT explains that the user or the assistant saved a newer change. Atomic writes retry transient Windows EPERM/EBUSY.
  • get_server_info reports projectSchemaVersion: 2 and readsProjectSchemaVersions: [1, 2].

Compatibility

  • 0.3 projects open unchanged and are saved as v1 unless a v2 feature is used; the render HTML of every 0.3 example project is byte-identical. The first v1→v2 upgrade copies the original design.json to .shotluma/backups/. 0.3 engines refuse v2 projects with SCHEMA_TOO_NEW instead of dropping fields.
  • Existing tools keep their inputs; results gain fields only.

Install / update

  • Codex: codex plugin marketplace add Aana11/shotluma-design-mcp --ref stable, then install ShotLuma Design from the plugin directory.
  • Claude Code: /plugin marketplace add https://github.com/Aana11/shotluma-design-mcp.git#stable, then /plugin install shotluma-design@shotluma.
  • Standalone MCP: npx -y shotluma-design-mcp@0.4.0

Verify downloads with sha256sum -c SHA256SUMS.

ShotLuma Design v0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:06
7396dd6

Design-quality and product release: a visual style system with a user-facing direction workflow, a project-level visual system that later pages reuse, real device screen corners, a real design gallery, AI-assisted installation, verified support for more AI clients, and MCP Registry metadata.

Added

  • MCP tools list_projects (find existing projects in the allowed directories, read-only) and delete_project (moves a project to a recoverable .shotluma-trash folder; requires the exact project name). inspect_design accepts layerIds to return just those layers, including their full stored spec.
  • Tool annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) on every tool, and clearer descriptions that separate inspect_design (read data), render_preview (look) and validate_design (export gate).
  • Design gallery (examples/gallery/): eight cases (minimal, dark premium, gradient, editorial, bento, playful, 5-page App Store collection, feature launch with a 1:1 magnifier), a 1:1 pixel proof, an original-vs-export zoom figure and a social preview, all rendered by the engine from unmodified 番迹 app screenshots, with the prompt and verification.json per case. The 番迹 screenshots are README material only: they, and the projects that contain copies of them, are not in the repository. npm run gallery rebuilds them. MIT demo screens of fictional apps (examples/gallery/sources/demo/, make-sources.ts).
  • INSTALL.md (installation guide for AI assistants), llms.txt, docs/INSTALL-CLIENTS.md, docs/COMPATIBILITY.md, docs/TROUBLESHOOTING.md, docs/REGISTRY.md.
  • Client support documented and tested: ZCode (reuses the Claude Code plugin unchanged), DeepSeek Harness (dsh-mcp-client stdio entry), Cursor, OpenCode, VS Code / GitHub Copilot. npm run test:clients launches every documented config against a locally packed engine.
  • Official MCP Registry metadata: server.json (io.github.Aana11/shotluma-design-mcp, npm/stdio) and mcpName in package.json. The release workflow publishes it after npm via GitHub OIDC. check:version also keeps server.json, an optional root marketplace.json, INSTALL.md, llms.txt and docs/INSTALL-CLIENTS.md in sync.
  • Visual Style System, separate from layout styles: minimal, premium, tech, playful, editorial, soft, bold, each with suitable scenarios, cues, visual traits, color, typography, composition, background, decoration and device guidance, things to avoid, and parameter ranges. Guidance only: no fixed brand colors, fonts, product category or project-wide default look.
  • Direction entry points auto, custom and reference, and a direction workflow shared by the server instructions, guidelines and skill: recommend 2–3 directions when the user has not chosen, optional low-cost previews rendered by the engine, confirm, then build. Plain-text interaction that works in any MCP client.
  • MCP tool list_visual_styles (read-only; ids, detail: "summary" | "full") and resource shotluma://visual-styles.
  • Project visualSystem (direction, base styles, status and the user's confirmation, palette roles, typography, background, decoration, device frame + screen display, margins, rules), set with the operation set_visual_system (full value, patch deep-merge, or null) or create_project {visualSystem}. Returned by open_project and inspect_design; generate_layout takes colors, fonts and device treatment from it without changing composition.
  • Direction-preview pages: preview: {direction, label} on add_page, duplicate_page and update_page (null promotes a page). export_design skips preview pages unless they are named in pageIds and reports them as skippedPreviewPages.
  • render_preview {comparisonSheet: true}: one labelled side-by-side PNG of the rendered pages in previews/; with returnImage the sheet is returned as a single image.
  • Device frameOptions.screenDisplay: rectangle (original rectangle, nothing cut), preserve (rounded display, whole screenshot kept; same as the previous default) and rounded (real device corners on the screenshot via the clip mechanism; per-corner radii for laptops and browser windows). generate_layout accepts screenDisplay.
  • Validation: ROUNDED_DISPLAY_CAPPED warning when rounded is limited by protection (with the exact grant operation to record), STYLE_FONT_DRIFT / STYLE_DEVICE_DRIFT suggestions when a confirmed visual system is not followed. inspect_design reports each device's effective screenDisplay and any capped radius.

Changed

  • README rewritten as a product page (EN + 中文); technical material moved to docs/.
  • LOW_CONTRAST now measures text against the solid shape directly behind it (for example a tile), not only the page background.
  • Plugin .mcp.json also sets timeoutMs: 180000 (ZCode) next to the Codex timeouts.
  • LICENSE: the upstream credit is now a standard copyright line, so GitHub can detect MIT. Attribution in NOTICE is unchanged.
  • In clip/rounded mode the display no longer paints a dark fill behind the screenshot, removing a dark fringe around anti-aliased corners on light frames or frameless devices.
  • shotluma-design skill, server instructions, guidelines and design_workflow prompt describe the direction workflow and screen display modes.

Fixed

  • inspect_design / validation reported a cropped image's scale against the full asset width (a 1:1 crop showed as ×0.48); scale now uses the cropped width.

Unchanged

  • Project schemaVersion stays 1: all new fields are optional and existing projects render identically (screenCorners auto/inset/clip behave as in 0.2). Note: a 0.2.x engine that saves a project edited with 0.3 drops the new fields (visual system, preview flags, screenDisplay).

Install / update

  • Codex: codex plugin marketplace add Aana11/shotluma-design-mcp --ref stable, then install ShotLuma Design from the plugin directory.
  • Claude Code: /plugin marketplace add https://github.com/Aana11/shotluma-design-mcp.git#stable, then /plugin install shotluma-design@shotluma.
  • Standalone MCP: npx -y shotluma-design-mcp@0.3.0

Verify downloads with sha256sum -c SHA256SUMS.

ShotLuma Design v0.2.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 12:20
6d536f6

Plugin release: ShotLuma Design can now be installed as a Codex plugin or a Claude Code plugin from this repository's marketplace, and the engine is distributed on npm as shotluma-design-mcp.

Added

  • Codex plugin (plugins/shotluma-design/.codex-plugin/plugin.json) and Claude Code plugin (.claude-plugin/plugin.json) sharing one .mcp.json, which runs the engine with an exact pinned version: npx -y shotluma-design-mcp@<version> serve.
  • Marketplace catalogs shotluma for Codex (.agents/plugins/marketplace.json) and Claude Code (.claude-plugin/marketplace.json).
  • Skills: shotluma-design (when and how to use the tools, screenshot-preservation rules) and shotluma-setup (first run, diagnostics, folder access, updates).
  • MCP tool get_server_info: running version, project schema version, Node/platform, allowed directories, browser status, optional render/export self-test.
  • CLI setup (idempotent first-run initialisation: config folder, workspace, browser reuse or one-time Chromium download, render/export self-test, font check), info, allow / disallow / allowed (persistent folder grants in the user config file).
  • Per-user directories following platform conventions (config, cache, default workspace Documents/ShotLuma), separate from the plugin and npm install folders.
  • Single version source (package.json) with scripts/version-sync.mjs; plugin/marketplace validation (scripts/check-plugin.mjs); release-artifact check (scripts/check-package.mjs).
  • GitHub Actions: cross-platform CI (Windows, macOS, Linux) and tag-driven release (npm with provenance, GitHub Release with SHA-256 checksums, stable/beta marketplace branches).
  • English and Chinese user documentation.

Changed

  • The public npm package and CLI binary both use the name shotluma-design-mcp. No npm organization is required.
  • doctor now runs a real create → import → render → PNG export self-test and reports fonts as available/missing.
  • When started by the CLI without --allow, the working directory is no longer allowed if it is a filesystem root, the home folder itself, or a package/plugin installation folder; the default workspace and user-granted folders are allowed instead.

Unchanged

  • Design engine, project schema (version 1), rendering, screenshot protection and fidelity checks. Existing projects open without migration.

Install / update

  • Codex: codex plugin marketplace add Aana11/shotluma-design-mcp --ref stable, then install ShotLuma Design from the plugin directory.
  • Claude Code: /plugin marketplace add https://github.com/Aana11/shotluma-design-mcp.git#stable, then /plugin install shotluma-design@shotluma.
  • Standalone MCP: npx -y shotluma-design-mcp@0.2.0

Verify downloads with sha256sum -c SHA256SUMS.