@hadoku/game-server 0.1.181 → 0.1.182
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/dist/http/client-events.d.ts +1 -3
- package/dist/http/client-events.js +0 -1
- package/dist/play/host.d.ts +0 -1
- package/dist/play/host.js +0 -2
- package/package.json +5 -5
- package/dist/log.d.ts +0 -1
- package/dist/log.js +0 -2
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* as `client` events, under `svc: 'cardtable-client'`, keyed by page and user. Nothing is stored
|
|
8
8
|
* and nothing is answered but 204; `perf` lines are also rolled up into the 5-minute `frames` event.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
* cardtable-specific bits are `@hadoku/platform-wire/telemetry`'s schema, path and per-second cap, bound here — the kernel itself
|
|
10
|
+
* The cardtable-specific bits are `@hadoku/platform-wire/telemetry`'s schema, path and per-second cap, bound here — the kernel itself
|
|
12
11
|
* never imports it.
|
|
13
12
|
*
|
|
14
13
|
* Read them with `grep -a '"svc":"cardtable-client"' ~/.pm2/logs/cardtable-ppe-out.log` (PPE) or
|
|
@@ -16,7 +15,6 @@
|
|
|
16
15
|
*/
|
|
17
16
|
import type { Router } from 'express';
|
|
18
17
|
import { type JsonLog } from '@wolffm/service-kernel/log';
|
|
19
|
-
export { malformedFacts } from '@wolffm/service-kernel/relays';
|
|
20
18
|
export interface ClientEventsDeps {
|
|
21
19
|
log?: JsonLog;
|
|
22
20
|
now?: () => number;
|
|
@@ -3,7 +3,6 @@ import { attachClientEvents as kernelAttachClientEvents } from '@wolffm/service-
|
|
|
3
3
|
import { userIdOf } from '../edge-auth.js';
|
|
4
4
|
import { frames } from '../frames.js';
|
|
5
5
|
import { jsonLogger } from '@wolffm/service-kernel/log';
|
|
6
|
-
export { malformedFacts } from '@wolffm/service-kernel/relays';
|
|
7
6
|
export function attachClientEvents(api, deps = {}) {
|
|
8
7
|
const log = deps.log ?? jsonLogger('cardtable-client');
|
|
9
8
|
kernelAttachClientEvents(api, {
|
package/dist/play/host.d.ts
CHANGED
|
@@ -122,7 +122,6 @@
|
|
|
122
122
|
*/
|
|
123
123
|
import type { JvmLauncher } from './jvm-transport.js';
|
|
124
124
|
import { type JvmHostConfig } from './local-jvm.js';
|
|
125
|
-
export { FORGE_PREFERENCES, jvmHostConfig } from './local-jvm.js';
|
|
126
125
|
export interface SeatSpec {
|
|
127
126
|
/** Forge's player name. Shown to both seats, so never an identity. */
|
|
128
127
|
name: string;
|
package/dist/play/host.js
CHANGED
|
@@ -125,8 +125,6 @@ import { randomBytes } from 'node:crypto';
|
|
|
125
125
|
import { join } from 'node:path';
|
|
126
126
|
import { jsonLogger } from '@wolffm/service-kernel/log';
|
|
127
127
|
import { JVM_HEAP_MB, MATCHES_PER_JVM, RUN_DIR_NAME, localJvmLauncher, writeFileAtomic } from './local-jvm.js';
|
|
128
|
-
// Until auto.test.ts, draftRooms.jvm.test.ts and scripts/agent/{claw-acceptance,local-e2e}.ts import these from local-jvm.
|
|
129
|
-
export { FORGE_PREFERENCES, jvmHostConfig } from './local-jvm.js';
|
|
130
128
|
const LIFECYCLE_T = new Set(['ready', 'fatal', 'frame', 'snapshot']);
|
|
131
129
|
/** Narrows any engine's line onto the four the host itself understands. See {@link HostLifecycleLine}. */
|
|
132
130
|
export function isLifecycle(line) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hadoku/game-server",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "0.1.182",
|
|
4
|
+
"gitHead": "a0fcf2b837ee05bcc0c975d3dd14e27ad620c41c",
|
|
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.",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"play/remote/"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@wolffm/host-wire": "npm:@hadoku/host-wire@0.1.
|
|
21
|
-
"@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.
|
|
22
|
-
"@wolffm/service-kernel": "npm:@hadoku/service-kernel@0.1.
|
|
20
|
+
"@wolffm/host-wire": "npm:@hadoku/host-wire@0.1.182",
|
|
21
|
+
"@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.182",
|
|
22
|
+
"@wolffm/service-kernel": "npm:@hadoku/service-kernel@0.1.215",
|
|
23
23
|
"@wolffm/prefs-client": "npm:@hadoku/prefs-client@^1.2.2",
|
|
24
24
|
"@wolffm/rooms-protocol": "npm:@hadoku/rooms-protocol@^0.45.145",
|
|
25
25
|
"@wolffm/rooms-server": "npm:@hadoku/rooms-server@^0.45.145",
|
package/dist/log.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { jsonLogger, type JsonLog } from '@wolffm/service-kernel/log';
|
package/dist/log.js
DELETED