paris-immersion 0.1.24 → 0.1.25

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/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import { tostudyLoginCommand } from './commands/tostudy-login.js';
14
14
  const program = new Command()
15
15
  .name('paris')
16
16
  .description('Paris Immersion — CLI do aluno (login, workspace, tarefas)')
17
- .version('0.1.24');
17
+ .version('0.1.25');
18
18
  program
19
19
  .command('login')
20
20
  .description('Autenticar com sua conta Paris (device-code OR --token direto)')
@@ -203,6 +203,18 @@ async function main() {
203
203
  }
204
204
  }
205
205
 
206
+ // #3: proativos do Sócio pendentes → injeta no contexto (servidor marca
207
+ // entregue ao ler). É assim que o coaching proativo chega ao terminal do aluno.
208
+ const pending = await apiGet(apiUrl, '/immersion-app/v1/socio/pending', creds.token)
209
+ if (pending && Array.isArray(pending.messages) && pending.messages.length > 0) {
210
+ lines.push('')
211
+ lines.push('## Mensagens do Sócio pra você (proativo)')
212
+ lines.push('Repasse isto ao aluno com naturalidade, no momento certo:')
213
+ for (const m of pending.messages) {
214
+ lines.push('- ' + String(m.content || '').split('\\n').join(' '))
215
+ }
216
+ }
217
+
206
218
  process.stdout.write(lines.join('\\n') + '\\n')
207
219
 
208
220
  if (PHASE === 'session-start') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "paris-immersion",
3
- "version": "0.1.24",
4
- "description": "Paris Immersion CLI — login, install workspace, status, task control. Para alunos das imersões da Paris Group.",
3
+ "version": "0.1.25",
4
+ "description": "Paris Immersion CLI \u2014 login, install workspace, status, task control. Para alunos das imers\u00f5es da Paris Group.",
5
5
  "homepage": "https://parisgroup.ai",
6
6
  "repository": {
7
7
  "type": "git",
@@ -13,7 +13,7 @@
13
13
  "paris-group",
14
14
  "paris-immersion",
15
15
  "cli",
16
- "imersão"
16
+ "imers\u00e3o"
17
17
  ],
18
18
  "type": "module",
19
19
  "bin": {