laohuang 0.8.4 → 0.8.6
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 +24 -2
- package/dist/bin.js +1134 -786
- package/dist/bin.js.map +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,25 @@ A minimal coding-agent CLI for local software work.
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Recommended standalone install (bundled Node.js; Bash required):
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
curl -fsSL https://github.com/hxr223/laoHuangCode/releases/latest/download/install.sh | sh
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
On Windows, install Git for Windows first, then run in PowerShell:
|
|
14
|
+
|
|
15
|
+
```powershell
|
|
16
|
+
irm https://github.com/hxr223/laoHuangCode/releases/latest/download/install.ps1 | iex
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The installer verifies the download and startup, then configures the user PATH.
|
|
20
|
+
Open a new terminal or apply the PATH command printed by the installer.
|
|
21
|
+
Standalone packages target macOS, glibc Linux and Windows on x64 and ARM64.
|
|
22
|
+
See [installation details](https://github.com/hxr223/laoHuangCode/blob/main/INSTALLING.md).
|
|
23
|
+
|
|
24
|
+
Alternatively, install with npm (Node.js >=22.19.0 and Bash required; npm's
|
|
25
|
+
global executable directory must already be on PATH):
|
|
8
26
|
|
|
9
27
|
```bash
|
|
10
28
|
npm install -g laohuang
|
|
@@ -38,7 +56,11 @@ If no models are available, the CLI points to `/login`.
|
|
|
38
56
|
directly, and `/apikey` remains a compatibility alias. Switching models affects
|
|
39
57
|
only the current session, not the default profile.
|
|
40
58
|
|
|
41
|
-
`laohuang update`
|
|
59
|
+
For standalone installations, `laohuang update` reruns the bundled installer
|
|
60
|
+
against the latest GitHub release, verifies it before switching the launcher,
|
|
61
|
+
and retains the previous version. Restart laohuang after updating.
|
|
62
|
+
|
|
63
|
+
For npm installations, `laohuang update` updates the running installation to the latest stable
|
|
42
64
|
release and verifies its installed version. Restart the CLI after updating.
|
|
43
65
|
It supports global npm installations and direct project or workspace npm
|
|
44
66
|
dependencies; local updates change the owning manifest and lockfile while
|