@sparkleideas/ruv-swarm 1.0.18-patch.1 → 1.0.18-patch.10

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.
@@ -94,7 +94,7 @@ class RuvSwarm {
94
94
  return instance;
95
95
  }
96
96
 
97
- console.log('🧠 Initializing @sparkleideas/ruv-swarm with WASM capabilities...');
97
+ console.log('🧠 Initializing ruv-swarm with WASM capabilities...');
98
98
 
99
99
  try {
100
100
  // Initialize WASM modules
@@ -150,7 +150,7 @@ class RuvSwarm {
150
150
  }
151
151
  }
152
152
 
153
- console.log('āœ… @sparkleideas/ruv-swarm initialized successfully');
153
+ console.log('āœ… ruv-swarm initialized successfully');
154
154
  console.log('šŸ“Š Features:', instance.features);
155
155
 
156
156
  // Mark as initialized
@@ -158,7 +158,7 @@ class RuvSwarm {
158
158
 
159
159
  return instance;
160
160
  } catch (error) {
161
- console.error('āŒ Failed to initialize @sparkleideas/ruv-swarm:', error);
161
+ console.error('āŒ Failed to initialize ruv-swarm:', error);
162
162
  throw error;
163
163
  }
164
164
  }
package/src/logger.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Logger module for @sparkleideas/ruv-swarm with comprehensive logging capabilities
2
+ * Logger module for ruv-swarm with comprehensive logging capabilities
3
3
  */
4
4
 
5
5
  import { randomUUID } from 'crypto';
6
6
 
