capix-code 1.5.13 → 1.5.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capix-code",
3
- "version": "1.5.13",
3
+ "version": "1.5.15",
4
4
  "description": "Capix Code — decentralized AI coding agent with GPU marketplace",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/scripts/build.sh CHANGED
@@ -60,10 +60,19 @@ if [ -n "$OUTPUT" ]; then
60
60
  cp "$DIR/config/capix-defaults.json" "$DIR/config/defaults.json" "$ARTIFACT/config/"
61
61
  cp -R "$DIR/commands" "$ARTIFACT/commands"
62
62
  # Build and bundle the MCP server from the capix-mcp npm package
63
- mkdir -p "$ARTIFACT/mcp"
63
+ mkdir -p "$ARTIFACT/mcp" "$ARTIFACT/mcp/node_modules"
64
64
  npm install capix-mcp@2.1.0 --prefix "$DIR/dist/mcp-tmp" 2>/dev/null
65
65
  cp -R "$DIR/dist/mcp-tmp/node_modules/capix-mcp/dist/"* "$ARTIFACT/mcp/" 2>/dev/null
66
66
  cp "$DIR/dist/mcp-tmp/node_modules/capix-mcp/package.json" "$ARTIFACT/mcp/" 2>/dev/null
67
+ # Copy ALL dependencies needed by capix-mcp
68
+ for dep in @modelcontextprotocol zod; do
69
+ if [ -d "$DIR/dist/mcp-tmp/node_modules/$dep" ]; then
70
+ cp -R "$DIR/dist/mcp-tmp/node_modules/$dep" "$ARTIFACT/mcp/node_modules/" 2>/dev/null
71
+ fi
72
+ done
73
+ if [ -d "$DIR/dist/mcp-tmp/node_modules/capix-mcp/node_modules" ]; then
74
+ cp -R "$DIR/dist/mcp-tmp/node_modules/capix-mcp/node_modules/"* "$ARTIFACT/mcp/node_modules/" 2>/dev/null
75
+ fi
67
76
  # Copy capix-mcp's dependencies (SDK, zod, etc.)
68
77
  mkdir -p "$ARTIFACT/mcp/node_modules"
69
78
  if [ -d "$DIR/dist/mcp-tmp/node_modules/capix-mcp/node_modules" ]; then
@@ -9,7 +9,7 @@ if (process.env.CI || process.env.GITHUB_ACTIONS) {
9
9
  process.exit(0);
10
10
  }
11
11
 
12
- const VERSION = '1.5.7';
12
+ const VERSION = '1.6.0';
13
13
  const PLATFORM_MAP = { darwin: 'darwin', linux: 'linux', win32: 'win32' };
14
14
  const ARCH_MAP = { arm64: 'arm64', x64: 'x64' };
15
15
  const platform = PLATFORM_MAP[process.platform] || 'linux';