kooni-bot 0.1.0 → 0.1.1
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/bin/kooni.js +3 -3
- package/package.json +25 -15
package/bin/kooni.js
CHANGED
|
@@ -103,7 +103,7 @@ function extractFresh(tgz, dir) {
|
|
|
103
103
|
}
|
|
104
104
|
rmSync(tmp, { recursive: true, force: true });
|
|
105
105
|
rmSync(tgz, { force: true });
|
|
106
|
-
writeFileSync(join(dir, ".kooni-version"), "cli-0.1.
|
|
106
|
+
writeFileSync(join(dir, ".kooni-version"), "cli-0.1.1");
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
function extractOver(tgz, dir) {
|
|
@@ -124,7 +124,7 @@ function extractOver(tgz, dir) {
|
|
|
124
124
|
}
|
|
125
125
|
rmSync(tmp, { recursive: true, force: true });
|
|
126
126
|
rmSync(tgz, { force: true });
|
|
127
|
-
writeFileSync(join(dir, ".kooni-version"), "cli-0.1.
|
|
127
|
+
writeFileSync(join(dir, ".kooni-version"), "cli-0.1.1");
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
function isKooni(dir) {
|
|
@@ -184,7 +184,7 @@ async function cmdUpdate() {
|
|
|
184
184
|
async function main() {
|
|
185
185
|
const cmd = process.argv[2] || "help";
|
|
186
186
|
if (cmd === "help" || cmd === "--help" || cmd === "-h") return help();
|
|
187
|
-
if (cmd === "version" || cmd === "--version" || cmd === "-v") { console.log("kooni-bot 0.1.
|
|
187
|
+
if (cmd === "version" || cmd === "--version" || cmd === "-v") { console.log("kooni-bot 0.1.1"); return; }
|
|
188
188
|
if (cmd === "init") return cmdInit();
|
|
189
189
|
if (cmd === "update") return cmdUpdate();
|
|
190
190
|
console.log(t(`comando desconocido: ${cmd}`, `unknown command: ${cmd}`));
|
package/package.json
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "kooni-bot",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Kooni — instala tu asistente de IA multicanal (WhatsApp, Instagram, Messenger, Telegram) en TU Cloudflare, en un comando.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"bin": {
|
|
8
|
-
"kooni-bot": "bin/kooni.js"
|
|
9
|
-
},
|
|
10
|
-
"engines": {
|
|
11
|
-
"node": ">=18"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "kooni-bot",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Kooni — instala tu asistente de IA multicanal (WhatsApp, Instagram, Messenger, Telegram) en TU Cloudflare, en un comando.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"kooni-bot": "bin/kooni.js"
|
|
9
|
+
},
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=18"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"chatbot",
|
|
15
|
+
"ai",
|
|
16
|
+
"whatsapp",
|
|
17
|
+
"instagram",
|
|
18
|
+
"telegram",
|
|
19
|
+
"cloudflare",
|
|
20
|
+
"kooni"
|
|
21
|
+
],
|
|
22
|
+
"files": [
|
|
23
|
+
"bin"
|
|
24
|
+
]
|
|
25
|
+
}
|