@stevezhou/sisu 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.
Files changed (2) hide show
  1. package/README.md +27 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,16 +6,39 @@ One login. Cloud quota. Local runtime. Auth lives in `~/.sisu`, shared with SiSu
6
6
 
7
7
  ## Install
8
8
 
9
+ macOS / Linux / WSL:
10
+
9
11
  ```bash
10
- npm install -g @stevezhou/sisu
11
- sisu --help
12
+ curl -fsSL https://www.sisu.chat/install.sh | bash
13
+ sisu login
14
+ sisu
15
+ ```
16
+
17
+ Windows PowerShell:
18
+
19
+ ```powershell
20
+ irm https://www.sisu.chat/install.ps1 | iex
12
21
  sisu login
13
22
  sisu
14
23
  ```
15
24
 
16
- Postinstall puts `sisu` on a PATH users actually have: `~/.local/bin` on Unix, `%LOCALAPPDATA%\sisu\bin` on Windows (wrappers that call npm's `sisu.cmd`, plus a Git Bash `sisu`). It also appends that Windows directory to the user PATH. If this shell still cannot see the command, it prints `export PATH=...` (Unix) or `set PATH=` / `$env:Path` (Windows). `npm install -g` is a small JS package. It also fetches the stamped SiSu TUI pager for **this package version** into `~/.sisu/bin` when a prebuilt exists. GitHub Release tags ship `darwin-arm64`, `linux-x64`, and `linux-arm64`. `darwin-x64` is opt-in (`workflow_dispatch` with `platforms` containing `darwin-x64`) and often missing; platforms without a binary, or a missing GitHub Release asset, keep the Node TUI.
25
+ Windows CMD:
26
+
27
+ ```bat
28
+ curl -fsSL https://www.sisu.chat/install.cmd -o install.cmd && install.cmd && del install.cmd
29
+ ```
30
+
31
+ The installer does **not** apt/brew/winget a system Node. If `node` ≥ 20 is already on PATH, it uses that. Otherwise it unpacks official Node 22 into `~/.sisu/node` (user-local, no sudo) and `npm install -g --prefix ~/.sisu @stevezhou/sisu`. Unix gets `~/.sisu/bin` plus a `~/.local/bin/sisu` link; Windows adds `~/.sisu` to the user PATH.
32
+
33
+ Already have Node 20+ and prefer npm:
34
+
35
+ ```bash
36
+ npm install -g @stevezhou/sisu
37
+ ```
38
+
39
+ Postinstall also puts `sisu` on a PATH users actually have: `~/.local/bin` on Unix, `%LOCALAPPDATA%\sisu\bin` on Windows (wrappers that call npm's `sisu.cmd`, plus a Git Bash `sisu`). If this shell still cannot see the command, it prints `export PATH=...` (Unix) or `set PATH=` / `$env:Path` (Windows). `npm install -g` is a small JS package. It also fetches the stamped SiSu TUI pager for **this package version** into `~/.sisu/bin` when a prebuilt exists. GitHub Release tags ship `darwin-arm64`, `linux-x64`, and `linux-arm64`. `darwin-x64` is opt-in (`workflow_dispatch` with `platforms` containing `darwin-x64`) and often missing; platforms without a binary, or a missing GitHub Release asset, keep the Node TUI.
17
40
 
18
- Requires Node.js 20 or newer. `npx sisu` works without a global install.
41
+ `npx sisu` works without a global install.
19
42
 
20
43
  `sisu update` reinstalls that stamped pager for the installed CLI version. It is not a grok-style background auto-updater.
21
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stevezhou/sisu",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "description": "SiSu CLI — 思溯 / SiSu · 思有所溯",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://www.sisu.chat",