@averyyy/pi-client 0.80.3-piclient.3 → 0.80.3
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/package.json +2 -3
- package/README.md +0 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@averyyy/pi-client",
|
|
3
|
-
"version": "0.80.3
|
|
3
|
+
"version": "0.80.3",
|
|
4
4
|
"description": "Lightweight CLI wrapper that connects to a pi-server instance",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piClient": {
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"bin",
|
|
18
|
-
"README.md",
|
|
19
18
|
"CHANGELOG.md"
|
|
20
19
|
],
|
|
21
20
|
"scripts": {
|
|
@@ -25,7 +24,7 @@
|
|
|
25
24
|
"prepublishOnly": "npm run build"
|
|
26
25
|
},
|
|
27
26
|
"dependencies": {
|
|
28
|
-
"@earendil-works/pi-coding-agent": "
|
|
27
|
+
"@earendil-works/pi-coding-agent": "0.80.3",
|
|
29
28
|
"@jmfederico/pi-web": "1.202606.7"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
package/README.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# @averyyy/pi-client
|
|
2
|
-
|
|
3
|
-
Client CLI for connecting Pi to a `pi-server` instance.
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm i -g @averyyy/pi-client
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Use
|
|
12
|
-
|
|
13
|
-
Connect to the hosted server:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
PI_SERVER_URL=https://pi.yreva.asia pi-client
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Send one prompt and exit:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
PI_SERVER_URL=https://pi.yreva.asia pi-client -p "Say exactly: ok"
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Start the browser UI:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
PI_SERVER_URL=https://pi.yreva.asia pi-client web
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
The web UI listens on `http://127.0.0.1:1838` by default.
|
|
32
|
-
|
|
33
|
-
## Server Auth
|
|
34
|
-
|
|
35
|
-
If your server uses an auth token, set it on the client:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
PI_SERVER_AUTH_TOKEN=your-token PI_SERVER_URL=http://127.0.0.1:4217 pi-client
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Related Package
|
|
42
|
-
|
|
43
|
-
Install the server separately:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
npm i -g @averyyy/pi-server
|
|
47
|
-
```
|