@vcad/mcp 0.10.0-main.109 → 0.10.0-main.111
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 +26 -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 fad52f03fe28e947a2063bdf8a7a912dae31fc26 at 2026-10-20T22:29:13.808Z. 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) => {
|
|
@@ -42026,6 +42031,19 @@ var init_CHANGELOG = __esm({
|
|
|
42026
42031
|
"export_kicad"
|
|
42027
42032
|
]
|
|
42028
42033
|
},
|
|
42034
|
+
{
|
|
42035
|
+
id: "2026-10-20-engine-import-ids",
|
|
42036
|
+
version: "0.10.0",
|
|
42037
|
+
date: "2026-10-20",
|
|
42038
|
+
category: "fix",
|
|
42039
|
+
title: "Imported and collaborator parts are editable by id",
|
|
42040
|
+
summary: "Parts arriving through IR import or a collaborator's edits could not be addressed by id in the browser engine, so edits to them failed as unknown parts.",
|
|
42041
|
+
features: [
|
|
42042
|
+
"engine",
|
|
42043
|
+
"collaboration",
|
|
42044
|
+
"import"
|
|
42045
|
+
]
|
|
42046
|
+
},
|
|
42029
42047
|
{
|
|
42030
42048
|
id: "2026-10-20-dgx-sot563-cp-elec-footprints",
|
|
42031
42049
|
version: "0.10.0",
|
|
@@ -86980,8 +86998,8 @@ var init_server3 = __esm({
|
|
|
86980
86998
|
init_order_feed();
|
|
86981
86999
|
init_animate();
|
|
86982
87000
|
PKG_VERSION = (() => {
|
|
86983
|
-
if ("0.10.0-main.
|
|
86984
|
-
return "0.10.0-main.
|
|
87001
|
+
if ("0.10.0-main.111") {
|
|
87002
|
+
return "0.10.0-main.111";
|
|
86985
87003
|
}
|
|
86986
87004
|
try {
|
|
86987
87005
|
const req = createRequire2(import.meta.url);
|
|
@@ -86990,8 +87008,8 @@ var init_server3 = __esm({
|
|
|
86990
87008
|
return "0.0.0";
|
|
86991
87009
|
}
|
|
86992
87010
|
})();
|
|
86993
|
-
BUILD_SHA = "
|
|
86994
|
-
BUILD_TIME = "2026-10-
|
|
87011
|
+
BUILD_SHA = "fad52f03fe28e947a2063bdf8a7a912dae31fc26";
|
|
87012
|
+
BUILD_TIME = "2026-10-20T22:29:13.808Z";
|
|
86995
87013
|
SHORT_SHA = BUILD_SHA === "unknown" ? "unknown" : BUILD_SHA.slice(0, 7);
|
|
86996
87014
|
VERSION_WITH_BUILD = SHORT_SHA === "unknown" ? PKG_VERSION : `${PKG_VERSION}+${SHORT_SHA}`;
|
|
86997
87015
|
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.111",
|
|
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-
|
|
22
|
+
"sha": "fad52f03fe28e947a2063bdf8a7a912dae31fc26",
|
|
23
|
+
"builtAt": "2026-10-20T22:29:13.808Z"
|
|
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
|