kooni-bot 0.3.2 → 0.3.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.
Files changed (2) hide show
  1. package/bin/kooni.js +2 -2
  2. package/package.json +1 -1
package/bin/kooni.js CHANGED
@@ -835,7 +835,7 @@ function collectAnswers(flags) {
835
835
 
836
836
  // Pregunta lo que falte, uno a uno. En interactivo muestra menús reales; en
837
837
  // no-interactivo (`--yes`/agente) usa defaults. `defaultDir` alimenta el slug.
838
- async function onboarding(rl, answers, defaultDir) {
838
+ async function onboarding(rl, answers, defaultDir, flags = {}) {
839
839
  console.log("\n " + C.dim(t().prep));
840
840
 
841
841
  if (!answers.slug) {
@@ -1450,7 +1450,7 @@ async function cmdInit(flags, rest) {
1450
1450
  // config
1451
1451
  console.log("\n " + C.cyan("◇ ") + C.b(t().runInit));
1452
1452
  const answers = collectAnswers(flags);
1453
- await onboarding(rl, answers, basename(dir));
1453
+ await onboarding(rl, answers, basename(dir), flags);
1454
1454
 
1455
1455
  const meta = stampWrangler(dir, answers, answers.uid);
1456
1456
  const kbToken = "kooni-reindex-" + randomUUID().replace(/-/g, "").slice(0, 12);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kooni-bot",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Kooni — instala tu asistente de IA multicanal (WhatsApp, Instagram, Messenger, Telegram) en TU Cloudflare, en un comando.",
5
5
  "license": "MIT",
6
6
  "type": "module",