Keep the approved export repairs alongside the new CLI and packaging. Preserve both branches' Cargo dependency declarations and protocol documentation.
* texturecraft-cli: follow RFC-0018 (clap, thiserror, run(args, out, err), packaged completions and man pages)
Closes#866. Part of storytold/craft-contrib#95.
* fix(cli): enable clap env, and close replacement and token gaps
- Enable clap's `env` feature so TEXTURECRAFT_CONTROL_TOKEN compiles in a
standalone `-p texturecraft-cli` release build (the FreeBSD package job).
- An inherited token no longer implies --bridge; only a command-line
--token does.
- Compare run/bake/new outputs to the path Headless::save actually writes
(it appends .tcraft when the extension is missing).
- Apply the same replacement rule to batch (save vs open), with --in-place.
- Build man-and-completions for the host when CARGO_BUILD_TARGET is set.
- Don't panic in the blank-token test when the environment already has a
token.
* fix(cli): require both roots for headless mcp
AGENTS.md rule 18 says an agent entry point must refuse to start without
--automation-read-root and --automation-write-root (the --read-root /
--write-root aliases here). Headless mcp now exits 2 unless both are
set; --bridge is unchanged. The missing-CLI_DOCS diagnostic also names
the host-example env -u CARGO_BUILD_TARGET prefix already used to build it.
Merged under Skylar's explicit override (Nightly 792) after green CI, CodeRabbit on this head with no open threads, and an independent adversarial review with no blockers.
Integrate main and honor per-map sizes and shader sidecars through MCP. Preserve texture writes when an optional sidecar fails, and cover both outcomes through the tool transport.
Bound layered PSD working memory, preserve set and UDIM names, and report effective dithering. Match previews to stored channels and identify linear grayscale JP2 samples correctly.
Reuse sample buffers, cache unchanged template plans, and share identical grayscale preview textures. Remove the obsolete direct XML dependency. Apply the maintainer’s preset attribution decision and retain the ICC credit and codec notices.
The runtime is installed from TextureCraft's own eframe App (framework.rs): the close question
decides in the runtime's close path, the window's Escape runs TextureCraft's Escape handlers and
the shortcut recorder, the viewport is the window's document canvas (Tab stays Hide UI), and
Ctrl+Q and F6 stay TextureCraft's. The dock is next's DockArea over the saved workspace, with the
viewport as its canvas group; the update dialogs run on a DialogHost; the strip is next's
TitleBar where the app draws the frame. The removed helpers (icon-button painter, pane split,
widget palette, shortcut dispatcher) are app-local. Every app harness installs the runtime.
* fix(formats): preserve multiple COLLADA node cameras and avoid O(N) glTF material lookup
* perf(formats): index high-poly base colors by material name
* formats: cut over OBJ/GLB mesh export and EXR writing to craft-libs (#778)
* fix(export): use Format::OpenExr for craft-image-codecs
* fix(export): import std::io::Cursor in tests
* test(engine): handle OBJ output without leading header before o
* chore: repin craft-mesh and craft-image-codecs to craft-libs main
* formats: cut over USDA/USDC scene read/write to craft-usd (storytold/craft-libs#778)
* chore: update Cargo.lock for craft-usd
* chore: update craft-usd pin to 5161fcc (storytold/craft-libs#778)
* chore: repin craft-usd to craft-libs main
* formats: cut over COLLADA (.dae) and Alembic (.abc) import to craft-mesh
* chore: bump craft-mesh to 809a72e
* chore: bump craft-mesh pin to 5415dfe
* chore: repin craft-mesh to craft-libs main
Integrate main’s shared raster codecs for desktop icons, screenshot PNGs, and mesh base-color textures. Preserve the approved Settings draft reconciliation and its regression tests.
* chore: cut over runtime raster image codecs to craft-image-codecs
* fix(formats): move inline mesh_import test into tests.rs
* fix(engine): simplify nonminimal_bool in user_brushes.rs
* fix(ui-egui): simplify nonminimal_bool in link_import.rs
* fix(formats): use as_chunks::<4>() in mesh_import for clippy
* fix: preserve mesh texture orientation and resize precision
Preserve main's procedural patterns and linked-material changes. Keep camera navigation, pending dialogs, Settings drafts, shortcut capture, and shelf contents consistent across project and UI state changes.
Mark persisted panel edits as modified. Accept existing bake settings in presets, count newly baked maps, and open failed bakes on the General log channel. Record log times and severity when each event occurs.
Reuse selected export plans, move completed JSON results into place, and avoid copying cached shelf paths or building unused preset catalogs. Add regression coverage and update the control protocol examples.
craft-mesh stays at 284b0d81 (#1731 head, now an ancestor of craft-libs main;
same ply/stl sources as main's d6ed8c20) with main's PLY feature added; tobj
stays removed.
Repin craft-mesh from integration commit d0abb877 (not on craft-libs main)
to 4f9c7189, the craft-libs main commit with the identical tree
(2ffca004), keeping main's PLY feature and pins.
Propagate compression errors through USD writer values, sections and finish. Bound worst-case output reservation by the existing 2GiB app ceiling; preserve normal wire bytes and scene policy.
Co-authored-by: bflatastic <bombayapirat@gmail.com>
Keep the existing aggregate decoded byte budget, integer writer and scene mapping. Depends on craft-libs #1742 and TextureCraft #531.
Co-authored-by: bflatastic <bombayapirat@gmail.com>