@farthershore/cli 0.40.0 → 0.41.0
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 +6 -0
- package/README.md +11 -8
- package/dist/index.js +14 -20
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to the `farthershore` CLI are documented here. The CLI
|
|
|
4
4
|
versions independently from the SDKs. Pre-1.0: minor versions may include
|
|
5
5
|
breaking changes. Releases before 0.35.0 are recorded only in the git history.
|
|
6
6
|
|
|
7
|
+
## [0.41.0] - 2026-11-09
|
|
8
|
+
|
|
9
|
+
- **Breaking:** `business rollback` now sends `publishId` and reads
|
|
10
|
+
`rollbackPublishId` from the response; the publish receipt names the same
|
|
11
|
+
id `publishId`. Requires the matching platform release.
|
|
12
|
+
|
|
7
13
|
## [0.40.0] - 2026-11-06
|
|
8
14
|
|
|
9
15
|
- **Breaking:** Organization deletion, ownership transfer and Stripe disconnection now direct callers to the dashboard. Business deletion is available only to the stage CLI; human-only methods are removed from code mode and the API client.
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Create and operate [FartherShore](https://farthershore.com) software businesses
|
|
4
4
|
from the terminal.
|
|
5
5
|
|
|
6
|
-
**Status: `0.
|
|
6
|
+
**Status: `0.41.0`.** Pre-1.0 — the command surface is stable but may still
|
|
7
7
|
change between minor versions. Pin an exact version in CI.
|
|
8
8
|
|
|
9
9
|
FartherShore lets you define a software business as code, then sells, meters,
|
|
@@ -20,13 +20,13 @@ takes `--format json` for non-interactive scripting.
|
|
|
20
20
|
## Install
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
npm install -g @farthershore/cli@0.
|
|
23
|
+
npm install -g @farthershore/cli@0.41.0
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Or run it directly with npx:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx -p @farthershore/cli@0.
|
|
29
|
+
npx -p @farthershore/cli@0.41.0 farthershore --help
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## Authentication
|
|
@@ -349,8 +349,11 @@ farthershore business update weather-api \
|
|
|
349
349
|
|
|
350
350
|
`business publish` enforces the same go-live gates as the dashboard and returns
|
|
351
351
|
stable remediation errors when a prerequisite is missing.
|
|
352
|
-
`business rollback` enqueues a rollback of
|
|
353
|
-
and requires the exact `business:rollback` permission.
|
|
352
|
+
`business rollback` takes a `publishId` and enqueues a rollback of that prior publish
|
|
353
|
+
and requires the exact `business:rollback` permission. The async management publish receipt returns
|
|
354
|
+
`publishId`; its publish-status response returns the same value as
|
|
355
|
+
`execution.id`. Pass that value unchanged. The rollback receipt returns
|
|
356
|
+
`rollbackPublishId` for the newly queued rollback.
|
|
354
357
|
|
|
355
358
|
`business rbac` reads a business's Managed-RBAC state — the platform-owned
|
|
356
359
|
`rbacEnabled` flag. `business rbac enable` / `disable` toggle that flag (like
|
|
@@ -824,18 +827,18 @@ Use `--all-plans` to clear plan scoping.
|
|
|
824
827
|
Install or refresh the platform-verified skills bundle together. The platform
|
|
825
828
|
pins this immutable release, and CI plus a daily repository check compare it to
|
|
826
829
|
GitHub's latest stable release so the guidance cannot silently drift.
|
|
827
|
-
This command requires `@farthershore/cli` 0.
|
|
830
|
+
This command requires `@farthershore/cli` 0.41.0 or newer.
|
|
828
831
|
|
|
829
832
|
```bash
|
|
830
833
|
set -euo pipefail
|
|
831
834
|
CLI_VERSION=$(farthershore --version)
|
|
832
|
-
printf '%s' "$CLI_VERSION" | node -e 'let v=""; process.stdin.on("data", c => v += c).on("end", () => { const m = /^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(?:\+[0-9A-Za-z.-]+)?$/.exec(v.trim()); if (!m || !(+m[1] > 0 || +m[2] >
|
|
835
|
+
printf '%s' "$CLI_VERSION" | node -e 'let v=""; process.stdin.on("data", c => v += c).on("end", () => { const m = /^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(?:\+[0-9A-Za-z.-]+)?$/.exec(v.trim()); if (!m || !(+m[1] > 0 || +m[2] > 41 || (+m[2] === 41 && +m[3] >= 0))) { console.error("Stop: CLI 0.41.0 or newer is required; ask the human to upgrade."); process.exitCode = 1; } })'
|
|
833
836
|
farthershore skills install --help
|
|
834
837
|
farthershore skills install
|
|
835
838
|
```
|
|
836
839
|
|
|
837
840
|
If either prerequisite fails, stop and ask the human to run
|
|
838
|
-
`npm install -g @farthershore/cli@0.
|
|
841
|
+
`npm install -g @farthershore/cli@0.41.0`, then repeat the checks.
|
|
839
842
|
Do not install or upgrade global tooling autonomously.
|
|
840
843
|
|
|
841
844
|
The Farther Shore CLI downloads the exact installer archive and verifies this
|