@lorehq/cli 0.1.19 → 0.1.21

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lorehq/cli",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "Lore CLI — agentic coding, unified",
5
5
  "bin": {
6
6
  "lore": "bin/lore.js"
@@ -9,12 +9,12 @@
9
9
  "postinstall": "node scripts/postinstall.js"
10
10
  },
11
11
  "optionalDependencies": {
12
- "@lorehq/cli-linux-x64": "0.1.19",
13
- "@lorehq/cli-linux-arm64": "0.1.19",
14
- "@lorehq/cli-darwin-x64": "0.1.19",
15
- "@lorehq/cli-darwin-arm64": "0.1.19",
16
- "@lorehq/cli-win32-x64": "0.1.19",
17
- "@lorehq/cli-win32-arm64": "0.1.19"
12
+ "@lorehq/cli-linux-x64": "0.1.21",
13
+ "@lorehq/cli-linux-arm64": "0.1.21",
14
+ "@lorehq/cli-darwin-x64": "0.1.21",
15
+ "@lorehq/cli-darwin-arm64": "0.1.21",
16
+ "@lorehq/cli-win32-x64": "0.1.21",
17
+ "@lorehq/cli-win32-arm64": "0.1.21"
18
18
  },
19
19
  "keywords": ["lore", "cli", "agent", "ai", "harness", "coding-agent"],
20
20
  "license": "Apache-2.0",
@@ -8,6 +8,15 @@ const { execSync } = require("child_process");
8
8
  const sudoUser = process.env.SUDO_USER;
9
9
  const isRoot = process.getuid && process.getuid() === 0;
10
10
 
11
+ const logo = `
12
+ _
13
+ | |
14
+ | | ___ _ __ ___
15
+ | |/ _ \\| '__/ _ \\
16
+ | | (_) | | | __/
17
+ |_|\\___/|_| \\___|
18
+ `;
19
+
11
20
  function run(cmd) {
12
21
  if (isRoot && sudoUser) {
13
22
  execSync(`su - ${sudoUser} -c "${cmd}"`, { stdio: "pipe", timeout: 30000 });
@@ -17,11 +26,18 @@ function run(cmd) {
17
26
  }
18
27
 
19
28
  try {
29
+ console.log(logo);
30
+
20
31
  // Bootstrap ~/.config/lore/ — dirs, harness seeds, examples
32
+ process.stdout.write(" Setting up...");
21
33
  run("lore version");
34
+ process.stdout.write(" done.\n");
22
35
 
23
36
  // Install default bundle (lore-os)
37
+ process.stdout.write(" Installing lore-os...");
24
38
  run("lore bundle install lore-os --url https://github.com/lorehq/lore-os.git");
39
+ process.stdout.write(" done.\n\n");
25
40
  } catch (e) {
26
41
  // Binary not yet in PATH during install — will bootstrap on first user command
42
+ console.log("");
27
43
  }