primocode 4.2.1 → 4.2.3

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 (2) hide show
  1. package/bin/primocode.js +4 -4
  2. package/package.json +1 -1
package/bin/primocode.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * PrimoCode v4.1 — Cliente Multi-Agente (Cross-Platform)
3
+ * PrimoCode v4.2 — Cliente Multi-Agente (Cross-Platform)
4
4
  * Primo Code: Engenharia completa com pipeline oculto de 5 agentes
5
5
  * Chat: Conversa direta
6
6
  *
@@ -248,7 +248,7 @@ async function handleSlash(line) {
248
248
  console.log(c.muted(' Conversa limpa'));
249
249
  return;
250
250
  case '/version':
251
- console.log(c.muted(` PrimoCode v4.1 — Cross-Platform`));
251
+ console.log(c.muted(` PrimoCode v4.2 — Cross-Platform`));
252
252
  console.log(c.muted(` Servidor: ${state.config.server}`));
253
253
  return;
254
254
  case '/status': {
@@ -424,7 +424,7 @@ async function runOneShot(argv) {
424
424
  else if (a === '--chat' || a === '-c') mode = 'Chat';
425
425
  else if (a === '--attach' || a === '-f') attach.push(args[++i]);
426
426
  else if (a === '--help' || a === '-h') { printCliHelp(); process.exit(0); }
427
- else if (a === '--version' || a === '-v') { console.log('PrimoCode v4.1 — Windows | macOS | Linux | Termux'); process.exit(0); }
427
+ else if (a === '--version' || a === '-v') { console.log('PrimoCode v4.2 — Windows | macOS | Linux | Termux'); process.exit(0); }
428
428
  else if (a === '--server') state.config.server = args[++i];
429
429
  else prompt.push(a);
430
430
  }
@@ -546,7 +546,7 @@ function startInteractive() {
546
546
  const helpFlag = flags.some(a => a === '-h' || a === '--help');
547
547
  const versionFlag = flags.some(a => a === '-v' || a === '--version');
548
548
  if (helpFlag) { printCliHelp(); process.exit(0); }
549
- if (versionFlag) { console.log('PrimoCode v4.1 — Windows | macOS | Linux | Termux'); process.exit(0); }
549
+ if (versionFlag) { console.log('PrimoCode v4.2 — Windows | macOS | Linux | Termux'); process.exit(0); }
550
550
  if (hasPrompt) { await runOneShot(process.argv); process.exit(0); }
551
551
  startInteractive();
552
552
  })().catch((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primocode",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "description": "PrimoCode v4.1 \u2014 assistente de engenharia com IA multi-agente. Funciona em Windows, macOS, Linux e Termux (Android).",
5
5
  "main": "bin/primocode.js",
6
6
  "bin": {