bimmo-cli 4.0.1 → 4.0.2
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/package.json +11 -3
- package/src/interface.js +6 -1
package/package.json
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bimmo-cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "🌿 Plataforma de IA universal profissional com interface React (Ink) pura.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"bimmo": "bin/bimmo"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
9
|
"keywords": [
|
|
10
|
-
"ai",
|
|
10
|
+
"ai",
|
|
11
|
+
"cli",
|
|
12
|
+
"ink",
|
|
13
|
+
"react",
|
|
14
|
+
"openai",
|
|
15
|
+
"anthropic",
|
|
16
|
+
"gemini",
|
|
17
|
+
"agent",
|
|
18
|
+
"swarm",
|
|
19
|
+
"terminal"
|
|
11
20
|
],
|
|
12
21
|
"author": "Judah",
|
|
13
22
|
"license": "MIT",
|
|
@@ -44,7 +53,6 @@
|
|
|
44
53
|
"figlet": "^1.7.0",
|
|
45
54
|
"fuzzy": "^0.1.3",
|
|
46
55
|
"ink": "^5.1.0",
|
|
47
|
-
"ink-divider": "^3.0.0",
|
|
48
56
|
"ink-spinner": "^5.0.0",
|
|
49
57
|
"ink-text-input": "^6.0.0",
|
|
50
58
|
"inquirer": "^9.3.8",
|
package/src/interface.js
CHANGED
|
@@ -2,7 +2,6 @@ import React, { useState, useEffect, useMemo } from 'react';
|
|
|
2
2
|
import { render, Box, Text, useInput, useApp, Static } from 'ink';
|
|
3
3
|
import TextInput from 'ink-text-input';
|
|
4
4
|
import Spinner from 'ink-spinner';
|
|
5
|
-
import Divider from 'ink-divider';
|
|
6
5
|
import chalk from 'chalk';
|
|
7
6
|
import figlet from 'figlet';
|
|
8
7
|
import { marked } from 'marked';
|
|
@@ -49,6 +48,12 @@ const h = React.createElement;
|
|
|
49
48
|
|
|
50
49
|
// --- COMPONENTES ---
|
|
51
50
|
|
|
51
|
+
const Divider = ({ borderColor = THEME.border }) => (
|
|
52
|
+
h(Box, { paddingY: 0 },
|
|
53
|
+
h(Text, { color: borderColor }, '─'.repeat(process.stdout.columns || 50))
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
|
|
52
57
|
const Header = ({ config }) => (
|
|
53
58
|
h(Box, { flexDirection: 'column', marginBottom: 1 },
|
|
54
59
|
h(Text, { color: THEME.lavender, bold: true }, figlet.textSync('bimmo', { font: 'Small' })),
|