materialcraft-cli mcp and serve now take the --automation-*-root spelling
the other crafting apps use, as aliases of --read-root / --write-root. The
parser stores them under the short names, so the last root given wins
whichever spelling it used. Adds unit tests and a note in the protocol doc.
Fixes#55
Co-Authored-By: Claude Opus <noreply@anthropic.com>
From CodeRabbit: an error from the app creator (AppCreation, e.g. a --control
file it can't write) comes after the window and renderer started, so "update
the graphics driver" doesn't apply. It now says only that the app couldn't
start; other errors keep the window/graphics text. Tested both ways (the
new test fails with the AppCreation arm disabled).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dialog is shown for any error run_native returns, including one after the
window was up, so "could not start its window" and "updating the graphics
driver usually fixes this" overstated what is known. From review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without a usable GPU, driver or desktop, no graphics backend can create a
window and MaterialCraft exited with code 1 and nothing on screen.
The reason now goes to the log and to an error dialog, as FilmCraft does
since 0.14.0 (which unstuck it on WinGet).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app wrote its control token to the temp folder with default permissions from a
hash-based generator, compared it with ==, spawned unlimited threads and let an
unauthenticated client hold a connection for 10 minutes. The shared token file was opened
with create+truncate, which follows a planted symlink.
- Token files are created new (remove, then O_EXCL) with mode 0600; clients only read a
regular, owner-only, non-symlink file.
- The app's control server uses the shared security module: OS-random token, constant-time
compare, bounded lines, at most 16 connections, one auth attempt within 10 s, close on
malformed JSON before auth.
- serve --port and the app bind before writing the token file.
Ported from TextureCraft 5a065c1 and 836e3f2.
size is now the larger side in pixels and the other side keeps its
proportion; 0 means the graph's size. Adds --size to the CLI export,
size to the MCP outputs_export, and the docs line. The resolution combo
shows the graph's real size.
Refs #22
Vectorised with craftrules vectorize_tile.py at the shared Crafting Apps
settings (512 tile, rx=112, ink/paper/#178a9c), with every PNG, .ico and
.icns regenerated by packaging/icons.sh. The README shows the icon, and
the UI accent and web loader use the new teal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- render: an offline hq path (displaced subdivided mesh, ray-traced AO,
shadowed key light, 3x3 supersampling) on a vignette backdrop; the
sphere's UVs wrap twice so texels stay square
- CLI/RPC/MCP render: --tiling, --hq and --displacement
- templates: new painted metal plates, lava rock, polished marble and
wicker weave; reworked brick wall, stone tiles, wood planks and mossy
ground
- README: new material gallery and refreshed screenshots
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Exposed inputs bound to parameters of another type (a float input on an
int parameter) were silently ignored: coerce_json now converts a typed
value's payload. cook/export/render take --set <input>=<value>.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README in the Crafting Apps frame with real screenshots and renders made
by MaterialCraft, the agent guide with the asset and clean-room rules, the
attribution list, the parity assessment, gaps, roadmap, architecture,
control protocol, localization and file format docs. Adds the browser build
(trunk), the .ico/.icns icons and centers the 3D camera on the mesh bounds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The egui front end in its own crate: docked explorer, library with live node
previews, the node graph editor (thumbnails, typed ports, wiring, box select,
frames, comments, pins, node search, library drag and drop), properties with
curve and gradient editors, 2D view and a CPU PBR 3D preview with parallax
and image-based lighting. Every edit is an engine command; the control channel
adds synthetic mouse/keyboard input for agents. Adds the MCP server, the
JSON-lines RPC, the headless CLI (render, cook, export, run, batch, mcp, serve),
the desktop app, an original placeholder icon and an offscreen snapshot test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>