claude-flow 2.7.10 → 2.7.12

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/bin/claude-flow CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
  # Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
3
3
 
4
- VERSION="2.7.10"
4
+ VERSION="2.7.12"
5
5
 
6
6
  # Determine the correct path based on how the script is invoked
7
7
  if [ -L "$0" ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "2.7.10",
3
+ "version": "2.7.12",
4
4
  "description": "Enterprise-grade AI agent orchestration with WASM-powered ReasoningBank memory and AgentDB vector database (always uses latest agentic-flow)",
5
5
  "mcpName": "io.github.ruvnet/claude-flow",
6
6
  "main": "cli.mjs",
@@ -50,7 +50,7 @@
50
50
  "format": "prettier --write 'src/**/*.{ts,js,json}'",
51
51
  "diagnostics": "node -e \"import('./dist/monitoring/diagnostics.js').then(m => m.DiagnosticManager.quickDiagnostic().then(console.log))\"",
52
52
  "health-check": "node -e \"import('./dist/monitoring/health-check.js').then(m => new m.HealthCheckManager().performHealthCheck().then(console.log))\"",
53
- "postinstall": "node scripts/install-arm64.js && bash scripts/fix-agentdb-imports.sh",
53
+ "postinstall": "node scripts/install-arm64.js || true && bash scripts/fix-agentdb-imports.sh || true",
54
54
  "prepublishOnly": "npm run update-version",
55
55
  "publish:alpha": "npm publish --tag alpha",
56
56
  "publish:major": "npm version major && npm publish",
@@ -120,8 +120,6 @@
120
120
  "@anthropic-ai/claude-code": "^2.0.1",
121
121
  "@anthropic-ai/sdk": "^0.65.0",
122
122
  "@modelcontextprotocol/sdk": "^1.0.4",
123
- "@types/better-sqlite3": "^7.6.13",
124
- "agentdb": "^1.3.9",
125
123
  "agentic-flow": "*",
126
124
  "blessed": "^0.1.81",
127
125
  "chalk": "^4.1.2",
@@ -143,9 +141,11 @@
143
141
  "yaml": "^2.8.0"
144
142
  },
145
143
  "optionalDependencies": {
144
+ "agentdb": "^1.3.9",
146
145
  "better-sqlite3": "^12.2.0",
147
146
  "diskusage": "^1.1.3",
148
- "node-pty": "^1.0.0"
147
+ "node-pty": "^1.0.0",
148
+ "@types/better-sqlite3": "^7.6.13"
149
149
  },
150
150
  "devDependencies": {
151
151
  "@babel/core": "^7.28.0",
@@ -11,6 +11,7 @@ async function checkSqliteBindings() {
11
11
  db.close();
12
12
  return true;
13
13
  } catch (error) {
14
+ // Silently fail - this is expected when better-sqlite3 doesn't compile
14
15
  return false;
15
16
  }
16
17
  }
@@ -75,4 +76,8 @@ async function main() {
75
76
  }
76
77
 
77
78
  // Run the installation enhancement
78
- main().catch(console.error);
79
+ // Exit with 0 even if there are errors - this is a best-effort script
80
+ main().catch(() => {
81
+ // Silently ignore errors - better-sqlite3 is optional
82
+ process.exit(0);
83
+ });
File without changes