@chkp/policy-insights-mcp 0.1.0 → 0.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @chkp/policy-insights-mcp
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b5fdd00: Updated implementation and features, Modified 1 file(s) (synced from internal repository)
8
+
9
+ ## 0.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 6c2885f: Updated configuration, Modified 1 file(s) (synced from internal repository)
14
+
3
15
  ## 0.1.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.js CHANGED
@@ -360,9 +360,6 @@ var init_ui_dialog = __esm({
360
360
  }
361
361
  });
362
362
 
363
- // src/index.ts
364
- import { z as z2 } from "zod";
365
-
366
363
  // src/toolDefinitionMap.ts
367
364
  var toolDefinitionMap = [
368
365
  {
@@ -1654,18 +1651,11 @@ async function launchHTTPServer(config, serverModule2, port) {
1654
1651
  } else if (req.url === "/health" || req.url === "/status") {
1655
1652
  res.writeHead(200, { "Content-Type": "application/json" });
1656
1653
  const sessionCount = serverModule2.sessionManager.getSessionCount();
1657
- const sessions = serverModule2.sessionManager.getAllSessions().map((session) => ({
1658
- id: session.sessionId,
1659
- createdAt: session.createdAt,
1660
- lastActive: session.lastActive
1661
- // Don't include potentially sensitive metadata
1662
- }));
1663
1654
  res.end(JSON.stringify({
1664
1655
  status: "ok",
1665
1656
  server: config.name,
1666
1657
  version: serverModule2.pkg.version,
1667
- activeSessions: sessionCount,
1668
- sessions
1658
+ activeSessions: sessionCount
1669
1659
  }));
1670
1660
  } else {
1671
1661
  res.writeHead(404, { "Content-Type": "text/plain" });
@@ -3089,7 +3079,7 @@ var runApi = createApiRunner(serverModule);
3089
3079
  server.tool(
3090
3080
  `${SERVER_PACKAGE_NAME.split("/").pop().replace(/-mcp$/, "")}__init`,
3091
3081
  "Verify, login and initialize management connection. Use this tool on your first interaction with the server.",
3092
- z2.object({}).strict(),
3082
+ {},
3093
3083
  async (args, extra) => {
3094
3084
  try {
3095
3085
  const apiManager = SessionContext.getAPIManager(serverModule, extra);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chkp/policy-insights-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "bin": {
5
5
  "policy-insights-mcp": "dist/index.js"
6
6
  },
@@ -33,8 +33,8 @@
33
33
  "@chkp/mcp-utils": "*",
34
34
  "@chkp/quantum-infra": "*",
35
35
  "@types/node": "^22.15.2",
36
- "@typescript-eslint/eslint-plugin": "^6.21.0",
37
- "@typescript-eslint/parser": "^6.21.0",
36
+ "@typescript-eslint/eslint-plugin": "^8.38.0",
37
+ "@typescript-eslint/parser": "^8.38.0",
38
38
  "eslint": "^8.57.0",
39
39
  "eslint-config-prettier": "^9.1.0",
40
40
  "eslint-plugin-prettier": "^5.2.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chkp/policy-insights-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "bin": {
5
5
  "policy-insights-mcp": "dist/index.js"
6
6
  },
@@ -33,8 +33,8 @@
33
33
  "@chkp/mcp-utils": "*",
34
34
  "@chkp/quantum-infra": "*",
35
35
  "@types/node": "^22.15.2",
36
- "@typescript-eslint/eslint-plugin": "^6.21.0",
37
- "@typescript-eslint/parser": "^6.21.0",
36
+ "@typescript-eslint/eslint-plugin": "^8.38.0",
37
+ "@typescript-eslint/parser": "^8.38.0",
38
38
  "eslint": "^8.57.0",
39
39
  "eslint-config-prettier": "^9.1.0",
40
40
  "eslint-plugin-prettier": "^5.2.1",