@gishubperu/ghp 0.0.2 β†’ 0.0.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.
package/index.js CHANGED
@@ -18,7 +18,7 @@ const args = process.argv.slice(2);
18
18
 
19
19
  if (args.includes('--help') || args.includes('-h')) {
20
20
  console.log(`
21
- 🧠 Chakra Yachay β€” GHP Multi-Agent System
21
+ 🧠 GHP β€” Multi-Agent System
22
22
 
23
23
  USO:
24
24
  ghp Inicia la interfaz interactiva
@@ -27,15 +27,18 @@ if (args.includes('--help') || args.includes('-h')) {
27
27
  ghp --version VersiΓ³n
28
28
 
29
29
  ATAJOS EN LA INTERFAZ:
30
- Tab Cambiar agente (Auto / GIS / Code / Data / Reasoning)
31
- ctrl+k Selector de modelo
30
+ Tab Cambiar modelo de IA
31
+ ctrl+k Selector de modelo (tambiΓ©n /model)
32
32
  /model Selector de modelo
33
33
  /auto Modo automΓ‘tico
34
34
  /clear Borrar memoria de sesiΓ³n
35
35
  /history Últimas conversaciones
36
+ /help Mostrar ayuda
36
37
  Esc Cancelar / Salir
37
38
  /exit Salir
38
- `);
39
+
40
+ Desarrollado por Gishub S.A.C β€” gishub.pe
41
+ `);
39
42
  process.exit(0);
40
43
  }
41
44
 
@@ -28,7 +28,7 @@ export const AgentConfig = Object.freeze({
28
28
  [AgentType.DEFORESTATION]: {
29
29
  id: AgentType.DEFORESTATION,
30
30
  label: 'DeforestaciΓ³n',
31
- description: 'PermitirΓ‘ crear reportes de deforestaciΓ³n de las Γ‘reas de cultivo (PPA) con la plataforma de OpenForis',
31
+ description: 'PermitirΓ‘ crear reportes de deforestaciΓ³n de las Γ‘reas de cultivo (PPA) con la plataforma Whisp de OpenForis',
32
32
  color: 'magenta',
33
33
  taskType: 'gis',
34
34
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gishubperu/ghp",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "GHP CLI - Multi-Agent",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -54,15 +54,15 @@ function Spinner({ label }) {
54
54
  }
55
55
 
56
56
 
57
- // ── Logo ASCII ────────────────────────────────────────────────────────────────
58
- const LOGO = [
59
- ' β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ•—',
60
- 'β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘',
61
- 'β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘',
62
- 'β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘',
63
- 'β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘',
64
- ' β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•',
65
- ];
57
+ // ── Logo ASCII ────────────────────────────────────────────────────────────────
58
+ const LOGO = [
59
+ ' β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ•—',
60
+ 'β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘',
61
+ 'β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘',
62
+ 'β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘',
63
+ 'β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘',
64
+ ' β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•',
65
+ ];
66
66
 
67
67
  // ── Mensaje ───────────────────────────────────────────────────────────────────
68
68
  function Msg({ msg }) {
@@ -261,16 +261,19 @@ export function App({ orchestrator, router, memory }) {
261
261
  es.forEach(e => addMsg({ role: 'system', text: `[${e.timestamp.slice(0,16).replace('T',' ')}] ${e.input.slice(0,70)}` }));
262
262
  return;
263
263
  }
264
- if (text === '/help') {
265
- addMsg({ role: 'system', text:
266
- '/model β†’ selector de modelo\n' +
267
- '/auto β†’ modo automΓ‘tico\n' +
268
- '/clear β†’ borrar memoria\n' +
269
- '/history β†’ ΓΊltimas conversaciones\n' +
270
- '/exit β†’ salir'
271
- });
272
- return;
273
- }
264
+ if (text === '/help') {
265
+ addMsg({ role: 'system', text:
266
+ 'ATAJOS:\n' +
267
+ ' Tab β†’ Cambiar modelo de IA\n' +
268
+ ' /model β†’ Selector de modelo\n' +
269
+ ' /auto β†’ Modo automΓ‘tico\n' +
270
+ ' /clear β†’ Borrar memoria\n' +
271
+ ' /history β†’ Últimas conversaciones\n' +
272
+ ' /exit β†’ Salir\n\n' +
273
+ 'Desarrollado por Gishub S.A.C β€” gishub.pe'
274
+ });
275
+ return;
276
+ }
274
277
 
275
278
  addMsg({ role: 'user', text });
276
279
  setMode('thinking');
@@ -373,8 +376,8 @@ export function App({ orchestrator, router, memory }) {
373
376
  React.createElement(Text, { color: 'green', bold: true }, `${freeModelCount} free models `),
374
377
  React.createElement(Text, { color: 'gray' }, `${availableModels.length} total GHP Gateway ${APP_NAME} v${APP_VERSION}`)
375
378
  ),
376
- // Agent pills β€” Tab para cambiar
377
- React.createElement(Box, { marginTop: 2, gap: 1 },
379
+ // Model pills β€” Tab para cambiar
380
+ React.createElement(Box, { marginTop: 2, gap: 1 },
378
381
  ...AGENT_LIST.map((a, i) =>
379
382
  React.createElement(Text, {
380
383
  key: a.id,
@@ -389,10 +392,16 @@ export function App({ orchestrator, router, memory }) {
389
392
  React.createElement(Text, { color: 'gray', italic: true },
390
393
  AGENT_LIST[agentIndex].description)
391
394
  ),
392
- React.createElement(Box, { marginTop: 0 },
393
- React.createElement(Text, { color: 'gray', dimColor: true },
394
- 'tab para cambiar agente')
395
- )
395
+ React.createElement(Box, { marginTop: 0 },
396
+ React.createElement(Text, { color: 'gray', dimColor: true },
397
+ 'tab para cambiar modelo | /model para ver todos | /help para ayuda')
398
+ ),
399
+ React.createElement(Box, { marginTop: 2 },
400
+ React.createElement(Text, { color: 'cyan' }, 'Desarrollado por Gishub S.A.C ')
401
+ ),
402
+ React.createElement(Box, { marginTop: 0 },
403
+ React.createElement(Text, { color: 'gray', bold: true }, 'https://gishub.pe')
404
+ )
396
405
  ),
397
406
 
398
407
  // Mensajes