sinapse-ai 7.5.1 → 7.5.2

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.
@@ -7,8 +7,8 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 7.5.1
11
- generated_at: "2026-03-30T22:35:57.460Z"
10
+ version: 7.5.2
11
+ generated_at: "2026-03-31T19:58:02.055Z"
12
12
  generator: scripts/generate-install-manifest.js
13
13
  file_count: 1104
14
14
  files:
@@ -350,11 +350,7 @@ function installScripts(chromePath, platform) {
350
350
  ok(`${name} created at ${scriptPath}`);
351
351
  }
352
352
 
353
- // Check PATH
354
- const pathDirs = (process.env.PATH || '').split(path.delimiter);
355
- if (!pathDirs.includes(scriptsDir)) {
356
- warn(`${scriptsDir} not in PATH. Add to your shell profile: export PATH="${scriptsDir}:$PATH"`);
357
- }
353
+ // PATH check not needed — hooks use absolute paths (v7.4.7+)
358
354
 
359
355
  return scriptsDir;
360
356
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "7.5.1",
3
+ "version": "7.5.2",
4
4
  "description": "SINAPSE AI: Framework de orquestracao de IA — 18 squads, 175 agentes especializados",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",
@@ -24,36 +24,24 @@ function getSinapseCoreSourcePath() {
24
24
 
25
25
  /**
26
26
  * Folders to copy from .sinapse-ai
27
- * Includes both v4 modular structure and v2.0 legacy flat structure for compatibility
27
+ * v4.0.4 Modular Structure + active auxiliary directories
28
28
  * @constant {string[]}
29
29
  */
30
30
  const FOLDERS_TO_COPY = [
31
- // v4.0.4 Modular Structure (Story 2.15)
31
+ // v4.0.4 Four Pillars
32
32
  'core', // Framework utilities, config, registry, migration
33
33
  'development', // Agents, tasks, workflows, scripts, personas
34
34
  'product', // Templates, checklists, cli, api
35
35
  'infrastructure', // Hooks, telemetry, integrations, tools
36
36
 
37
- // v2.0 Legacy Flat Structure (for backwards compatibility)
38
- 'agents',
39
- 'agent-teams',
40
- 'checklists',
41
- 'data',
42
- 'docs',
43
- 'elicitation',
44
- 'scripts',
45
- 'tasks',
46
- 'templates',
47
- 'tools',
48
- 'workflows',
49
-
50
- // Additional directories
51
- 'cli', // CLI commands
52
- 'manifests', // Manifest definitions
53
- 'schemas', // JSON schemas for validation (*validate-squad, *migrate-squad)
37
+ // Active auxiliary directories (referenced by code/config)
38
+ 'cli', // CLI commands (bin/sinapse.js)
39
+ 'data', // Entity registry, tech presets, knowledge base
40
+ 'elicitation', // Questionnaires (core-config reference)
41
+ 'schemas', // JSON schemas for validation
42
+ 'scripts', // Utility scripts (core-config reference)
43
+ 'utils', // Shared utilities (tests, format-duration)
54
44
  'workflow-intelligence', // Workflow intelligence engine (*next, *patterns)
55
- 'monitor', // Claude Code hooks for monitoring
56
- 'presets', // Configuration presets
57
45
  ];
58
46
 
59
47
  /**
@@ -639,17 +639,19 @@ function showSuccessSummary(result) {
639
639
  return;
640
640
  }
641
641
 
642
- console.log(`\n✅ Created ${result.files.length} IDE configuration(s):`);
643
-
644
- for (const file of result.files) {
645
- console.log(` - ${path.basename(file)}`);
646
- }
647
-
648
- console.log('\n📋 Next Steps:');
649
- console.log(' 1. Open your project in your selected IDE(s)');
650
- console.log(' 2. The IDE should automatically recognize SINAPSE configuration');
651
- console.log(' 3. Try activating an agent with @agent-name');
652
- console.log(' 4. Use * commands to interact with agents\n');
642
+ // Compact summary: categorize files instead of listing each one
643
+ const agents = result.files.filter(f => f.includes('agents/') || f.includes('agents\\'));
644
+ const rules = result.files.filter(f => f.includes('rules/') || f.includes('rules\\'));
645
+ const hooks = result.files.filter(f => f.includes('hooks/') || f.includes('hooks\\'));
646
+ const other = result.files.length - agents.length - rules.length - hooks.length;
647
+
648
+ const parts = [];
649
+ if (agents.length) parts.push(`${agents.length} agents`);
650
+ if (rules.length) parts.push(`${rules.length} rules`);
651
+ if (hooks.length) parts.push(`${hooks.length} hooks`);
652
+ if (other > 0) parts.push(`${other} configs`);
653
+
654
+ console.log(`\n✅ IDE: ${result.files.length} files (${parts.join(', ')})`);
653
655
  }
654
656
 
655
657
  /**
@@ -499,17 +499,10 @@ async function runWizard(options = {}) {
499
499
  });
500
500
 
501
501
  if (sinapseCoreResult.success) {
502
- console.log(`✅ SINAPSE core installed (${sinapseCoreResult.installedFolders.length} folders)`);
503
- console.log(
504
- ` - Agents: ${sinapseCoreResult.installedFolders.includes('agents') ? '✓' : '⨉'}`,
505
- );
506
- console.log(` - Tasks: ${sinapseCoreResult.installedFolders.includes('tasks') ? '✓' : '⨉'}`);
507
- console.log(
508
- ` - Workflows: ${sinapseCoreResult.installedFolders.includes('workflows') ? '✓' : '⨉'}`,
509
- );
510
- console.log(
511
- ` - Templates: ${sinapseCoreResult.installedFolders.includes('templates') ? '✓' : '⨉'}`,
512
- );
502
+ const pillars = ['core', 'development', 'product', 'infrastructure'];
503
+ const installed = pillars.filter(p => sinapseCoreResult.installedFolders.includes(p));
504
+ const aux = sinapseCoreResult.installedFolders.filter(f => !pillars.includes(f));
505
+ console.log(`✅ SINAPSE core: ${sinapseCoreResult.installedFiles.length} files (${installed.length} pillars, ${aux.length} modules)`);
513
506
  }
514
507
  answers.sinapseCoreInstalled = true;
515
508
  answers.sinapseCoreResult = sinapseCoreResult;
@@ -104,16 +104,22 @@ function formatComponentSection(title, componentResults, componentName) {
104
104
 
105
105
  if (checks.length === 0) return '';
106
106
 
107
- const allSuccess = checks.every((c) => c.status === 'success');
107
+ const passed = checks.filter((c) => c.status === 'success').length;
108
+ const total = checks.length;
109
+ const allSuccess = passed === total;
108
110
  const icon = allSuccess ? chalk.green('✅') : chalk.yellow('⚠️');
109
111
 
110
- const lines = [`${icon} ${chalk.bold(title)}`];
112
+ const lines = [`${icon} ${chalk.bold(title)}: ${passed}/${total} checks passed`];
111
113
 
112
- checks.forEach((check) => {
113
- const statusIcon = check.status === 'success' ? chalk.green('✓') : chalk.yellow('⚠');
114
- const message = check.file ? `${check.message} (${check.file})` : check.message;
115
- lines.push(` ${statusIcon} ${message}`);
116
- });
114
+ // Only show individual checks if there are failures
115
+ if (!allSuccess) {
116
+ checks
117
+ .filter((c) => c.status !== 'success')
118
+ .forEach((check) => {
119
+ const message = check.file ? `${check.message} (${check.file})` : check.message;
120
+ lines.push(` ${chalk.yellow('⚠')} ${message}`);
121
+ });
122
+ }
117
123
 
118
124
  lines.push('');
119
125
 
@@ -757,11 +757,7 @@ function installChromeBrain(options = {}) {
757
757
  }
758
758
  }
759
759
 
760
- // Warn if binDir not in PATH
761
- const pathDirs = (process.env.PATH || '').split(path.delimiter);
762
- if (!pathDirs.some((d) => d === binDir || d === binDir + path.sep)) {
763
- LOG.warn(`${binDir} may not be in your PATH. Add it to your shell profile.`);
764
- }
760
+ // PATH check not needed — hooks use absolute paths (v7.4.7+)
765
761
  } catch (err) {
766
762
  const msg = `Failed to create scripts: ${err.message}`;
767
763
  LOG.fail(msg);
@@ -216,10 +216,3 @@ console.log(`\n=== Patch aplicado com sucesso: ${changes} alteracoes ===`);
216
216
  console.log('');
217
217
  console.log('Feche o terminal e abra novamente para ver as mudancas.');
218
218
  console.log('');
219
- console.log('Para reverter:');
220
- console.log(' cp "' + BACKUP_PATH + '" "' + CLI_PATH + '"');
221
- console.log(' ou: npm install -g @anthropic-ai/claude-code');
222
- console.log('');
223
- console.log('Para reaplicar apos update do Claude Code:');
224
- console.log(' node sinapse-patch.js');
225
- console.log('');
@@ -147,17 +147,17 @@ intelligent_routing:
147
147
  direct_to_specialist:
148
148
  when: "Single, well-defined task with clear specialist"
149
149
  examples:
150
- - "Crie um headline" @headline-specialist
151
- - "Analise esse concorrente" @deep-researcher
152
- - "Me ajude com pricing" @pricing-strategist
153
- - "Revise meu codigo" @qa
150
+ - '"Crie um headline" -> @headline-specialist'
151
+ - '"Analise esse concorrente" -> @deep-researcher'
152
+ - '"Me ajude com pricing" -> @pricing-strategist'
153
+ - '"Revise meu codigo" -> @qa'
154
154
 
155
155
  via_orchestrator:
156
156
  when: "Multi-agent workflow or broad domain request"
157
157
  examples:
158
- - "Construa minha marca" @brand-orqx
159
- - "Campanha de lancamento" @paidmedia-orqx + @copy-orqx
160
- - "Assessment de seguranca" @cyber-orqx
158
+ - '"Construa minha marca" -> @brand-orqx'
159
+ - '"Campanha de lancamento" -> @paidmedia-orqx + @copy-orqx'
160
+ - '"Assessment de seguranca" -> @cyber-orqx'
161
161
 
162
162
  # ══════════════════════════════════════════════════════════════════════════════
163
163
  # COMPLETE ROUTING TABLE — ALL 18 SQUADS
@@ -597,7 +597,7 @@ framework_compatibility:
597
597
  - "@sinapse-orqx sends domain request to Imperator"
598
598
  - "Imperator routes to correct squad orchestrator(s)"
599
599
  - "Squad orchestrator executes with its agents"
600
- - "Results flow back: squad Imperator @sinapse-orqx"
600
+ - "Results flow back: squad -> Imperator -> @sinapse-orqx"
601
601
  coexistence_rules:
602
602
  - "SINAPSE agents own development workflow: code, testing, architecture, stories, deploys"
603
603
  - "Sinapse own domain expertise: branding, content, copy, growth, finance, etc."