@classcad/mcp 0.4.0 → 0.4.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.
- package/dist/app/SOURCE.txt +3 -3
- package/dist/app/assets/{index-f84cd890.js → index-cdb7103a.js} +134 -134
- package/dist/app/assets/{troika-three-text.esm-6386308e.js → troika-three-text.esm-38ad923a.js} +1 -1
- package/dist/app/index.html +1 -1
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.js +1 -1
- package/package.json +1 -1
package/dist/app/assets/{troika-three-text.esm-6386308e.js → troika-three-text.esm-38ad923a.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{U as xn,M as kn,R as Fn,a as Cn,S as Dn,I as An,b as En,B as Mn,c as Pn,D as on,d as Gn,V as Vt,e as zr,C as yr,f as On,g as br,F as Bn,T as Ln,L as Vr,P as Ur,h as Rn,i as In,j as Wn,k as Nn,l as _r}from"./index-
|
|
1
|
+
import{U as xn,M as kn,R as Fn,a as Cn,S as Dn,I as An,b as En,B as Mn,c as Pn,D as on,d as Gn,V as Vt,e as zr,C as yr,f as On,g as br,F as Bn,T as Ln,L as Vr,P as Ur,h as Rn,i as In,j as Wn,k as Nn,l as _r}from"./index-cdb7103a.js";function zn(){var c=Object.create(null);function r(t,e){var o=t.id,a=t.name,n=t.dependencies;n===void 0&&(n=[]);var i=t.init;i===void 0&&(i=function(){});var s=t.getTransferables;if(s===void 0&&(s=null),!c[o])try{n=n.map(function(l){return l&&l.isWorkerModule&&(r(l,function(h){if(h instanceof Error)throw h}),l=c[l.id].value),l}),i=u("<"+a+">.init",i),s&&(s=u("<"+a+">.getTransferables",s));var f=null;typeof i=="function"?f=i.apply(void 0,n):console.error("worker module init function failed to rehydrate"),c[o]={id:o,value:f,getTransferables:s},e(f)}catch(l){l&&l.noLog||console.error(l),e(l)}}function d(t,e){var o,a=t.id,n=t.args;(!c[a]||typeof c[a].value!="function")&&e(new Error("Worker module "+a+": not found or its 'init' did not return a function"));try{var i=(o=c[a]).value.apply(o,n);i&&typeof i.then=="function"?i.then(s,function(f){return e(f instanceof Error?f:new Error(""+f))}):s(i)}catch(f){e(f)}function s(f){try{var l=c[a].getTransferables&&c[a].getTransferables(f);(!l||!Array.isArray(l)||!l.length)&&(l=void 0),e(f,l)}catch(h){console.error(h),e(h)}}}function u(t,e){var o=void 0;self.troikaDefine=function(n){return o=n};var a=URL.createObjectURL(new Blob(["/** "+t.replace(/\*/g,"")+` **/
|
|
2
2
|
|
|
3
3
|
troikaDefine(
|
|
4
4
|
`+e+`
|
package/dist/app/index.html
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<link rel="manifest" href="/manifest.json" />
|
|
10
10
|
<title>buerligons</title>
|
|
11
11
|
|
|
12
|
-
<script type="module" crossorigin src="/assets/index-
|
|
12
|
+
<script type="module" crossorigin src="/assets/index-cdb7103a.js"></script>
|
|
13
13
|
<link rel="stylesheet" href="/assets/index-54a14bc0.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
package/dist/mcp-server.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
|
2
2
|
import { type Client, type EnginePolicy } from './client.js';
|
|
3
3
|
import { type LocalWasmOptions } from './engine/wasm.js';
|
|
4
4
|
import { type Show } from './share/session.js';
|
|
5
|
-
export declare const VERSION = "0.4.
|
|
5
|
+
export declare const VERSION = "0.4.1";
|
|
6
6
|
export declare const DEFAULT_WS_URL = "ws://0.0.0.0:9094/";
|
|
7
7
|
export type McpServerOptions = {
|
|
8
8
|
/** ClassCAD worker this instance connects to (lazily, on the first tool call). */
|
package/dist/mcp-server.js
CHANGED
|
@@ -20,7 +20,7 @@ import { attachViewer, VIEWER_NOTE } from './tools/viewer.js';
|
|
|
20
20
|
import { appNote, attachShare, registerSelectionTools, registerShareTool, registerViewTool } from './tools/share.js';
|
|
21
21
|
import { appAvailable, joinedHere, listen as listenForApps, waitForPage, SESSION_PATH } from './share/server.js';
|
|
22
22
|
import { sharingFromEnv, showFromEnv } from './share/session.js';
|
|
23
|
-
export const VERSION = '0.4.
|
|
23
|
+
export const VERSION = '0.4.1';
|
|
24
24
|
/** True for the address sessions are joined on on this machine (share/server.ts): an app's own engine, or another agent's. */
|
|
25
25
|
const hostedOnThisMachine = (url) => {
|
|
26
26
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@classcad/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"mcpName": "io.github.awv-informatik/classcad",
|
|
5
5
|
"description": "ClassCAD MCP server: build, verify and export 3D CAD parts and assemblies with the ClassCAD engine, running locally",
|
|
6
6
|
"homepage": "https://classcad.ai",
|