@crowdstrike/aidr-mcp-proxy 1.6.1 → 1.6.3

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 (2) hide show
  1. package/dist/proxy.mjs +4 -4
  2. package/package.json +7 -7
package/dist/proxy.mjs CHANGED
@@ -8,14 +8,14 @@ import { CallToolRequestSchema, CompleteRequestSchema, GetPromptRequestSchema, L
8
8
  import { defineCommand, runMain } from "citty";
9
9
  import { consola } from "consola";
10
10
  import { EnvHttpProxyAgent } from "undici";
11
- //#region src/proxy.ts
11
+ // src/proxy.ts
12
12
  function isTextContent(x) {
13
13
  return x.type === "text";
14
14
  }
15
15
  function isImageContent(x) {
16
16
  return x.type === "image";
17
17
  }
18
- runMain(defineCommand({
18
+ const main = defineCommand({
19
19
  args: {},
20
20
  async run({ args }) {
21
21
  if (!process.env.CS_AIDR_TOKEN) throw new Error("Missing environment variable: CS_AIDR_TOKEN");
@@ -206,6 +206,6 @@ runMain(defineCommand({
206
206
  if (serverCapabilities?.completions) server.setRequestHandler(CompleteRequestSchema, (args) => client.complete(args.params));
207
207
  await server.connect(serverTransport);
208
208
  }
209
- }));
210
- //#endregion
209
+ });
210
+ runMain(main);
211
211
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdstrike/aidr-mcp-proxy",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "Protect any MCP server from malicious entities and confidential PII.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -21,21 +21,21 @@
21
21
  "mcp-proxy": "dist/proxy.mjs"
22
22
  },
23
23
  "dependencies": {
24
- "@crowdstrike/aidr": "^1.1.1",
25
- "@modelcontextprotocol/sdk": "^1.29.0",
24
+ "@crowdstrike/aidr": "^1.5.0",
25
+ "@modelcontextprotocol/sdk": "^1.32.2",
26
26
  "citty": "^0.2.2",
27
27
  "consola": "^3.4.2",
28
28
  "undici": "^7.25.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@biomejs/biome": "2.4.6",
32
- "@containerbase/semantic-release-pnpm": "1.4.1",
33
- "@tsconfig/node22": "22.0.5",
32
+ "@containerbase/semantic-release-pnpm": "1.4.4",
33
+ "@tsconfig/node22": "22.0.6",
34
34
  "@types/node": "22.19.17",
35
35
  "conventional-changelog-conventionalcommits": "9.3.0",
36
36
  "lefthook": "2.0.15",
37
- "semantic-release": "25.0.3",
38
- "tsdown": "0.21.10",
37
+ "semantic-release": "25.0.9",
38
+ "tsdown": "0.23.7",
39
39
  "typescript": "5.9.3"
40
40
  },
41
41
  "scripts": {