chore(framework): 真机联调脚本 login-live.ts(复用框架+ws transport)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-28 20:25:36 +08:00
co-authored by Claude Opus 4.8
parent 96c6c7c914
commit fee5c8b0a0
3 changed files with 112 additions and 2 deletions
+33 -1
View File
@@ -9,8 +9,10 @@
"version": "0.1.0",
"devDependencies": {
"@types/node": "^26.0.1",
"@types/ws": "^8.18.1",
"tsx": "^4.22.4",
"typescript": "^6.0.3"
"typescript": "^6.0.3",
"ws": "^8.21.0"
}
},
"node_modules/@esbuild/aix-ppc64": {
@@ -438,6 +440,15 @@
"undici-types": "~8.3.0"
}
},
"node_modules/@types/ws": {
"version": "8.18.1",
"resolved": "https://registry.npmmirror.com/@types/ws/-/ws-8.18.1.tgz",
"integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
"dev": true,
"dependencies": {
"@types/node": "*"
}
},
"node_modules/esbuild": {
"version": "0.28.1",
"resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.28.1.tgz",
@@ -529,6 +540,27 @@
"resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-8.3.0.tgz",
"integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==",
"dev": true
},
"node_modules/ws": {
"version": "8.21.0",
"resolved": "https://registry.npmmirror.com/ws/-/ws-8.21.0.tgz",
"integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
"dev": true,
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": ">=5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
}
}
}
}