rsrs-cli 1.0.21-dev.6 → 2.0.0-dev.6

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 (3) hide show
  1. package/README.md +12 -3
  2. package/bin/cli.js +14 -2
  3. package/package.json +7 -8
package/README.md CHANGED
@@ -85,7 +85,6 @@ retain their original layout and behavior.
85
85
  | --- | --- |
86
86
  | Linux x64, musl (default) | `@rsrsai/linux-x64` |
87
87
  | Linux x64, glibc | `@rsrsai/linux-x64-gnu` |
88
- | Linux ARM64, musl (default) | `@rsrsai/linux-arm64` |
89
88
  | Linux ARM64, glibc | `@rsrsai/linux-arm64-gnu` |
90
89
  | Apple Silicon | `@rsrsai/macos-arm64` |
91
90
  | Windows x64 | `@rsrsai/win-x64` |
@@ -100,8 +99,18 @@ Windows ARM64 is a DEV-first release candidate and requires a version that
100
99
  actually includes its complete package. Stable 1.0.15 and 1.0.16 omit it.
101
100
  See the [support matrix](../docs/platform-support.md) for validation status and blockers.
102
101
 
103
- `artifact-manifest.json` defines the seven current release targets and names. Intel macOS is deferred for CLI 1.0.21-dev.5: no Intel platform package, optional dependency or release asset is required. Historical Intel packages use `@rsrsai/macos-x64` and require macOS 13.4 or later; the launcher keeps that legacy mapping.
104
- Linux keeps the static musl package as its default. On a glibc distribution,
102
+ `artifact-manifest.json` defines the six current CLI release targets and names.
103
+ Linux ARM64 musl is temporarily unavailable for CLI 2.x DEV; no
104
+ `@rsrsai/linux-arm64` package or corresponding CLI asset is published.
105
+ Track [#272](https://github.com/risense-ai/respire-cli/issues/272).
106
+ The standalone Runtime retains its seven-platform, 21-asset inventory.
107
+ Intel macOS is also deferred; historical Intel packages use `@rsrsai/macos-x64`
108
+ and require macOS 13.4 or later.
109
+ Linux x64 keeps musl as its launcher default. For this release, ARM64 without
110
+ an explicit libc setting selects GNU only when Node reports a glibc host.
111
+ An ARM64 musl or unrecognized host is refused; it never silently selects GNU.
112
+ Historical packages that include ARM64 musl retain their musl default.
113
+ On a glibc distribution, GNU can also be selected explicitly;
105
114
  select the GNU build explicitly; the same choice applies to npm and pnpm:
106
115
 
107
116
  ```sh
package/bin/cli.js CHANGED
@@ -4,7 +4,8 @@
4
4
  const { spawnSync } = require('child_process');
5
5
  const path = require('path');
6
6
  const { existsSync, readFileSync } = require('fs');
7
- const version = require('../package.json').version;
7
+ const manifest = require('../package.json');
8
+ const version = manifest.version;
8
9
 
9
10
  const PKGS = {
10
11
  'linux-x64': '@rsrsai/linux-x64',
@@ -18,7 +19,13 @@ const PKGS = {
18
19
  const key = `${process.platform}-${process.arch}`;
19
20
  let pkg = PKGS[key];
20
21
  if (process.platform === 'linux') {
21
- const libc = process.env.RSRS_LIBC ?? process.env.ONEMEMORY_LIBC ?? process.env.RESPIRE_LIBC ?? 'musl';
22
+ const configuredLibc = process.env.RSRS_LIBC ?? process.env.ONEMEMORY_LIBC ?? process.env.RESPIRE_LIBC;
23
+ let libc = configuredLibc ?? 'musl';
24
+ if (configuredLibc === undefined && pkg === '@rsrsai/linux-arm64'
25
+ && manifest.optionalDependencies && !Object.prototype.hasOwnProperty.call(manifest.optionalDependencies, pkg)
26
+ && process.report?.getReport?.()?.header?.glibcVersionRuntime) {
27
+ libc = 'glibc';
28
+ }
22
29
  if (libc !== 'musl' && libc !== 'glibc') {
23
30
  console.error('rsrs: RSRS_LIBC must be musl or glibc.');
24
31
  process.exit(1);
@@ -29,6 +36,11 @@ if (!pkg) {
29
36
  console.error(`rsrs: unsupported platform ${key} (supported: ${Object.keys(PKGS).join(' ')})`);
30
37
  process.exit(1);
31
38
  }
39
+ if (pkg === '@rsrsai/linux-arm64' && manifest.optionalDependencies
40
+ && !Object.prototype.hasOwnProperty.call(manifest.optionalDependencies, pkg)) {
41
+ console.error(`rsrs: platform package ${pkg} is not published for ${version}. Linux ARM64 musl is deferred for CLI 2.x DEV: https://github.com/risense-ai/respire-cli/issues/272`);
42
+ process.exit(1);
43
+ }
32
44
 
33
45
  const exe = process.platform === 'win32' ? 'rsrs.exe' : 'rsrs';
34
46
  function resolveBin(pkgName, exeName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsrs-cli",
3
- "version": "1.0.21-dev.6",
3
+ "version": "2.0.0-dev.6",
4
4
  "description": "rsrs CLI — encrypted cross-device AI memory",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
@@ -20,12 +20,11 @@
20
20
  "node": ">=16"
21
21
  },
22
22
  "optionalDependencies": {
23
- "@rsrsai/linux-x64-gnu": "1.0.21-dev.6",
24
- "@rsrsai/linux-x64": "1.0.21-dev.6",
25
- "@rsrsai/linux-arm64-gnu": "1.0.21-dev.6",
26
- "@rsrsai/linux-arm64": "1.0.21-dev.6",
27
- "@rsrsai/macos-arm64": "1.0.21-dev.6",
28
- "@rsrsai/win-x64": "1.0.21-dev.6",
29
- "@rsrsai/win-arm64": "1.0.21-dev.6"
23
+ "@rsrsai/linux-x64-gnu": "2.0.0-dev.6",
24
+ "@rsrsai/linux-x64": "2.0.0-dev.6",
25
+ "@rsrsai/linux-arm64-gnu": "2.0.0-dev.6",
26
+ "@rsrsai/macos-arm64": "2.0.0-dev.6",
27
+ "@rsrsai/win-x64": "2.0.0-dev.6",
28
+ "@rsrsai/win-arm64": "2.0.0-dev.6"
30
29
  }
31
30
  }