terminal-smart-cli 0.78.0 → 0.79.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.
Files changed (2) hide show
  1. package/bin/ts.js +7 -0
  2. package/package.json +1 -1
package/bin/ts.js CHANGED
@@ -517,6 +517,13 @@ async function chatRepl() {
517
517
  const _pp = require('path'), _oo = require('os'), _ff = require('fs');
518
518
  let agentCwd = process.cwd();
519
519
  console.log(' ' + C.dim((cfg.lang === 'en' ? 'working folder: ' : 'pasta de trabalho: ') + agentCwd) + C.dim(cfg.lang === 'en' ? ' · cd <folder> to change' : ' · cd <pasta> pra trocar') + '\n');
520
+ // `ts --continuar`: avisa que a PRÓXIMA mensagem retoma a sessão anterior desta pasta
521
+ // (o agentCmd lê --continuar do argv e carrega o histórico). REPL interativo → não cai no shell.
522
+ if (process.argv.includes('--continuar') || process.argv.includes('-c')) {
523
+ console.log(' ' + C.cyan('↻ ') + C.dim(cfg.lang === 'en'
524
+ ? 'continue mode — your next message resumes this folder\'s previous session.'
525
+ : 'modo continuar — sua próxima mensagem retoma a sessão anterior desta pasta.') + '\n');
526
+ }
520
527
 
521
528
  for (;;) {
522
529
  const raw = await ask1(prompt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-smart-cli",
3
- "version": "0.78.0",
3
+ "version": "0.79.0",
4
4
  "description": "Terminal Smart no seu terminal — pergunte, analise logs por pipe e orquestre agentes de IA. Comando: ts",
5
5
  "bin": {
6
6
  "ts": "bin/ts.js"