@ifc-lite/mcp 0.22.0 → 0.22.1

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.
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * The `bim.store` authoring surfaces MCP v0.1 deliberately does not implement:
3
- * cost (#4857) and structural analysis (#5167 S.1). Agent flows author through
4
- * `entity_create` with raw attributes, so these throw loudly rather than
5
- * silently no-opping.
3
+ * cost (#4857), structural analysis (#5167 S.1), and openings, hosted doors
4
+ * and windows, type objects and materials (#6232). Agent flows author through `entity_create` with raw
5
+ * attributes, so these throw loudly rather than silently no-opping.
6
6
  *
7
7
  * Composed into one spread so `headless-backend.ts` gains a surface, not a
8
8
  * line, each time another factory-backed store surface is added to the SDK.
9
9
  */
10
- import type { CostStoreBackendMethods, StructuralStoreBackendMethods } from '@ifc-lite/sdk';
11
- export declare function unsupportedStoreAuthoring(): CostStoreBackendMethods & StructuralStoreBackendMethods;
10
+ import type { CostStoreBackendMethods, ModellingStoreBackendMethods, StructuralStoreBackendMethods } from '@ifc-lite/sdk';
11
+ export declare function unsupportedStoreAuthoring(): CostStoreBackendMethods & StructuralStoreBackendMethods & ModellingStoreBackendMethods;
12
12
  //# sourceMappingURL=headless-backend-store-stubs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless-backend-store-stubs.d.ts","sourceRoot":"","sources":["../src/headless-backend-store-stubs.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAI5F,wBAAgB,yBAAyB,IAAI,uBAAuB,GAAG,6BAA6B,CAEnG"}
1
+ {"version":3,"file":"headless-backend-store-stubs.d.ts","sourceRoot":"","sources":["../src/headless-backend-store-stubs.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,eAAe,CAAC;AAsBvB,wBAAgB,yBAAyB,IAAI,uBAAuB,GAAG,6BAA6B,GAAG,4BAA4B,CAElI"}
@@ -3,7 +3,23 @@
3
3
  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
4
  import { costStoreStubs } from './headless-backend-cost-store.js';
5
5
  import { structuralStoreStubs } from './headless-backend-structural-store.js';
6
+ const unsupported = (method) => () => {
7
+ throw new Error(`${method} not supported in MCP v0.1; use entity_create`);
8
+ };
9
+ function modellingStoreStubs() {
10
+ return {
11
+ addOpening: unsupported('addOpening'),
12
+ addHostedDoor: unsupported('addHostedDoor'),
13
+ addHostedWindow: unsupported('addHostedWindow'),
14
+ addElementType: unsupported('addElementType'),
15
+ assignType: unsupported('assignType'),
16
+ addMaterial: unsupported('addMaterial'),
17
+ addMaterialLayerSet: unsupported('addMaterialLayerSet'),
18
+ addMaterialLayerSetUsage: unsupported('addMaterialLayerSetUsage'),
19
+ assignMaterial: unsupported('assignMaterial'),
20
+ };
21
+ }
6
22
  export function unsupportedStoreAuthoring() {
7
- return { ...costStoreStubs(), ...structuralStoreStubs() };
23
+ return { ...costStoreStubs(), ...structuralStoreStubs(), ...modellingStoreStubs() };
8
24
  }
9
25
  //# sourceMappingURL=headless-backend-store-stubs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless-backend-store-stubs.js","sourceRoot":"","sources":["../src/headless-backend-store-stubs.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAa/D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,MAAM,UAAU,yBAAyB;IACvC,OAAO,EAAE,GAAG,cAAc,EAAE,EAAE,GAAG,oBAAoB,EAAE,EAAE,CAAC;AAC5D,CAAC"}
1
+ {"version":3,"file":"headless-backend-store-stubs.js","sourceRoot":"","sources":["../src/headless-backend-store-stubs.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAiB/D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,MAAM,WAAW,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,GAAU,EAAE;IAClD,MAAM,IAAI,KAAK,CAAC,GAAG,MAAM,+CAA+C,CAAC,CAAC;AAC5E,CAAC,CAAC;AAEF,SAAS,mBAAmB;IAC1B,OAAO;QACL,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC;QACrC,aAAa,EAAE,WAAW,CAAC,eAAe,CAAC;QAC3C,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAAC;QAC/C,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC;QAC7C,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC;QACrC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC;QACvC,mBAAmB,EAAE,WAAW,CAAC,qBAAqB,CAAC;QACvD,wBAAwB,EAAE,WAAW,CAAC,0BAA0B,CAAC;QACjE,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC;KAC9C,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yBAAyB;IACvC,OAAO,EAAE,GAAG,cAAc,EAAE,EAAE,GAAG,oBAAoB,EAAE,EAAE,GAAG,mBAAmB,EAAE,EAAE,CAAC;AACtF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifc-lite/mcp",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Model Context Protocol server for ifc-lite — agent-native BIM via MCP (stdio + Streamable HTTP)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -32,34 +32,34 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "yjs": "^13.6.32",
35
+ "yjs": "^13.6.33",
36
36
  "@ifc-lite/bcf": "^5.0.0",
37
- "@ifc-lite/cache": "^3.6.1",
38
- "@ifc-lite/clash": "^2.4.2",
39
- "@ifc-lite/collab": "^0.9.1",
40
- "@ifc-lite/create": "^3.1.0",
37
+ "@ifc-lite/cache": "^3.7.0",
38
+ "@ifc-lite/clash": "^2.4.3",
39
+ "@ifc-lite/create": "^3.2.0",
40
+ "@ifc-lite/collab": "^0.9.2",
41
41
  "@ifc-lite/diff": "^0.10.0",
42
- "@ifc-lite/export": "^4.7.4",
43
- "@ifc-lite/data": "^6.0.0",
44
- "@ifc-lite/encoding": "^2.2.0",
45
- "@ifc-lite/extensions": "^0.10.0",
46
- "@ifc-lite/flow": "^0.4.0",
47
- "@ifc-lite/flow-nodes": "^0.5.0",
48
- "@ifc-lite/geometry": "^7.5.2",
49
- "@ifc-lite/ids": "^3.0.3",
50
- "@ifc-lite/ifcx": "^4.2.1",
51
- "@ifc-lite/mutations": "^2.8.0",
42
+ "@ifc-lite/encoding": "^2.3.0",
43
+ "@ifc-lite/export": "^4.8.0",
44
+ "@ifc-lite/extensions": "^0.10.1",
45
+ "@ifc-lite/flow": "^0.4.1",
46
+ "@ifc-lite/data": "^6.1.0",
47
+ "@ifc-lite/ids": "^3.1.0",
48
+ "@ifc-lite/flow-nodes": "^0.5.1",
49
+ "@ifc-lite/geometry": "^7.6.0",
50
+ "@ifc-lite/ifcx": "^4.3.0",
52
51
  "@ifc-lite/merge": "^0.4.7",
53
- "@ifc-lite/parser": "^9.0.0",
54
- "@ifc-lite/rules": "^0.4.1",
55
- "@ifc-lite/viewer-core": "^0.2.23",
56
- "@ifc-lite/query": "^2.5.1",
57
- "@ifc-lite/sdk": "^7.1.3"
52
+ "@ifc-lite/mutations": "^3.0.0",
53
+ "@ifc-lite/rules": "^0.5.0",
54
+ "@ifc-lite/query": "^2.5.2",
55
+ "@ifc-lite/sdk": "^8.0.0",
56
+ "@ifc-lite/parser": "^9.1.0",
57
+ "@ifc-lite/viewer-core": "^0.2.24"
58
58
  },
59
59
  "devDependencies": {
60
- "@types/node": "^26.6.1",
60
+ "@types/node": "^26.6.2",
61
61
  "typescript": "^6.0.3",
62
- "vitest": "^5.0.1"
62
+ "vitest": "^5.0.2"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=18.0.0"