@dsh-remote/relay 0.0.0-stage → 3.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 CHANGED
@@ -1,6 +1,60 @@
1
1
  {
2
2
  "name": "@dsh-remote/relay",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "3.1.0",
4
+ "description": "DSH Remote Control 的零知识 WebSocket 中继:只做路由,不碰载荷明文。可自托管的单文件产物。",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "dsh-remote",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/dsh-remote/relay.git"
11
+ },
12
+ "homepage": "https://github.com/dsh-remote/relay#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/dsh-remote/relay/issues"
15
+ },
16
+ "keywords": [
17
+ "dsh",
18
+ "deepseek-harness",
19
+ "remote-control",
20
+ "relay",
21
+ "websocket",
22
+ "zero-knowledge",
23
+ "self-hosted"
24
+ ],
25
+ "engines": {
26
+ "node": ">=20"
27
+ },
28
+ "main": "./dist/bundle/main.js",
29
+ "dependencies": {},
30
+ "devDependencies": {
31
+ "@dsh-remote/protocol": "^3.0.0",
32
+ "@types/node": "^26.6.3",
33
+ "@types/ws": "^8.5.12",
34
+ "esbuild": "^0.28.2",
35
+ "prettier": "^3.3.3",
36
+ "typescript": "^7.0.2",
37
+ "ws": "^8.18.0"
38
+ },
39
+ "bin": {
40
+ "dsh-remote-relay": "./dist/bundle/main.js"
41
+ },
42
+ "files": [
43
+ "dist/bundle",
44
+ "deploy",
45
+ "SECURITY.md"
46
+ ],
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "provenance": true
50
+ },
51
+ "scripts": {
52
+ "clean": "node --input-type=module -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\"",
53
+ "build": "tsc -p tsconfig.json && node scripts/bundle-relay.mjs",
54
+ "start": "node dist/bundle/main.js",
55
+ "typecheck": "tsc --noEmit -p tsconfig.json",
56
+ "test": "tsc -p tsconfig.json && node scripts/bundle-relay.mjs && node --test --test-timeout=60000 \"tests/*.test.mjs\"",
57
+ "format": "prettier --write .",
58
+ "format:check": "prettier --check ."
59
+ }
6
60
  }