diff --git a/.agents/skills/formshot-rendering/references/tools.md b/.agents/skills/formshot-rendering/references/tools.md index 0aca3a33..81b5cca9 100644 --- a/.agents/skills/formshot-rendering/references/tools.md +++ b/.agents/skills/formshot-rendering/references/tools.md @@ -1,6 +1,6 @@ # formshot tools -Generated from the engine's command catalogue (formshot 0.15.0) by `./formshot agents sync`; do not edit by hand. +Generated from the engine's command catalogue (formshot 0.15.1) by `./formshot agents sync`; do not edit by hand. ## Contents diff --git a/.claude/skills/formshot-harness/SKILL.md b/.claude/skills/formshot-harness/SKILL.md index 120ee34c..c7743c7f 100644 --- a/.claude/skills/formshot-harness/SKILL.md +++ b/.claude/skills/formshot-harness/SKILL.md @@ -4,12 +4,12 @@ description: "Guides work on formshot, the Form-family 3D product renderer by no license: Apache-2.0 metadata: nodemode.author: nodemode-ai - nodemode.pack-version: "0.15.0" + nodemode.pack-version: "0.15.1" --- # Formshot Harness -formshot is the Form family's 3D product renderer by nodemode-ai (Apache-2.0): open a model, drag materials onto parts, light it, watch a physically based picture converge, then render stills, animations and variants. It is modeled on its siblings formsurface (shell and service), formsculpt (launcher, setup and engine bridge) and formvis (the shared dock). Current state: v0.2.0, unreleased. The shell, the document and project file, the CPU path tracer and the command line render exist; everything else is planned with the version the plan gives it, and the sub-skills mark it planned. Since then the GPU path tracer (fsh-render-gpu, held to the CPU picture), device choice with a fallback to the CPU, the live viewport (WebGL2 raster modes, picking, gizmo, interaction regimes, an optional WebAssembly engine on WebGPU with a streamed fallback) and the engine-driven crash journal have landed. GPU work has run only on software drivers (lavapipe, SwiftShader, llvmpipe), and the path tracer in the window has not drawn a frame yet. After that came import (3MF, FBX, background jobs, reimport, embedded textures), STEP and IGES through FormCAD's kernel worker (fsh-cad), family hand-offs, material types, texture slots, graphs compiled to a material program, and the material library; both path tracers run material programs with textures (loaded by `fsh-commands/src/textures.rs`), image labels, thin film and dispersion. Then lighting (light spread, edge softness, IES profiles, light and shadow links, the Hosek-Wilkie physical sky, studio presets; pins, finite dome, backplate and background image are in the document but still being rendered), cameras (six projections, bladed and anamorphic apertures, pick focus), the image (grade, effects, AgX, ACES 1.3, OpenColorIO through fsh-ocio), 23 render passes with Cryptomatte, image writers in fsh-io, the render queue, and the denoisers (fsh-denoise, optional Open Image Denoise through fsh-oidn) landed; the GPU port of the denoiser is still being merged. At 0.9.0 shots, material variants and model sets, the configurator with rules, material templates and measurements (document blocks in fsh-scene with groups in fsh-commands), keyed animation with rigs, motion blur on the CPU (the GPU refuses moving scenes), and frame sequences and movies through a separate ffmpeg program landed, with their window pages and the timeline. At 0.10.0 advanced light transport landed on the CPU (nested media, volumes, subsurface, spectral rendering with dispersion, photon caustics, cutaways with caps, rounded edges, fibres) and the GPU ports of media, motion blur, spectral, cutaways and rounded edges; the GPU still refuses caustics, fibres, more than 4 overlapping media and more than 32 cutaways, and `transport.features` says which engine renders what. P16 (0.11.0) brought the editors: node editor preview and setups, the UV editor over fsh-uv, label placement, one Preferences table, shortcuts, workspaces, presentation mode and menus that fit under the bar. P17 (0.12.0) brought exchange: one export scene for GLB, OBJ, STL, PLY, USD and USDZ with fsh-bake for what a format cannot carry, web configurator and spin viewer folders, 3DM, IFC and USD import, and MaterialX and texture set import. P18 (0.13.0) brought agents: a headless service with its own consent and folder rules, MCP profiles with curated `formshot_*` tools, the agent guide in the engine (`help.guide`), a local scripting channel with a Python client, plugins run as processes, live links (`link.*`) with a Blender add-on, Keep in sync for hand-offs, a console in the window, and render setups and a self-test in `formshot-engine`. P19 (0.14.0) brought the render farm: the crate `fsh-farm` (token, sealed wire, bundles, worker, dispatcher; native only, no engine), the `farm.*` commands, `formshot-engine worker` and `farm`, and the Render Farm window; it has run as processes on loopback addresses, not yet on two separate machines in the builders' logs. 0.15.0 was a showcase pass with no engine change: five demo projects in `assets/demos` replace Home's templates (the four built-in templates stay behind New project, imports and `file.new`), the README took the Form family layout with screenshots and renders (the full feature list and the limits are in `docs/FEATURES.md`), and the app wears the owner's two-bottle icon. Read the code before trusting a claim here. +formshot is the Form family's 3D product renderer by nodemode-ai (Apache-2.0): open a model, drag materials onto parts, light it, watch a physically based picture converge, then render stills, animations and variants. It is modeled on its siblings formsurface (shell and service), formsculpt (launcher, setup and engine bridge) and formvis (the shared dock). Current state: v0.2.0, unreleased. The shell, the document and project file, the CPU path tracer and the command line render exist; everything else is planned with the version the plan gives it, and the sub-skills mark it planned. Since then the GPU path tracer (fsh-render-gpu, held to the CPU picture), device choice with a fallback to the CPU, the live viewport (WebGL2 raster modes, picking, gizmo, interaction regimes, an optional WebAssembly engine on WebGPU with a streamed fallback) and the engine-driven crash journal have landed. GPU work has run only on software drivers (lavapipe, SwiftShader, llvmpipe), and the path tracer in the window has not drawn a frame yet. After that came import (3MF, FBX, background jobs, reimport, embedded textures), STEP and IGES through FormCAD's kernel worker (fsh-cad), family hand-offs, material types, texture slots, graphs compiled to a material program, and the material library; both path tracers run material programs with textures (loaded by `fsh-commands/src/textures.rs`), image labels, thin film and dispersion. Then lighting (light spread, edge softness, IES profiles, light and shadow links, the Hosek-Wilkie physical sky, studio presets; pins, finite dome, backplate and background image are in the document but still being rendered), cameras (six projections, bladed and anamorphic apertures, pick focus), the image (grade, effects, AgX, ACES 1.3, OpenColorIO through fsh-ocio), 23 render passes with Cryptomatte, image writers in fsh-io, the render queue, and the denoisers (fsh-denoise, optional Open Image Denoise through fsh-oidn) landed; the GPU port of the denoiser is still being merged. At 0.9.0 shots, material variants and model sets, the configurator with rules, material templates and measurements (document blocks in fsh-scene with groups in fsh-commands), keyed animation with rigs, motion blur on the CPU (the GPU refuses moving scenes), and frame sequences and movies through a separate ffmpeg program landed, with their window pages and the timeline. At 0.10.0 advanced light transport landed on the CPU (nested media, volumes, subsurface, spectral rendering with dispersion, photon caustics, cutaways with caps, rounded edges, fibres) and the GPU ports of media, motion blur, spectral, cutaways and rounded edges; the GPU still refuses caustics, fibres, more than 4 overlapping media and more than 32 cutaways, and `transport.features` says which engine renders what. P16 (0.11.0) brought the editors: node editor preview and setups, the UV editor over fsh-uv, label placement, one Preferences table, shortcuts, workspaces, presentation mode and menus that fit under the bar. P17 (0.12.0) brought exchange: one export scene for GLB, OBJ, STL, PLY, USD and USDZ with fsh-bake for what a format cannot carry, web configurator and spin viewer folders, 3DM, IFC and USD import, and MaterialX and texture set import. P18 (0.13.0) brought agents: a headless service with its own consent and folder rules, MCP profiles with curated `formshot_*` tools, the agent guide in the engine (`help.guide`), a local scripting channel with a Python client, plugins run as processes, live links (`link.*`) with a Blender add-on, Keep in sync for hand-offs, a console in the window, and render setups and a self-test in `formshot-engine`. P19 (0.14.0) brought the render farm: the crate `fsh-farm` (token, sealed wire, bundles, worker, dispatcher; native only, no engine), the `farm.*` commands, `formshot-engine worker` and `farm`, and the Render Farm window; it has run as processes on loopback addresses, not yet on two separate machines in the builders' logs. 0.15.0 was a showcase pass with no engine change: five demo projects in `assets/demos` replace Home's templates (the four built-in templates stay behind New project, imports and `file.new`), the README took the Form family layout with screenshots and renders (the full feature list and the limits are in `docs/FEATURES.md`), and the app wears the owner's two-bottle icon. 0.15.1 fixed the Windows install (`backend/oc_install` activates `venv/Scripts/activate` when there is no `venv/bin/activate`). Read the code before trusting a claim here. This pack exists so that an agent entering the repo cold edits the right layer, in the right order, under the project laws, and proves the result. @@ -32,7 +32,7 @@ Sub-skill paths resolve as `sub-skills/[skill-name]/SUB-SKILL.md` from this fold | Area | Location | Role | | --- | --- | --- | -| Rust engine | `native/` (one Cargo workspace, edition 2021, all crates 0.15.0) | everything that knows about scenes, rays and pixels | +| Rust engine | `native/` (one Cargo workspace, edition 2021, all crates 0.15.1) | everything that knows about scenes, rays and pixels | | fsh-core | `native/crates/fsh-core` | maths, Transform, Ray, Aabb, Rgb in ACEScg, typed ids and document keys, units, the deterministic sampler, warps and MIS heuristics; std only | | fsh-scene | `native/crates/fsh-scene` | the document, the command enum and its table, undo and redo with merge and groups, change levels, selection, `flatten()` to `RenderSnapshot`; the 18 material types, texture slots, material graphs, the compiler to programs and the preview bake; `lighting/` (IES table, link masks, pins, dome, pictures, reference evaluation, studio presets), camera lens fields, the image style, passes and `denoise_settings.rs`; the document blocks `shots`, `variants` (with model sets), `configurator`, `measure` and `animation` (tracks, keys, rigs), and `motion.rs` (motion blur settings and the shutter flatten); `mesh_replace.rs` (`mesh.replace`, a mesh's data replaced under the same key, the UV editor's one write) | | fsh-accel | `native/crates/fsh-accel` | two-level binned-SAH BVH, watertight triangle test, `Intersector` | diff --git a/.claude/skills/formshot-rendering/references/tools.md b/.claude/skills/formshot-rendering/references/tools.md index 0aca3a33..81b5cca9 100644 --- a/.claude/skills/formshot-rendering/references/tools.md +++ b/.claude/skills/formshot-rendering/references/tools.md @@ -1,6 +1,6 @@ # formshot tools -Generated from the engine's command catalogue (formshot 0.15.0) by `./formshot agents sync`; do not edit by hand. +Generated from the engine's command catalogue (formshot 0.15.1) by `./formshot agents sync`; do not edit by hand. ## Contents diff --git a/CHANGELOG.md b/CHANGELOG.md index 00588501..cb31916b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ Versions follow `v*.*.*` with dots. Dates are US Eastern time; entries before 0.9.0 give the UTC date. FormShot has not been released; these versions exist in the repository only. +## 0.15.1 · 2026-12-05 + +Windows build: the install step no longer stops before the desktop build on Windows. + +### Fixed + +- `./formshot install` on Windows: the backend's install script looked only for `venv/bin/activate`, which a Windows Python does not make, so FormCompiler's Windows build stopped at "installing backend". It now activates `venv/Scripts/activate` when there is no `venv/bin/activate`, and makes the venv with the Python the setup suite chose. `./formshot backend` takes the same two places. +- The farm's token folder is built without an unused `mut` warning on Windows, where the 0700 mode does not apply. + +### Checked + +- The native workspace and the desktop shell type-check for `x86_64-pc-windows-msvc` with no warnings; the Linux engine builds and the service imports at 0.15.1. +- Not yet: the Windows desktop build itself, which only FormCompiler's Windows runner can run. + ## 0.15.0 · 2026-12-05 Showcase: five demo projects replace Home's templates, the README takes the Form family layout with screenshots and renders of the demos, and the app wears the owner's new icon. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b48ac88e..f01608b9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ Thank you for helping. FormShot is the Form family's 3D product renderer: open a model, dress its parts in materials, light it and render it in one window, with no account, -running on your own computer, and open to agents over MCP. It is at 0.15.0 and not +running on your own computer, and open to agents over MCP. It is at 0.15.1 and not released yet, so the most useful help now is careful use and clear reports. ## Where to start diff --git a/NOTICE.md b/NOTICE.md index a317ad61..0d78a034 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -4,7 +4,7 @@ FormShot is licensed under the Apache License 2.0 (see `LICENSE`). Copyright 202 This file is the human list: what each component is and why it is there. `THIRD-PARTY-NOTICES.txt` lists every package that ships with its version and licence; `./formshot notices` replaces it with the full licence texts (copyright lines, conditions and disclaimers) from the installed Python packages, `frontend/package-lock.json`, `native/Cargo.lock`, `src-tauri/Cargo.lock` and the cargo registry, and `./formshot notices --check` checks it covers what ships. It ships in every installer beside this file, is frozen into the service, and is shown in Preferences under About. -FormShot 0.15.0 is unreleased. Licences marked "to confirm" below were not read from package metadata on the machine that wrote this file, and are confirmed when the lock files are complete and `./formshot notices` runs. +FormShot 0.15.1 is unreleased. Licences marked "to confirm" below were not read from package metadata on the machine that wrote this file, and are confirmed when the lock files are complete and `./formshot notices` runs. ## Included in this repository diff --git a/README.md b/README.md index c171662c..a01d387a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@
-
+
@@ -128,7 +128,7 @@ Every feature in more detail, with rendering on a device and the known limits: [
## Everything in the box
-### Today (0.15.0)
+### Today (0.15.1)
- **Home and projects:** Home and projects, five demo projects as templates, the scene tree, `.fshot` projects, crash recovery commands
- **Rendering:** the CPU path tracer, the GPU path tracer, the live viewport with raster modes, selection and gizmo, region render on the GPU, device choice and bench, the WebGPU self-check
diff --git a/SECURITY.md b/SECURITY.md
index 8f6dbab7..125040d8 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -7,7 +7,7 @@ FormShot has not been released yet. Until the first release, security fixes go i
| Version | Supported |
| --- | --- |
-| `main` (0.15.0, unreleased) | Yes |
+| `main` (0.15.1, unreleased) | Yes |
| Anything older | No |
## Reporting a vulnerability
diff --git a/VERSION b/VERSION
index a5510516..e815b861 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.15.0
+0.15.1
diff --git a/backend/HASHOUT_LOG.md b/backend/HASHOUT_LOG.md
index 46bd797e..258fa2a0 100644
--- a/backend/HASHOUT_LOG.md
+++ b/backend/HASHOUT_LOG.md
@@ -1,6 +1,6 @@
# backend HASHOUT_LOG
-Living log for the service side, _v0.15.0. Read the map and the TOC first; entries are anchored by file and symbol, and removed code is quoted in full.
+Living log for the service side, _v0.15.1. Read the map and the TOC first; entries are anchored by file and symbol, and removed code is quoted in full.
## Org-navi-map
@@ -92,6 +92,12 @@ The launcher's scripts use `FSH_*` (`FSH_PORT`, `FSH_DIST`, `FSH_CLAUDE_BIN`). `
- logged: v0.2.0 · 2026-12-02
No opencolorio (no OCIO yet), no `mcp` or `httpx` (the MCP proxy uses only the standard library), no python-multipart (no form uploads).
+### oc_install · the venv on Windows
+- refers-to: oc_install; boot_backend; ../setup/install_all; ../setup/lib.sh :: fsh_venv
+- kind: fix
+- logged: v0.15.1 · 2026-12-05
+formcompiler's Windows build runs `./formshot install` in Git Bash, which calls this script, and it sourced `venv/bin/activate`; Python on Windows makes `venv/Scripts/activate` instead, so the build stopped at "venv/bin/activate: No such file or directory". It now sources `venv/bin/activate` when it exists and `venv/Scripts/activate` otherwise, the same two places `setup/lib.sh` `fsh_venv` already tries. `boot_backend` (`./formshot backend` in Git Bash) had the same line and takes the same two places. Checked with `bash -n` and both branches by hand on Linux; not run on Windows here.
+
### formshot_engine.py · frozen names
- refers-to: formshot_engine.py :: run_mcp, selfcheck; ../setup/freeze_backend
- kind: decision
diff --git a/backend/app/__init__.py b/backend/app/__init__.py
index 9da2f8fc..903e77ce 100644
--- a/backend/app/__init__.py
+++ b/backend/app/__init__.py
@@ -1 +1 @@
-__version__ = "0.15.0"
+__version__ = "0.15.1"
diff --git a/backend/boot_backend b/backend/boot_backend
index 61e0a840..a31f6fc1 100755
--- a/backend/boot_backend
+++ b/backend/boot_backend
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
-source venv/bin/activate
+if [ -f venv/bin/activate ]; then source venv/bin/activate; else source venv/Scripts/activate; fi
exec uvicorn app.main:app --reload --host 127.0.0.1 --port 8300
diff --git a/backend/oc_install b/backend/oc_install
index 9673b573..1dbc11ef 100755
--- a/backend/oc_install
+++ b/backend/oc_install
@@ -3,6 +3,6 @@ set -e
cd "$(dirname "$0")"
py="$(source ../setup/lib.sh && fsh_python)" || py=python3
"$py" -m venv venv
-source venv/bin/activate
+if [ -f venv/bin/activate ]; then source venv/bin/activate; else source venv/Scripts/activate; fi
python -m pip install --upgrade pip
if [ "$(uname)" = "Darwin" ]; then pip install -r requirements_macos.txt; else pip install -r requirements.txt; fi
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index b0481a6d..5a10711d 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -40,7 +40,7 @@ Conventions everywhere in the engine: right-handed, Y up, metres, radians, colou
## The engine crates
-All crates live in `native/crates/`, edition 2021, Apache-2.0, version 0.15.0. `fsh-py` and `fsh-wasm` are outside the workspace's default members, so a plain `cargo build` does not need Python or the wasm target; `fsh-render-gpu` is a default member, so a plain build compiles wgpu.
+All crates live in `native/crates/`, edition 2021, Apache-2.0, version 0.15.1. `fsh-py` and `fsh-wasm` are outside the workspace's default members, so a plain `cargo build` does not need Python or the wasm target; `fsh-render-gpu` is a default member, so a plain build compiles wgpu.
| Crate | Holds | Depends on |
| --- | --- | --- |
diff --git a/docs/PREFERENCES.md b/docs/PREFERENCES.md
index cb83af85..60ea0f3d 100644
--- a/docs/PREFERENCES.md
+++ b/docs/PREFERENCES.md
@@ -61,7 +61,7 @@ Export Preferences (General, or the palette) writes one UTF-8 JSON file, `formsh
"format": "formshot.preferences",
"version": 1,
"app": "FormShot",
- "appVersion": "0.15.0",
+ "appVersion": "0.15.1",
"exported": "2026-12-05T12:00:00.000Z",
"values": { "theme": "studio", "viewportQuality": "sharp", "importMerge": true }
}
diff --git a/docs/SCRIPTING.md b/docs/SCRIPTING.md
index cf3c247c..bfa9a103 100644
--- a/docs/SCRIPTING.md
+++ b/docs/SCRIPTING.md
@@ -7,7 +7,7 @@ FormShot's service opens a local scripting channel: a socket on 127.0.0.1 that s
At startup the service listens on a free port and writes `