pi-web-ui 0.31.0 → 0.34.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/bin/pi-web-ui.mjs +291 -2
- package/dist/server/agent-service.js +245 -126
- package/dist/server/client-state.js +29 -0
- package/dist/server/index.js +96 -48
- package/dist/server/model-admin.js +94 -0
- package/dist/server/plugins.js +368 -0
- package/dist/server/protocol-version.js +1 -1
- package/dist/server/settings-service.js +19 -0
- package/dist/server/terminals.js +485 -6
- package/package.json +96 -96
- package/themes/md-preview.css +7026 -6911
- package/themes/white.css +7087 -6972
- package/web/dist/assets/{TerminalPanel-CVOwLwwF.js → TerminalPanel-DXxlbXLf.js} +1 -1
- package/web/dist/assets/index-8y0w43os.css +10 -0
- package/web/dist/assets/index-CNrY4Azz.js +19 -0
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BYW5b0ZE.js +0 -19
- package/web/dist/assets/index-C9LigvHH.css +0 -10
package/package.json
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pi-web-ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Web chat interface for the pi coding agent, powered by the pi SDK (@earendil-works/pi-coding-agent) — one-command run, Docker/systemd/launchd deployable",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"bin": {
|
|
8
|
-
"pi-web-ui": "bin/pi-web-ui.mjs"
|
|
9
|
-
},
|
|
10
|
-
"main": "dist/server/index.js",
|
|
11
|
-
"files": [
|
|
12
|
-
"bin/",
|
|
13
|
-
"dist/",
|
|
14
|
-
"web/dist/",
|
|
15
|
-
"web/public/",
|
|
16
|
-
"themes/",
|
|
17
|
-
"deploy/",
|
|
18
|
-
"extensions/",
|
|
19
|
-
"README.md",
|
|
20
|
-
"LICENSE"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"pi",
|
|
24
|
-
"pi-package",
|
|
25
|
-
"coding-agent",
|
|
26
|
-
"ai",
|
|
27
|
-
"chat",
|
|
28
|
-
"web-ui",
|
|
29
|
-
"terminal",
|
|
30
|
-
"llm"
|
|
31
|
-
],
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/xing-shuyin/pi-web-ui.git"
|
|
35
|
-
},
|
|
36
|
-
"pi": {
|
|
37
|
-
"extensions": [
|
|
38
|
-
"./extensions"
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"engines": {
|
|
42
|
-
"node": ">=22.19.0"
|
|
43
|
-
},
|
|
44
|
-
"scripts": {
|
|
45
|
-
"prepublishOnly": "npm run build",
|
|
46
|
-
"dev": "concurrently -k -n server,web -c blue,green \"npm:dev:server\" \"npm:dev:web\"",
|
|
47
|
-
"dev:server": "cross-env PORT=8788 PI_WEB_ALLOW_ORIGINS=http://localhost:5173,http://127.0.0.1:5173 node --watch --import tsx server/index.ts",
|
|
48
|
-
"dev:web": "vite --config web/vite.config.ts",
|
|
49
|
-
"build": "npm run build:web && npm run build:server",
|
|
50
|
-
"build:web": "vite build --config web/vite.config.ts",
|
|
51
|
-
"build:server": "tsc -p tsconfig.server.json",
|
|
52
|
-
"typecheck": "tsc -p tsconfig.server.json --noEmit && tsc -p web/tsconfig.json --noEmit && tsc -p tsconfig.tests.json --noEmit",
|
|
53
|
-
"test": "vitest run",
|
|
54
|
-
"test:unit": "vitest run",
|
|
55
|
-
"test:smoke": "node tests/run-smoke.mjs",
|
|
56
|
-
"check:protocol": "node scripts/check-protocol-sync.mjs",
|
|
57
|
-
"test:freeze": "node tests/freeze-test.mjs",
|
|
58
|
-
"start": "node dist/server/index.js"
|
|
59
|
-
},
|
|
60
|
-
"dependencies": {
|
|
61
|
-
"@earendil-works/pi-coding-agent": "^0.84.2",
|
|
62
|
-
"@xterm/addon-fit": "^0.11.0",
|
|
63
|
-
"@xterm/xterm": "^6.0.0",
|
|
64
|
-
"compression": "^1.8.1",
|
|
65
|
-
"express": "^4.21.2",
|
|
66
|
-
"highlight.js": "^11.10.0",
|
|
67
|
-
"node-pty": "^1.1.0",
|
|
68
|
-
"react": "^18.3.1",
|
|
69
|
-
"react-dom": "^18.3.1",
|
|
70
|
-
"react-icons": "^5.7.0",
|
|
71
|
-
"react-markdown": "^9.0.1",
|
|
72
|
-
"rehype-highlight": "^7.0.1",
|
|
73
|
-
"remark-gfm": "^4.0.0",
|
|
74
|
-
"typebox": "^1.3.14",
|
|
75
|
-
"ws": "^8.18.0"
|
|
76
|
-
},
|
|
77
|
-
"devDependencies": {
|
|
78
|
-
"@types/compression": "^1.8.1",
|
|
79
|
-
"@types/express": "^4.17.21",
|
|
80
|
-
"@types/node": "^22.10.0",
|
|
81
|
-
"@types/react": "^18.3.12",
|
|
82
|
-
"@types/react-dom": "^18.3.1",
|
|
83
|
-
"@types/ws": "^8.5.13",
|
|
84
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
85
|
-
"concurrently": "^9.1.0",
|
|
86
|
-
"cross-env": "^10.1.0",
|
|
87
|
-
"playwright-core": "^1.62.1",
|
|
88
|
-
"tsx": "^4.19.2",
|
|
89
|
-
"typescript": "^5.7.2",
|
|
90
|
-
"vite": "^6.0.3",
|
|
91
|
-
"vitest": "^4.1.11"
|
|
92
|
-
},
|
|
93
|
-
"allowScripts": {
|
|
94
|
-
"node-pty@1.1.0": true
|
|
95
|
-
}
|
|
96
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pi-web-ui",
|
|
3
|
+
"version": "0.34.0",
|
|
4
|
+
"description": "Web chat interface for the pi coding agent, powered by the pi SDK (@earendil-works/pi-coding-agent) — one-command run, Docker/systemd/launchd deployable",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"pi-web-ui": "bin/pi-web-ui.mjs"
|
|
9
|
+
},
|
|
10
|
+
"main": "dist/server/index.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"bin/",
|
|
13
|
+
"dist/",
|
|
14
|
+
"web/dist/",
|
|
15
|
+
"web/public/",
|
|
16
|
+
"themes/",
|
|
17
|
+
"deploy/",
|
|
18
|
+
"extensions/",
|
|
19
|
+
"README.md",
|
|
20
|
+
"LICENSE"
|
|
21
|
+
],
|
|
22
|
+
"keywords": [
|
|
23
|
+
"pi",
|
|
24
|
+
"pi-package",
|
|
25
|
+
"coding-agent",
|
|
26
|
+
"ai",
|
|
27
|
+
"chat",
|
|
28
|
+
"web-ui",
|
|
29
|
+
"terminal",
|
|
30
|
+
"llm"
|
|
31
|
+
],
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/xing-shuyin/pi-web-ui.git"
|
|
35
|
+
},
|
|
36
|
+
"pi": {
|
|
37
|
+
"extensions": [
|
|
38
|
+
"./extensions"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=22.19.0"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prepublishOnly": "npm run build",
|
|
46
|
+
"dev": "concurrently -k -n server,web -c blue,green \"npm:dev:server\" \"npm:dev:web\"",
|
|
47
|
+
"dev:server": "cross-env PORT=8788 PI_WEB_ALLOW_ORIGINS=http://localhost:5173,http://127.0.0.1:5173 node --watch --import tsx server/index.ts",
|
|
48
|
+
"dev:web": "vite --config web/vite.config.ts",
|
|
49
|
+
"build": "npm run build:web && npm run build:server",
|
|
50
|
+
"build:web": "vite build --config web/vite.config.ts",
|
|
51
|
+
"build:server": "tsc -p tsconfig.server.json",
|
|
52
|
+
"typecheck": "tsc -p tsconfig.server.json --noEmit && tsc -p web/tsconfig.json --noEmit && tsc -p tsconfig.tests.json --noEmit",
|
|
53
|
+
"test": "vitest run",
|
|
54
|
+
"test:unit": "vitest run",
|
|
55
|
+
"test:smoke": "node tests/run-smoke.mjs",
|
|
56
|
+
"check:protocol": "node scripts/check-protocol-sync.mjs",
|
|
57
|
+
"test:freeze": "node tests/freeze-test.mjs",
|
|
58
|
+
"start": "node dist/server/index.js"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@earendil-works/pi-coding-agent": "^0.84.2",
|
|
62
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
63
|
+
"@xterm/xterm": "^6.0.0",
|
|
64
|
+
"compression": "^1.8.1",
|
|
65
|
+
"express": "^4.21.2",
|
|
66
|
+
"highlight.js": "^11.10.0",
|
|
67
|
+
"node-pty": "^1.1.0",
|
|
68
|
+
"react": "^18.3.1",
|
|
69
|
+
"react-dom": "^18.3.1",
|
|
70
|
+
"react-icons": "^5.7.0",
|
|
71
|
+
"react-markdown": "^9.0.1",
|
|
72
|
+
"rehype-highlight": "^7.0.1",
|
|
73
|
+
"remark-gfm": "^4.0.0",
|
|
74
|
+
"typebox": "^1.3.14",
|
|
75
|
+
"ws": "^8.18.0"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@types/compression": "^1.8.1",
|
|
79
|
+
"@types/express": "^4.17.21",
|
|
80
|
+
"@types/node": "^22.10.0",
|
|
81
|
+
"@types/react": "^18.3.12",
|
|
82
|
+
"@types/react-dom": "^18.3.1",
|
|
83
|
+
"@types/ws": "^8.5.13",
|
|
84
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
85
|
+
"concurrently": "^9.1.0",
|
|
86
|
+
"cross-env": "^10.1.0",
|
|
87
|
+
"playwright-core": "^1.62.1",
|
|
88
|
+
"tsx": "^4.19.2",
|
|
89
|
+
"typescript": "^5.7.2",
|
|
90
|
+
"vite": "^6.0.3",
|
|
91
|
+
"vitest": "^4.1.11"
|
|
92
|
+
},
|
|
93
|
+
"allowScripts": {
|
|
94
|
+
"node-pty@1.1.0": true
|
|
95
|
+
}
|
|
96
|
+
}
|