@tinkerlandai/longplay-cli 0.3.17 → 0.3.18

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.18 — 2026-11-06
4
+
5
+ - Update from `cdn.longplayai.com`. Installed CLIs on the website channel keep working after the public site and Console moved to their own hosts.
6
+ - Use `https://console.longplayai.com` in setup and login examples, and name the new host when a management service has moved.
7
+
3
8
  ## 0.3.17
4
9
 
5
10
  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.
package/README.md CHANGED
@@ -1,25 +1,25 @@
1
1
  # Longplay CLI
2
2
 
3
- Longplay CLI **0.3.17**, Node.js 22+. The executable is `longplay`. CLI versions are independent of the Customer SDKs.
3
+ Longplay CLI **0.3.18**, 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
 
7
7
  ```sh
8
8
  npm install -g @tinkerlandai/longplay-cli
9
9
  longplay --version
10
- longplay doctor --server https://longplayai.com --json
11
- longplay login --server https://longplayai.com
10
+ longplay doctor --server https://console.longplayai.com --json
11
+ longplay login --server https://console.longplayai.com
12
12
  ```
13
13
 
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.
14
+ For a reproducible installation, use `npm install -g @tinkerlandai/longplay-cli@0.3.18`. 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
 
18
18
  ```sh
19
- curl -fsSL https://longplayai.com/install.sh | sh
19
+ curl -fsSL https://cdn.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 releases under `~/.local/share/indiana/releases/`. Absolute `INDIANA_BIN_DIR` and `INDIANA_INSTALL_ROOT` overrides remain supported. Configuration and credentials are retained on upgrade.
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://cdn.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
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
 
@@ -55,7 +55,7 @@ Implemented remote command surfaces include `login`, `whoami`, `auth status`, `l
55
55
 
56
56
  Customer/Feature/Product management and Offering/Paywall/Funnel authoring now have connected scoped operations. Scoped balances, usage, ledger, billing controls, analytics and Sandbox Stripe refunds also use the original Console handlers. Organization governance, experimentation administration, profile images and compatible integration configuration use explicit layered grants. The generated catalog records connected operations individually; App Manifest/consent scope remains unconnected, browser-only previews stay unavailable, and Apple/Google provider configuration and native Product bindings remain deferred. Inspect the operation catalog for exact availability; it does not certify every provider/business branch.
57
57
 
58
- Production OAuth and the scoped business slice are deployed at `https://longplayai.com`; `https://dev.longplayai.com` remains the separate Indiana-test deployment. Credentials and native OAuth clients are origin-bound and cannot be shared between them. See production acceptance for exact verified coverage and remaining gaps.
58
+ The canonical Console targets are `https://console.longplayai.com` for Production and `https://console.dev.longplayai.com` for Indiana-test. Their OAuth registrations and deployment aliases must be cut over separately; source changes alone do not activate either host. Credentials and native OAuth clients are origin-bound and cannot be shared between environments.
59
59
 
60
60
  ## Layered consent
61
61
 
@@ -125,13 +125,13 @@ CLI **0.3.5** adds a CI surface using a dedicated App/environment API Key, indep
125
125
  In a Feature's **Code references** tab, configure a GitHub repository, target branches, workflow path, included/excluded paths and static function names. Create a Key with exactly `code-references:read` and `code-references:write`, bind it to that repository, and store its secret as `INDIANA_CODE_REFERENCES_KEY` in the merchant repository. The SDK setup dialog has a preset for these two permissions. No private-source access is granted to Longplay.
126
126
 
127
127
  ```sh
128
- longplay code-references scan --server https://dev.longplayai.com \
128
+ longplay code-references scan --server https://console.dev.longplayai.com \
129
129
  --app <app-uuid> --env sandbox --repository-id <repository-uuid> \
130
130
  --branch main --workflow .github/workflows/indiana-code-references.yml \
131
131
  --run-number 12 --run-attempt 1 --root . --out /tmp/new-report.json --upload --json
132
132
 
133
133
  # Recover an uncertain write with the exact saved input, scan ID and run sequence.
134
- longplay code-references upload --server https://dev.longplayai.com \
134
+ longplay code-references upload --server https://console.dev.longplayai.com \
135
135
  --app <app-uuid> --env sandbox --file /tmp/new-report.json --json
136
136
  ```
137
137
 
@@ -61,6 +61,9 @@ var errorReasonSchema = z.enum([
61
61
  "IDEMPOTENCY_CONFLICT",
62
62
  "RESULT_UNKNOWN",
63
63
  "STATE_CHANGED",
64
+ "IDENTITY_CONTEXT_CHANGED",
65
+ "CUSTOMER_BINDING_CONFLICT",
66
+ "RUN_CONTRACT_MISMATCH",
64
67
  "OPERATION_IN_PROGRESS",
65
68
  /** The pinned published Version uses a retired format and can no longer run; publish a new Version. */
66
69
  "FUNNEL_VERSION_RETIRED"
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readJsonFile,
3
3
  readJsonStream
4
- } from "./chunk-OQVCOXPB.js";
4
+ } from "./chunk-IS7R5ZK7.js";
5
5
  export {
6
6
  readJsonFile,
7
7
  readJsonStream