@zhin.js/plugin-lottery 1.1.6 → 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.
Files changed (2) hide show
  1. package/README.md +21 -19
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -40,29 +40,31 @@ scheduleCron (18:00)
40
40
 
41
41
  ## 配置
42
42
 
43
- 安装命令会挂载到 `package.json#zhin.plugins`,实例名为 `lottery`。在 `zhin.config.yml` 的实例节点修改配置:
43
+ 安装命令会挂载到 主配置 `plugins` 映射,实例名为 `lottery`。在 `zhin.config.yml` 的实例节点修改配置:
44
44
 
45
45
  ```yaml
46
+ configVersion: 2
46
47
  plugins:
47
- lottery:
48
- scheduleCron: "0 0 18 * * *"
49
- scheduleEnabled: true
50
- backtestEnabled: true
51
- backtestWindow: 50
52
- backtestRandomTrials: 64
53
- backtestMinHistory: 30
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
- historyLimit: 500
56
- kl8:
57
- pickCount: 5
58
- recommendGroups: 3
59
- groupStrategies: [balanced, hot, cold]
60
- games: [kl8, ssq, dlt, fc3d, pl3, pl5]
61
- pushTargets:
62
- - adapter: sandbox
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.6",
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",
@@ -43,19 +43,19 @@
43
43
  "license": "MIT",
44
44
  "dependencies": {
45
45
  "zod": "^4.4.3",
46
- "@zhin.js/tool": "1.1.6",
47
- "@zhin.js/skill": "1.1.6"
46
+ "@zhin.js/skill": "1.1.7",
47
+ "@zhin.js/tool": "1.1.7"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "^6.0.3",
51
51
  "vitest": "^4.1.10",
52
- "@zhin.js/agent": "1.1.33",
53
- "zhin.js": "1.1.9"
52
+ "@zhin.js/agent": "1.1.36",
53
+ "zhin.js": "1.1.11"
54
54
  },
55
55
  "peerDependencies": {
56
- "@zhin.js/agent": "^1.1.33",
57
- "@zhin.js/command": "^1.1.7",
58
- "zhin.js": "^1.1.9"
56
+ "@zhin.js/agent": "^1.1.36",
57
+ "@zhin.js/command": "^1.1.8",
58
+ "zhin.js": "^1.1.11"
59
59
  },
60
60
  "peerDependenciesMeta": {
61
61
  "@zhin.js/agent": {