@contextstream/mcp-server 0.4.53 → 0.4.55

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/index.js +4 -3
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -28563,7 +28563,8 @@ Code: ${device.user_code}`);
28563
28563
  }
28564
28564
  }
28565
28565
  }
28566
- const mode = "full";
28566
+ const NO_HOOKS_EDITORS2 = ["codex", "aider", "antigravity"];
28567
+ const getModeForEditor = (editor) => NO_HOOKS_EDITORS2.includes(editor) ? "full" : "bootstrap";
28567
28568
  const detectedPlanName = await client.getPlanName();
28568
28569
  const detectedGraphTier = await client.getGraphTier();
28569
28570
  const graphTierLabel = detectedGraphTier === "full" ? "full graph" : detectedGraphTier === "lite" ? "graph-lite" : "none";
@@ -28812,7 +28813,7 @@ Detected plan: ${planLabel} (graph: ${graphTierLabel})`);
28812
28813
  const rule = generateRuleContent(editor, {
28813
28814
  workspaceName,
28814
28815
  workspaceId: workspaceId && workspaceId !== "dry-run" ? workspaceId : void 0,
28815
- mode
28816
+ mode: getModeForEditor(editor)
28816
28817
  });
28817
28818
  if (!rule) continue;
28818
28819
  if (dryRun) {
@@ -28973,7 +28974,7 @@ Applying to ${projects.length} project(s)...`);
28973
28974
  workspaceName,
28974
28975
  workspaceId: workspaceId && workspaceId !== "dry-run" ? workspaceId : void 0,
28975
28976
  projectName: path8.basename(projectPath),
28976
- mode
28977
+ mode: getModeForEditor(editor)
28977
28978
  });
28978
28979
  if (!rule) continue;
28979
28980
  const filePath = path8.join(projectPath, rule.filename);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contextstream/mcp-server",
3
3
  "mcpName": "io.github.contextstreamio/mcp-server",
4
- "version": "0.4.53",
4
+ "version": "0.4.55",
5
5
  "description": "ContextStream MCP server - v0.4.x with consolidated domain tools (~11 tools, ~75% token reduction). Code context, memory, search, and AI tools.",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -13,6 +13,7 @@
13
13
  "README.md"
14
14
  ],
15
15
  "bin": {
16
+ "mcp-server": "dist/index.js",
16
17
  "contextstream-mcp": "dist/index.js",
17
18
  "contextstream-hook": "dist/hooks/runner.js"
18
19
  },