@lixiangtian/webbridge 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/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@lixiangtian/webbridge",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "tsx watch src/index.ts",
8
+ "start": "tsx src/index.ts",
9
+ "build": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/webbridge.bundle.mjs --external:node-pty --external:fsevents --banner:js=\"import { createRequire as __cr } from 'node:module'; globalThis.require = __cr(import.meta.url);\"",
10
+ "prepublishOnly": "npm run build",
11
+ "postinstall": "chmod +x node_modules/node-pty/prebuilds/*/spawn-helper || true"
12
+ },
13
+ "dependencies": {
14
+ "@earendil-works/pi-ai": "^0.84.4",
15
+ "@earendil-works/pi-coding-agent": "^0.84.4",
16
+ "node-pty": "^1.1.0",
17
+ "ws": "^8.18.0"
18
+ },
19
+ "devDependencies": {
20
+ "esbuild": "^0.28.2",
21
+ "tsx": "^4.19.0",
22
+ "typescript": "^5.9.3"
23
+ },
24
+ "description": "linglin webbridge - local AI/browser bridge daemon",
25
+ "bin": {
26
+ "webbridge": "./bin/webbridge.mjs"
27
+ },
28
+ "files": [
29
+ "bin",
30
+ "dist"
31
+ ],
32
+ "engines": {
33
+ "node": ">=22"
34
+ }
35
+ }