@rexvane/piweb 0.3.2 → 0.3.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/README.md +7 -13
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -39,27 +39,21 @@ npm install -g @rexvane/piweb
|
|
|
39
39
|
piweb
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
A global install prepares the production bundle once (during install, or on the first run if the script was skipped) and then starts in production mode. If that build fails, `piweb` reports it instead of falling back to a development server that cannot work without dev dependencies; retry with `npm rebuild -g @rexvane/piweb`. The package registers
|
|
42
|
+
A global install prepares the production bundle once (during install, or on the first run if the script was skipped) and then starts in production mode. If that build fails, `piweb` reports it instead of falling back to a development server that cannot work without dev dependencies; retry with `npm rebuild -g @rexvane/piweb`. The package registers only the `piweb` command, so it never conflicts with the official `pi` CLI (`npm i -g @earendil-works/pi-coding-agent`) if you have both.
|
|
43
43
|
|
|
44
44
|
### Inside this repository
|
|
45
45
|
|
|
46
|
-
You can launch PiWeb directly from your terminal using `pi web` (case-insensitive: `pi web`, `PI WEB`, `Pi Web`):
|
|
47
|
-
|
|
48
46
|
```bash
|
|
49
|
-
|
|
50
|
-
npm
|
|
51
|
-
|
|
52
|
-
# Launch anywhere in your terminal (case-insensitive)
|
|
53
|
-
pi web
|
|
47
|
+
npm install
|
|
48
|
+
npm run dev # development server with hot reload
|
|
54
49
|
```
|
|
55
50
|
|
|
56
|
-
|
|
51
|
+
Or run a production build locally:
|
|
57
52
|
|
|
58
53
|
```bash
|
|
59
|
-
|
|
60
|
-
npm run
|
|
61
|
-
#
|
|
62
|
-
npm start
|
|
54
|
+
npm install
|
|
55
|
+
npm run build # or: npm run build:release (staged, does not touch a running build)
|
|
56
|
+
npm start # serves on http://127.0.0.1:30141 (auto-increments if busy)
|
|
63
57
|
```
|
|
64
58
|
|
|
65
59
|
### CLI Options (`bin/piweb.js`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rexvane/piweb",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Modern web UI for the pi coding agent, driven by the official pi SDK without modifying pi",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"cli"
|
|
22
22
|
],
|
|
23
23
|
"bin": {
|
|
24
|
-
"pi": "bin/pi.js",
|
|
25
24
|
"piweb": "bin/piweb.js"
|
|
26
25
|
},
|
|
27
26
|
"files": [
|