@farthershore/cli 0.33.0 → 0.33.2

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/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.33.0`.** Pre-1.0 — the command surface is stable but may still
6
+ **Status: `0.33.2`.** 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,
@@ -21,19 +21,19 @@ the explicitly agent-operable subset of the CLI surface.
21
21
  ## Install
22
22
 
23
23
  ```bash
24
- npm install -g @farthershore/cli@0.33.0
24
+ npm install -g @farthershore/cli@0.33.2
25
25
  ```
26
26
 
27
27
  Or run it directly with npx:
28
28
 
29
29
  ```bash
30
- npx -p @farthershore/cli@0.33.0 farthershore --help
30
+ npx -p @farthershore/cli@0.33.2 farthershore --help
31
31
  ```
32
32
 
33
33
  The package also ships an MCP stdio server for agents:
34
34
 
35
35
  ```bash
36
- npx -p @farthershore/cli@0.33.0 farthershore-mcp
36
+ npx -p @farthershore/cli@0.33.2 farthershore-mcp
37
37
  ```
38
38
 
39
39
  ## Authentication
@@ -682,15 +682,20 @@ Use `--all-plans` to clear plan scoping.
682
682
  Install or refresh the platform-verified skills bundle together. The platform
683
683
  pins this immutable release, and CI plus a daily repository check compare it to
684
684
  GitHub's latest stable release so the guidance cannot silently drift.
685
- This command requires `@farthershore/cli` 0.33.0 or newer.
685
+ This command requires `@farthershore/cli` 0.33.2 or newer.
686
686
 
687
687
  ```bash
688
+ set -euo pipefail
689
+ CLI_VERSION=$(farthershore --version)
690
+ 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] > 33 || (+m[2] === 33 && +m[3] >= 2))) { console.error("Stop: CLI 0.33.2 or newer is required; ask the human to upgrade."); process.exitCode = 1; } })'
688
691
  farthershore skills install --help
689
- # If the command is unavailable, upgrade to the required CLI release:
690
- npm install -g @farthershore/cli@0.33.0
691
692
  farthershore skills install
692
693
  ```
693
694
 
695
+ If either prerequisite fails, stop and ask the human to run
696
+ `npm install -g @farthershore/cli@0.33.2`, then repeat the checks.
697
+ Do not install or upgrade global tooling autonomously.
698
+
694
699
  The Farther Shore CLI downloads the exact installer archive and verifies this
695
700
  SHA-512 before it extracts or executes any installer code.
696
701