3x-ui 式共享节点改造:nodes 状态机 + nodeClients 各自凭据

- 移除 VMess 协议
- VLESS/SS2022 按用户流量统计(AnyTLS 日志解析,SS 节点级)
- sing-box v2ray_api stats 支持
- 内存优化:面板 128M,agent 64M,sing-box 64M
This commit is contained in:
Muse
2026-10-19 22:23:40 +08:00
parent 1678f766ac
commit 084afeb8f4
35 changed files with 2142 additions and 1749 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ test('job failures redact a Reality secret and stale completions cannot overwrit
try {
const store = await new Store(path.join(dir, 'data.json')).init();
await store.transaction((data) => {
data.jobs.push({ id:'job_running', status:'running', deploymentId:'dep_missing', action:'apply_resource',
data.jobs.push({ id:'job_running', status:'running', nodeId:'nod_test', action:'apply_resource',
serverId:'srv_test', payload:{}, attempts:1 });
data.jobs.push({ id:'job_requeued', status:'queued', deploymentId:'dep_missing', action:'apply_resource',
data.jobs.push({ id:'job_requeued', status:'queued', nodeId:'nod_test', action:'apply_resource',
serverId:'srv_test', payload:{}, attempts:2 });
});
const orchestrator = new Orchestrator(store);