sinapse-ai 7.3.3 → 7.4.1

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 (31) hide show
  1. package/.sinapse-ai/data/entity-registry.yaml +763 -765
  2. package/.sinapse-ai/development/templates/chrome-brain/knowledge-base/chrome-brain.md +161 -0
  3. package/.sinapse-ai/development/templates/chrome-brain/rules/chrome-brain-autoload.md +56 -0
  4. package/.sinapse-ai/development/templates/chrome-brain/scripts/chrome-brain-log.sh +67 -0
  5. package/.sinapse-ai/development/templates/chrome-brain/scripts/chrome-debug.sh +232 -0
  6. package/.sinapse-ai/development/templates/chrome-brain/scripts/chrome-ensure.sh +210 -0
  7. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-animations.md +50 -0
  8. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-brand.md +42 -0
  9. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-claude.md +49 -0
  10. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-cloning.md +50 -0
  11. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-commercial.md +41 -0
  12. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-content.md +45 -0
  13. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-copy.md +44 -0
  14. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-cybersecurity.md +42 -0
  15. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-design.md +50 -0
  16. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-growth.md +45 -0
  17. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-paidmedia.md +47 -0
  18. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-product.md +49 -0
  19. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-research.md +41 -0
  20. package/.sinapse-ai/development/templates/chrome-brain/squad-integrations/squad-storytelling.md +41 -0
  21. package/.sinapse-ai/install-manifest.yaml +81 -5
  22. package/CHROME-BRAIN-INSTALL.md +93 -0
  23. package/README.md +28 -1
  24. package/bin/modules/chrome-brain-installer.js +757 -0
  25. package/bin/sinapse.js +18 -0
  26. package/install-chrome-brain.sh +1328 -0
  27. package/package.json +3 -1
  28. package/packages/installer/src/wizard/index.js +24 -0
  29. package/packages/sinapse-install/src/capabilities/chrome-brain.js +962 -0
  30. package/packages/sinapse-install/src/installer.js +60 -2
  31. package/sinapse/agents/sinapse-orqx.md +27 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "7.3.3",
3
+ "version": "7.4.1",
4
4
  "description": "SINAPSE AI: Framework de orquestracao de IA — 18 squads, 174 agentes especializados",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",
@@ -28,6 +28,7 @@
28
28
  "squads/sinapse/**",
29
29
  "sinapse/**",
30
30
  "install-squads.sh",
31
+ "install-chrome-brain.sh",
31
32
  "update-squads.sh",
32
33
  "pro/license/",
33
34
  "pro/squads/",
@@ -49,6 +50,7 @@
49
50
  "docs/pt/",
50
51
  "docs/zh/",
51
52
  "docs/*.md",
53
+ "CHROME-BRAIN-INSTALL.md",
52
54
  "README.md",
53
55
  "LICENSE"
54
56
  ],
@@ -1131,6 +1131,30 @@ async function runWizard(options = {}) {
1131
1131
  console.log('Installation may be incomplete. Check logs in .sinapse/ directory.');
1132
1132
  }
1133
1133
 
1134
+ // Chrome Brain: Auto-install browser automation capability
1135
+ if (answers.selectedLLM === 'claude-code' || answers.selectedLLM === 'both') {
1136
+ try {
1137
+ const chromeBrainPath = path.join(__dirname, '..', '..', '..', '..', 'bin', 'modules', 'chrome-brain-installer');
1138
+ const { detectChrome, installScripts, installHooks, installMcp, installKnowledgeBase } = require(chromeBrainPath);
1139
+ const chromePath = detectChrome();
1140
+ if (chromePath) {
1141
+ console.log('\n🧠 Chrome Brain — Installing browser automation...\n');
1142
+ const platform = require(chromeBrainPath).detectPlatform();
1143
+ installScripts(chromePath, platform);
1144
+ installHooks();
1145
+ installMcp(platform);
1146
+ installKnowledgeBase();
1147
+ console.log('\n āœ… Chrome Brain installed — all agents can now control Chrome\n');
1148
+ } else {
1149
+ console.log('\nāš ļø Chrome not found — Chrome Brain skipped');
1150
+ console.log(' Install Chrome and run `sinapse chrome-brain install` later\n');
1151
+ }
1152
+ } catch (error) {
1153
+ console.log(`\nāš ļø Chrome Brain skipped: ${error.message}`);
1154
+ console.log(' You can install it later with: sinapse chrome-brain install\n');
1155
+ }
1156
+ }
1157
+
1134
1158
  // Apply SINAPSE branding to Claude Code CLI (so both `sinapse` and `claude` show SINAPSE branding)
1135
1159
  if (answers.selectedLLM === 'claude-code' || answers.selectedLLM === 'both') {
1136
1160
  try {