arisa 2.3.7 → 2.3.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": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "Arisa - dynamic agent runtime with daemon/core architecture that evolves through user interaction",
5
5
  "preferGlobal": true,
6
6
  "bin": {
@@ -12,6 +12,12 @@
12
12
  * @effects Network (Telegram, HTTP servers), spawns Core process
13
13
  */
14
14
 
15
+ // Log version at startup
16
+ import { readFileSync } from "fs";
17
+ import { join, dirname } from "path";
18
+ const pkgPath = join(dirname(new URL(import.meta.url).pathname), "..", "package.json");
19
+ try { const pkg = JSON.parse(readFileSync(pkgPath, "utf8")); console.log(`Arisa v${pkg.version}`); } catch {}
20
+
15
21
  // Setup runs first — no config dependency, writes .env if needed
16
22
  import { runSetup } from "./setup";
17
23
  const ready = await runSetup();