@reason-machines/cli 0.2.60 → 0.2.62

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/bin/ara.exe CHANGED
@@ -1,3 +1,3 @@
1
- echo "Ara's native binary was not installed." >&2
1
+ echo "Reason's native binary was not installed." >&2
2
2
  echo "Reinstall with npm, or run: bun install -g --trust @reason-machines/cli" >&2
3
3
  exit 1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@reason-machines/cli",
3
- "version": "0.2.60",
4
- "description": "Reason CLI for coding-agent setup and the optional Ara Device worker",
3
+ "version": "0.2.62",
4
+ "description": "Reason Machines CLI for sessions, coding agents, and optional local device work",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "reason": "bin/ara.exe",
@@ -9,7 +9,10 @@
9
9
  },
10
10
  "files": [
11
11
  "bin",
12
- "postinstall.mjs"
12
+ "postinstall.mjs",
13
+ "README.md",
14
+ "LICENSE",
15
+ "THIRD_PARTY_NOTICES.txt"
13
16
  ],
14
17
  "scripts": {
15
18
  "postinstall": "node ./postinstall.mjs || bun ./postinstall.mjs"
@@ -18,24 +21,25 @@
18
21
  "node": ">=18"
19
22
  },
20
23
  "optionalDependencies": {
21
- "@reason-machines/cli-darwin-arm64": "0.2.60",
22
- "@reason-machines/cli-darwin-x64": "0.2.60",
23
- "@reason-machines/cli-linux-arm64": "0.2.60",
24
- "@reason-machines/cli-linux-arm64-musl": "0.2.60",
25
- "@reason-machines/cli-linux-x64": "0.2.60",
26
- "@reason-machines/cli-linux-x64-musl": "0.2.60",
27
- "@reason-machines/cli-win32-arm64": "0.2.60",
28
- "@reason-machines/cli-win32-x64": "0.2.60"
24
+ "@reason-machines/cli-darwin-arm64": "0.2.62",
25
+ "@reason-machines/cli-darwin-x64": "0.2.62",
26
+ "@reason-machines/cli-linux-arm64": "0.2.62",
27
+ "@reason-machines/cli-linux-arm64-musl": "0.2.62",
28
+ "@reason-machines/cli-linux-x64": "0.2.62",
29
+ "@reason-machines/cli-linux-x64-musl": "0.2.62",
30
+ "@reason-machines/cli-win32-arm64": "0.2.62",
31
+ "@reason-machines/cli-win32-x64": "0.2.62"
29
32
  },
30
33
  "publishConfig": {
31
34
  "access": "public",
32
35
  "provenance": false
33
36
  },
34
- "homepage": "https://reasonmachines.ai",
37
+ "homepage": "https://reasonmachines.com",
35
38
  "bugs": {
36
- "url": "https://reasonmachines.ai/contact"
39
+ "url": "https://reasonmachines.com/contact"
37
40
  },
38
- "license": "UNLICENSED",
41
+ "license": "SEE LICENSE IN LICENSE",
42
+ "keywords": ["reason-machines", "cli", "coding-agent"],
39
43
  "repository": {
40
44
  "type": "git",
41
45
  "url": "git+https://github.com/reason-machines/monorepo.git"
package/postinstall.mjs CHANGED
@@ -16,23 +16,7 @@ const suffix = `${process.platform}-${process.arch}${linuxLibc()}`;
16
16
  const executableName = process.platform === "win32" ? "ara.exe" : "ara";
17
17
  const credentialLibraryName = "libara_device_keychain.dylib";
18
18
 
19
- function resolvePackageName() {
20
- const candidates = [
21
- `@reason-machines/cli-${suffix}`,
22
- `@ara-so/cli-${suffix}`,
23
- ];
24
- for (const candidate of candidates) {
25
- try {
26
- require.resolve(`${candidate}/bin/${executableName}`);
27
- return candidate;
28
- } catch {
29
- // Try next candidate.
30
- }
31
- }
32
- return candidates[0];
33
- }
34
-
35
- const packageName = resolvePackageName();
19
+ const packageName = `@reason-machines/cli-${suffix}`;
36
20
 
37
21
  try {
38
22
  const source = require.resolve(`${packageName}/bin/${executableName}`);
@@ -87,6 +71,6 @@ try {
87
71
  }
88
72
  } catch (error) {
89
73
  const detail = error instanceof Error ? error.message : String(error);
90
- process.stderr.write(`Ara could not install its ${suffix} binary: ${detail}\n`);
74
+ process.stderr.write(`Reason could not install its ${suffix} binary: ${detail}\n`);
91
75
  process.exit(1);
92
76
  }