@zhin.js/plugin-lottery 1.1.5 → 1.1.7
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/README.md +21 -19
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -40,29 +40,31 @@ scheduleCron (18:00)
|
|
|
40
40
|
|
|
41
41
|
## 配置
|
|
42
42
|
|
|
43
|
-
安装命令会挂载到 `
|
|
43
|
+
安装命令会挂载到 主配置 `plugins` 映射,实例名为 `lottery`。在 `zhin.config.yml` 的实例节点修改配置:
|
|
44
44
|
|
|
45
45
|
```yaml
|
|
46
|
+
configVersion: 2
|
|
46
47
|
plugins:
|
|
47
|
-
lottery:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
lottery: "@zhin.js/plugin-lottery"
|
|
49
|
+
lottery:
|
|
50
|
+
scheduleCron: "0 0 18 * * *"
|
|
51
|
+
scheduleEnabled: true
|
|
52
|
+
backtestEnabled: true
|
|
53
|
+
backtestWindow: 50
|
|
54
|
+
backtestRandomTrials: 64
|
|
55
|
+
backtestMinHistory: 30
|
|
56
|
+
pickCount: 5
|
|
57
|
+
historyLimit: 500
|
|
58
|
+
kl8:
|
|
54
59
|
pickCount: 5
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
endpointId: sandbox-bot
|
|
64
|
-
channelType: private
|
|
65
|
-
channelId: operator
|
|
60
|
+
recommendGroups: 3
|
|
61
|
+
groupStrategies: [ balanced, hot, cold ]
|
|
62
|
+
games: [ kl8, ssq, dlt, fc3d, pl3, pl5 ]
|
|
63
|
+
pushTargets:
|
|
64
|
+
- adapter: sandbox
|
|
65
|
+
endpointId: sandbox-bot
|
|
66
|
+
channelType: private
|
|
67
|
+
channelId: operator
|
|
66
68
|
```
|
|
67
69
|
|
|
68
70
|
## 权重训练(模拟盘)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/plugin-lottery",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Multi-game lottery analysis for Zhin.js (Plugin Runtime)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./lib/index.d.ts",
|
|
11
|
-
"development": "./src/index.ts",
|
|
12
11
|
"import": "./lib/index.js"
|
|
13
12
|
},
|
|
14
13
|
"./package.json": "./package.json"
|
|
@@ -44,19 +43,19 @@
|
|
|
44
43
|
"license": "MIT",
|
|
45
44
|
"dependencies": {
|
|
46
45
|
"zod": "^4.4.3",
|
|
47
|
-
"@zhin.js/
|
|
48
|
-
"@zhin.js/
|
|
46
|
+
"@zhin.js/skill": "1.1.7",
|
|
47
|
+
"@zhin.js/tool": "1.1.7"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
50
|
"typescript": "^6.0.3",
|
|
52
51
|
"vitest": "^4.1.10",
|
|
53
|
-
"@zhin.js/agent": "1.1.
|
|
54
|
-
"zhin.js": "1.1.
|
|
52
|
+
"@zhin.js/agent": "1.1.36",
|
|
53
|
+
"zhin.js": "1.1.11"
|
|
55
54
|
},
|
|
56
55
|
"peerDependencies": {
|
|
57
|
-
"@zhin.js/agent": "^1.1.
|
|
58
|
-
"@zhin.js/command": "^1.1.
|
|
59
|
-
"zhin.js": "^1.1.
|
|
56
|
+
"@zhin.js/agent": "^1.1.36",
|
|
57
|
+
"@zhin.js/command": "^1.1.8",
|
|
58
|
+
"zhin.js": "^1.1.11"
|
|
60
59
|
},
|
|
61
60
|
"peerDependenciesMeta": {
|
|
62
61
|
"@zhin.js/agent": {
|
|
@@ -76,7 +75,7 @@
|
|
|
76
75
|
"registry": "https://registry.npmjs.org"
|
|
77
76
|
},
|
|
78
77
|
"engines": {
|
|
79
|
-
"node": "
|
|
78
|
+
"node": ">=22.19.0"
|
|
80
79
|
},
|
|
81
80
|
"zhin": {
|
|
82
81
|
"protocol": 1,
|