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

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 (84) hide show
  1. package/dist/src/appliance/rvfa-builder.js +4 -4
  2. package/dist/src/appliance/rvfa-format.d.ts +1 -1
  3. package/dist/src/appliance/rvfa-format.js +1 -1
  4. package/dist/src/appliance/rvfa-runner.js +8 -8
  5. package/dist/src/commands/agent.js +15 -15
  6. package/dist/src/commands/analyze.js +52 -52
  7. package/dist/src/commands/appliance-advanced.js +1 -1
  8. package/dist/src/commands/appliance.js +16 -16
  9. package/dist/src/commands/benchmark.js +14 -14
  10. package/dist/src/commands/categories.js +1 -1
  11. package/dist/src/commands/claims.js +16 -16
  12. package/dist/src/commands/completions.js +37 -37
  13. package/dist/src/commands/config.js +9 -9
  14. package/dist/src/commands/daemon.js +21 -21
  15. package/dist/src/commands/deployment.js +15 -15
  16. package/dist/src/commands/doctor.js +26 -26
  17. package/dist/src/commands/embeddings.js +48 -48
  18. package/dist/src/commands/guidance.js +22 -22
  19. package/dist/src/commands/hive-mind.js +21 -21
  20. package/dist/src/commands/hooks.js +105 -105
  21. package/dist/src/commands/init.js +32 -32
  22. package/dist/src/commands/issues.js +6 -6
  23. package/dist/src/commands/mcp.js +13 -13
  24. package/dist/src/commands/memory.js +35 -35
  25. package/dist/src/commands/migrate.js +6 -6
  26. package/dist/src/commands/neural.js +31 -31
  27. package/dist/src/commands/performance.js +13 -13
  28. package/dist/src/commands/plugins.js +26 -26
  29. package/dist/src/commands/process.js +32 -32
  30. package/dist/src/commands/progress.js +5 -5
  31. package/dist/src/commands/providers.js +13 -13
  32. package/dist/src/commands/route.js +26 -26
  33. package/dist/src/commands/ruvector/backup.js +9 -9
  34. package/dist/src/commands/ruvector/benchmark.js +4 -4
  35. package/dist/src/commands/ruvector/import.d.ts +3 -3
  36. package/dist/src/commands/ruvector/import.js +11 -11
  37. package/dist/src/commands/ruvector/index.js +9 -9
  38. package/dist/src/commands/ruvector/init.js +7 -7
  39. package/dist/src/commands/ruvector/migrate.js +5 -5
  40. package/dist/src/commands/ruvector/optimize.js +7 -7
  41. package/dist/src/commands/ruvector/setup.d.ts +3 -3
  42. package/dist/src/commands/ruvector/setup.js +9 -9
  43. package/dist/src/commands/ruvector/status.js +4 -4
  44. package/dist/src/commands/security.js +19 -19
  45. package/dist/src/commands/session.js +13 -13
  46. package/dist/src/commands/start.js +13 -13
  47. package/dist/src/commands/status.js +9 -9
  48. package/dist/src/commands/swarm.js +7 -7
  49. package/dist/src/commands/task.js +9 -9
  50. package/dist/src/commands/transfer-store.js +16 -16
  51. package/dist/src/commands/update.js +2 -2
  52. package/dist/src/commands/workflow.js +13 -13
  53. package/dist/src/config-adapter.js +3 -3
  54. package/dist/src/index.js +1 -1
  55. package/dist/src/init/claudemd-generator.js +1 -1
  56. package/dist/src/init/executor.js +6 -6
  57. package/dist/src/init/helpers-generator.js +4 -4
  58. package/dist/src/init/mcp-generator.js +6 -6
  59. package/dist/src/init/settings-generator.js +4 -4
  60. package/dist/src/init/statusline-generator.js +12 -12
  61. package/dist/src/init/types.d.ts +4 -4
  62. package/dist/src/init/types.js +3 -3
  63. package/dist/src/mcp-server.js +2 -2
  64. package/dist/src/mcp-tools/auto-install.js +5 -5
  65. package/dist/src/mcp-tools/hooks-tools.js +1 -1
  66. package/dist/src/mcp-tools/neural-tools.js +6 -6
  67. package/dist/src/mcp-tools/security-tools.js +2 -2
  68. package/dist/src/memory/memory-bridge.d.ts +4 -4
  69. package/dist/src/memory/memory-bridge.js +15 -15
  70. package/dist/src/memory/memory-initializer.js +10 -10
  71. package/dist/src/plugins/manager.js +8 -8
  72. package/dist/src/plugins/tests/demo-plugin-store.js +6 -6
  73. package/dist/src/ruvector/enhanced-model-router.js +3 -3
  74. package/dist/src/services/agentic-flow-bridge.d.ts +11 -11
  75. package/dist/src/services/agentic-flow-bridge.js +11 -11
  76. package/dist/src/services/container-worker-pool.js +2 -2
  77. package/dist/src/services/worker-queue.js +1 -1
  78. package/dist/src/suggest.js +1 -1
  79. package/dist/src/transfer/models/seraphine.js +1 -1
  80. package/dist/src/transfer/serialization/cfp.js +1 -1
  81. package/dist/src/transfer/store/discovery.js +1 -1
  82. package/dist/src/types.d.ts +1 -1
  83. package/dist/src/update/validator.js +1 -1
  84. package/package.json +1 -1
