feat(ws): port Fase 5 WS server — Bun native WebSocket, ZESDEX_WS_TOKEN guard, prompt turn proxy + streaming token/done/error

This commit is contained in:
asepharyana
2026-09-02 22:50:38 +07:00
parent 3930d2e2c9
commit d4d423a4ca
5 changed files with 267 additions and 0 deletions
+14
View File
@@ -36,6 +36,18 @@
"@types/bun": "^1.2.0",
},
},
"apps/interfaces/ws": {
"name": "@zesdex/ws",
"version": "1.21.2",
"dependencies": {
"@zesdex/application": "workspace:*",
"@zesdex/domain": "workspace:*",
"@zesdex/infrastructure": "workspace:*",
},
"devDependencies": {
"@types/bun": "^1.2.0",
},
},
"apps/packages/application": {
"name": "@zesdex/application",
"version": "1.21.2",
@@ -111,6 +123,8 @@
"@zesdex/infrastructure": ["@zesdex/infrastructure@workspace:apps/packages/infrastructure"],
"@zesdex/ws": ["@zesdex/ws@workspace:apps/interfaces/ws"],
"bun-types": ["bun-types@1.4.0", "", { "dependencies": { "@types/node": "*" } }, "sha512-iIKw23BspnQQYd3prITOBxeUsxBHnwzX6YJfGMuNOZzeNcMmVqzIIVGRm1l69ogaPQmb4wB6BN8mA5bE9YuC5Q=="],
"typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],