@hadoku/game-server 0.1.245 → 0.1.246

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.
@@ -11,7 +11,7 @@ export declare const DIAGNOSTICS_KEPT = 40;
11
11
  * Java throwable with its first frame, each kept once with how many times it came, in first-seen order.
12
12
  *
13
13
  * A clean end removes the run directory, and with it `bridge.stderr.txt`, which is where the bridge says a
14
- * read of Forge failed (`PlayBridge.java`'s `decoration`, `[bridge] … could not read …`). So the operator's
14
+ * read of Forge failed (`SeatGuiOffers.java`'s `decoration`, `[bridge] … could not read …`). So the operator's
15
15
  * dredge window, 2026-10-23 — a prompt whose read threw and never went out — left nothing in the logs to
16
16
  * find it by. This is what is kept of it.
17
17
  */
@@ -14,7 +14,7 @@ const DIAGNOSTIC_LINE = /^(\[bridge\]|Exception in thread |(?:[\w$]+\.)+[\w$]*(?
14
14
  * Java throwable with its first frame, each kept once with how many times it came, in first-seen order.
15
15
  *
16
16
  * A clean end removes the run directory, and with it `bridge.stderr.txt`, which is where the bridge says a
17
- * read of Forge failed (`PlayBridge.java`'s `decoration`, `[bridge] … could not read …`). So the operator's
17
+ * read of Forge failed (`SeatGuiOffers.java`'s `decoration`, `[bridge] … could not read …`). So the operator's
18
18
  * dredge window, 2026-10-23 — a prompt whose read threw and never went out — left nothing in the logs to
19
19
  * find it by. This is what is kept of it.
20
20
  */
@@ -134,7 +134,7 @@ export interface JvmHostConfig {
134
134
  * `off` is the heuristic AI alone; `base` the AI profile's own search (450 ms a decision, 2 s a
135
135
  * turn); `lite` Forge's phone setting (600 ms, 2.5 s, plus its attack search and a look at the
136
136
  * opponent's next turn for small decisions); `max` its desktop setting (1.5 s, 6 s, more lines,
137
- * more samples, the opponent's turn always). `PlayBridge.java`'s `MatchContext.aiFlatMc`.
137
+ * more samples, the opponent's turn always). `MatchContext.java`'s `aiFlatMc`.
138
138
  */
139
139
  export type AiFlatMc = 'off' | 'base' | 'lite' | 'max';
140
140
  /** `CARDTABLE_AI_FLAT_MC`'s default. See docs/planning/flat-mc-ai.md for the measurement behind it. */
@@ -51,7 +51,7 @@ export type MatchSpec<G = unknown> = {
51
51
  * (`game-adapter.ts`) — never read here. `fixtures/toy-game/rules.ts`'s `playToy` reads its own
52
52
  * JSON-encoded checkpoint back from this; Magic's `ForgeMatchSpec.scenario`
53
53
  * (`games/magic/server/src/play/forge-spec.ts`) is the Forge-shaped equivalent, kept
54
- * apart from this generic field because `PlayBridge.java`'s `configFrom` reads `scenario` by
54
+ * apart from this generic field because `MatchContext.java`'s constructor reads `scenario` by
55
55
  * that exact key, not whatever a non-Forge `G` happens to call its own resume data.
56
56
  */
57
57
  resumeData?: string;
@@ -64,7 +64,7 @@ export type MatchSpec<G = unknown> = {
64
64
  /**
65
65
  * The room's hand smoothing setting (`@hadoku/shared`'s `RoomSettings`): the
66
66
  * opening hand is the closer of two to the deck's land ratio, and each
67
- * mulligan's redraw is weighted toward it. `PlayBridge.java`'s `configFrom`
67
+ * mulligan's redraw is weighted toward it. `MatchContext.java`'s constructor
68
68
  * turns it into Forge's filtered hands. Absent is off, Forge's default — a
69
69
  * spec built directly, as the jvm suites build theirs, deals what it always did.
70
70
  */
@@ -42,8 +42,8 @@ export interface ActionsHeader {
42
42
  }
43
43
  /**
44
44
  * One `cmd` line of the action log — contract 1, `v:2`. `cmd` is the raw `BridgeCommand`: a
45
- * `reply`/`abort`, or an `act` built from the bridge's own `applied` echo (`PlayBridge.java`'s
46
- * `SeatController.applied`, wired in `recorder.ts`'s `line` hook) rather than the browser's act at
45
+ * `reply`/`abort`, or an `act` built from the bridge's own `applied` echo (`SeatController.java`'s
46
+ * `applied`, wired in `recorder.ts`'s `line` hook) rather than the browser's act at
47
47
  * send time — `docs/planning/front-page-and-replay-plan.md`'s "Wave 77 results" is why: Forge can
48
48
  * drop a sent act (no input was open) or apply two in a different order than they were sent, so a
49
49
  * log of what was SENT is not a log of what the game did.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/game-server",
3
- "version": "0.1.245",
4
- "gitHead": "664111647bb91e178ba5df7db1948767b0c1097e",
3
+ "version": "0.1.246",
4
+ "gitHead": "7a0f944261dfd0e56571d2221792fbb13aaec6fe",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "The server parts any hosted game shares, above the kernel: the app config and edge auth, the room core (identity, seats, sessions, membership, the room list, the generic room routes), match hosting (the host contract, local and remote JVMs, placement, the start queue, recordings, the in-process and relay runtimes), streams, erase, telemetry and usage. Knows no game; Magic plugs in from apps/server. MIT; imports only node built-ins, express, socket.io, @wolffm/* and the platform packages.",
@@ -16,9 +16,9 @@
16
16
  "play/remote/"
17
17
  ],
18
18
  "dependencies": {
19
- "@wolffm/host-wire": "npm:@hadoku/host-wire@0.1.245",
20
- "@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.245",
21
- "@wolffm/service-kernel": "npm:@hadoku/service-kernel@0.1.278",
19
+ "@wolffm/host-wire": "npm:@hadoku/host-wire@0.1.246",
20
+ "@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.246",
21
+ "@wolffm/service-kernel": "npm:@hadoku/service-kernel@0.1.279",
22
22
  "@wolffm/prefs-client": "npm:@hadoku/prefs-client@^1.2.4",
23
23
  "@wolffm/rooms-protocol": "npm:@hadoku/rooms-protocol@^0.45.154",
24
24
  "@wolffm/rooms-server": "npm:@hadoku/rooms-server@^0.45.154",