@mmmbuto/nexuscli 0.7.9 → 0.8.0

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.
package/README.md CHANGED
@@ -28,7 +28,7 @@ NexusCLI is a lightweight AI cockpit (Termux-first) to orchestrate Claude Code,
28
28
 
29
29
  ---
30
30
 
31
- ## Highlights (v0.7.9)
31
+ ## Highlights (v0.8.0)
32
32
 
33
33
  - Multi-engine: Claude, Codex, Gemini
34
34
  - Native resume: same engine resumes the session; switching engines uses handoff with summary/history
package/lib/cli/model.js CHANGED
@@ -17,8 +17,8 @@ const {
17
17
 
18
18
  async function modelCommand(modelId) {
19
19
  if (!isInitialized()) {
20
- console.log(chalk.red('NexusCLI non è inizializzato.'));
21
- console.log(chalk.yellow('Esegui prima: nexuscli init'));
20
+ console.log(chalk.red('NexusCLI is not initialized.'));
21
+ console.log(chalk.yellow('Run first: nexuscli init'));
22
22
  return;
23
23
  }
24
24
 
@@ -26,7 +26,7 @@ async function modelCommand(modelId) {
26
26
  const allModels = getAllModels();
27
27
 
28
28
  const printAvailableModels = () => {
29
- console.log(chalk.bold('\nModelli disponibili:'));
29
+ console.log(chalk.bold('\nAvailable models:'));
30
30
  for (const [key, cli] of Object.entries(cliTools)) {
31
31
  console.log(chalk.dim(`${cli.name}:`));
32
32
  for (const model of cli.models || []) {
@@ -56,7 +56,7 @@ async function modelCommand(modelId) {
56
56
  }
57
57
 
58
58
  if (!isValidModelId(modelId)) {
59
- console.log(chalk.red(`✗ Modello non valido: ${modelId}`));
59
+ console.log(chalk.red(`✗ Invalid model: ${modelId}`));
60
60
  printAvailableModels();
61
61
  process.exitCode = 1;
62
62
  return;
@@ -62,22 +62,22 @@ async function uninstallCommand(options) {
62
62
  const bootExists = fs.existsSync(BOOT_SCRIPT);
63
63
 
64
64
  if (!dataExists && !bootExists) {
65
- console.log(chalk.yellow('Nessun dato NexusCLI trovato.'));
65
+ console.log(chalk.yellow('No NexusCLI data found.'));
66
66
  console.log('');
67
- console.log('Per rimuovere il pacchetto npm, esegui:');
67
+ console.log('To remove the npm package, run:');
68
68
  console.log(chalk.cyan(' npm uninstall -g @mmmbuto/nexuscli'));
69
69
  console.log('');
70
70
  return;
71
71
  }
72
72
 
73
73
  // Show what will be affected
74
- console.log(chalk.white.bold('Dati trovati:'));
74
+ console.log(chalk.white.bold('Data found:'));
75
75
  console.log('');
76
76
 
77
77
  if (dataExists) {
78
78
  const dataSize = getDirSize(DATA_DIR);
79
79
  console.log(chalk.cyan(` 📁 ${DATA_DIR}`));
80
- console.log(chalk.gray(` Dimensione: ${formatSize(dataSize)}`));
80
+ console.log(chalk.gray(` Size: ${formatSize(dataSize)}`));
81
81
 
82
82
  // List contents
83
83
  const contents = fs.readdirSync(DATA_DIR);
@@ -93,57 +93,57 @@ async function uninstallCommand(options) {
93
93
 
94
94
  if (bootExists) {
95
95
  console.log(chalk.cyan(` 🚀 ${BOOT_SCRIPT}`));
96
- console.log(chalk.gray(' Script avvio automatico Termux'));
96
+ console.log(chalk.gray(' Termux auto-start script'));
97
97
  console.log('');
98
98
  }
99
99
 
100
100
  // Stop server if running
101
- console.log(chalk.yellow('Arresto server in corso...'));
101
+ console.log(chalk.yellow('Stopping server...'));
102
102
  try {
103
103
  execSync('pkill -f "node.*nexuscli" 2>/dev/null || true', { stdio: 'ignore' });
104
- console.log(chalk.green('✓ Server arrestato'));
104
+ console.log(chalk.green('✓ Server stopped'));
105
105
  } catch (e) {
106
- console.log(chalk.gray(' Server non in esecuzione'));
106
+ console.log(chalk.gray(' Server not running'));
107
107
  }
108
108
  console.log('');
109
109
 
110
110
  // Ask what to do
111
- console.log(chalk.white.bold('Cosa vuoi fare?'));
111
+ console.log(chalk.white.bold('Choose an option:'));
112
112
  console.log('');
113
- console.log(chalk.cyan(' 1)') + ' Rimuovi TUTTO (dati + configurazione + boot script)');
114
- console.log(chalk.cyan(' 2)') + ' Mantieni i dati (solo rimuovi boot script)');
115
- console.log(chalk.cyan(' 3)') + ' Annulla');
113
+ console.log(chalk.cyan(' 1)') + ' Remove EVERYTHING (data + configuration + boot script)');
114
+ console.log(chalk.cyan(' 2)') + ' Keep data (remove only boot script)');
115
+ console.log(chalk.cyan(' 3)') + ' Cancel');
116
116
  console.log('');
117
117
 
118
- const choice = await prompt(chalk.yellow('Scelta [1/2/3]: '));
118
+ const choice = await prompt(chalk.yellow('Choice [1/2/3]: '));
119
119
 
120
120
  if (choice === '3' || choice === 'n' || choice === 'no' || choice === '') {
121
121
  console.log('');
122
- console.log(chalk.green('Operazione annullata.'));
122
+ console.log(chalk.green('Operation cancelled.'));
123
123
  return;
124
124
  }
125
125
 
126
126
  if (choice === '1') {
127
127
  // Remove everything
128
128
  console.log('');
129
- const confirm = await prompt(chalk.red.bold('⚠️ ATTENZIONE: Tutti i dati saranno eliminati! Confermi? [s/N]: '));
129
+ const confirm = await prompt(chalk.red.bold('⚠️ WARNING: All data will be deleted! Confirm? [y/N]: '));
130
130
 
131
131
  if (confirm !== 's' && confirm !== 'si' && confirm !== 'y' && confirm !== 'yes') {
132
132
  console.log('');
133
- console.log(chalk.green('Operazione annullata.'));
133
+ console.log(chalk.green('Operation cancelled.'));
134
134
  return;
135
135
  }
136
136
 
137
137
  console.log('');
138
- console.log(chalk.yellow('Rimozione in corso...'));
138
+ console.log(chalk.yellow('Removing...'));
139
139
 
140
140
  // Remove boot script
141
141
  if (bootExists) {
142
142
  try {
143
143
  fs.unlinkSync(BOOT_SCRIPT);
144
- console.log(chalk.green(`✓ Rimosso ${BOOT_SCRIPT}`));
144
+ console.log(chalk.green(`✓ Removed ${BOOT_SCRIPT}`));
145
145
  } catch (e) {
146
- console.log(chalk.red(`✗ Errore rimozione boot script: ${e.message}`));
146
+ console.log(chalk.red(`✗ Failed to remove boot script: ${e.message}`));
147
147
  }
148
148
  }
149
149
 
@@ -151,14 +151,14 @@ async function uninstallCommand(options) {
151
151
  if (dataExists) {
152
152
  try {
153
153
  fs.rmSync(DATA_DIR, { recursive: true, force: true });
154
- console.log(chalk.green(`✓ Rimosso ${DATA_DIR}`));
154
+ console.log(chalk.green(`✓ Removed ${DATA_DIR}`));
155
155
  } catch (e) {
156
- console.log(chalk.red(`✗ Errore rimozione dati: ${e.message}`));
156
+ console.log(chalk.red(`✗ Failed to remove data: ${e.message}`));
157
157
  }
158
158
  }
159
159
 
160
160
  console.log('');
161
- console.log(chalk.green.bold('✓ Pulizia completata!'));
161
+ console.log(chalk.green.bold('✓ Cleanup complete!'));
162
162
 
163
163
  } else if (choice === '2') {
164
164
  // Keep data, only remove boot script
@@ -167,25 +167,25 @@ async function uninstallCommand(options) {
167
167
  if (bootExists) {
168
168
  try {
169
169
  fs.unlinkSync(BOOT_SCRIPT);
170
- console.log(chalk.green(`✓ Rimosso ${BOOT_SCRIPT}`));
170
+ console.log(chalk.green(`✓ Removed ${BOOT_SCRIPT}`));
171
171
  } catch (e) {
172
- console.log(chalk.red(`✗ Errore rimozione boot script: ${e.message}`));
172
+ console.log(chalk.red(`✗ Failed to remove boot script: ${e.message}`));
173
173
  }
174
174
  }
175
175
 
176
176
  console.log('');
177
- console.log(chalk.green.bold('✓ Boot script rimosso'));
178
- console.log(chalk.cyan(` I tuoi dati sono stati mantenuti in: ${DATA_DIR}`));
179
- console.log(chalk.gray(' Reinstallando NexusCLI, ritroverai le tue configurazioni.'));
177
+ console.log(chalk.green.bold('✓ Boot script removed'));
178
+ console.log(chalk.cyan(` Your data remains in: ${DATA_DIR}`));
179
+ console.log(chalk.gray(' Reinstalling NexusCLI will restore your configuration.'));
180
180
 
181
181
  } else {
182
182
  console.log('');
183
- console.log(chalk.red('Scelta non valida. Operazione annullata.'));
183
+ console.log(chalk.red('Invalid choice. Operation cancelled.'));
184
184
  return;
185
185
  }
186
186
 
187
187
  console.log('');
188
- console.log(chalk.white.bold('Per completare la disinstallazione, esegui:'));
188
+ console.log(chalk.white.bold('To finish uninstalling, run:'));
189
189
  console.log('');
190
190
  console.log(chalk.cyan(' npm uninstall -g @mmmbuto/nexuscli'));
191
191
  console.log('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmmbuto/nexuscli",
3
- "version": "0.7.9",
3
+ "version": "0.8.0",
4
4
  "description": "NexusCLI - TRI CLI Control Plane (Claude/Codex/Gemini)",
5
5
  "main": "lib/server/server.js",
6
6
  "bin": {