@vcad/mcp 0.9.4-main.45 → 0.9.4-main.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,4 +6,4 @@ vcad's MCP server as a self-contained bundle (server + BRep kernel WASM).
6
6
  { "mcpServers": { "vcad": { "command": "npx", "args": ["-y", "@vcad/mcp"] } } }
7
7
  ```
8
8
 
9
- Built from 565c908d4b82566c413bfab71c11f2c2bc6c6163 at 2026-07-26T15:43:49.151Z. Source: https://github.com/ecto/vcad
9
+ Built from e8c30217ef94fd492ae13caee599b581d8334d34 at 2026-07-26T17:13:18.437Z. Source: https://github.com/ecto/vcad
package/index.mjs CHANGED
@@ -30247,11 +30247,6 @@ var init_ui_store = __esm({
30247
30247
  raytraceEdgeCreaseWidth: 0.75,
30248
30248
  raytraceEdgeBoundaryWidth: 1.25,
30249
30249
  raytraceEdgeSoftness: 1.5,
30250
- raytraceAoEnabled: true,
30251
- raytraceAoRadius: 0.3,
30252
- raytraceAoIntensity: 1,
30253
- raytraceAoBias: 1e-3,
30254
- raytraceAoSampleCount: 16,
30255
30250
  toolbarExpanded: persistedToolbarExpanded,
30256
30251
  toolbarTab: "create",
30257
30252
  sidebarPane: "tree",
@@ -30356,11 +30351,6 @@ var init_ui_store = __esm({
30356
30351
  setRaytraceEdgeCreaseWidth: (width) => set({ raytraceEdgeCreaseWidth: width }),
30357
30352
  setRaytraceEdgeBoundaryWidth: (width) => set({ raytraceEdgeBoundaryWidth: width }),
30358
30353
  setRaytraceEdgeSoftness: (softness) => set({ raytraceEdgeSoftness: softness }),
30359
- setRaytraceAoEnabled: (enabled) => set({ raytraceAoEnabled: enabled }),
30360
- setRaytraceAoRadius: (radius) => set({ raytraceAoRadius: radius }),
30361
- setRaytraceAoIntensity: (intensity) => set({ raytraceAoIntensity: intensity }),
30362
- setRaytraceAoBias: (bias) => set({ raytraceAoBias: bias }),
30363
- setRaytraceAoSampleCount: (count) => set({ raytraceAoSampleCount: count }),
30364
30354
  setToolbarExpanded: (expanded) => {
30365
30355
  try {
30366
30356
  localStorage.setItem("vcad:toolbarExpanded", String(expanded));
@@ -41050,6 +41040,20 @@ var init_CHANGELOG = __esm({
41050
41040
  CHANGELOG_default = {
41051
41041
  $schema: "./changelog.schema.json",
41052
41042
  entries: [
41043
+ {
41044
+ id: "2026-07-26-viewport-path-tracer",
41045
+ version: "0.9.4",
41046
+ date: "2026-07-26",
41047
+ category: "feat",
41048
+ title: "The raytrace viewport is a real path tracer",
41049
+ summary: "The viewport now shades with the same BSDF, materials and lighting as --photoreal: multi-bounce global illumination, MIS area lights, clearcoat and brushed-metal anisotropy, so a part looks the same in the app as in a render.",
41050
+ features: [
41051
+ "rendering",
41052
+ "raytracing",
41053
+ "viewport",
41054
+ "materials"
41055
+ ]
41056
+ },
41053
41057
  {
41054
41058
  id: "2026-07-26-swept-and-all-pairs-clearance",
41055
41059
  version: "0.9.4",
@@ -41099,6 +41103,22 @@ var init_CHANGELOG = __esm({
41099
41103
  "rendering"
41100
41104
  ]
41101
41105
  },
41106
+ {
41107
+ id: "2026-07-26-raytrace-tlas",
41108
+ version: "0.9.4",
41109
+ date: "2026-07-26",
41110
+ category: "perf",
41111
+ title: "Ray tracing scales to many-part assemblies",
41112
+ summary: "A two-level acceleration structure culls whole parts per ray and shares one hierarchy across repeated instances: 6.2x faster on a 216-part assembly.",
41113
+ features: [
41114
+ "raytrace",
41115
+ "render",
41116
+ "assembly"
41117
+ ],
41118
+ mcpTools: [
41119
+ "render_view"
41120
+ ]
41121
+ },
41102
41122
  {
41103
41123
  id: "2026-07-26-raytrace-mesh-parts",
41104
41124
  version: "0.9.4",
@@ -58362,6 +58382,7 @@ async function setParameters(input, engine) {
58362
58382
  }
58363
58383
  const doc = getSession(documentId);
58364
58384
  doc.parameters ??= {};
58385
+ const params = doc.parameters;
58365
58386
  const entries = Object.entries(updates);
58366
58387
  const unknown2 = [];
58367
58388
  for (const [name, value] of entries) {
@@ -58379,9 +58400,9 @@ async function setParameters(input, engine) {
58379
58400
  }
58380
58401
  const referenced = referencedNames(doc);
58381
58402
  const noEffect = entries.map(([name]) => name).filter((name) => !referenced.has(name)).map((name) => {
58382
- const value = doc.parameters[name].value;
58403
+ const value = params[name].value;
58383
58404
  const inputs = typeof value === "string" ? [...new Set(value.match(/[A-Za-z_]\w*/g) ?? [])].filter(
58384
- (v) => v in doc.parameters && referenced.has(v)
58405
+ (v) => v in params && referenced.has(v)
58385
58406
  ) : [];
58386
58407
  return {
58387
58408
  name,
@@ -80766,8 +80787,8 @@ var init_server3 = __esm({
80766
80787
  init_order_feed();
80767
80788
  init_animate();
80768
80789
  PKG_VERSION = (() => {
80769
- if ("0.9.4-main.45") {
80770
- return "0.9.4-main.45";
80790
+ if ("0.9.4-main.47") {
80791
+ return "0.9.4-main.47";
80771
80792
  }
80772
80793
  try {
80773
80794
  const req = createRequire2(import.meta.url);
@@ -80776,8 +80797,8 @@ var init_server3 = __esm({
80776
80797
  return "0.0.0";
80777
80798
  }
80778
80799
  })();
80779
- BUILD_SHA = "565c908d4b82566c413bfab71c11f2c2bc6c6163";
80780
- BUILD_TIME = "2026-07-26T15:43:49.151Z";
80800
+ BUILD_SHA = "e8c30217ef94fd492ae13caee599b581d8334d34";
80801
+ BUILD_TIME = "2026-07-26T17:13:18.437Z";
80781
80802
  SHORT_SHA = BUILD_SHA === "unknown" ? "unknown" : BUILD_SHA.slice(0, 7);
80782
80803
  VERSION_WITH_BUILD = SHORT_SHA === "unknown" ? PKG_VERSION : `${PKG_VERSION}+${SHORT_SHA}`;
80783
80804
  INSTANCE_ID = randomUUID6().slice(0, 8);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcad/mcp",
3
- "version": "0.9.4-main.45",
3
+ "version": "0.9.4-main.47",
4
4
  "description": "vcad MCP server — parametric CAD + PCB design tools for AI agents (self-contained: bundled server + kernel WASM)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "homepage": "https://vcad.io",
21
21
  "vcadBuild": {
22
- "sha": "565c908d4b82566c413bfab71c11f2c2bc6c6163",
23
- "builtAt": "2026-07-26T15:43:49.151Z"
22
+ "sha": "e8c30217ef94fd492ae13caee599b581d8334d34",
23
+ "builtAt": "2026-07-26T17:13:18.437Z"
24
24
  }
25
25
  }
Binary file