Repository navigation
Releases
ShotLuma Design v0.5.0
- 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
"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_displayat project/page/layer level (layer > page > project > safe defaultpreserve) with source and reason;screenPresentationin inspect, preview, validate and export results;screenDisplayNoticewhen the drawn result differs from the request;shotluma-export-report.jsonwith 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 (
studioCLI 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 runexamples/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_CONFLICTexplains that the user or the assistant saved a newer change. Atomic writes retry transient WindowsEPERM/EBUSY.get_server_inforeportsprojectSchemaVersion: 2andreadsProjectSchemaVersions: [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.jsonto.shotluma/backups/. 0.3 engines refuse v2 projects withSCHEMA_TOO_NEWinstead 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
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) anddelete_project(moves a project to a recoverable.shotluma-trashfolder; requires the exact project name).inspect_designacceptslayerIdsto return just those layers, including their full stored spec. - Tool annotations (
readOnlyHint,destructiveHint,idempotentHint,openWorldHint) on every tool, and clearer descriptions that separateinspect_design(read data),render_preview(look) andvalidate_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 andverification.jsonper case. The 番迹 screenshots are README material only: they, and the projects that contain copies of them, are not in the repository.npm run galleryrebuilds 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-clientstdio entry), Cursor, OpenCode, VS Code / GitHub Copilot.npm run test:clientslaunches every documented config against a locally packed engine. - Official MCP Registry metadata:
server.json(io.github.Aana11/shotluma-design-mcp, npm/stdio) andmcpNameinpackage.json. The release workflow publishes it after npm via GitHub OIDC.check:versionalso keepsserver.json, an optional rootmarketplace.json,INSTALL.md,llms.txtanddocs/INSTALL-CLIENTS.mdin 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,customandreference, 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 resourceshotluma://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 operationset_visual_system(full value,patchdeep-merge, ornull) orcreate_project {visualSystem}. Returned byopen_projectandinspect_design;generate_layouttakes colors, fonts and device treatment from it without changing composition. - Direction-preview pages:
preview: {direction, label}onadd_page,duplicate_pageandupdate_page(nullpromotes a page).export_designskips preview pages unless they are named inpageIdsand reports them asskippedPreviewPages. render_preview {comparisonSheet: true}: one labelled side-by-side PNG of the rendered pages inpreviews/; withreturnImagethe 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) androunded(real device corners on the screenshot via the clip mechanism; per-corner radii for laptops and browser windows).generate_layoutacceptsscreenDisplay. - Validation:
ROUNDED_DISPLAY_CAPPEDwarning whenroundedis limited by protection (with the exact grant operation to record),STYLE_FONT_DRIFT/STYLE_DEVICE_DRIFTsuggestions when a confirmed visual system is not followed.inspect_designreports each device's effectivescreenDisplayand any capped radius.
Changed
- README rewritten as a product page (EN + 中文); technical material moved to
docs/. LOW_CONTRASTnow measures text against the solid shape directly behind it (for example a tile), not only the page background.- Plugin
.mcp.jsonalso setstimeoutMs: 180000(ZCode) next to the Codex timeouts. LICENSE: the upstream credit is now a standard copyright line, so GitHub can detect MIT. Attribution inNOTICEis 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-designskill, server instructions, guidelines anddesign_workflowprompt 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
schemaVersionstays 1: all new fields are optional and existing projects render identically (screenCornersauto/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
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
shotlumafor 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) andshotluma-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) withscripts/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/betamarketplace 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. doctornow 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.