mons-web 0.1.118 → 0.1.120

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 CHANGED
@@ -5,6 +5,38 @@ or
5
5
 
6
6
  `npm install mons-rust`
7
7
 
8
+ ## automove
9
+
10
+ The active automove workflow lives here:
11
+
12
+ - canonical workflow: `HOW_TO_ITERATE_ON_AUTOMOVE.md`
13
+ - ideas backlog: `AUTOMOVE_IDEAS.md`
14
+ - compatibility entrypoint: `docs/automove-experiments.md`
15
+ - durable lessons: `docs/automove-knowledge.md`
16
+ - retired profile archive: `docs/automove-archive.md`
17
+
18
+ Useful scripts:
19
+
20
+ - `./scripts/run-automove-experiment.sh guardrails <candidate>`
21
+ - `./scripts/run-automove-experiment.sh runtime-preflight <candidate>`
22
+ - `./scripts/run-automove-experiment.sh triage-calibrate [reply_risk|opponent_mana|supermana|all]`
23
+ - `./scripts/run-automove-experiment.sh preflight <candidate>`
24
+ - `SMART_TRIAGE_SURFACE=<surface> ./scripts/run-automove-experiment.sh triage <candidate>`
25
+ - `SMART_PROMOTION_TARGET_MODE=<fast|normal> ./scripts/run-automove-experiment.sh audit-screen <candidate>`
26
+ - `SMART_PROMOTION_TARGET_MODE=<fast|normal> ./scripts/run-automove-experiment.sh fast-screen <candidate>`
27
+ - `SMART_PROMOTION_TARGET_MODE=<fast|normal> ./scripts/run-automove-experiment.sh progressive <candidate>`
28
+ - `SMART_PROMOTION_TARGET_MODE=<fast|normal> ./scripts/run-automove-experiment.sh ladder <candidate>`
29
+ - `SMART_TRIAGE_SURFACE=<opening_reply|primary_pro> ./scripts/run-automove-experiment.sh pro-triage <candidate>`
30
+ - `./scripts/run-automove-experiment.sh pro-audit-screen <candidate>`
31
+ - `./scripts/run-automove-experiment.sh pro-fast-screen <candidate>`
32
+ - `./scripts/run-automove-experiment.sh pro-progressive <candidate>`
33
+ - `./scripts/run-automove-experiment.sh pro-ladder <candidate>`
34
+ - `./scripts/run-automove-experiment.sh pre-screen <candidate>`
35
+ - `./scripts/run-automove-experiment.sh pro-pre-screen <candidate>`
36
+ - `./scripts/clean-experiment-artifacts.sh`
37
+
38
+ Run `triage-calibrate` before candidate work on `reply_risk`, `opponent_mana`, or `supermana`. Then use `guardrails -> triage -> runtime-preflight` so weak ideas die before the expensive CPU gate. `preflight` still exists as the old all-in-one wrapper. Most candidates should die at `triage`, `pro-triage`, or the first earned duel stage. For mode-specific `fast` or `normal` ideas, run duel stages with `SMART_PROMOTION_TARGET_MODE=<fast|normal>` so the target mode is the improvement bar and the other client mode is only a non-regression check. Use `audit-screen` or `pro-audit-screen` only as occasional spot checks for clean triage rejects. `pre-screen` and `pro-pre-screen` remain available only as legacy noise diagnostics. Unless documented otherwise, new candidates should be deltas on `runtime_current`.
39
+
8
40
  ## rules-tests runner
9
41
 
10
42
  Fixtures are stored as chunk archives in `rules-tests-chunks/` (default: `100000` fixtures per chunk).
package/mons-web.d.ts CHANGED
@@ -10,22 +10,24 @@
10
10
  export function winner(fen_w: string, fen_b: string, flat_moves_string_w: string, flat_moves_string_b: string): string;
11
11
  /**
12
12
  */
