sinapse-ai 7.3.0 → 7.3.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.3.
|
|
11
|
-
generated_at: "2026-03-27T03:
|
|
10
|
+
version: 7.3.2
|
|
11
|
+
generated_at: "2026-03-27T03:25:26.929Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
13
|
file_count: 1082
|
|
14
14
|
files:
|
package/package.json
CHANGED
|
@@ -22,6 +22,11 @@ const TRANSLATIONS = {
|
|
|
22
22
|
userProfileSkipped: 'Using existing user profile',
|
|
23
23
|
languageSkipped: 'Using existing language',
|
|
24
24
|
|
|
25
|
+
// LLM selection
|
|
26
|
+
llmQuestion: 'Select your LLM:',
|
|
27
|
+
llmRecommended: 'Recommended',
|
|
28
|
+
llmBoth: 'Both',
|
|
29
|
+
|
|
25
30
|
// Project type
|
|
26
31
|
projectTypeQuestion: 'What type of project are you setting up?',
|
|
27
32
|
greenfield: 'Greenfield',
|
|
@@ -179,6 +184,11 @@ const TRANSLATIONS = {
|
|
|
179
184
|
userProfileSkipped: 'Usando perfil de usuário existente',
|
|
180
185
|
languageSkipped: 'Usando idioma existente',
|
|
181
186
|
|
|
187
|
+
// LLM selection
|
|
188
|
+
llmQuestion: 'Escolha sua LLM:',
|
|
189
|
+
llmRecommended: 'Recomendado',
|
|
190
|
+
llmBoth: 'Ambos',
|
|
191
|
+
|
|
182
192
|
// Project type
|
|
183
193
|
projectTypeQuestion: 'Que tipo de projeto você está configurando?',
|
|
184
194
|
greenfield: 'Greenfield',
|
|
@@ -442,10 +442,6 @@ async function runWizard(options = {}) {
|
|
|
442
442
|
showWelcome();
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
-
// Hardcode PT-BR as default language
|
|
446
|
-
const language = options.language || 'pt';
|
|
447
|
-
setLanguage(language);
|
|
448
|
-
|
|
449
445
|
let answers = {};
|
|
450
446
|
|
|
451
447
|
// Auto-detect project type and tech preset (always)
|
|
@@ -454,6 +450,8 @@ async function runWizard(options = {}) {
|
|
|
454
450
|
|
|
455
451
|
if (options.quiet) {
|
|
456
452
|
// Quiet mode: Skip all prompts, use defaults
|
|
453
|
+
const language = options.language || 'en';
|
|
454
|
+
setLanguage(language);
|
|
457
455
|
answers = {
|
|
458
456
|
language,
|
|
459
457
|
userProfile: 'bob',
|
|
@@ -464,10 +462,20 @@ async function runWizard(options = {}) {
|
|
|
464
462
|
...options, // Merge any other options
|
|
465
463
|
};
|
|
466
464
|
} else {
|
|
467
|
-
// Interactive mode —
|
|
468
|
-
// Step 1:
|
|
465
|
+
// Interactive mode — 2-step flow
|
|
466
|
+
// Step 1: Language selection
|
|
467
|
+
const existingLanguage = await getExistingLanguage();
|
|
468
|
+
let language;
|
|
469
|
+
if (existingLanguage) {
|
|
470
|
+
language = existingLanguage;
|
|
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;
|
|
475
|
+
}
|
|
476
|
+
setLanguage(language);
|
|
469
477
|
|
|
470
|
-
// Step 2:
|
|
478
|
+
// Step 2: LLM selection
|
|
471
479
|
const llmAnswer = await inquirer.prompt([getLLMQuestion()]);
|
|
472
480
|
|
|
473
481
|
// Derive IDEs from LLM choice
|
|
@@ -61,10 +61,10 @@ function getLLMQuestion() {
|
|
|
61
61
|
return {
|
|
62
62
|
type: 'list',
|
|
63
63
|
name: 'selectedLLM',
|
|
64
|
-
message: colors.primary('
|
|
64
|
+
message: colors.primary(t('llmQuestion')),
|
|
65
65
|
choices: [
|
|
66
66
|
{
|
|
67
|
-
name: colors.highlight('Claude Code') + colors.dim(
|
|
67
|
+
name: colors.highlight('Claude Code') + colors.dim(` (${t('llmRecommended')})`),
|
|
68
68
|
value: 'claude-code',
|
|
69
69
|
},
|
|
70
70
|
{
|
|
@@ -72,7 +72,7 @@ function getLLMQuestion() {
|
|
|
72
72
|
value: 'codex',
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
name: '
|
|
75
|
+
name: t('llmBoth'),
|
|
76
76
|
value: 'both',
|
|
77
77
|
},
|
|
78
78
|
],
|