@idealyst/mcp-server 1.2.28 → 1.2.29
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/{chunk-QMHFAEAR.js → chunk-WJCICXOJ.js} +5 -5
- package/dist/{chunk-QMHFAEAR.js.map → chunk-WJCICXOJ.js.map} +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/tools/index.cjs +6 -3
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.js +1 -1
- package/package.json +4 -4
|
@@ -17269,14 +17269,14 @@ var icons_default = {
|
|
|
17269
17269
|
import * as fs from "fs";
|
|
17270
17270
|
import * as path from "path";
|
|
17271
17271
|
import { fileURLToPath } from "url";
|
|
17272
|
-
var
|
|
17273
|
-
var
|
|
17272
|
+
var __filename2 = fileURLToPath(import.meta.url);
|
|
17273
|
+
var __dirname2 = path.dirname(__filename2);
|
|
17274
17274
|
var cachedTypes = null;
|
|
17275
17275
|
function loadTypes() {
|
|
17276
17276
|
if (cachedTypes) {
|
|
17277
17277
|
return cachedTypes;
|
|
17278
17278
|
}
|
|
17279
|
-
const typesPath = path.join(
|
|
17279
|
+
const typesPath = path.join(__dirname2, "../generated/types.json");
|
|
17280
17280
|
if (!fs.existsSync(typesPath)) {
|
|
17281
17281
|
throw new Error(
|
|
17282
17282
|
'Types file not found. Please run "yarn extract-types" to generate type definitions.'
|
|
@@ -17361,7 +17361,7 @@ function getAvailableComponents() {
|
|
|
17361
17361
|
}
|
|
17362
17362
|
function getComponentExamples(componentName) {
|
|
17363
17363
|
const examplesPath = path.join(
|
|
17364
|
-
|
|
17364
|
+
__dirname2,
|
|
17365
17365
|
`../../examples/components/${componentName}.examples.tsx`
|
|
17366
17366
|
);
|
|
17367
17367
|
if (!fs.existsSync(examplesPath)) {
|
|
@@ -17856,4 +17856,4 @@ export {
|
|
|
17856
17856
|
toolHandlers,
|
|
17857
17857
|
callTool
|
|
17858
17858
|
};
|
|
17859
|
-
//# sourceMappingURL=chunk-
|
|
17859
|
+
//# sourceMappingURL=chunk-WJCICXOJ.js.map
|