@zzz0350/our-workbuddy-standalone 5.31.5 → 5.34.1

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.
Files changed (4) hide show
  1. package/README.md +22 -3
  2. package/main.js +1355 -137
  3. package/package.json +29 -1
  4. package/start-hidden.vbs +9 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzz0350/our-workbuddy-standalone",
3
- "version": "5.31.5",
3
+ "version": "5.34.1",
4
4
  "description": "Our WorkBuddy 独立本地网关:账号池轮换、自动签到、在线日志与一键更新",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -24,6 +24,34 @@
24
24
  "registry": "https://registry.npmjs.org/"
25
25
  },
26
26
  "releaseNotes": [
27
+ {
28
+ "version": "5.34.1",
29
+ "date": "2026-11-28",
30
+ "items": [
31
+ "修复成长奖励兑换。请求增加幂等键,正确读取积分和能量发放结果(#335)。"
32
+ ]
33
+ },
34
+ {
35
+ "version": "5.34.0",
36
+ "date": "2026-11-28",
37
+ "items": [
38
+ "修复历史凭据快照覆盖有效账号库副本。边缘网关 401 单独分类,来源诊断隐藏本机文件路径。",
39
+ "恢复裸工具调用,过滤误入正文的思考片段,修复换号后的 11128 恢复流程。",
40
+ "账号探活按区域跟随最近请求的模型,已保存的模型仍优先。"
41
+ ]
42
+ },
43
+ {
44
+ "version": "5.31.8",
45
+ "date": "2026-11-26",
46
+ "items": [
47
+ "同步上游 v5.31.5~v5.31.8 独立网关相关修复(跳过只与 DSH 宿主前端相关的 v5.31.7 #313/#314)",
48
+ "企业账号读取模型目录带齐身份头,修复企业账号 cli 名册缺行(#303)",
49
+ "failover 换号后触发 11128 补跑渠道救援阶梯并修正账号尝试计数(#302/#307);11128 报错附零隐私指纹线索(#311)",
50
+ "网关 HTML 401 不再误判为凭据吊销,且实时查回正余额可自动自愈 credential-rejected(#305)",
51
+ "出站剥离已注入的 assistant 中性头,渠道救援第一级仅补 system 中性头避免模型模仿(#297)",
52
+ "修复 start-hidden.vbs 在未启动时因 VBScript 短路求值误判端口已启动的问题"
53
+ ]
54
+ },
27
55
  {
28
56
  "version": "5.31.5",
29
57
  "date": "2026-11-25",
package/start-hidden.vbs CHANGED
@@ -9,15 +9,19 @@ Set fso = CreateObject("Scripting.FileSystemObject")
9
9
  dir = fso.GetParentFolderName(WScript.ScriptFullName)
10
10
 
11
11
  Function IsGatewayUp()
12
- Dim http
12
+ Dim http, st
13
13
  IsGatewayUp = False
14
14
  On Error Resume Next
15
15
  Set http = CreateObject("WinHttp.WinHttpRequest.5.1")
16
+ http.SetProxy 1
16
17
  http.SetTimeouts 500, 500, 500, 1000
17
18
  http.Open "GET", "http://127.0.0.1:18911/healthz", False
18
19
  http.Send
19
- If Err.Number = 0 And http.Status = 200 Then
20
- IsGatewayUp = True
20
+ If Err.Number = 0 Then
21
+ st = http.Status
22
+ If Err.Number = 0 And st = 200 Then
23
+ IsGatewayUp = True
24
+ End If
21
25
  End If
22
26
  Err.Clear
23
27
  On Error GoTo 0
@@ -29,8 +33,8 @@ If Not IsGatewayUp() Then
29
33
  WScript.Quit 1
30
34
  End If
31
35
  sh.CurrentDirectory = dir
32
- sh.Run """" & dir & "\watchdog.cmd""", 0, False
33
- For i = 1 To 20
36
+ sh.Run "cmd.exe /c """ & dir & "\watchdog.cmd""", 0, False
37
+ For i = 1 To 40
34
38
  WScript.Sleep 500
35
39
  If IsGatewayUp() Then Exit For
36
40
  Next