7
7
  export class Logger {
8
8
  constructor(options = {}) {
9
- this.name = options.name || '@sparkleideas/ruv-swarm';
9
+ this.name = options.name || 'ruv-swarm';
10
10
  this.level = options.level || 'INFO';
11
11
  this.enableStderr = options.enableStderr !== false;
12
12
  this.enableFile = options.enableFile || false;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Logging Configuration for @sparkleideas/ruv-swarm
2
+ * Logging Configuration for ruv-swarm
3
3
  * Provides centralized logging configuration and utilities
4
4
  */
5
5
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * MCP Tools Benchmarks - Separated for better organization
3
- * Contains all benchmark and testing functionality for @sparkleideas/ruv-swarm MCP tools
3
+ * Contains all benchmark and testing functionality for ruv-swarm MCP tools
4
4
  */
5
5
 
6
6
  /**
package/src/neural.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Neural Network CLI for @sparkleideas/ruv-swarm
2
+ * Neural Network CLI for ruv-swarm
3
3
  * Provides neural training, status, and pattern analysis using WASM
4
4
  */
5
5
 
@@ -171,7 +171,7 @@ class NeuralCLI {
171
171
  duration: iterations * 100,
172
172
  };
173
173
 
174
- const outputDir = path.join(process.cwd(), '.@sparkleideas/ruv-swarm', 'neural');
174
+ const outputDir = path.join(process.cwd(), '.ruv-swarm', 'neural');
175
175
  await fs.mkdir(outputDir, { recursive: true });
176
176
  const outputFile = path.join(outputDir, `training-${modelType}-${Date.now()}.json`);
177
177
  await fs.writeFile(outputFile, JSON.stringify(results, null, 2));
@@ -432,7 +432,7 @@ class NeuralCLI {
432
432
  }
433
433
 
434
434
  async loadPersistenceInfo() {
435
- const neuralDir = path.join(process.cwd(), '.@sparkleideas/ruv-swarm', 'neural');
435
+ const neuralDir = path.join(process.cwd(), '.ruv-swarm', 'neural');
436
436
  const modelDetails = {};
437
437
  let totalSessions = 0;
438
438
  let savedModels = 0;
@@ -25,7 +25,7 @@ class PerformanceBenchmarks {
25
25
  console.log('šŸ“Š Initializing Performance Benchmarking Suite...');
26
26
 
27
27
  try {
28
- // Initialize @sparkleideas/ruv-swarm with optimizations
28
+ // Initialize ruv-swarm with optimizations
29
29
  this.ruvSwarm = await RuvSwarm.initialize({
30
30
  useSIMD: true,
31
31
  enableNeuralNetworks: true,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Performance Analysis CLI for @sparkleideas/ruv-swarm
2
+ * Performance Analysis CLI for ruv-swarm
3
3
  * Provides performance analysis, optimization, and suggestions
4
4
  */
5
5
 
@@ -366,7 +366,7 @@ class PerformanceCLI {
366
366
  priority: 'HIGH',
367
367
  issue: 'High memory utilization',
368
368
  suggestion: 'Reduce agent count or enable memory optimization',
369
- command: '@sparkleideas/ruv-swarm performance optimize --target memory',
369
+ command: 'ruv-swarm performance optimize --target memory',
370
370
  });
371
371
  } else if (memUtilization < 30) {
372
372
  suggestions.push({
@@ -374,7 +374,7 @@ class PerformanceCLI {
374
374
  priority: 'MEDIUM',
375
375
  issue: 'Low memory utilization',
376
376
  suggestion: 'Increase parallelism for better resource usage',
377
- command: '@sparkleideas/ruv-swarm performance optimize --target speed',
377
+ command: 'ruv-swarm performance optimize --target speed',
378
378
  });
379
379
  }
380
380
 
@@ -384,7 +384,7 @@ class PerformanceCLI {
384
384
  priority: 'MEDIUM',
385
385
  issue: 'Cognitive patterns could be improved',
386
386
  suggestion: 'Train neural networks with recent patterns',
387
- command: '@sparkleideas/ruv-swarm neural train --model attention --iterations 50',
387
+ command: 'ruv-swarm neural train --model attention --iterations 50',
388
388
  });
389
389
 
390
390
  suggestions.push({
@@ -392,7 +392,7 @@ class PerformanceCLI {
392
392
  priority: 'LOW',
393
393
  issue: 'Performance baseline not established',
394
394
  suggestion: 'Run comprehensive benchmarks for baseline',
395
- command: '@sparkleideas/ruv-swarm benchmark run --test comprehensive --iterations 20',
395
+ command: 'ruv-swarm benchmark run --test comprehensive --iterations 20',
396
396
  });
397
397
 
398
398
  suggestions.push({
@@ -400,7 +400,7 @@ class PerformanceCLI {
400
400
  priority: 'MEDIUM',
401
401
  issue: 'Agent coordination could be optimized',
402
402
  suggestion: 'Analyze and optimize swarm topology',
403
- command: '@sparkleideas/ruv-swarm performance analyze --detailed',
403
+ command: 'ruv-swarm performance analyze --detailed',
404
404
  });
405
405
 
406
406
  // Display suggestions
@@ -429,17 +429,17 @@ class PerformanceCLI {
429
429
 
430
430
  if (totalShown === 0) {
431
431
  console.log('āœ… No optimization suggestions at this time');
432
- console.log('šŸ’” Your @sparkleideas/ruv-swarm instance appears to be well optimized!');
432
+ console.log('šŸ’” Your ruv-swarm instance appears to be well optimized!');
433
433
  } else {
434
434
  console.log(`šŸ“Š ${totalShown} optimization opportunities identified`);
435
435
  console.log('šŸ’” Start with HIGH priority items for maximum impact');
436
436
  }
437
437
 
438
438
  console.log('\nšŸ”§ Quick optimization commands:');
439
- console.log(' @sparkleideas/ruv-swarm performance optimize --target speed # Optimize for speed');
440
- console.log(' @sparkleideas/ruv-swarm performance optimize --target memory # Optimize for memory');
441
- console.log(' @sparkleideas/ruv-swarm performance optimize --target tokens # Optimize for efficiency');
442
- console.log(' @sparkleideas/ruv-swarm benchmark run --iterations 10 # Run performance tests');
439
+ console.log(' ruv-swarm performance optimize --target speed # Optimize for speed');
440
+ console.log(' ruv-swarm performance optimize --target memory # Optimize for memory');
441
+ console.log(' ruv-swarm performance optimize --target tokens # Optimize for efficiency');
442
+ console.log(' ruv-swarm benchmark run --iterations 10 # Run performance tests');
443
443
 
444
444
  } catch (error) {
445
445
  console.error('āŒ Failed to generate suggestions:', error.message);
@@ -17,7 +17,7 @@ import path from 'path';
17
17
  import fs from 'fs';
18
18
 
19
19
  class SwarmPersistencePooled {
20
- constructor(dbPath = path.join(new URL('.', import.meta.url).pathname, '..', 'data', '@sparkleideas/ruv-swarm.db'), options = {}) {
20
+ constructor(dbPath = path.join(new URL('.', import.meta.url).pathname, '..', 'data', 'ruv-swarm.db'), options = {}) {
21
21
  this.dbPath = dbPath;
22
22
  this.options = {
23
23
  // Pool configuration
@@ -1,5 +1,5 @@
1
1
  /**
2
- * SQLite Persistence Layer for @sparkleideas/ruv-swarm MCP
2
+ * SQLite Persistence Layer for ruv-swarm MCP
3
3
  */
4
4
 
5
5
  import Database from 'better-sqlite3';
@@ -7,7 +7,7 @@ import path from 'path';
7
7
  import fs from 'fs';
8
8
 
9
9
  class SwarmPersistence {
10
- constructor(dbPath = path.join(new URL('.', import.meta.url).pathname, '..', 'data', '@sparkleideas/ruv-swarm.db')) {
10
+ constructor(dbPath = path.join(new URL('.', import.meta.url).pathname, '..', 'data', 'ruv-swarm.db')) {
11
11
  // Ensure data directory exists
12
12
  const dataDir = path.dirname(dbPath);
13
13
  if (!fs.existsSync(dataDir)) {
package/src/security.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Security module for @sparkleideas/ruv-swarm
2
+ * Security module for ruv-swarm
3
3
  * Provides integrity verification and security controls
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * High-Availability SQLite Connection Pool for @sparkleideas/ruv-swarm
2
+ * High-Availability SQLite Connection Pool for ruv-swarm
3
3
  *
4
4
  * This implementation addresses the production readiness concerns:
5
5
  * - Connection exhaustion prevention
@@ -256,7 +256,7 @@ class WasmModuleLoader {
256
256
  () => {
257
257
  const cwd = process.cwd();
258
258
  const potentialPaths = [
259
- path.join(cwd, 'node_modules', '@sparkleideas/ruv-swarm', 'wasm'),
259
+ path.join(cwd, 'node_modules', 'ruv-swarm', 'wasm'),
260
260
  path.join(cwd, '..', 'wasm'),
261
261
  path.join(cwd, 'wasm'),
262
262
  ];