@umastro12/mino 0.0.2 → 0.0.4-fix
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/README.md +3 -5
- package/bun.lock +0 -3
- package/package.json +1 -2
- package/src/commands/ask.ts +6 -1
- package/src/services/APIClient.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 💻 Mino — Personal Developer AI
|
|
1
|
+
# 💻 Mino — Personal Developer AI Assistant
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<img src="mino_banner.png" alt="Mino" width="300">
|
|
@@ -20,9 +20,7 @@ An AI Assistent that help developers directly into the terminal, with the power
|
|
|
20
20
|
### Quick Install
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
npm
|
|
24
|
-
Or...
|
|
25
|
-
bun add openmino
|
|
23
|
+
npm i @umastro12/mino
|
|
26
24
|
```
|
|
27
25
|
|
|
28
26
|
After installation, the `mino` command is available globally:
|
|
@@ -68,4 +66,4 @@ mino update install # - Install a avaialable update
|
|
|
68
66
|
---
|
|
69
67
|
|
|
70
68
|
<h3 align=center>Developed with ❤️ by OpenMino and Astro</h3>
|
|
71
|
-
<p align=center><strong>Version 0.0.
|
|
69
|
+
<p align=center><strong>Version 0.0.3 · 20+ Tests passing · 1 AI Model</strong></p>
|
package/bun.lock
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"boxen": "^8.0.1",
|
|
9
9
|
"chalk": "^5.6.2",
|
|
10
10
|
"commander": "^14.0.3",
|
|
11
|
-
"fs": "^0.0.1-security",
|
|
12
11
|
"groq-sdk": "^1.2.0",
|
|
13
12
|
"marked": "^18.0.3",
|
|
14
13
|
"marked-terminal": "^7.3.0",
|
|
@@ -67,8 +66,6 @@
|
|
|
67
66
|
|
|
68
67
|
"escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
|
|
69
68
|
|
|
70
|
-
"fs": ["fs@0.0.1-security", "", {}, "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="],
|
|
71
|
-
|
|
72
69
|
"get-caller-file": ["get-caller-file@2.0.5", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="],
|
|
73
70
|
|
|
74
71
|
"get-east-asian-width": ["get-east-asian-width@1.6.0", "", {}, "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA=="],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umastro12/mino",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4-fix",
|
|
4
4
|
"description": "An AI Assistant that help developers directly into the terminal",
|
|
5
5
|
"main": "dist/index.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"boxen": "^8.0.1",
|
|
24
24
|
"chalk": "^5.6.2",
|
|
25
25
|
"commander": "^14.0.3",
|
|
26
|
-
"fs": "^0.0.1-security",
|
|
27
26
|
"groq-sdk": "^1.2.0",
|
|
28
27
|
"marked": "^18.0.3",
|
|
29
28
|
"marked-terminal": "^7.3.0",
|
package/src/commands/ask.ts
CHANGED
|
@@ -13,7 +13,7 @@ export class AskCommand {
|
|
|
13
13
|
this.sysPrompt = systemPrompt;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
async startAskCommand(question: string) {
|
|
16
|
+
async startAskCommand(question: string, message: string) {
|
|
17
17
|
const messages = [
|
|
18
18
|
{ role: "system", content: this.sysPrompt },
|
|
19
19
|
{ role: "user", content: question },
|
|
@@ -21,5 +21,10 @@ export class AskCommand {
|
|
|
21
21
|
|
|
22
22
|
const spinner = new Spinner();
|
|
23
23
|
spinner.start("Thinking...");
|
|
24
|
+
|
|
25
|
+
if (message) {
|
|
26
|
+
spinner.stop();
|
|
27
|
+
return message;
|
|
28
|
+
}
|
|
24
29
|
}
|
|
25
30
|
}
|