@tinkerlandai/longplay-cli 0.3.16 → 0.3.17
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/CHANGELOG.md +4 -0
- package/README.md +4 -4
- package/dist/main.js +12 -13
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.17
|
|
4
|
+
|
|
5
|
+
Install only the `longplay` command. The curl installer retires its owned `indiana` alias after a successful installation while preserving unrelated commands, configuration and credentials. Previously published packages and archives remain immutable.
|
|
6
|
+
|
|
3
7
|
## 0.3.16 — 2026-10-31
|
|
4
8
|
|
|
5
9
|
- Use `@tinkerlandai/longplay-cli` and the `longplay` command for new installations. Retain the `indiana` alias, existing configuration, keychain sessions and website installation state; IAM tooling uses `@tinkerlandai/longplay-iam` and `longplay-iam` with its old alias retained.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Longplay CLI
|
|
2
2
|
|
|
3
|
-
Longplay CLI **0.3.
|
|
3
|
+
Longplay CLI **0.3.17**, Node.js 22+. The executable is `longplay`. CLI versions are independent of the Customer SDKs.
|
|
4
4
|
|
|
5
5
|
Install the public npm package:
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ longplay doctor --server https://longplayai.com --json
|
|
|
11
11
|
longplay login --server https://longplayai.com
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
For a reproducible installation, use `npm install -g @tinkerlandai/longplay-cli@0.3.
|
|
14
|
+
For a reproducible installation, use `npm install -g @tinkerlandai/longplay-cli@0.3.17`. Uninstall with `npm uninstall -g @tinkerlandai/longplay-cli`. Node.js 22+ must be on PATH; the package includes the `longplay` command and npm installs its runtime dependencies.
|
|
15
15
|
|
|
16
16
|
The existing website installation channel remains available on macOS and Linux:
|
|
17
17
|
|
|
@@ -19,9 +19,9 @@ The existing website installation channel remains available on macOS and Linux:
|
|
|
19
19
|
curl -fsSL https://longplayai.com/install.sh | sh
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
That channel uses six platform archives with dependencies included (macOS arm64/x64; Linux arm64/x64 glibc/musl), verifies SHA-256 and installs without npm or sudo. It has its own published version in [the website manifest](https://longplayai.com/downloads/cli/latest.json); an npm release does not deploy a new website archive. Its recommended executable is `~/.local/bin/longplay`, with
|
|
22
|
+
That channel uses six platform archives with dependencies included (macOS arm64/x64; Linux arm64/x64 glibc/musl), verifies SHA-256 and installs without npm or sudo. It has its own published version in [the website manifest](https://longplayai.com/downloads/cli/latest.json); an npm release does not deploy a new website archive. Its recommended executable is `~/.local/bin/longplay`, with releases under `~/.local/share/indiana/releases/`. Absolute `INDIANA_BIN_DIR` and `INDIANA_INSTALL_ROOT` overrides remain supported. Configuration and credentials are retained on upgrade.
|
|
23
23
|
|
|
24
|
-
The
|
|
24
|
+
The public package is `@tinkerlandai/longplay-cli` and installs only `longplay`. Existing configuration and keychain entries retain their internal names. The curl installer removes a former managed `indiana` alias only after the verified Longplay installation succeeds and leaves unrelated commands untouched. Historical published packages and archives remain immutable.
|
|
25
25
|
|
|
26
26
|
## Updates
|
|
27
27
|
|
package/dist/main.js
CHANGED
|
@@ -4101,7 +4101,7 @@ import { z as z8 } from "zod";
|
|
|
4101
4101
|
// ../contracts/src/growth-rules.ts
|
|
4102
4102
|
import { z as z7 } from "zod";
|
|
4103
4103
|
|
|
4104
|
-
//
|
|
4104
|
+
// ../../../../../node_modules/.pnpm/@noble+hashes@2.4.0/node_modules/@noble/hashes/_u64.js
|
|
4105
4105
|
var fromNumH = (n) => n / 2 ** 32 | 0;
|
|
4106
4106
|
var fromNumL = (n) => n >>> 0;
|
|
4107
4107
|
function setU64FromNum(view, byteOffset, n, isLE) {
|
|
@@ -4111,7 +4111,7 @@ function setU64FromNum(view, byteOffset, n, isLE) {
|
|
|
4111
4111
|
view.setUint32(byteOffset + 4, isLE ? h : l, isLE);
|
|
4112
4112
|
}
|
|
4113
4113
|
|
|
4114
|
-
//
|
|
4114
|
+
// ../../../../../node_modules/.pnpm/@noble+hashes@2.4.0/node_modules/@noble/hashes/utils.js
|
|
4115
4115
|
function isBytes(a) {
|
|
4116
4116
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array" && "BYTES_PER_ELEMENT" in a && a.BYTES_PER_ELEMENT === 1;
|
|
4117
4117
|
}
|
|
@@ -4213,7 +4213,7 @@ var oidNist = (suffix) => ({
|
|
|
4213
4213
|
oid: Uint8Array.from([6, 9, 96, 134, 72, 1, 101, 3, 4, 2, suffix])
|
|
4214
4214
|
});
|
|
4215
4215
|
|
|
4216
|
-
//
|
|
4216
|
+
// ../../../../../node_modules/.pnpm/@noble+hashes@2.4.0/node_modules/@noble/hashes/_md.js
|
|
4217
4217
|
function Chi(a, b, c) {
|
|
4218
4218
|
return a & b ^ ~a & c;
|
|
4219
4219
|
}
|
|
@@ -4326,7 +4326,7 @@ var SHA256_IV = /* @__PURE__ */ Uint32Array.from([
|
|
|
4326
4326
|
1541459225
|
|
4327
4327
|
]);
|
|
4328
4328
|
|
|
4329
|
-
//
|
|
4329
|
+
// ../../../../../node_modules/.pnpm/@noble+hashes@2.4.0/node_modules/@noble/hashes/sha2.js
|
|
4330
4330
|
var SHA256_K = /* @__PURE__ */ Uint32Array.from([
|
|
4331
4331
|
1116352408,
|
|
4332
4332
|
1899447441,
|
|
@@ -5720,7 +5720,7 @@ function managementOperationPolicy(operation2, input) {
|
|
|
5720
5720
|
// package.json
|
|
5721
5721
|
var package_default = {
|
|
5722
5722
|
name: "@indiana/cli",
|
|
5723
|
-
version: "0.3.
|
|
5723
|
+
version: "0.3.17",
|
|
5724
5724
|
private: true,
|
|
5725
5725
|
description: "Longplay management CLI",
|
|
5726
5726
|
type: "module",
|
|
@@ -5728,8 +5728,7 @@ var package_default = {
|
|
|
5728
5728
|
node: ">=22"
|
|
5729
5729
|
},
|
|
5730
5730
|
bin: {
|
|
5731
|
-
longplay: "./dist/main.js"
|
|
5732
|
-
indiana: "./dist/main.js"
|
|
5731
|
+
longplay: "./dist/main.js"
|
|
5733
5732
|
},
|
|
5734
5733
|
files: [
|
|
5735
5734
|
"dist",
|
|
@@ -20977,7 +20976,7 @@ var sha2562 = z112.string().regex(/^[a-f0-9]{64}$/);
|
|
|
20977
20976
|
var releaseSchema = z112.object({
|
|
20978
20977
|
schemaVersion: z112.literal(1),
|
|
20979
20978
|
name: z112.literal("@indiana/cli"),
|
|
20980
|
-
executable: z112.
|
|
20979
|
+
executable: z112.literal("longplay"),
|
|
20981
20980
|
version,
|
|
20982
20981
|
node: z112.string().regex(/^>=\d{1,3}$/),
|
|
20983
20982
|
url: z112.string(),
|
|
@@ -21101,15 +21100,15 @@ async function detectInstallation(entryPoint = fileURLToPath(import.meta.url)) {
|
|
|
21101
21100
|
"releases",
|
|
21102
21101
|
`${r.version}-${r.target}-${r.sha256}`
|
|
21103
21102
|
)
|
|
21104
|
-
).catch(() => "") || await realpath2(join5(r.binDir, "
|
|
21103
|
+
).catch(() => "") || await realpath2(join5(r.binDir, "longplay")) !== entry2)
|
|
21105
21104
|
return invalidRelease();
|
|
21106
21105
|
return { method: "curl", binDir: r.binDir, installRoot: r.installRoot };
|
|
21107
21106
|
}
|
|
21108
21107
|
let prefix;
|
|
21109
|
-
if (packageRoot === join5(root, "lib/node_modules", packageName) && await realpath2(join5(root, "bin/
|
|
21108
|
+
if (packageRoot === join5(root, "lib/node_modules", packageName) && await realpath2(join5(root, "bin/longplay")).catch(() => "") === entry2)
|
|
21110
21109
|
prefix = root;
|
|
21111
21110
|
const windowsPrefix = resolve4(packageRoot, "../../..");
|
|
21112
|
-
if (process.platform === "win32" && packageRoot === join5(windowsPrefix, "node_modules", packageName) && (await lstat6(join5(windowsPrefix, "
|
|
21111
|
+
if (process.platform === "win32" && packageRoot === join5(windowsPrefix, "node_modules", packageName) && (await lstat6(join5(windowsPrefix, "longplay.cmd")).catch(() => void 0))?.isFile())
|
|
21113
21112
|
prefix = windowsPrefix;
|
|
21114
21113
|
if (prefix)
|
|
21115
21114
|
return {
|
|
@@ -21282,7 +21281,7 @@ async function updateCli(options = {}) {
|
|
|
21282
21281
|
{ env, timeout: 18e4, maxBuffer: 1024 * 1024 }
|
|
21283
21282
|
);
|
|
21284
21283
|
}
|
|
21285
|
-
const binary = installation.method === "curl" ? join5(installation.binDir, "
|
|
21284
|
+
const binary = installation.method === "curl" ? join5(installation.binDir, "longplay") : join5(
|
|
21286
21285
|
installation.prefix,
|
|
21287
21286
|
process.platform === "win32" ? `node_modules/${installation.packageName ?? cliWebsitePackage}/dist/main.js` : `lib/node_modules/${installation.packageName ?? cliWebsitePackage}/dist/main.js`
|
|
21288
21287
|
);
|
|
@@ -21347,7 +21346,7 @@ async function notifyUpdate(options) {
|
|
|
21347
21346
|
z112.object({
|
|
21348
21347
|
schemaVersion: z112.literal(1),
|
|
21349
21348
|
name: z112.literal(cliNpmPackage),
|
|
21350
|
-
executable: z112.
|
|
21349
|
+
executable: z112.literal("longplay"),
|
|
21351
21350
|
version,
|
|
21352
21351
|
node: z112.string().regex(/^>=\d{1,3}$/),
|
|
21353
21352
|
url: z112.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinkerlandai/longplay-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "Longplay management CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"node": ">=22"
|
|
9
9
|
},
|
|
10
10
|
"bin": {
|
|
11
|
-
"longplay": "./dist/main.js"
|
|
12
|
-
"indiana": "./dist/main.js"
|
|
11
|
+
"longplay": "./dist/main.js"
|
|
13
12
|
},
|
|
14
13
|
"files": [
|
|
15
14
|
"dist",
|