@vcad/mcp 0.10.0-main.108 → 0.10.0-main.110
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 +1 -1
- package/index.mjs +13 -8
- package/package.json +3 -3
- package/vcad_kernel_wasm_bg.wasm +2 -2
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
|
|
9
|
+
Built from 699c0158d54741542bec6423a9d474fdcf3d05fe at 2026-10-20T21:56:44.006Z. Source: https://github.com/ecto/vcad
|
package/index.mjs
CHANGED
|
@@ -31643,7 +31643,12 @@ function setCrdtConstraints(state, constraints) {
|
|
|
31643
31643
|
const fid = getOrCreateConstraintsFeature(state);
|
|
31644
31644
|
if (!fid)
|
|
31645
31645
|
return {};
|
|
31646
|
-
const result = state._crdtEngine
|
|
31646
|
+
const result = applyCommand(state._crdtEngine, {
|
|
31647
|
+
type: "set_param",
|
|
31648
|
+
id: fid,
|
|
31649
|
+
key: "constraints",
|
|
31650
|
+
value: crdtStr(JSON.stringify(constraints))
|
|
31651
|
+
});
|
|
31647
31652
|
return applyLegacyResult(result);
|
|
31648
31653
|
}
|
|
31649
31654
|
function getOrCreateSchematicFeature(state) {
|
|
@@ -31673,13 +31678,13 @@ function getPcbBoardFeatureId(state) {
|
|
|
31673
31678
|
}
|
|
31674
31679
|
function setCrdtSchematic(state, schematic) {
|
|
31675
31680
|
const schId = getOrCreateSchematicFeature(state);
|
|
31676
|
-
state._crdtEngine
|
|
31681
|
+
applyCommand(state._crdtEngine, { type: "set_param", id: schId, key: "sheet", value: crdtStr(JSON.stringify(schematic)) });
|
|
31677
31682
|
}
|
|
31678
31683
|
function setCrdtPcb(state, pcb) {
|
|
31679
31684
|
const pcbFid = getPcbBoardFeatureId(state);
|
|
31680
31685
|
if (!pcbFid)
|
|
31681
31686
|
return {};
|
|
31682
|
-
const result = state._crdtEngine
|
|
31687
|
+
const result = applyCommand(state._crdtEngine, { type: "set_param", id: pcbFid, key: "board", value: crdtStr(JSON.stringify(pcb)) });
|
|
31683
31688
|
return applyLegacyResult(result);
|
|
31684
31689
|
}
|
|
31685
31690
|
function addPcbToDocument(get, set, pcbBoard, boardName2) {
|
|
@@ -32811,7 +32816,7 @@ var init_document_store = __esm({
|
|
|
32811
32816
|
const state = get();
|
|
32812
32817
|
const schId = getOrCreateSchematicFeature(state);
|
|
32813
32818
|
const sheet = { title: title ?? "Sheet 1", components: [], wires: [], junctions: [], labels: [] };
|
|
32814
|
-
const result = state._crdtEngine
|
|
32819
|
+
const result = applyCommand(state._crdtEngine, { type: "set_param", id: schId, key: "sheet", value: crdtStr(JSON.stringify(sheet)) });
|
|
32815
32820
|
set(applyLegacyResult(result));
|
|
32816
32821
|
},
|
|
32817
32822
|
initPcb: (options) => {
|
|
@@ -86980,8 +86985,8 @@ var init_server3 = __esm({
|
|
|
86980
86985
|
init_order_feed();
|
|
86981
86986
|
init_animate();
|
|
86982
86987
|
PKG_VERSION = (() => {
|
|
86983
|
-
if ("0.10.0-main.
|
|
86984
|
-
return "0.10.0-main.
|
|
86988
|
+
if ("0.10.0-main.110") {
|
|
86989
|
+
return "0.10.0-main.110";
|
|
86985
86990
|
}
|
|
86986
86991
|
try {
|
|
86987
86992
|
const req = createRequire2(import.meta.url);
|
|
@@ -86990,8 +86995,8 @@ var init_server3 = __esm({
|
|
|
86990
86995
|
return "0.0.0";
|
|
86991
86996
|
}
|
|
86992
86997
|
})();
|
|
86993
|
-
BUILD_SHA = "
|
|
86994
|
-
BUILD_TIME = "2026-10-20T21:
|
|
86998
|
+
BUILD_SHA = "699c0158d54741542bec6423a9d474fdcf3d05fe";
|
|
86999
|
+
BUILD_TIME = "2026-10-20T21:56:44.006Z";
|
|
86995
87000
|
SHORT_SHA = BUILD_SHA === "unknown" ? "unknown" : BUILD_SHA.slice(0, 7);
|
|
86996
87001
|
VERSION_WITH_BUILD = SHORT_SHA === "unknown" ? PKG_VERSION : `${PKG_VERSION}+${SHORT_SHA}`;
|
|
86997
87002
|
INSTANCE_ID = randomUUID7().slice(0, 8);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vcad/mcp",
|
|
3
|
-
"version": "0.10.0-main.
|
|
3
|
+
"version": "0.10.0-main.110",
|
|
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": "
|
|
23
|
-
"builtAt": "2026-10-20T21:
|
|
22
|
+
"sha": "699c0158d54741542bec6423a9d474fdcf3d05fe",
|
|
23
|
+
"builtAt": "2026-10-20T21:56:44.006Z"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/vcad_kernel_wasm_bg.wasm
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/vcad_kernel_wasm_bg.wasm
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 35349317 bytes
|
|
4
|
+
sha256: ee5eda1e14b98c2f302424d71ea4aa07c9b490eadb834fe1d40b97fc7b9195a8
|