@ifc-lite/viewer 1.19.0 → 1.19.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.
Files changed (42) hide show
  1. package/.turbo/turbo-build.log +15 -14
  2. package/.turbo/turbo-typecheck.log +1 -1
  3. package/CHANGELOG.md +8 -0
  4. package/dist/assets/basketViewActivator-CA2CTcVo.js +71 -0
  5. package/dist/assets/{bcf-DOG9_WPX.js → bcf-4K724hw0.js} +18 -18
  6. package/dist/assets/{exporters-BraHBeoi.js → exporters-xbXqEDlO.js} +53 -46
  7. package/dist/assets/ids-2WdONLlu.js +2033 -0
  8. package/dist/assets/index-BXeEKqJG.css +1 -0
  9. package/dist/assets/{index-BOi3BuUI.js → index-D8Epw-e7.js} +48072 -30928
  10. package/dist/assets/{native-bridge-CpBeOPQa.js → native-bridge-DKmx1z95.js} +2 -2
  11. package/dist/assets/{sandbox-Baez7n-t.js → sandbox-tccwm5Bo.js} +547 -529
  12. package/dist/assets/{server-client-BB6cMAXE.js → server-client-LoWPK1N2.js} +1 -1
  13. package/dist/assets/three-CDRZThFA.js +4057 -0
  14. package/dist/assets/{wasm-bridge-CAYCUHbE.js → wasm-bridge-BsJGgPMs.js} +1 -1
  15. package/dist/index.html +8 -7
  16. package/dist/samples/building-architecture.ifc +453 -0
  17. package/dist/samples/hello-wall.ifc +1054 -0
  18. package/dist/samples/infra-bridge.ifc +962 -0
  19. package/package.json +7 -2
  20. package/public/samples/building-architecture.ifc +453 -0
  21. package/public/samples/hello-wall.ifc +1054 -0
  22. package/public/samples/infra-bridge.ifc +962 -0
  23. package/src/App.tsx +37 -3
  24. package/src/components/mcp/HeroScene.tsx +876 -0
  25. package/src/components/mcp/McpLanding.tsx +1318 -0
  26. package/src/components/mcp/McpPlayground.tsx +524 -0
  27. package/src/components/mcp/PlaygroundChat.tsx +1097 -0
  28. package/src/components/mcp/PlaygroundViewer.tsx +815 -0
  29. package/src/components/mcp/README.md +171 -0
  30. package/src/components/mcp/data.ts +659 -0
  31. package/src/components/mcp/playground-dispatcher.ts +1649 -0
  32. package/src/components/mcp/playground-files.ts +107 -0
  33. package/src/components/mcp/playground-uploads.ts +122 -0
  34. package/src/components/mcp/types.ts +65 -0
  35. package/src/components/mcp/use-mcp-page.ts +109 -0
  36. package/src/components/viewer/MainToolbar.tsx +19 -0
  37. package/src/components/viewer/ViewportContainer.tsx +35 -4
  38. package/src/generated/mcp-catalog.json +82 -0
  39. package/vite.config.ts +6 -0
  40. package/dist/assets/basketViewActivator-RZy5c3Td.js +0 -1
  41. package/dist/assets/ids-DQ5jY0E8.js +0 -1
  42. package/dist/assets/index-0XpVr_S5.css +0 -1
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@ifc-lite/viewer",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "description": "IFC-Lite viewer application",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "@anthropic-ai/sdk": "^0.39.0",
8
+ "react-markdown": "^9.0.1",
9
+ "remark-gfm": "^4.0.0",
10
+ "three": "^0.183.1",
8
11
  "@codemirror/autocomplete": "^6.20.0",
9
12
  "@codemirror/commands": "^6.10.2",
10
13
  "@codemirror/lang-javascript": "^6.2.4",
@@ -53,9 +56,10 @@
53
56
  "@ifc-lite/encoding": "^1.14.6",
54
57
  "@ifc-lite/export": "^1.18.0",
55
58
  "@ifc-lite/geometry": "^1.17.0",
56
- "@ifc-lite/ids": "^1.14.10",
59
+ "@ifc-lite/ids": "^1.14.11",
57
60
  "@ifc-lite/lens": "^1.14.4",
58
61
  "@ifc-lite/lists": "^1.14.10",
62
+ "@ifc-lite/mcp": "^0.2.0",
59
63
  "@ifc-lite/mutations": "^1.15.0",
60
64
  "@ifc-lite/parser": "^2.3.0",
61
65
  "@ifc-lite/pointcloud": "^0.2.0",
@@ -73,6 +77,7 @@
73
77
  "@types/proj4": "^2.19.0",
74
78
  "@types/react": "^18.2.0",
75
79
  "@types/react-dom": "^18.2.0",
80
+ "@types/three": "^0.183.0",
76
81
  "@vitejs/plugin-react": "^4.2.0",
77
82
  "jszip": "^3.10.0",
78
83
  "tsx": "^4.7.0",