@sparkleideas/cli 3.1.0-alpha.22 → 3.1.0-alpha.23

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 (43) hide show
  1. package/.claude/agents/core/coder.md +1 -1
  2. package/.claude/agents/core/planner.md +2 -2
  3. package/.claude/agents/core/researcher.md +1 -1
  4. package/.claude/agents/core/reviewer.md +1 -1
  5. package/.claude/agents/core/tester.md +1 -1
  6. package/.claude/agents/data/data-ml-model.md +4 -4
  7. package/.claude/agents/development/dev-backend-api.md +4 -4
  8. package/.claude/agents/documentation/docs-api-openapi.md +4 -4
  9. package/.claude/agents/github/code-review-swarm.md +2 -2
  10. package/.claude/agents/github/issue-tracker.md +2 -2
  11. package/.claude/agents/github/pr-manager.md +2 -2
  12. package/.claude/agents/github/release-manager.md +2 -2
  13. package/.claude/agents/github/workflow-automation.md +2 -2
  14. package/.claude/agents/sparc/architecture.md +3 -3
  15. package/.claude/agents/sparc/pseudocode.md +2 -2
  16. package/.claude/agents/sparc/refinement.md +3 -3
  17. package/.claude/agents/sparc/specification.md +2 -2
  18. package/.claude/agents/swarm/adaptive-coordinator.md +1 -1
  19. package/.claude/agents/swarm/hierarchical-coordinator.md +1 -1
  20. package/.claude/agents/swarm/mesh-coordinator.md +1 -1
  21. package/.claude/agents/templates/base-template-generator.md +3 -3
  22. package/.claude/agents/templates/sparc-coordinator.md +3 -3
  23. package/.claude/helpers/auto-memory-hook.mjs +365 -0
  24. package/.claude/helpers/hook-handler.cjs +271 -0
  25. package/.claude/helpers/intelligence.cjs +916 -0
  26. package/.claude/helpers/learning-service.mjs +7 -7
  27. package/.claude/helpers/memory.js +1 -1
  28. package/.claude/helpers/metrics-db.mjs +4 -4
  29. package/.claude/helpers/session.js +9 -1
  30. package/.claude/helpers/statusline.cjs +100 -32
  31. package/.claude/helpers/statusline.js +2 -2
  32. package/.claude/settings.json +86 -141
  33. package/.claude/skills/reasoningbank-intelligence/SKILL.md +2 -2
  34. package/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +1 -0
  35. package/.claude/skills/skill-builder/.claude-flow/metrics/performance.json +87 -0
  36. package/.claude/skills/skill-builder/.claude-flow/metrics/task-metrics.json +10 -0
  37. package/.claude/skills/swarm-orchestration/SKILL.md +1 -1
  38. package/README.md +952 -481
  39. package/bin/cli.js +2 -2
  40. package/bin/mcp-server.js +1 -1
  41. package/bin/preinstall.cjs +2 -0
  42. package/dist/src/init/mcp-generator.js +1 -1
  43. package/package.json +10 -7
package/bin/cli.js CHANGED
@@ -13,7 +13,7 @@ import { randomUUID } from 'crypto';
13
13
  // Check if we should run in MCP server mode
14
14
  // Conditions:
15
15
  // 1. stdin is being piped AND no CLI arguments provided (auto-detect)
16
- // 2. stdin is being piped AND args are "mcp start" (explicit, e.g. npx @sparkleideas/claude-flow@alpha mcp start)
16
+ // 2. stdin is being piped AND args are "mcp start" (explicit, e.g. npx claude-flow@alpha mcp start)
17
17
  const cliArgs = process.argv.slice(2);
18
18
  const isExplicitMCP = cliArgs.length >= 1 && cliArgs[0] === 'mcp' && (cliArgs.length === 1 || cliArgs[1] === 'start');
19
19
  const isMCPMode = !process.stdin.isTTY && (process.argv.length === 2 || isExplicitMCP);
@@ -77,7 +77,7 @@ if (isMCPMode) {
77
77
  id: message.id,
78
78
  result: {
79
79
  protocolVersion: '2024-11-05',
80
- serverInfo: { name: '@sparkleideas/claude-flow', version: VERSION },
80
+ serverInfo: { name: 'claude-flow', version: VERSION },
81
81
  capabilities: {
82
82
  tools: { listChanged: true },
83
83
  resources: { subscribe: true, listChanged: true },
package/bin/mcp-server.js CHANGED
@@ -103,7 +103,7 @@ async function handleMessage(message) {
103
103
  id: message.id,
104
104
  result: {
105
105
  protocolVersion: '2024-11-05',
106
- serverInfo: { name: '@sparkleideas/claude-flow', version: VERSION },
106
+ serverInfo: { name: 'claude-flow', version: VERSION },
107
107
  capabilities: {
108
108
  tools: { listChanged: true },
109
109
  resources: { subscribe: true, listChanged: true },
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ // Preinstall hook — no-op (cache repair removed in 3.1.0-alpha.53)
@@ -49,7 +49,7 @@ export function generateMCPConfig(options) {
49
49
  CLAUDE_FLOW_TOPOLOGY: options.runtime.topology,
50
50
  CLAUDE_FLOW_MAX_AGENTS: String(options.runtime.maxAgents),
51
51
  CLAUDE_FLOW_MEMORY_BACKEND: options.runtime.memoryBackend,
52
- }, { autoStart: config.autoStart });
52
+ });
53
53
  }
54
54
  // Ruv-Swarm MCP server (enhanced coordination)
55
55
  if (config.ruvSwarm) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sparkleideas/cli",
3
- "version": "3.1.0-alpha.22",
3
+ "version": "3.1.0-alpha.23",
4
4
  "type": "module",
5
- "description": "Claude Flow CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
5
+ "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",
7
7
  "types": "dist/src/index.d.ts",
8
8
  "sideEffects": false,
@@ -75,6 +75,7 @@
75
75
  "test": "vitest run",
76
76
  "test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
77
77
  "test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
78
+ "preinstall": "node bin/preinstall.cjs || true",
78
79
  "release": "npm version prerelease --preid=alpha && npm run publish:all",
79
80
  "publish:all": "./scripts/publish.sh"
80
81
  },
@@ -85,8 +86,6 @@
85
86
  "dependencies": {
86
87
  "@noble/ed25519": "^2.1.0",
87
88
  "semver": "^7.6.0",
88
- "@sparkleideas/aidefence": "^3.0.2",
89
- "@sparkleideas/guidance": "*",
90
89
  "@sparkleideas/mcp": "*",
91
90
  "@sparkleideas/shared": "*"
92
91
  },
@@ -95,12 +94,16 @@
95
94
  "@ruvector/learning-wasm": "^0.1.29",
96
95
  "@ruvector/router": "^0.1.27",
97
96
  "@ruvector/sona": "^0.1.5",
97
+ "@sparkleideas/aidefence": "^3.0.2",
98
98
  "@sparkleideas/codex": "*",
99
99
  "@sparkleideas/embeddings": "*",
100
- "@sparkleideas/plugin-gastown-bridge": "^0.1.2"
100
+ "@sparkleideas/guidance": "*",
101
+ "@sparkleideas/memory": "*",
102
+ "@sparkleideas/plugin-gastown-bridge": "^0.1.3",
103
+ "@sparkleideas/agentic-flow": "*"
101
104
  },
102
105
  "publishConfig": {
103
106
  "access": "public",
104
- "tag": "alpha"
107
+ "tag": "latest"
105
108
  }
106
- }
109
+ }