@apart-tech/apart-intelligence 1.1.1 → 1.1.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/package.json +6 -3
  2. package/postinstall.mjs +29 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apart-tech/apart-intelligence",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Apart Intelligence — the knowledge graph CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,11 +8,13 @@
8
8
  },
9
9
  "files": [
10
10
  "dist",
11
- "skills"
11
+ "skills",
12
+ "postinstall.mjs"
12
13
  ],
13
14
  "publishConfig": {
14
15
  "access": "public"
15
16
  },
17
+ "funding": false,
16
18
  "dependencies": {
17
19
  "@prisma/client": "^6.6.0",
18
20
  "@prisma/extension-accelerate": "^3.0.1",
@@ -33,6 +35,7 @@
33
35
  "build": "tsc",
34
36
  "dev": "tsc --watch",
35
37
  "lint": "tsc --noEmit",
36
- "test": "vitest run"
38
+ "test": "vitest run",
39
+ "postinstall": "node postinstall.mjs"
37
40
  }
38
41
  }
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env node
2
+
3
+ // Branded post-install message for Apart Intelligence CLI.
4
+ // Plain JS so it runs without a build step.
5
+
6
+ const dim = (s) => `\x1b[2m${s}\x1b[0m`;
7
+ const bold = (s) => `\x1b[1m${s}\x1b[0m`;
8
+ const cyan = (s) => `\x1b[36m${s}\x1b[0m`;
9
+ const green = (s) => `\x1b[32m${s}\x1b[0m`;
10
+
11
+ const logo = [
12
+ "",
13
+ cyan(" ╭─────────────────────────────╮"),
14
+ cyan(" │") + bold(" Apart Intelligence ◆ AI ") + cyan("│"),
15
+ cyan(" ╰─────────────────────────────╯"),
16
+ "",
17
+ ` ${green("✔")} Installed successfully`,
18
+ "",
19
+ ` Get started:`,
20
+ ` ${bold("ai login")} ${dim("Authenticate with your server")}`,
21
+ ` ${bold("ai init")} ${dim("Initialize a new knowledge graph")}`,
22
+ ` ${bold("ai status")} ${dim("Check your graph at a glance")}`,
23
+ ` ${bold("ai --help")} ${dim("See all commands")}`,
24
+ "",
25
+ dim(" https://apartintelligence.com"),
26
+ "",
27
+ ];
28
+
29
+ console.log(logo.join("\n"));