sinapse-ai 7.4.0 → 7.4.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.4.
|
|
11
|
-
generated_at: "2026-03-
|
|
10
|
+
version: 7.4.2
|
|
11
|
+
generated_at: "2026-03-27T15:10:25.140Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
13
|
file_count: 1101
|
|
14
14
|
files:
|
|
@@ -1217,7 +1217,7 @@ files:
|
|
|
1217
1217
|
type: data
|
|
1218
1218
|
size: 9586
|
|
1219
1219
|
- path: data/entity-registry.yaml
|
|
1220
|
-
hash: sha256:
|
|
1220
|
+
hash: sha256:b57be94586adc273f3f57905c2a430ecc9e0135b1101dd076b8b53829b01855f
|
|
1221
1221
|
type: data
|
|
1222
1222
|
size: 511377
|
|
1223
1223
|
- path: data/learned-patterns.yaml
|
package/package.json
CHANGED
|
@@ -463,16 +463,14 @@ async function runWizard(options = {}) {
|
|
|
463
463
|
};
|
|
464
464
|
} else {
|
|
465
465
|
// Interactive mode — 2-step flow
|
|
466
|
-
// Step 1: Language selection
|
|
466
|
+
// Step 1: Language selection (always ask — improves UX)
|
|
467
467
|
const existingLanguage = await getExistingLanguage();
|
|
468
|
-
|
|
468
|
+
const langQuestion = getLanguageQuestion();
|
|
469
469
|
if (existingLanguage) {
|
|
470
|
-
|
|
471
|
-
console.log(`\n ${t('languageSkipped')}: ${language === 'pt' ? 'Português' : 'English'}\n`);
|
|
472
|
-
} else {
|
|
473
|
-
const langAnswer = await inquirer.prompt([getLanguageQuestion()]);
|
|
474
|
-
language = langAnswer.language;
|
|
470
|
+
langQuestion.default = existingLanguage;
|
|
475
471
|
}
|
|
472
|
+
const langAnswer = await inquirer.prompt([langQuestion]);
|
|
473
|
+
const language = langAnswer.language;
|
|
476
474
|
setLanguage(language);
|
|
477
475
|
|
|
478
476
|
// Step 2: LLM selection
|
|
@@ -1131,6 +1129,30 @@ async function runWizard(options = {}) {
|
|
|
1131
1129
|
console.log('Installation may be incomplete. Check logs in .sinapse/ directory.');
|
|
1132
1130
|
}
|
|
1133
1131
|
|
|
1132
|
+
// Chrome Brain: Auto-install browser automation capability
|
|
1133
|
+
if (answers.selectedLLM === 'claude-code' || answers.selectedLLM === 'both') {
|
|
1134
|
+
try {
|
|
1135
|
+
const chromeBrainPath = path.join(__dirname, '..', '..', '..', '..', 'bin', 'modules', 'chrome-brain-installer');
|
|
1136
|
+
const { detectChrome, installScripts, installHooks, installMcp, installKnowledgeBase } = require(chromeBrainPath);
|
|
1137
|
+
const chromePath = detectChrome();
|
|
1138
|
+
if (chromePath) {
|
|
1139
|
+
console.log('\n🧠 Chrome Brain — Installing browser automation...\n');
|
|
1140
|
+
const platform = require(chromeBrainPath).detectPlatform();
|
|
1141
|
+
installScripts(chromePath, platform);
|
|
1142
|
+
installHooks();
|
|
1143
|
+
installMcp(platform);
|
|
1144
|
+
installKnowledgeBase();
|
|
1145
|
+
console.log('\n ✅ Chrome Brain installed — all agents can now control Chrome\n');
|
|
1146
|
+
} else {
|
|
1147
|
+
console.log('\n⚠️ Chrome not found — Chrome Brain skipped');
|
|
1148
|
+
console.log(' Install Chrome and run `sinapse chrome-brain install` later\n');
|
|
1149
|
+
}
|
|
1150
|
+
} catch (error) {
|
|
1151
|
+
console.log(`\n⚠️ Chrome Brain skipped: ${error.message}`);
|
|
1152
|
+
console.log(' You can install it later with: sinapse chrome-brain install\n');
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1134
1156
|
// Apply SINAPSE branding to Claude Code CLI (so both `sinapse` and `claude` show SINAPSE branding)
|
|
1135
1157
|
if (answers.selectedLLM === 'claude-code' || answers.selectedLLM === 'both') {
|
|
1136
1158
|
try {
|