@@ -340,7 +340,7 @@ export declare function bridgeHealthCheck(dbPath?: string): Promise<{
340
340
  * Store to hierarchical memory with tier.
341
341
  * Valid tiers: working, episodic, semantic
342
342
  *
343
- * Real HierarchicalMemory API (@sparkleideas/agentdb alpha.10+):
343
+ * Real HierarchicalMemory API (agentdb alpha.10+):
344
344
  * store(content, importance?, tier?, options?) → Promise<string>
345
345
  * Stub API (fallback):
346
346
  * store(key, value, tier) — synchronous
@@ -354,7 +354,7 @@ export declare function bridgeHierarchicalStore(params: {
354
354
  /**
355
355
  * Recall from hierarchical memory.
356
356
  *
357
- * Real HierarchicalMemory API (@sparkleideas/agentdb alpha.10+):
357
+ * Real HierarchicalMemory API (agentdb alpha.10+):
358
358
  * recall(query: MemoryQuery) → Promise<MemoryItem[]>
359
359
  * where MemoryQuery = { query, tier?, k?, threshold?, context?, includeDecayed? }
360
360
  * Stub API (fallback):
@@ -368,7 +368,7 @@ export declare function bridgeHierarchicalRecall(params: {
368
368
  /**
369
369
  * Run memory consolidation.
370
370
  *
371
- * Real MemoryConsolidation API (@sparkleideas/agentdb alpha.10+):
371
+ * Real MemoryConsolidation API (agentdb alpha.10+):
372
372
  * consolidate() → Promise<ConsolidationReport>
373
373
  * ConsolidationReport = { episodicProcessed, semanticCreated, memoriesForgotten, ... }
374
374
  * Stub API (fallback):
@@ -398,7 +398,7 @@ export declare function bridgeContextSynthesize(params: {
398
398
  }): Promise<any>;
399
399
  /**
400
400
  * Route via SemanticRouter.
401
- * Available since @sparkleideas/agentdb 3.0.0-alpha.10 — uses @ruvector/router for
401
+ * Available since agentdb 3.0.0-alpha.10 — uses @ruvector/router for
402
402
  * semantic matching with keyword fallback.
403
403
  */
404
404
  export declare function bridgeSemanticRoute(params: {
@@ -233,10 +233,10 @@ async function logAttestation(registry, operation, entryId, metadata) {
233
233
  * Returns null if not available.
234
234
  */
235
235
  function getDb(registry) {
236
- const @sparkleideas/agentdb = registry.getAgentDB();
237
- if (!@sparkleideas/agentdb?.database)
236
+ const agentdb = registry.getAgentDB();
237
+ if (!agentdb?.database)
238
238
  return null;
239
- const db = @sparkleideas/agentdb.database;
239
+ const db = agentdb.database;
240
240
  // Ensure memory_entries table exists (idempotent)
241
241
  try {
242
242
  db.exec(`CREATE TABLE IF NOT EXISTS memory_entries (
@@ -267,7 +267,7 @@ function getDb(registry) {
267
267
  catch {
268
268
  // Table already exists or db is read-only — that's fine
269
269
  }
270
- return { db, @sparkleideas/agentdb };
270
+ return { db, agentdb };
271
271
  }
272
272
  // ===== Bridge functions — match memory-initializer.ts signatures =====
273
273
  /**
@@ -657,8 +657,8 @@ export async function bridgeGenerateEmbedding(text, dbPath) {
657
657
  if (!registry)
658
658
  return null;
659
659
  try {
660
- const @sparkleideas/agentdb = registry.getAgentDB();
661
- const embedder = @sparkleideas/agentdb?.embedder;
660
+ const agentdb = registry.getAgentDB();
661
+ const embedder = agentdb?.embedder;
662
662
  if (!embedder)
663
663
  return null;
664
664
  const emb = await embedder.embed(text);
@@ -684,8 +684,8 @@ export async function bridgeLoadEmbeddingModel(dbPath) {
684
684
  if (!registry)
685
685
  return null;
686
686
  try {
687
- const @sparkleideas/agentdb = registry.getAgentDB();
688
- const embedder = @sparkleideas/agentdb?.embedder;
687
+ const agentdb = registry.getAgentDB();
688
+ const embedder = agentdb?.embedder;
689
689
  if (!embedder)
690
690
  return null;
691
691
  // Verify embedder works by generating a test embedding
@@ -1269,7 +1269,7 @@ export async function bridgeHealthCheck(dbPath) {
1269
1269
  * Store to hierarchical memory with tier.
1270
1270
  * Valid tiers: working, episodic, semantic
1271
1271
  *
1272
- * Real HierarchicalMemory API (@sparkleideas/agentdb alpha.10+):
1272
+ * Real HierarchicalMemory API (agentdb alpha.10+):
1273
1273
  * store(content, importance?, tier?, options?) → Promise<string>
1274
1274
  * Stub API (fallback):
1275
1275
  * store(key, value, tier) — synchronous
@@ -1285,7 +1285,7 @@ export async function bridgeHierarchicalStore(params) {
1285
1285
  const tier = params.tier || 'working';
1286
1286
  // Detect real HierarchicalMemory (has async store returning id) vs stub
1287
1287
  if (typeof hm.getStats === 'function' && typeof hm.promote === 'function') {
1288
- // Real @sparkleideas/agentdb HierarchicalMemory
1288
+ // Real agentdb HierarchicalMemory
1289
1289
  const id = await hm.store(params.value, params.importance || 0.5, tier, {
1290
1290
  metadata: { key: params.key },
1291
1291
  tags: [params.key],
@@ -1303,7 +1303,7 @@ export async function bridgeHierarchicalStore(params) {
1303
1303
  /**
1304
1304
  * Recall from hierarchical memory.
1305
1305
  *
1306
- * Real HierarchicalMemory API (@sparkleideas/agentdb alpha.10+):
1306
+ * Real HierarchicalMemory API (agentdb alpha.10+):
1307
1307
  * recall(query: MemoryQuery) → Promise<MemoryItem[]>
1308
1308
  * where MemoryQuery = { query, tier?, k?, threshold?, context?, includeDecayed? }
1309
1309
  * Stub API (fallback):
@@ -1319,7 +1319,7 @@ export async function bridgeHierarchicalRecall(params) {
1319
1319
  return { results: [], error: 'HierarchicalMemory not available' };
1320
1320
  // Detect real HierarchicalMemory vs stub
1321
1321
  if (typeof hm.getStats === 'function' && typeof hm.promote === 'function') {
1322
- // Real @sparkleideas/agentdb HierarchicalMemory — recall takes MemoryQuery object
1322
+ // Real agentdb HierarchicalMemory — recall takes MemoryQuery object
1323
1323
  const memoryQuery = {
1324
1324
  query: params.query,
1325
1325
  k: params.topK || 5,
@@ -1344,7 +1344,7 @@ export async function bridgeHierarchicalRecall(params) {
1344
1344
  /**
1345
1345
  * Run memory consolidation.
1346
1346
  *
1347
- * Real MemoryConsolidation API (@sparkleideas/agentdb alpha.10+):
1347
+ * Real MemoryConsolidation API (agentdb alpha.10+):
1348
1348
  * consolidate() → Promise<ConsolidationReport>
1349
1349
  * ConsolidationReport = { episodicProcessed, semanticCreated, memoriesForgotten, ... }
1350
1350
  * Stub API (fallback):
@@ -1435,7 +1435,7 @@ export async function bridgeContextSynthesize(params) {
1435
1435
  // Detect real HierarchicalMemory (MemoryQuery object) vs stub (string, number)
1436
1436
  let recalled;
1437
1437
  if (typeof hm.promote === 'function') {
1438
- // Real @sparkleideas/agentdb HierarchicalMemory
1438
+ // Real agentdb HierarchicalMemory
1439
1439
  recalled = await hm.recall({ query: params.query, k: params.maxEntries || 10 });
1440
1440
  }
1441
1441
  else {
@@ -1458,7 +1458,7 @@ export async function bridgeContextSynthesize(params) {
1458
1458
  }
1459
1459
  /**
1460
1460
  * Route via SemanticRouter.
1461
- * Available since @sparkleideas/agentdb 3.0.0-alpha.10 — uses @ruvector/router for
1461
+ * Available since agentdb 3.0.0-alpha.10 — uses @ruvector/router for
1462
1462
  * semantic matching with keyword fallback.
1463
1463
  */
1464
1464
  export async function bridgeSemanticRoute(params) {
@@ -922,7 +922,7 @@ export async function checkAndMigrateLegacy(options) {
922
922
  * a singleton ControllerRegistry and initializes it with the given dbPath.
923
923
  * After this call, all enabled controllers are ready for immediate use.
924
924
  *
925
- * Failures are isolated: if @sparkleideas/memory or @sparkleideas/agentdb is not installed,
925
+ * Failures are isolated: if @sparkleideas/memory or agentdb is not installed,
926
926
  * this returns an empty result without throwing.
927
927
  */
928
928
  async function activateControllerRegistry(dbPath, verbose) {
@@ -1287,11 +1287,11 @@ export async function loadEmbeddingModel(options) {
1287
1287
  loadTime: Date.now() - startTime
1288
1288
  };
1289
1289
  }
1290
- // Fallback: Check for @sparkleideas/agentic-flow ReasoningBank embeddings (v3)
1291
- const reasoningBank = await import('@sparkleideas/agentic-flow/reasoningbank').catch(() => null);
1290
+ // Fallback: Check for agentic-flow ReasoningBank embeddings (v3)
1291
+ const reasoningBank = await import('agentic-flow/reasoningbank').catch(() => null);
1292
1292
  if (reasoningBank?.computeEmbedding) {
1293
1293
  if (verbose) {
1294
- console.log('Loading @sparkleideas/agentic-flow ReasoningBank embedding model...');
1294
+ console.log('Loading agentic-flow ReasoningBank embedding model...');
1295
1295
  }
1296
1296
  embeddingModelState = {
1297
1297
  loaded: true,
@@ -1302,15 +1302,15 @@ export async function loadEmbeddingModel(options) {
1302
1302
  return {
1303
1303
  success: true,
1304
1304
  dimensions: 768,
1305
- modelName: '@sparkleideas/agentic-flow/reasoningbank',
1305
+ modelName: 'agentic-flow/reasoningbank',
1306
1306
  loadTime: Date.now() - startTime
1307
1307
  };
1308
1308
  }
1309
- // Legacy fallback: Check for @sparkleideas/agentic-flow core embeddings
1310
- const agenticFlow = await import('@sparkleideas/agentic-flow').catch(() => null);
1309
+ // Legacy fallback: Check for agentic-flow core embeddings
1310
+ const agenticFlow = await import('agentic-flow').catch(() => null);
1311
1311
  if (agenticFlow && agenticFlow.embeddings) {
1312
1312
  if (verbose) {
1313
- console.log('Loading @sparkleideas/agentic-flow embedding model...');
1313
+ console.log('Loading agentic-flow embedding model...');
1314
1314
  }
1315
1315
  embeddingModelState = {
1316
1316
  loaded: true,
@@ -1321,7 +1321,7 @@ export async function loadEmbeddingModel(options) {
1321
1321
  return {
1322
1322
  success: true,
1323
1323
  dimensions: 768,
1324
- modelName: '@sparkleideas/agentic-flow',
1324
+ modelName: 'agentic-flow',
1325
1325
  loadTime: Date.now() - startTime
1326
1326
  };
1327
1327
  }
@@ -1648,7 +1648,7 @@ export async function storeEntry(options) {
1648
1648
  const dbPath = customPath || path.join(swarmDir, 'memory.db');
1649
1649
  try {
1650
1650
  if (!fs.existsSync(dbPath)) {
1651
- return { success: false, id: '', error: 'Database not initialized. Run: @sparkleideas/claude-flow memory init' };
1651
+ return { success: false, id: '', error: 'Database not initialized. Run: claude-flow memory init' };
1652
1652
  }
1653
1653
  // Ensure schema has all required columns (migration for older DBs)
1654
1654
  await ensureSchemaColumns(dbPath);
@@ -114,10 +114,10 @@ export class PluginManager {
114
114
  if (fs.existsSync(packageJsonPath)) {
115
115
  const pkg = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
116
116
  installedVersion = pkg.version;
117
- // Check for @sparkleideas/claude-flow plugin metadata
118
- if (pkg['@sparkleideas/claude-flow']) {
119
- commands = pkg['@sparkleideas/claude-flow'].commands || [];
120
- hooks = pkg['@sparkleideas/claude-flow'].hooks || [];
117
+ // Check for claude-flow plugin metadata
118
+ if (pkg['claude-flow']) {
119
+ commands = pkg['claude-flow'].commands || [];
120
+ hooks = pkg['claude-flow'].hooks || [];
121
121
  }
122
122
  }
123
123
  // Create plugin entry
@@ -177,8 +177,8 @@ export class PluginManager {
177
177
  enabled: true,
178
178
  source: 'local',
179
179
  path: absolutePath,
180
- commands: pkg['@sparkleideas/claude-flow']?.commands || [],
181
- hooks: pkg['@sparkleideas/claude-flow']?.hooks || [],
180
+ commands: pkg['claude-flow']?.commands || [],
181
+ hooks: pkg['claude-flow']?.hooks || [],
182
182
  };
183
183
  // Save to manifest
184
184
  this.manifest.plugins[packageName] = plugin;
@@ -338,8 +338,8 @@ export class PluginManager {
338
338
  if (fs.existsSync(packageJsonPath)) {
339
339
  const pkg = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
340
340
  existing.version = pkg.version;
341
- existing.commands = pkg['@sparkleideas/claude-flow']?.commands || existing.commands;
342
- existing.hooks = pkg['@sparkleideas/claude-flow']?.hooks || existing.hooks;
341
+ existing.commands = pkg['claude-flow']?.commands || existing.commands;
342
+ existing.hooks = pkg['claude-flow']?.hooks || existing.hooks;
343
343
  }
344
344
  await this.saveManifest();
345
345
  console.log(`[PluginManager] Upgraded ${packageName} to ${existing.version}`);
@@ -93,7 +93,7 @@ async function demo() {
93
93
  console.log('');
94
94
  }
95
95
  console.log(' To install:');
96
- console.log(' $ @sparkleideas/claude-flow plugins install -n plugin-creator');
96
+ console.log(' $ claude-flow plugins install -n plugin-creator');
97
97
  console.log('');
98
98
  }
99
99
  // Summary
@@ -112,11 +112,11 @@ async function demo() {
112
112
  console.log(' ✅ Content-addressed storage (CID)');
113
113
  console.log('');
114
114
  console.log(' CLI Commands:');
115
- console.log(' $ @sparkleideas/claude-flow plugins list # List all plugins');
116
- console.log(' $ @sparkleideas/claude-flow plugins list --official # Official only');
117
- console.log(' $ @sparkleideas/claude-flow plugins search -q neural # Search plugins');
118
- console.log(' $ @sparkleideas/claude-flow plugins info -n plugin-creator');
119
- console.log(' $ @sparkleideas/claude-flow plugins install -n plugin-creator');
115
+ console.log(' $ claude-flow plugins list # List all plugins');
116
+ console.log(' $ claude-flow plugins list --official # Official only');
117
+ console.log(' $ claude-flow plugins search -q neural # Search plugins');
118
+ console.log(' $ claude-flow plugins info -n plugin-creator');
119
+ console.log(' $ claude-flow plugins install -n plugin-creator');
120
120
  console.log('');
121
121
  }
122
122
  demo().catch(err => {
@@ -430,10 +430,10 @@ export class EnhancedModelRouter {
430
430
  };
431
431
  const instruction = intentToInstruction[intent.type];
432
432
  const language = intent.language || 'javascript';
433
- // Try local @sparkleideas/agentic-flow agent-booster (v3 — no npx needed)
433
+ // Try local agentic-flow agent-booster (v3 — no npx needed)
434
434
  // Note: agent-booster export declared but dist missing in alpha.1; use intelligence path as fallback
435
- const boosterModule = await import('@sparkleideas/agentic-flow/agent-booster')
436
- .catch(() => import(/* @vite-ignore */ '@sparkleideas/agentic-flow/intelligence/agent-booster-enhanced'))
435
+ const boosterModule = await import('agentic-flow/agent-booster')
436
+ .catch(() => import(/* @vite-ignore */ 'agentic-flow/intelligence/agent-booster-enhanced'))
437
437
  .catch(() => null);
438
438
  if (boosterModule?.enhancedApply) {
439
439
  const result = await boosterModule.enhancedApply({
@@ -1,28 +1,28 @@
1
1
  /**
2
- * @sparkleideas/agentic-flow v3 integration bridge
2
+ * agentic-flow v3 integration bridge
3
3
  *
4
- * Provides a single lazy-loading entry point for all @sparkleideas/agentic-flow v3
5
- * subpath exports. Every accessor returns `null` when @sparkleideas/agentic-flow is
4
+ * Provides a single lazy-loading entry point for all agentic-flow v3
5
+ * subpath exports. Every accessor returns `null` when agentic-flow is
6
6
  * not installed — callers never throw on missing optional dependency.
7
7
  *
8
8
  * @module agentic-flow-bridge
9
9
  */
10
10
  /**
11
11
  * Load the ReasoningBank module (4-step learning pipeline).
12
- * Returns null if @sparkleideas/agentic-flow is not installed.
12
+ * Returns null if agentic-flow is not installed.
13
13
  * Race-safe: concurrent callers share the same import Promise.
14
14
  */
15
- export declare function getReasoningBank(): Promise<typeof import("@sparkleideas/agentic-flow/reasoningbank") | null>;
15
+ export declare function getReasoningBank(): Promise<typeof import("agentic-flow/reasoningbank") | null>;
16
16
  /**
17
17
  * Load the ModelRouter module (multi-provider LLM routing).
18
- * Returns null if @sparkleideas/agentic-flow is not installed.
18
+ * Returns null if agentic-flow is not installed.
19
19
  */
20
- export declare function getRouter(): Promise<typeof import("@sparkleideas/agentic-flow/router") | null>;
20
+ export declare function getRouter(): Promise<typeof import("agentic-flow/router") | null>;
21
21
  /**
22
22
  * Load the Orchestration module (workflow engine).
23
- * Returns null if @sparkleideas/agentic-flow is not installed.
23
+ * Returns null if agentic-flow is not installed.
24
24
  */
25
- export declare function getOrchestration(): Promise<typeof import("@sparkleideas/agentic-flow/orchestration") | null>;
25
+ export declare function getOrchestration(): Promise<typeof import("agentic-flow/orchestration") | null>;
26
26
  /**
27
27
  * Compute an embedding vector via ReasoningBank, falling back to null.
28
28
  */
@@ -34,11 +34,11 @@ export declare function retrieveMemories(query: string, opts?: {
34
34
  k?: number;
35
35
  }): Promise<any[]>;
36
36
  /**
37
- * Check whether @sparkleideas/agentic-flow v3 is available at runtime.
37
+ * Check whether agentic-flow v3 is available at runtime.
38
38
  */
39
39
  export declare function isAvailable(): Promise<boolean>;
40
40
  /**
41
- * Return a summary of available @sparkleideas/agentic-flow v3 capabilities.
41
+ * Return a summary of available agentic-flow v3 capabilities.
42
42
  */
43
43
  export declare function capabilities(): Promise<{
44
44
  available: boolean;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @sparkleideas/agentic-flow v3 integration bridge
2
+ * agentic-flow v3 integration bridge
3
3
  *
4
- * Provides a single lazy-loading entry point for all @sparkleideas/agentic-flow v3
5
- * subpath exports. Every accessor returns `null` when @sparkleideas/agentic-flow is
4
+ * Provides a single lazy-loading entry point for all agentic-flow v3
5
+ * subpath exports. Every accessor returns `null` when agentic-flow is
6
6
  * not installed — callers never throw on missing optional dependency.
7
7
  *
8
8
  * @module agentic-flow-bridge
@@ -18,32 +18,32 @@ let _orchestrationP = null;
18
18
  // ---------------------------------------------------------------------------
19
19
  /**
20
20
  * Load the ReasoningBank module (4-step learning pipeline).
21
- * Returns null if @sparkleideas/agentic-flow is not installed.
21
+ * Returns null if agentic-flow is not installed.
22
22
  * Race-safe: concurrent callers share the same import Promise.
23
23
  */
24
24
  export function getReasoningBank() {
25
25
  if (_reasoningBankP === null) {
26
- _reasoningBankP = import('@sparkleideas/agentic-flow/reasoningbank').catch(() => null);
26
+ _reasoningBankP = import('agentic-flow/reasoningbank').catch(() => null);
27
27
  }
28
28
  return _reasoningBankP;
29
29
  }
30
30
  /**
31
31
  * Load the ModelRouter module (multi-provider LLM routing).
32
- * Returns null if @sparkleideas/agentic-flow is not installed.
32
+ * Returns null if agentic-flow is not installed.
33
33
  */
34
34
  export function getRouter() {
35
35
  if (_routerP === null) {
36
- _routerP = import('@sparkleideas/agentic-flow/router').catch(() => null);
36
+ _routerP = import('agentic-flow/router').catch(() => null);
37
37
  }
38
38
  return _routerP;
39
39
  }
40
40
  /**
41
41
  * Load the Orchestration module (workflow engine).
42
- * Returns null if @sparkleideas/agentic-flow is not installed.
42
+ * Returns null if agentic-flow is not installed.
43
43
  */
44
44
  export function getOrchestration() {
45
45
  if (_orchestrationP === null) {
46
- _orchestrationP = import('@sparkleideas/agentic-flow/orchestration').catch(() => null);
46
+ _orchestrationP = import('agentic-flow/orchestration').catch(() => null);
47
47
  }
48
48
  return _orchestrationP;
49
49
  }
@@ -69,14 +69,14 @@ export async function retrieveMemories(query, opts) {
69
69
  return rb.retrieveMemories(query, opts);
70
70
  }
71
71
  /**
72
- * Check whether @sparkleideas/agentic-flow v3 is available at runtime.
72
+ * Check whether agentic-flow v3 is available at runtime.
73
73
  */
74
74
  export async function isAvailable() {
75
75
  const rb = await getReasoningBank();
76
76
  return rb !== null;
77
77
  }
78
78
  /**
79
- * Return a summary of available @sparkleideas/agentic-flow v3 capabilities.
79
+ * Return a summary of available agentic-flow v3 capabilities.
80
80
  */
81
81
  export async function capabilities() {
82
82
  const [rb, router, orch] = await Promise.all([
@@ -447,9 +447,9 @@ export class ContainerWorkerPool extends EventEmitter {
447
447
  * Build worker command for container execution
448
448
  */
449
449
  buildWorkerCommand(options) {
450
- // Use npx to run @sparkleideas/claude-flow daemon trigger
450
+ // Use npx to run claude-flow daemon trigger
451
451
  return [
452
- 'npx', '@sparkleideas/claude-flow@v3alpha',
452
+ 'npx', 'claude-flow@v3alpha',
453
453
  'daemon', 'trigger',
454
454
  '-w', options.workerType,
455
455
  '--headless',
@@ -23,7 +23,7 @@ import { randomUUID } from 'crypto';
23
23
  // ============================================
24
24
  const DEFAULT_CONFIG = {
25
25
  redisUrl: 'redis://localhost:6379',
26
- queuePrefix: '@sparkleideas/claude-flow:queue',
26
+ queuePrefix: 'claude-flow:queue',
27
27
  defaultTimeoutMs: 300000, // 5 minutes
28
28
  maxRetries: 3,
29
29
  resultTtlSeconds: 86400, // 24 hours
@@ -174,7 +174,7 @@ export function suggestCommand(unknownCommand, availableCommands) {
174
174
  if (suggestions.length === 0) {
175
175
  return {
176
176
  suggestions: [],
177
- message: 'Run "@sparkleideas/claude-flow --help" to see available commands.'
177
+ message: 'Run "claude-flow --help" to see available commands.'
178
178
  };
179
179
  }
180
180
  if (suggestions.length === 1) {
@@ -33,7 +33,7 @@ export const SERAPHINE_METADATA = {
33
33
  'hello-world',
34
34
  ],
35
35
  language: 'typescript',
36
- framework: '@sparkleideas/claude-flow',
36
+ framework: 'claude-flow',
37
37
  };
38
38
  /**
39
39
  * Core routing patterns for Seraphine
@@ -5,7 +5,7 @@
5
5
  import * as crypto from 'crypto';
6
6
  // Version info
7
7
  const CFP_VERSION = '1.0.0';
8
- const GENERATOR = '@sparkleideas/claude-flow@3.0.0-alpha';
8
+ const GENERATOR = 'claude-flow@3.0.0-alpha';
9
9
  /**
10
10
  * Create a new CFP document
11
11
  */
@@ -277,7 +277,7 @@ export class PatternDiscovery {
277
277
  categories: ['routing', 'coordination'],
278
278
  tags: ['genesis', 'foundational', 'routing', 'swarm', 'coordination', 'multi-agent', 'hello-world'],
279
279
  language: 'typescript',
280
- framework: '@sparkleideas/claude-flow',
280
+ framework: 'claude-flow',
281
281
  downloads: 1000,
282
282
  rating: 5.0,
283
283
  ratingCount: 42,
@@ -77,7 +77,7 @@ export interface SwarmConfig {
77
77
  healthCheckInterval: number;
78
78
  }
79
79
  export interface MemoryConfig {
80
- backend: '@sparkleideas/agentdb' | 'sqlite' | 'memory' | 'hybrid';
80
+ backend: 'agentdb' | 'sqlite' | 'memory' | 'hybrid';
81
81
  persistPath: string;
82
82
  cacheSize: number;
83
83
  enableHNSW: boolean;
@@ -15,7 +15,7 @@ const COMPATIBILITY_MATRIX = {
15
15
  },
16
16
  '@sparkleideas/integration': {
17
17
  '@sparkleideas/cli': { minVersion: '3.0.0-alpha.70' },
18
- '@sparkleideas/agentic-flow': { minVersion: '3.0.0-alpha.1' },
18
+ 'agentic-flow': { minVersion: '3.0.0-alpha.1' },
19
19
  },
20
20
  };
21
21
  // Known breaking changes by version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkleideas/cli",
3
- "version": "3.1.0-alpha.21",
3
+ "version": "3.1.0-alpha.22",
4
4
  "type": "module",
5
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",
6
6
  "main": "dist/src/index.js",