* Publish selected graphs as MCMAT v3 and bake parameterized MaterialX exports
* Preserve material bake dimensions, color conventions and completed exports
* fix(export): preserve grayscale transfer round trips and float defaults
* fix(material): preserve disabled nodes and localized typed inputs
* Fix capability FIFO opens and save destination link rebasing
* Keep material export dialogs bound to their source package
* fix(material): bound inline assets and pin merged MCMAT
* fix(sbs): reject graph interfaces that exceed reader bounds
* Bound resize scheduling test raster workload
* fix(material): retain inline precedence on budget errors
* fix(material): preserve bounded fallback and XML identifiers
* fix(material): bound discarded inline inflation work
* Preserve bounded material dependencies and explicit export options
* Auto: Pin workspace saves and preserve material export choices
Hold the resolved save directory across SBS serialization and writes. Only
clean up owned staging files and compare existing assets incrementally.
Bound source assets before archive serialization, limit discarded SBS
inflation, and account for shared graph depth. Decode preview inputs on
demand and release failed browser downloads.
Distinguish automatic and explicit output colors, borrow graphs while drawing
export tabs, and preserve numeric export selectors and MCP option validation.
---------
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
Give each document an exclusive recovery history, skip occupied version names, and stream native archive saves. Publish pending linked edits before Save All selects packages, and preserve each document's result on partial failure.
Commit destructive preference changes on Apply or OK. Respect the 3D preview preference on open and reload, discard cancelled cooks, and validate graph destinations before switching documents.
Reuse the Library catalog and borrow its keys on cache hits. Keep template textures with their app, correct shortcut handling and help links, and omit personal document details from exported diagnostics.
Preserve the craft-texture integration and resolve view-model conflicts.
Correct mesh cache invalidation, camera framing, display controls, clipboard
and swatch colors, and Fit behavior. Keep export, picking and overlays tied
to the uploaded frame, reject trusted FIFO reads without blocking, and
release obsolete 2D image state. Report snapshot timeouts explicitly.
Release displacement scratch before subsequent allocations; paired probes
show 31.6-34.4% lower tracked temporary payload peaks when generating
normals. Split new render types and complete scoped style cleanup.
Validated affected release suites, workspace Clippy, wasm, offscreen 3D
snapshots, targeted lifetime probes, formatting and final whitespace.
Match preview defaults to the accepted DirectX normal convention. Preserve finite HDR blur values and infer missing dot operands from the connected vector width.
Avoid full-size fallback images in channel shuffle and raster compositing, skip incompatible background resampling, and return early for missing gradients. Complete scoped naming, spacing and comment cleanup and remove the unused workspace bytemuck declaration.
Integrate main's shared format readers and external web library resources.
Validated with affected-package release tests, Clippy, layer and wasm checks, panic_hunt, offscreen snapshots, and comparable resource probes.
Add 548 native library packages and 11 original resource substitutes,
with rewritten descriptions/layouts, shared resource references and
bundled assets for desktop and browser builds. Retain supplied graph
implementations; presentation changes are not an independent rewrite.
Preserve baseline SBS formatVersion and refresh updaterVersion on saves.
Fix foreign resource bindings, native parameter/port mappings, scalar
channel functions, FX-Map roughness and bounded graph expansion.
Validation: release core/formats/nodes/eval/engine tests, converter
tests, strict Clippy on Rust 1.96, layering, WASM, formatting and diff
checks passed during this work. All 560 library files reproduce exactly.
Bricks cooks without errors; the full library audit still reports 308
warning entries and 10 standalone function compilation failures.
Work in progress: node-local Set scope, remaining native parameter
support, primitive numerical parity and external save/reopen validation.
The motionblur identifier needs reference-runtime investigation.
Refs #191
Node search takes no keys, focus or outside clicks while input is
blocked and does not open behind a blocker. The add-node menu's letter
filter does not change while blocked. Sample tiles are disabled behind
a dialog. A file dialog keeps its commands enabled only when nothing
else blocks input. The control protocol notes that the installed-update
notice does not block.
Delete edited the package behind the Save, Discard, Cancel prompt, and
floating OS windows stayed live behind every dialog, because no single
function said whether input was blocked.
Modality::capture answers it from the app's dialogs, the unsaved prompt,
native file dialogs, the update prompt and result window, and egui's
modal layer. Shortcuts, Graph, Function and FX-Map keys, the node search
and add menus, file drops, floating OS windows, Home's actions and menu
items all read it. Home and the Shortcuts list do not block.
Behind a file dialog, the commands that show one still run, so File >
Open brings a hidden macOS Open panel forward.
ui.menu.invoke now returns an error behind a dialog instead of ok,
ui.menu.list reports those items as disabled, and package_save without a
path in bridge mode returns the same error. command.run is unchanged.
Floating panels drawn inside the main window, as on the web build, still
take clicks behind a dialog until the dialogs use egui's modal layer.
The properties panel's "Expose as graph input" sent the bare parameter
id as the new input's id, so exposing Opacity on a second Blend node
failed with "an input is already called `opacity`". graph.exposed.add
now accepts a bound input without an id and names it after the
parameter, kept unique (opacity, opacity_1, ...), and the menu relies on
that. An explicit id must still be free.
Replace the legacy Rust procedural library with clean-room native primitives, typed function execution and FX-Map graphs. Save supported content as native SBS and organize the model, evaluators, codecs and editors into focused modules.
Add shared graph editing behavior, flat filtered node menus, frame and comment editing, named Explorer outputs and an original atomic sample. Document the tested scope and remaining interoperability work.
Restore tracked files to 91bb53f07a, immediately before the batch, at the maintainer request. Preserve the existing history and earlier work, including PR #38. Revert the 50 reviewed PR merges and the version bump in 441092c. The published 0.1.2 release is unchanged.
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>
Sandboxed agents could not hand a material to TextureCraft: the workspace
sandbox refuses `file.*` commands and there was no MCP tool for `.mcmat`.
Add `material_export {path, graph?, size?, values?}` (RPC method
`material.export`). It cooks the graph through the same engine code as
`file.exportMaterial` and writes the `.mcmat` only through
AuthorizedWorkspace (cap-std, `--write-root`): no write root, a malformed
path or an escape is an error, the parent folder must exist, and the file is
capped at what `package_open` may read back. Bridge mode refuses it like the
other path tools. The engine gets a shared `material_request` helper so the
command and the tool parse graph/size/values identically.
Tests: file written and readable, bad requests, denied without a write root
(Denied and read-only workspace), path escapes (`..`, absolute, backslash,
drive, symlink) and the MCP tool end to end. docs/control-protocol.md lists
the method and tool.
Co-Authored-By: Claude Sonnet 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.
Shift+click adds a wire to the selection and Ctrl+click toggles it. With two
or more wires selected, X swaps where they come from: two wires trade
sources, more reverse them in target-node and input order, so selecting a
Blend node's foreground and background wires and pressing X swaps the two
layers. The wires stay selected, so X again swaps back. Delete and
Backspace remove every selected wire in one undo step, and the wire menu
gains Swap selected links and Delete selected links.
New commands graph.wire.swap and graph.wire.delete take
{wires: [{to, toPort}, ...]}; a swap that would make a cycle is refused and
changes nothing. Engine and UI tests (real clicks on a Blend node) cover
both; docs/wires-and-alpha.md documents the gestures, the ordering rule and
the commands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3D view: the material's alpha (the Opacity output, else the Base color's
alpha channel) now makes the mesh see-through. Rays composite front to back
through up to eight transparent layers and back faces shade toward the
viewer, so the inside of a cut-out mesh and the environment show through.
view.3d takes `transparency` (default on) and `alphaView`; the Display menu
and a bottom-bar button toggle an unlit view of the alpha channel.
Graph editor: click a wire to select it (Delete or Backspace removes it),
drag a wire to pull a reroute Dot out of it, double-click a wire to drop a
Dot there, right-click a wire for Insert reroute dot and Delete link. The
new graph.wire.insertDot command splits a wire with a Dot in one undo step.
Docs: docs/wires-and-alpha.md (gestures, commands, rendering, tests) with
two snapshot screenshots, plus architecture, parity, control protocol,
README and ATTRIBUTION updates.
Clean-room implementation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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