pi-web 0.0.3 → 0.0.4
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 +41 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# pi-web
|
|
2
|
+
|
|
3
|
+
A web UI for the [pi coding agent](https://github.com/badlogic/pi-mono).
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx -y pi-web@latest
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Then open [http://localhost:3100](http://localhost:3100) in your browser.
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
--port <number> Port to listen on (default: 3100, env: PORT)
|
|
19
|
+
--host <string> Host to bind to (default: localhost, env: HOST)
|
|
20
|
+
--help Show help
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
- Browse and switch between pi sessions grouped by working directory
|
|
26
|
+
- Stream assistant responses in real time
|
|
27
|
+
- Collapsible tool call details with input/output
|
|
28
|
+
- Queue prompts while the agent is responding
|
|
29
|
+
- Switch provider and model from the status bar
|
|
30
|
+
- Mobile-friendly layout
|
|
31
|
+
|
|
32
|
+
## Development
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
git clone https://github.com/ravshansbox/pi-web
|
|
36
|
+
cd pi-web
|
|
37
|
+
npm install
|
|
38
|
+
npm run dev
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Requires Node.js 22+.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Web UI for the pi coding agent",
|
|
6
6
|
"bin": {
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"dist",
|
|
12
12
|
"server.js",
|
|
13
13
|
"rpc.js",
|
|
14
|
-
"sessions.js"
|
|
14
|
+
"sessions.js",
|
|
15
|
+
"README.md"
|
|
15
16
|
],
|
|
16
17
|
"scripts": {
|
|
17
18
|
"dev": "concurrently \"vite\" \"node --watch --experimental-strip-types server.ts\"",
|