@voybio/ace-swarm 2.4.2 → 2.4.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.
package/dist/cli.js CHANGED
@@ -554,7 +554,7 @@ function getStoredMcpConfigKey(client) {
554
554
  if (client === "vscode")
555
555
  return "knowledge/host/.vscode/mcp.json";
556
556
  if (client === "claude")
557
- return "knowledge/host/.mcp-config/claude_desktop_config.json";
557
+ return "knowledge/host/.mcp-config/claude_code.mcp.json";
558
558
  if (client === "cursor")
559
559
  return "knowledge/host/.mcp-config/cursor.mcp.json";
560
560
  return "knowledge/host/.mcp-config/antigravity.mcp.json";
@@ -473,7 +473,7 @@ export function getMcpClientBundlePath(client) {
473
473
  if (client === "copilot")
474
474
  return wsPath(".mcp.json");
475
475
  if (client === "claude")
476
- return wsPath(".mcp-config", "claude_desktop_config.json");
476
+ return wsPath(".mcp-config", "claude_code.mcp.json");
477
477
  if (client === "cursor")
478
478
  return wsPath(".mcp-config", "cursor.mcp.json");
479
479
  return wsPath(".mcp-config", "antigravity.mcp.json");
@@ -491,8 +491,8 @@ export function getMcpClientInstallHint(client) {
491
491
  }
492
492
  if (client === "claude") {
493
493
  return [
494
- `${resolve(homedir(), "Library", "Application Support", "Claude", "claude_desktop_config.json")} (macOS, merge output from \`ace mcp-config --client claude\`)`,
495
- `${resolve(homedir(), ".config", "Claude", "claude_desktop_config.json")} (Linux, merge output from \`ace mcp-config --client claude\`)`,
494
+ `Claude Code CLI: project scope is already wired via ${wsPath(".mcp.json")} (written by \`ace preconfig\`) just run \`claude\` in this workspace`,
495
+ `User scope: \`claude mcp add-json ace-swarm "$(ace mcp-config --client claude)"\` (or merge into ${resolve(homedir(), ".claude.json")})`,
496
496
  ].join(" | ");
497
497
  }
498
498
  if (client === "cursor") {
@@ -829,7 +829,7 @@ export function bootstrapAceWorkspace(options = {}) {
829
829
  "## Files",
830
830
  "- `codex.config.toml`",
831
831
  "- `vscode.mcp.json`",
832
- "- `claude_desktop_config.json`",
832
+ "- `claude_code.mcp.json`",
833
833
  "- `cursor.mcp.json`",
834
834
  "- `antigravity.mcp.json`",
835
835
  "",
@@ -199,7 +199,7 @@ export class HostFileMaterializer {
199
199
  codex: "codex.config.toml",
200
200
  vscode: "vscode.mcp.json",
201
201
  copilot: ".mcp.json",
202
- claude: "claude_desktop_config.json",
202
+ claude: "claude_code.mcp.json",
203
203
  cursor: "cursor.mcp.json",
204
204
  antigravity: "antigravity.mcp.json",
205
205
  };
@@ -258,6 +258,14 @@ export class HostFileMaterializer {
258
258
  async materializeMcpBundle() {
259
259
  await this.seedStorePayload();
260
260
  const paths = [];
261
+ // Project-root .mcp.json is the only location Claude Code CLI and GitHub
262
+ // Copilot CLI read for project-scoped MCP servers. Without this, the
263
+ // .mcp-config/ bundle alone is invisible to both — the server never loads.
264
+ paths.push(await this.materializeEntry({
265
+ absPath: this.root(".mcp.json"),
266
+ keyParts: [".mcp.json"],
267
+ fallbackContent: getMcpServerConfigSnippet("copilot"),
268
+ }));
261
269
  for (const entry of [...this.buildMcpBundleEntries(), ...this.buildOptionalHookBundleEntries()]) {
262
270
  paths.push(await this.materializeEntry(entry));
263
271
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voybio/ace-swarm",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "ACE Framework MCP server and CLI — single-file ACEPACK state, local-model serving, agent orchestration, and host compliance enforcement.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",