@versot/vaguspi 0.1.0
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/LICENSE +21 -0
- package/README.md +45 -0
- package/dist/bin.js +7657 -0
- package/dist/bin.js.map +7 -0
- package/extensions/mcp-extension.js +295 -0
- package/gui/assets/index-BC6qaWvB.js +26 -0
- package/gui/assets/index-CBwrpcqx.js +60 -0
- package/gui/assets/vendor-BtP0CW_r.js +32 -0
- package/gui/index.html +40 -0
- package/package.json +33 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 versot
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# @versot/vaguspi
|
|
2
|
+
|
|
3
|
+
A web frontend for the [pi coding agent](https://pi.dev). Launch the full
|
|
4
|
+
chat UI in your browser — no pi install required.
|
|
5
|
+
|
|
6
|
+
## Quick start
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
# Run without installing (recommended)
|
|
10
|
+
npx @versot/vaguspi web
|
|
11
|
+
|
|
12
|
+
# Or global install then run
|
|
13
|
+
npm install -g @versot/vaguspi
|
|
14
|
+
pi-web web
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Opens `http://127.0.0.1:19707/` with chat, session history, model config,
|
|
18
|
+
MCP servers, skills, and usage stats.
|
|
19
|
+
|
|
20
|
+
## Install as a pi package
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pi install npm:@versot/vaguspi
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Installs the web frontend into your pi package directory (`~/.pi/agent/npm/`)
|
|
27
|
+
and lists it on [pi.dev/packages](https://pi.dev/packages). Launch with:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx pi-web web
|
|
31
|
+
# or
|
|
32
|
+
~/.pi/agent/npm/@versot/vaguspi/dist/bin.js web
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## How it works
|
|
36
|
+
|
|
37
|
+
`pi-web` embeds the pi SDK in-process and reuses your existing `~/.pi/agent`
|
|
38
|
+
configuration — models, auth, packages, MCP servers, and sessions are shared
|
|
39
|
+
with the pi CLI. It never writes to your pi config; it just reads it.
|
|
40
|
+
|
|
41
|
+
## Built-in MCP
|
|
42
|
+
|
|
43
|
+
The web GUI includes MCP server management (设置 → MCP 服务器). Servers
|
|
44
|
+
configured in `~/.pi/agent/mcp.json` connect lazily in web sessions; servers
|
|
45
|
+
with `"enabled": false` cost zero context.
|