13
- export enum ManaKind {
14
- Regular = 0,
15
- Supermana = 1,
13
+ export enum Color {
14
+ White = 0,
15
+ Black = 1,
16
16
  }
17
17
  /**
18
18
  */
19
- export enum NextInputKind {
20
- MonMove = 0,
21
- ManaMove = 1,
22
- MysticAction = 2,
23
- DemonAction = 3,
24
- DemonAdditionalStep = 4,
25
- SpiritTargetCapture = 5,
26
- SpiritTargetMove = 6,
27
- SelectConsumable = 7,
28
- BombAttack = 8,
19
+ export enum ItemModelKind {
20
+ Mon = 0,
21
+ Mana = 1,
22
+ MonWithMana = 2,
23
+ MonWithConsumable = 3,
24
+ Consumable = 4,
25
+ }
26
+ /**
27
+ */
28
+ export enum ManaKind {
29
+ Regular = 0,
30
+ Supermana = 1,
29
31
  }
30
32
  /**
31
33
  */
@@ -39,6 +41,13 @@ export enum SquareModelKind {
39
41
  }
40
42
  /**
41
43
  */
44
+ export enum Modifier {
45
+ SelectPotion = 0,
46
+ SelectBomb = 1,
47
+ Cancel = 2,
48
+ }
49
+ /**
50
+ */
42
51
  export enum OutputModelKind {
43
52
  InvalidInput = 0,
44
53
  LocationsToStartFrom = 1,
@@ -78,13 +87,6 @@ export enum Consumable {
78
87
  }
79
88
  /**
80
89
  */
81
- export enum Modifier {
82
- SelectPotion = 0,
83
- SelectBomb = 1,
84
- Cancel = 2,
85
- }
86
- /**
87
- */
88
90
  export enum AvailableMoveKind {
89
91
  MonMove = 0,
90
92
  ManaMove = 1,
@@ -93,18 +95,16 @@ export enum AvailableMoveKind {
93
95
  }
94
96
  /**
95
97
  */
96
- export enum ItemModelKind {
97
- Mon = 0,
98
- Mana = 1,
99
- MonWithMana = 2,
100
- MonWithConsumable = 3,
101
- Consumable = 4,
102
- }
103
- /**
104
- */
105
- export enum Color {
106
- White = 0,
107
- Black = 1,
98
+ export enum NextInputKind {
99
+ MonMove = 0,
100
+ ManaMove = 1,
101
+ MysticAction = 2,
102
+ DemonAction = 3,
103
+ DemonAdditionalStep = 4,
104
+ SpiritTargetCapture = 5,
105
+ SpiritTargetMove = 6,
106
+ SelectConsumable = 7,
107
+ BombAttack = 8,
108
108
  }
109
109
  /**
110
110
  */
package/mons-web.js CHANGED
@@ -198,15 +198,21 @@ function handleError(f, args) {
198
198
  }
199
199
  /**
200
200
  */
201
- export const ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
201
+ export const Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
202
202
  /**
203
203
  */
204
- export const NextInputKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",MysticAction:2,"2":"MysticAction",DemonAction:3,"3":"DemonAction",DemonAdditionalStep:4,"4":"DemonAdditionalStep",SpiritTargetCapture:5,"5":"SpiritTargetCapture",SpiritTargetMove:6,"6":"SpiritTargetMove",SelectConsumable:7,"7":"SelectConsumable",BombAttack:8,"8":"BombAttack", });
204
+ export const ItemModelKind = Object.freeze({ Mon:0,"0":"Mon",Mana:1,"1":"Mana",MonWithMana:2,"2":"MonWithMana",MonWithConsumable:3,"3":"MonWithConsumable",Consumable:4,"4":"Consumable", });
205
+ /**
206
+ */
207
+ export const ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
205
208
  /**
206
209
  */
207
210
  export const SquareModelKind = Object.freeze({ Regular:0,"0":"Regular",ConsumableBase:1,"1":"ConsumableBase",SupermanaBase:2,"2":"SupermanaBase",ManaBase:3,"3":"ManaBase",ManaPool:4,"4":"ManaPool",MonBase:5,"5":"MonBase", });
208
211
  /**
209
212
  */
213
+ export const Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
214
+ /**
215
+ */
210
216
  export const OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
211
217
  /**
212
218
  */
@@ -216,16 +222,10 @@ export const EventModelKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1
216
222
  export const Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
217
223
  /**
218
224
  */
219
- export const Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
220
- /**
221
- */
222
225
  export const AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
223
226
  /**
224
227
  */
225
- export const ItemModelKind = Object.freeze({ Mon:0,"0":"Mon",Mana:1,"1":"Mana",MonWithMana:2,"2":"MonWithMana",MonWithConsumable:3,"3":"MonWithConsumable",Consumable:4,"4":"Consumable", });
226
- /**
227
- */
228
- export const Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
228
+ export const NextInputKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",MysticAction:2,"2":"MysticAction",DemonAction:3,"3":"DemonAction",DemonAdditionalStep:4,"4":"DemonAdditionalStep",SpiritTargetCapture:5,"5":"SpiritTargetCapture",SpiritTargetMove:6,"6":"SpiritTargetMove",SelectConsumable:7,"7":"SelectConsumable",BombAttack:8,"8":"BombAttack", });
229
229
  /**
230
230
  */
231
231
  export const MonKind = Object.freeze({ Demon:0,"0":"Demon",Drainer:1,"1":"Drainer",Angel:2,"2":"Angel",Spirit:3,"3":"Spirit",Mystic:4,"4":"Mystic", });
package/mons-web_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "mons-web",
3
3
  "type": "module",
4
4
  "description": "super metal mons",
5
- "version": "0.1.118",
5
+ "version": "0.1.120",
6
6
  "license": "CC0-1.0",
7
7
  "repository": {
8
8
  "type": "git",