arisa 4.0.6 → 4.0.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arisa",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "description": "Telegram + Pi Agent modular assistant",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -6,6 +6,15 @@ import { createPiOAuthLogin } from "../core/agent/pi-auth-login.js";
6
6
  import { createPiRuntime, hasProviderAuth, listPiProviders, listProviderModels, supportsProviderOAuth } from "../core/agent/pi-runtime.js";
7
7
  import { configFile, ensureArisaHome } from "./paths.js";
8
8
 
9
+ const ARISA_BANNER = [
10
+ " █████╗ ██████╗ ██╗███████╗ █████╗ ",
11
+ "██╔══██╗██╔══██╗██║██╔════╝██╔══██╗",
12
+ "███████║██████╔╝██║███████╗███████║",
13
+ "██╔══██║██╔══██╗██║╚════██║██╔══██║",
14
+ "██║ ██║██║ ██║██║███████║██║ ██║",
15
+ "╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚══════╝╚═╝ ╚═╝"
16
+ ].join("\n");
17
+
9
18
  async function exists(file) {
10
19
  try {
11
20
  await readFile(file, "utf8");
@@ -282,9 +291,10 @@ export async function bootstrapIfNeeded({ force = false, cliConfigOverrides = {}
282
291
  return value || fallback;
283
292
  };
284
293
 
285
- console.log("\n== Arisa bootstrap ==\n");
286
- console.log("Telegram bot token tip: get it from https://t.me/BotFather");
287
- const telegramApiKey = await ask("Telegram API key / bot token");
294
+ console.log(`\n${ARISA_BANNER}`);
295
+ console.log("-------- https://arisa.sh --------\n");
296
+ console.log("Get Telegram bot token from https://t.me/BotFather");
297
+ const telegramApiKey = await ask("Telegram bot token");
288
298
  const telegramMaxChatIds = Number(await ask("Maximum authorized chat IDs", "1"));
289
299
 
290
300
  const runtime = createPiRuntime();