@sisense/mcp-server 0.2.6 → 0.2.9
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/{ai-qt2rw4p0.js → ai-w2gkxdn7.js} +415 -415
- package/dist/{index-mxkgxy04.js → index-8027b2t7.js} +27545 -23772
- package/dist/sse-server-f7drtvty.js +2996 -0
- package/dist/{sse-server-kpkj0hbc.js → sse-server-n5dmee25.js} +24603 -23532
- package/dist/sse-server-r50cemee.js +6429 -0
- package/dist/sse-server.js +579 -160
- package/dist/view.html +894 -837
- package/dist/{widget-renderer-wjrpnwpy.js → widget-renderer-9rr9sfh8.js} +6 -7
- package/package.json +6 -6
- package/dist/sse-server-22mq7fhc.js +0 -2254
- package/dist/sse-server-d3yx2z0r.js +0 -6296
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
} from "./index-bgbnagw5.js";
|
|
9
9
|
import"./index-6vz3bc2n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./sse-server-
|
|
13
|
-
import"./sse-server-
|
|
11
|
+
ni
|
|
12
|
+
} from "./sse-server-f7drtvty.js";
|
|
13
|
+
import"./sse-server-r50cemee.js";
|
|
14
14
|
import"./sse-server-gcjj2741.js";
|
|
15
15
|
import"./sse-server-wb2h6nz7.js";
|
|
16
16
|
import"./sse-server-zmcz2c17.js";
|
|
@@ -37,7 +37,7 @@ import { spawn } from "node:child_process";
|
|
|
37
37
|
import { writeFileSync, mkdirSync, existsSync } from "node:fs";
|
|
38
38
|
import { join, dirname } from "node:path";
|
|
39
39
|
import { tmpdir } from "node:os";
|
|
40
|
-
import { randomBytes } from "node:crypto";
|
|
40
|
+
import { randomBytes, randomUUID } from "node:crypto";
|
|
41
41
|
import { fileURLToPath } from "node:url";
|
|
42
42
|
var __filename2 = fileURLToPath(import.meta.url);
|
|
43
43
|
var __dirname2 = dirname(__filename2);
|
|
@@ -70,13 +70,12 @@ async function renderChartWidgetWithPlaywrightCT(config) {
|
|
|
70
70
|
height,
|
|
71
71
|
outputName: config.outputName
|
|
72
72
|
};
|
|
73
|
-
const serializedConfig =
|
|
73
|
+
const serializedConfig = ni.stringify(configData);
|
|
74
74
|
writeFileSync(configPath, serializedConfig, "utf8");
|
|
75
75
|
const screenshotsDir = join(PROJECT_ROOT, "__screenshots__");
|
|
76
76
|
mkdirSync(screenshotsDir, { recursive: true });
|
|
77
77
|
const chartTitleKebab = toKebabCase(config.outputName || "untitled-widget");
|
|
78
|
-
const
|
|
79
|
-
const customFilename = `widget-${chartTitleKebab}-${timestamp}.png`;
|
|
78
|
+
const customFilename = `widget-${chartTitleKebab}-${randomUUID()}.png`;
|
|
80
79
|
screenshotPath = join(screenshotsDir, customFilename);
|
|
81
80
|
const testFilePath = join(PROJECT_ROOT, "src/utils/widget-renderer/widget-renderer.spec.tsx");
|
|
82
81
|
return await new Promise((resolve) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisense/mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"mcpName": "io.github.sisense/sisense-mcp-server",
|
|
5
5
|
"homepage": "https://github.com/sisense/sisense-mcp-server#readme",
|
|
6
6
|
"description": "MCP server leveraging Sisense Intelligence for actionable insights and analytics.",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@aws-sdk/client-s3": "^3.756.0",
|
|
49
49
|
"@aws-sdk/s3-request-presigner": "^3.756.0",
|
|
50
|
-
"@modelcontextprotocol/ext-apps": "1.
|
|
51
|
-
"@modelcontextprotocol/sdk": "1.
|
|
50
|
+
"@modelcontextprotocol/ext-apps": "1.5.0",
|
|
51
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
52
52
|
"@playwright/experimental-ct-react": "^1.56.1",
|
|
53
53
|
"@playwright/test": "^1.56.1",
|
|
54
|
-
"@sisense/sdk-ai-core": "0.
|
|
55
|
-
"@sisense/sdk-data": "2.
|
|
56
|
-
"@sisense/sdk-ui": "2.
|
|
54
|
+
"@sisense/sdk-ai-core": "0.6.2",
|
|
55
|
+
"@sisense/sdk-data": "2.24.0",
|
|
56
|
+
"@sisense/sdk-ui": "2.24.0",
|
|
57
57
|
"playwright": "^1.56.1",
|
|
58
58
|
"react": "^18.3.1",
|
|
59
59
|
"react-dom": "^18.3.1",
|