mons-web 0.1.125 → 0.1.127
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 -29
- package/mons-web.d.ts +46 -46
- package/mons-web.js +12 -12
- package/mons-web_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,45 +7,37 @@ or
|
|
|
7
7
|
|
|
8
8
|
## automove
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Docs:
|
|
11
11
|
|
|
12
12
|
- runbook: `HOW_TO_ITERATE_ON_AUTOMOVE.md`
|
|
13
13
|
- live board: `AUTOMOVE_IDEAS.md`
|
|
14
14
|
- durable lessons: `docs/automove-knowledge.md`
|
|
15
15
|
- archive: `docs/automove-archive.md`
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Public Pro runtime currently routes through `frontier_pro_v2_guarded`; `shipping_pro_search` remains the retained search-only baseline profile.
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
- `pro-triage`
|
|
21
|
-
- `runtime-preflight`
|
|
22
|
-
- `pro-reliability`
|
|
23
|
-
- `pro-reliability-confirm`
|
|
19
|
+
Quickstart:
|
|
24
20
|
|
|
25
|
-
|
|
21
|
+
- canonical Pro loop: `./scripts/run-automove-canonical-loop.sh frontier_pro_v2_guarded`
|
|
22
|
+
- larger confirmation pass: `./scripts/run-automove-canonical-loop.sh --confirm frontier_pro_v2_guarded`
|
|
23
|
+
- single-stage or diagnostic run: `./scripts/run-automove-experiment.sh <stage> frontier_pro_v2_guarded`
|
|
24
|
+
- cleanup preview: `./scripts/clean-experiment-artifacts.sh --dry-run`
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
- `SMART_TRIAGE_SURFACE=primary_pro ./scripts/run-automove-experiment.sh pro-triage runtime_pro_turn_engine_v30`
|
|
29
|
-
- `./scripts/run-automove-experiment.sh runtime-preflight runtime_pro_turn_engine_v30`
|
|
30
|
-
- `./scripts/run-automove-experiment.sh pro-reliability runtime_pro_turn_engine_v30`
|
|
31
|
-
- `./scripts/run-automove-experiment.sh pro-reliability-confirm runtime_pro_turn_engine_v30`
|
|
32
|
-
- `./scripts/clean-experiment-artifacts.sh --dry-run`
|
|
26
|
+
Retained profile surface:
|
|
33
27
|
|
|
34
|
-
|
|
28
|
+
- `shipping_pro_search`
|
|
29
|
+
- `frontier_pro_v2_guarded`
|
|
35
30
|
|
|
36
|
-
|
|
37
|
-
- `runtime_pro_turn_engine_v30`
|
|
31
|
+
Glossary:
|
|
38
32
|
|
|
39
|
-
|
|
33
|
+
- `shipping`: the deployed Pro path, currently `frontier_pro_v2_guarded`
|
|
34
|
+
- `baseline`: the retained search-only comparison profile, currently `shipping_pro_search`
|
|
35
|
+
- `frontier`: the guarded ProV2 selector/runtime line, currently `frontier_pro_v2_guarded`
|
|
36
|
+
- `probe`: forced turn-engine diagnostics that inspect search/acceptance behavior without changing shipping
|
|
40
37
|
|
|
41
|
-
|
|
42
|
-
- `runtime_pro_turn_engine_v30` is the only retained Pro frontier for offline experiments.
|
|
43
|
-
- Archive profiles, including `runtime_pro_turn_engine_v1`, are not valid active experiment targets.
|
|
44
|
-
- Post-promotion maintenance runs may show `pro-triage` `0/0` for `runtime_pro_turn_engine_v30` vs `runtime_current`; that is the expected stable-equivalence result, not a failed challenger attempt.
|
|
38
|
+
Artifact layout:
|
|
45
39
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- logs: `target/experiment-runs/<candidate>/`
|
|
40
|
+
- selected-profile logs: `target/experiment-runs/<profile>/`
|
|
49
41
|
- workflow-only logs: `target/experiment-runs/misc/`
|
|
50
42
|
- runtime-preflight stamps: `target/experiment-stamps/`
|
|
51
43
|
|
|
@@ -95,8 +87,8 @@ Pack a directory back into chunks:
|
|
|
95
87
|
Release checklist:
|
|
96
88
|
|
|
97
89
|
- Review `git status` before publish and confirm only intentional committed changes are present.
|
|
98
|
-
- Confirm
|
|
99
|
-
- Confirm `
|
|
90
|
+
- Confirm public Pro still routes through `frontier_pro_v2_guarded`.
|
|
91
|
+
- Confirm `shipping_pro_search` remains available as the retained search-only baseline profile.
|
|
100
92
|
- Run `cargo test`.
|
|
101
93
|
- Run `cargo test --release --lib smart_automove_release_opening_black_reply_speed_gate -- --ignored --nocapture`.
|
|
102
94
|
- Run `cargo test --release --lib smart_automove_release_mixed_runtime_speed_gate -- --ignored --nocapture`.
|
|
@@ -107,10 +99,10 @@ Production blockers:
|
|
|
107
99
|
|
|
108
100
|
- build/test failures
|
|
109
101
|
- release speed gate failures
|
|
110
|
-
- any regression
|
|
102
|
+
- any regression in the deployed `frontier_pro_v2_guarded` Pro path
|
|
111
103
|
|
|
112
104
|
Non-blocking retained experiment state:
|
|
113
105
|
|
|
114
|
-
- the retained `
|
|
106
|
+
- the retained `shipping_pro_search` baseline, the retained `frontier_pro_v2_guarded` frontier, and ignored probes
|
|
115
107
|
- experiment workflow/logging helpers
|
|
116
108
|
- compressed automove backlog / knowledge / archive docs
|
package/mons-web.d.ts
CHANGED
|
@@ -26,11 +26,40 @@ export enum ManaKind {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
*/
|
|
29
|
-
export enum
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
export enum Modifier {
|
|
30
|
+
SelectPotion = 0,
|
|
31
|
+
SelectBomb = 1,
|
|
32
|
+
Cancel = 2,
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*/
|
|
36
|
+
export enum Color {
|
|
37
|
+
White = 0,
|
|
38
|
+
Black = 1,
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
*/
|
|
42
|
+
export enum Consumable {
|
|
43
|
+
Potion = 0,
|
|
44
|
+
Bomb = 1,
|
|
45
|
+
BombOrPotion = 2,
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
*/
|
|
49
|
+
export enum ItemModelKind {
|
|
50
|
+
Mon = 0,
|
|
51
|
+
Mana = 1,
|
|
52
|
+
MonWithMana = 2,
|
|
53
|
+
MonWithConsumable = 3,
|
|
54
|
+
Consumable = 4,
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
*/
|
|
58
|
+
export enum OutputModelKind {
|
|
59
|
+
InvalidInput = 0,
|
|
60
|
+
LocationsToStartFrom = 1,
|
|
61
|
+
NextInputOptions = 2,
|
|
62
|
+
Events = 3,
|
|
34
63
|
}
|
|
35
64
|
/**
|
|
36
65
|
*/
|
|
@@ -58,38 +87,6 @@ export enum EventModelKind {
|
|
|
58
87
|
}
|
|
59
88
|
/**
|
|
60
89
|
*/
|
|
61
|
-
export enum ItemModelKind {
|
|
62
|
-
Mon = 0,
|
|
63
|
-
Mana = 1,
|
|
64
|
-
MonWithMana = 2,
|
|
65
|
-
MonWithConsumable = 3,
|
|
66
|
-
Consumable = 4,
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
*/
|
|
70
|
-
export enum Consumable {
|
|
71
|
-
Potion = 0,
|
|
72
|
-
Bomb = 1,
|
|
73
|
-
BombOrPotion = 2,
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
export enum Modifier {
|
|
78
|
-
SelectPotion = 0,
|
|
79
|
-
SelectBomb = 1,
|
|
80
|
-
Cancel = 2,
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
*/
|
|
84
|
-
export enum MonKind {
|
|
85
|
-
Demon = 0,
|
|
86
|
-
Drainer = 1,
|
|
87
|
-
Angel = 2,
|
|
88
|
-
Spirit = 3,
|
|
89
|
-
Mystic = 4,
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
*/
|
|
93
90
|
export enum NextInputKind {
|
|
94
91
|
MonMove = 0,
|
|
95
92
|
ManaMove = 1,
|
|
@@ -103,17 +100,20 @@ export enum NextInputKind {
|
|
|
103
100
|
}
|
|
104
101
|
/**
|
|
105
102
|
*/
|
|
106
|
-
export enum
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
103
|
+
export enum MonKind {
|
|
104
|
+
Demon = 0,
|
|
105
|
+
Drainer = 1,
|
|
106
|
+
Angel = 2,
|
|
107
|
+
Spirit = 3,
|
|
108
|
+
Mystic = 4,
|
|
111
109
|
}
|
|
112
110
|
/**
|
|
113
111
|
*/
|
|
114
|
-
export enum
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
export enum AvailableMoveKind {
|
|
113
|
+
MonMove = 0,
|
|
114
|
+
ManaMove = 1,
|
|
115
|
+
Action = 2,
|
|
116
|
+
Potion = 3,
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
*/
|
|
@@ -532,11 +532,11 @@ export interface InitOutput {
|
|
|
532
532
|
readonly __wbg_set_location_j: (a: number, b: number) => void;
|
|
533
533
|
readonly __wbg_set_mon_color: (a: number, b: number) => void;
|
|
534
534
|
readonly __wbg_set_mon_kind: (a: number, b: number) => void;
|
|
535
|
-
readonly location_new: (a: number, b: number) => number;
|
|
536
535
|
readonly mon_decrease_cooldown: (a: number) => void;
|
|
537
536
|
readonly mon_faint: (a: number) => void;
|
|
538
537
|
readonly mon_is_fainted: (a: number) => number;
|
|
539
538
|
readonly mon_new: (a: number, b: number, c: number) => number;
|
|
539
|
+
readonly location_new: (a: number, b: number) => number;
|
|
540
540
|
readonly __wbg_set_mon_cooldown: (a: number, b: number) => void;
|
|
541
541
|
readonly __wbg_get_mon_cooldown: (a: number) => number;
|
|
542
542
|
readonly winner: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
package/mons-web.js
CHANGED
|
@@ -204,31 +204,31 @@ export const SquareModelKind = Object.freeze({ Regular:0,"0":"Regular",Consumabl
|
|
|
204
204
|
export const ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
|
|
205
205
|
/**
|
|
206
206
|
*/
|
|
207
|
-
export const
|
|
207
|
+
export const Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
|
|
208
208
|
/**
|
|
209
209
|
*/
|
|
210
|
-
export const
|
|
210
|
+
export const Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
|
|
211
211
|
/**
|
|
212
212
|
*/
|
|
213
|
-
export const
|
|
213
|
+
export const Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
|
|
214
214
|
/**
|
|
215
215
|
*/
|
|
216
|
-
export const
|
|
216
|
+
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", });
|
|
217
217
|
/**
|
|
218
218
|
*/
|
|
219
|
-
export const
|
|
219
|
+
export const OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
|
|
220
220
|
/**
|
|
221
221
|
*/
|
|
222
|
-
export const
|
|
222
|
+
export const EventModelKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",ManaScored:2,"2":"ManaScored",MysticAction:3,"3":"MysticAction",DemonAction:4,"4":"DemonAction",DemonAdditionalStep:5,"5":"DemonAdditionalStep",SpiritTargetMove:6,"6":"SpiritTargetMove",PickupBomb:7,"7":"PickupBomb",PickupPotion:8,"8":"PickupPotion",PickupMana:9,"9":"PickupMana",MonFainted:10,"10":"MonFainted",ManaDropped:11,"11":"ManaDropped",SupermanaBackToBase:12,"12":"SupermanaBackToBase",BombAttack:13,"13":"BombAttack",MonAwake:14,"14":"MonAwake",BombExplosion:15,"15":"BombExplosion",NextTurn:16,"16":"NextTurn",GameOver:17,"17":"GameOver",Takeback:18,"18":"Takeback",UsePotion:19,"19":"UsePotion", });
|
|
223
223
|
/**
|
|
224
224
|
*/
|
|
225
225
|
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", });
|
|
226
226
|
/**
|
|
227
227
|
*/
|
|
228
|
-
export const
|
|
228
|
+
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", });
|
|
229
229
|
/**
|
|
230
230
|
*/
|
|
231
|
-
export const
|
|
231
|
+
export const AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
|
|
232
232
|
|
|
233
233
|
const EventModelFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
234
234
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1416,10 +1416,6 @@ function __wbg_get_imports() {
|
|
|
1416
1416
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1417
1417
|
return addHeapObject(ret);
|
|
1418
1418
|
};
|
|
1419
|
-
imports.wbg.__wbg_nextinputmodel_new = function(arg0) {
|
|
1420
|
-
const ret = NextInputModel.__wrap(arg0);
|
|
1421
|
-
return addHeapObject(ret);
|
|
1422
|
-
};
|
|
1423
1419
|
imports.wbg.__wbg_location_new = function(arg0) {
|
|
1424
1420
|
const ret = Location.__wrap(arg0);
|
|
1425
1421
|
return addHeapObject(ret);
|
|
@@ -1428,6 +1424,10 @@ function __wbg_get_imports() {
|
|
|
1428
1424
|
const ret = EventModel.__wrap(arg0);
|
|
1429
1425
|
return addHeapObject(ret);
|
|
1430
1426
|
};
|
|
1427
|
+
imports.wbg.__wbg_nextinputmodel_new = function(arg0) {
|
|
1428
|
+
const ret = NextInputModel.__wrap(arg0);
|
|
1429
|
+
return addHeapObject(ret);
|
|
1430
|
+
};
|
|
1431
1431
|
imports.wbg.__wbg_location_unwrap = function(arg0) {
|
|
1432
1432
|
const ret = Location.__unwrap(takeObject(arg0));
|
|
1433
1433
|
return ret;
|
package/mons-web_bg.wasm
CHANGED
|
Binary file
|