@dreamboard-games/cli 0.1.30-alpha.1 → 0.1.30-alpha.10
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 +179 -22
- package/dist/agent-verifier/agent-workspace-verifier.mjs +31 -30
- package/dist/agent-verifier/agent-workspace-verifier.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-4WD3YU2E.mjs → chunk-3IJBOLGT.mjs} +4 -12
- package/dist/agent-verifier/chunk-3IJBOLGT.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-6A5HRJMQ.mjs → chunk-4GU3PCHV.mjs} +62 -99
- package/dist/agent-verifier/chunk-4GU3PCHV.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-SYPLYRGB.mjs → chunk-6XRC5PWB.mjs} +119 -310
- package/dist/agent-verifier/chunk-6XRC5PWB.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-BVVNBJM4.mjs → chunk-COB56ESI.mjs} +2 -1
- package/dist/agent-verifier/chunk-COB56ESI.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-2GBBP27W.mjs → chunk-F2DIOJJZ.mjs} +1 -0
- package/dist/agent-verifier/chunk-F2DIOJJZ.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-CFU5EWIC.mjs → chunk-G42BGGG2.mjs} +7 -6
- package/dist/agent-verifier/chunk-G42BGGG2.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-XYDL7GY6.mjs → chunk-H6XDQJ3N.mjs} +1 -0
- package/dist/agent-verifier/{chunk-LM3OZLZG.mjs → chunk-IAYRNVUC.mjs} +1 -0
- package/dist/agent-verifier/chunk-IAYRNVUC.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-2QMNAVV4.mjs → chunk-JZTH3EMV.mjs} +2 -1
- package/dist/agent-verifier/chunk-JZTH3EMV.mjs.map +1 -0
- package/dist/agent-verifier/chunk-KK47X7RV.mjs +14 -0
- package/dist/agent-verifier/chunk-KK47X7RV.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-SHUMAVAP.mjs → chunk-M7UVBANQ.mjs} +8 -9
- package/dist/agent-verifier/chunk-M7UVBANQ.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-JH22JNYD.mjs → chunk-MGXX4WFR.mjs} +87 -22
- package/dist/agent-verifier/chunk-MGXX4WFR.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-2E5P5NWG.mjs → chunk-NAK77WXW.mjs} +58 -126
- package/dist/agent-verifier/chunk-NAK77WXW.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-CEQ2VJWN.mjs → chunk-POBFNXD4.mjs} +2 -1
- package/dist/agent-verifier/chunk-POBFNXD4.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-6UUJEYDV.mjs → chunk-QBAF7EYR.mjs} +1 -0
- package/dist/agent-verifier/chunk-QBAF7EYR.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-7653FPGJ.mjs → chunk-RHI6S4SU.mjs} +3 -2
- package/dist/agent-verifier/chunk-RHI6S4SU.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-MINCYHXN.mjs → chunk-TAEQKBJB.mjs} +1 -0
- package/dist/agent-verifier/chunk-TAEQKBJB.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-7E65UQLY.mjs → chunk-TLYGTHXU.mjs} +3 -2
- package/dist/agent-verifier/chunk-TLYGTHXU.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-EIQWDQWJ.mjs → chunk-UWJIZML3.mjs} +13 -14
- package/dist/agent-verifier/chunk-UWJIZML3.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-CJEEA6NJ.mjs → chunk-VLOIZDR6.mjs} +15 -31
- package/dist/agent-verifier/chunk-VLOIZDR6.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-HJFQDSTU.mjs → chunk-W2MDP5ZN.mjs} +6 -5
- package/dist/agent-verifier/chunk-W2MDP5ZN.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-CEDUHGNH.mjs → chunk-XKCJBIRY.mjs} +2 -1
- package/dist/agent-verifier/chunk-XKCJBIRY.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-VYJTHSYR.mjs → chunk-YDIOW2BO.mjs} +2 -1
- package/dist/agent-verifier/chunk-YDIOW2BO.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-MRCUP5SW.mjs → chunk-YE7UAO3T.mjs} +1 -0
- package/dist/agent-verifier/chunk-YE7UAO3T.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-EOQIV6PS.mjs → chunk-YR664DJX.mjs} +111 -116
- package/dist/agent-verifier/chunk-YR664DJX.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-2SZHMP6F.mjs → chunk-Z6OZWUIZ.mjs} +6 -9
- package/dist/agent-verifier/chunk-Z6OZWUIZ.mjs.map +1 -0
- package/dist/agent-verifier/{chunk-RBDDIIPM.mjs → chunk-ZEELHSY3.mjs} +1 -0
- package/dist/agent-verifier/chunk-ZEELHSY3.mjs.map +1 -0
- package/dist/agent-verifier/{compile-5QSPIOUT.mjs → compile-C2VIP6VC.mjs} +27 -27
- package/dist/agent-verifier/compile-C2VIP6VC.mjs.map +1 -0
- package/dist/agent-verifier/{global-config-WX3ZZIVU.mjs → global-config-XHL7BCKN.mjs} +6 -5
- package/dist/agent-verifier/global-config-XHL7BCKN.mjs.map +1 -0
- package/dist/agent-verifier/{keychain-backend-TNOPQV3Z.mjs → keychain-backend-A3MRWLPF.mjs} +2 -1
- package/dist/agent-verifier/keychain-backend-A3MRWLPF.mjs.map +1 -0
- package/dist/agent-verifier/{local-files-MTPLP62S.mjs → local-files-ZW52HSVT.mjs} +10 -11
- package/dist/agent-verifier/local-files-ZW52HSVT.mjs.map +1 -0
- package/dist/agent-verifier/local-typecheck-3JXL2NMG.mjs +10 -0
- package/dist/agent-verifier/local-typecheck-3JXL2NMG.mjs.map +1 -0
- package/dist/agent-verifier/{materialize-workspace-FKALAE2T.mjs → materialize-workspace-BKZLLFI4.mjs} +20 -20
- package/dist/agent-verifier/materialize-workspace-BKZLLFI4.mjs.map +1 -0
- package/dist/agent-verifier/{project-state-7GR6BQTQ.mjs → project-state-XKUSCFSV.mjs} +3 -2
- package/dist/agent-verifier/project-state-XKUSCFSV.mjs.map +1 -0
- package/dist/agent-verifier/{prompt-3BAINGAQ.mjs → prompt-VKHMCQT6.mjs} +2 -1
- package/dist/agent-verifier/prompt-VKHMCQT6.mjs.map +1 -0
- package/dist/agent-verifier/{reducer-bundle-preflight-C73LEXI2.mjs → reducer-bundle-preflight-7NYZF5ZT.mjs} +6 -9
- package/dist/agent-verifier/reducer-bundle-preflight-7NYZF5ZT.mjs.map +1 -0
- package/dist/agent-verifier/reducer-contract-preflight-COD2CO22.mjs +11 -0
- package/dist/agent-verifier/reducer-contract-preflight-COD2CO22.mjs.map +1 -0
- package/dist/agent-verifier/{reducer-native-test-harness-GMWBUISX.mjs → reducer-native-test-harness-D4VWPIAC.mjs} +14 -17
- package/dist/agent-verifier/reducer-native-test-harness-D4VWPIAC.mjs.map +1 -0
- package/dist/agent-verifier/static-scaffold-JCRBDKEH.mjs +26 -0
- package/dist/agent-verifier/static-scaffold-JCRBDKEH.mjs.map +1 -0
- package/dist/agent-verifier/{sync-3DUQH32H.mjs → sync-UTL2IIZV.mjs} +35 -39
- package/dist/agent-verifier/sync-UTL2IIZV.mjs.map +1 -0
- package/dist/agent-verifier/{test-P4U5INTD.mjs → test-H26XCBFA.mjs} +29 -31
- package/dist/agent-verifier/test-H26XCBFA.mjs.map +1 -0
- package/dist/agent-verifier/workspace-codegen-WPZHMATU.mjs +10 -0
- package/dist/agent-verifier/workspace-codegen-WPZHMATU.mjs.map +1 -0
- package/dist/agent-verifier/{workspace-dependencies-HZ6VVS4G.mjs → workspace-dependencies-ULZZZPNX.mjs} +5 -4
- package/dist/agent-verifier/workspace-dependencies-ULZZZPNX.mjs.map +1 -0
- package/dist/{chunk-C6UAT6EH.js → chunk-GXM7RRZJ.js} +9 -11
- package/dist/chunk-GXM7RRZJ.js.map +1 -0
- package/dist/{chunk-RS7UXJZV.js → chunk-P5TITCD3.js} +790 -17875
- package/dist/chunk-P5TITCD3.js.map +1 -0
- package/dist/{global-config-AGFBDFYD.js → global-config-WPJRXVDO.js} +2 -2
- package/dist/global-config-WPJRXVDO.js.map +1 -0
- package/dist/index.js +437 -52
- package/dist/index.js.map +1 -1
- package/dist/internal.js +2 -3
- package/package.json +8 -7
- package/skills/dreamboard/references/building-your-first-game.md +510 -0
- package/skills/dreamboard/references/cli.md +104 -0
- package/skills/dreamboard/references/game-interface.md +548 -0
- package/skills/dreamboard/references/manifest-authoring.md +597 -0
- package/skills/dreamboard/references/quickstart.md +66 -0
- package/skills/dreamboard/references/reducer.md +864 -0
- package/skills/dreamboard/references/rule-authoring.md +147 -0
- package/skills/dreamboard/references/testing.md +249 -0
- package/skills/dreamboard/scripts/events-extract.mjs +218 -0
- package/dist/agent-verifier/chunk-54TAYXUD.mjs +0 -12
- package/dist/agent-verifier/chunk-HBNDKQT5.mjs +0 -8381
- package/dist/agent-verifier/chunk-LI3ZR3BI.mjs +0 -41
- package/dist/agent-verifier/chunk-U6OJN7XS.mjs +0 -8092
- package/dist/agent-verifier/local-typecheck-QFYYAZOK.mjs +0 -9
- package/dist/agent-verifier/reducer-contract-preflight-22X7DSZW.mjs +0 -10
- package/dist/agent-verifier/static-scaffold-AJMZZQWS.mjs +0 -28
- package/dist/agent-verifier/testing-5K2BJYF2.mjs +0 -674
- package/dist/agent-verifier/workspace-codegen-JDZJRSDV.mjs +0 -11
- package/dist/chunk-7FOO4AJI.js +0 -50
- package/dist/chunk-7FOO4AJI.js.map +0 -1
- package/dist/chunk-C6UAT6EH.js.map +0 -1
- package/dist/chunk-RS7UXJZV.js.map +0 -1
- package/dist/internal.d.ts +0 -311
- package/dist/runtime-packages/ui-host-runtime/src/actor-principal.ts +0 -71
- package/dist/runtime-packages/ui-host-runtime/src/browser-interaction.ts +0 -139
- package/dist/runtime-packages/ui-host-runtime/src/components/host-controls.tsx +0 -374
- package/dist/runtime-packages/ui-host-runtime/src/components/host-feedback-toaster.tsx +0 -266
- package/dist/runtime-packages/ui-host-runtime/src/components/host-feedback.tsx +0 -212
- package/dist/runtime-packages/ui-host-runtime/src/components/host-primitives.tsx +0 -271
- package/dist/runtime-packages/ui-host-runtime/src/components/host-session-metadata.tsx +0 -135
- package/dist/runtime-packages/ui-host-runtime/src/components/index.ts +0 -5
- package/dist/runtime-packages/ui-host-runtime/src/components/perf-overlay.tsx +0 -194
- package/dist/runtime-packages/ui-host-runtime/src/gameplay-authority-transport.ts +0 -626
- package/dist/runtime-packages/ui-host-runtime/src/host-controls.tsx +0 -1
- package/dist/runtime-packages/ui-host-runtime/src/host-feedback.tsx +0 -1
- package/dist/runtime-packages/ui-host-runtime/src/host-session-transport.ts +0 -294
- package/dist/runtime-packages/ui-host-runtime/src/index.ts +0 -3
- package/dist/runtime-packages/ui-host-runtime/src/logger.ts +0 -11
- package/dist/runtime-packages/ui-host-runtime/src/perf.ts +0 -324
- package/dist/runtime-packages/ui-host-runtime/src/plugin-bridge.ts +0 -195
- package/dist/runtime-packages/ui-host-runtime/src/plugin-health-check.ts +0 -138
- package/dist/runtime-packages/ui-host-runtime/src/plugin-messages.ts +0 -159
- package/dist/runtime-packages/ui-host-runtime/src/plugin-session-gateway.ts +0 -551
- package/dist/runtime-packages/ui-host-runtime/src/runtime/index.ts +0 -13
- package/dist/runtime-packages/ui-host-runtime/src/screenshot/projection-to-snapshot.ts +0 -122
- package/dist/runtime-packages/ui-host-runtime/src/screenshot/static-store-api.ts +0 -26
- package/dist/runtime-packages/ui-host-runtime/src/session-ingress-controller.ts +0 -583
- package/dist/runtime-packages/ui-host-runtime/src/session-ingress.ts +0 -219
- package/dist/runtime-packages/ui-host-runtime/src/session-live-runtime.ts +0 -117
- package/dist/runtime-packages/ui-host-runtime/src/session-model.ts +0 -431
- package/dist/runtime-packages/ui-host-runtime/src/session-projection.ts +0 -211
- package/dist/runtime-packages/ui-host-runtime/src/session-recovery.ts +0 -80
- package/dist/runtime-packages/ui-host-runtime/src/session-state-reducer.ts +0 -1034
- package/dist/runtime-packages/ui-host-runtime/src/sse-manager.ts +0 -416
- package/dist/runtime-packages/ui-host-runtime/src/unified-session-store.ts +0 -184
- package/dist/testing-KLSV6CPJ.js +0 -674
- package/dist/testing-KLSV6CPJ.js.map +0 -1
- /package/dist/{global-config-AGFBDFYD.js.map → agent-verifier/chunk-H6XDQJ3N.mjs.map} +0 -0
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { useEffect, useState } from "react";
|
|
2
|
-
import {
|
|
3
|
-
PERF_MARK_NAMES,
|
|
4
|
-
clearPerfEntries,
|
|
5
|
-
getPerfEntries,
|
|
6
|
-
isPerfEnabled,
|
|
7
|
-
type PerfEntry,
|
|
8
|
-
} from "../perf.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Tier-0 input-latency HUD.
|
|
12
|
-
*
|
|
13
|
-
* Enabled when {@link isPerfEnabled} returns true (dev build or
|
|
14
|
-
* `localStorage.dreamboard.perf = 1`) AND the URL contains `?perf=1`.
|
|
15
|
-
* The explicit query flag keeps the overlay off in the normal dev
|
|
16
|
-
* experience; flip it on for a targeted benchmarking session.
|
|
17
|
-
*
|
|
18
|
-
* Shared by `apps/web` (real game sessions) and `apps/dreamboard-cli`
|
|
19
|
-
* (`dreamboard dev` local host) so both surfaces expose the same HUD
|
|
20
|
-
* against the same `clientActionId`-keyed ring buffer.
|
|
21
|
-
*/
|
|
22
|
-
const REFRESH_INTERVAL_MS = 500;
|
|
23
|
-
const MAX_ROWS = 10;
|
|
24
|
-
|
|
25
|
-
interface RowStats {
|
|
26
|
-
clientActionId: string;
|
|
27
|
-
totalMs: number | null;
|
|
28
|
-
serverMs: number | null;
|
|
29
|
-
postAckTailMs: number | null;
|
|
30
|
-
sseMs: number | null;
|
|
31
|
-
renderMs: number | null;
|
|
32
|
-
version: number | undefined;
|
|
33
|
-
syncId: number | undefined;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function firstMarkMs(entry: PerfEntry, name: string): number | null {
|
|
37
|
-
const mark = entry.marks.find((m) => m.name === name);
|
|
38
|
-
return mark ? mark.timestampMs : null;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function deltaMs(a: number | null, b: number | null): number | null {
|
|
42
|
-
if (a === null || b === null) return null;
|
|
43
|
-
return Math.round((b - a) * 10) / 10;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function toRowStats(entry: PerfEntry): RowStats {
|
|
47
|
-
const t0 = firstMarkMs(entry, PERF_MARK_NAMES.T0_CLICK);
|
|
48
|
-
const t2 = firstMarkMs(entry, PERF_MARK_NAMES.T2_HTTP_SENT);
|
|
49
|
-
const t3 = firstMarkMs(entry, PERF_MARK_NAMES.T3_HTTP_RESPONSE);
|
|
50
|
-
const t4 = firstMarkMs(entry, PERF_MARK_NAMES.T4_SSE_RECEIVED);
|
|
51
|
-
const t7 = firstMarkMs(entry, PERF_MARK_NAMES.T7_STATE_SYNC_RECEIVED);
|
|
52
|
-
const t8 = firstMarkMs(entry, PERF_MARK_NAMES.T8_RENDER_COMMIT);
|
|
53
|
-
return {
|
|
54
|
-
clientActionId: entry.clientActionId,
|
|
55
|
-
totalMs: deltaMs(t0, t8),
|
|
56
|
-
serverMs: deltaMs(t2, t3),
|
|
57
|
-
postAckTailMs: deltaMs(t3, t8),
|
|
58
|
-
sseMs: deltaMs(t3, t4),
|
|
59
|
-
renderMs: deltaMs(t7, t8),
|
|
60
|
-
version: entry.version,
|
|
61
|
-
syncId: entry.syncId,
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
function formatMs(value: number | null): string {
|
|
66
|
-
if (value === null) return "—";
|
|
67
|
-
return `${value.toFixed(1)}ms`;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function formatActionId(actionId: string): string {
|
|
71
|
-
return actionId.length > 8 ? `${actionId.slice(0, 8)}…` : actionId;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function usePerfOverlayEnabled(): boolean {
|
|
75
|
-
const [enabled, setEnabled] = useState(false);
|
|
76
|
-
useEffect(() => {
|
|
77
|
-
if (typeof window === "undefined") return;
|
|
78
|
-
if (!isPerfEnabled()) {
|
|
79
|
-
setEnabled(false);
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
const check = () => {
|
|
83
|
-
const params = new URLSearchParams(window.location.search);
|
|
84
|
-
setEnabled(params.get("perf") === "1");
|
|
85
|
-
};
|
|
86
|
-
check();
|
|
87
|
-
window.addEventListener("popstate", check);
|
|
88
|
-
return () => window.removeEventListener("popstate", check);
|
|
89
|
-
}, []);
|
|
90
|
-
return enabled;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export const PerfOverlay: React.FC = () => {
|
|
94
|
-
const enabled = usePerfOverlayEnabled();
|
|
95
|
-
const [rows, setRows] = useState<RowStats[]>([]);
|
|
96
|
-
|
|
97
|
-
useEffect(() => {
|
|
98
|
-
if (!enabled) return;
|
|
99
|
-
const refresh = () => {
|
|
100
|
-
const entries = getPerfEntries();
|
|
101
|
-
const sliced = entries.slice(-MAX_ROWS).reverse();
|
|
102
|
-
setRows(sliced.map(toRowStats));
|
|
103
|
-
};
|
|
104
|
-
refresh();
|
|
105
|
-
const handle = window.setInterval(refresh, REFRESH_INTERVAL_MS);
|
|
106
|
-
return () => window.clearInterval(handle);
|
|
107
|
-
}, [enabled]);
|
|
108
|
-
|
|
109
|
-
if (!enabled) return null;
|
|
110
|
-
|
|
111
|
-
return (
|
|
112
|
-
<div
|
|
113
|
-
className="fixed bottom-4 right-4 z-[9999] max-w-[640px] rounded-md border border-slate-700 bg-slate-900/90 p-3 font-mono text-[11px] text-slate-100 shadow-lg backdrop-blur"
|
|
114
|
-
data-testid="perf-overlay"
|
|
115
|
-
>
|
|
116
|
-
<div className="mb-2 flex items-center justify-between gap-3">
|
|
117
|
-
<span className="font-bold uppercase tracking-wider text-emerald-300">
|
|
118
|
-
Tier-0 Input Perf
|
|
119
|
-
</span>
|
|
120
|
-
<div className="flex items-center gap-2">
|
|
121
|
-
<button
|
|
122
|
-
type="button"
|
|
123
|
-
className="rounded border border-slate-600 px-2 py-0.5 text-[10px] uppercase hover:bg-slate-700"
|
|
124
|
-
onClick={() => {
|
|
125
|
-
clearPerfEntries();
|
|
126
|
-
setRows([]);
|
|
127
|
-
}}
|
|
128
|
-
>
|
|
129
|
-
Clear
|
|
130
|
-
</button>
|
|
131
|
-
<button
|
|
132
|
-
type="button"
|
|
133
|
-
className="rounded border border-slate-600 px-2 py-0.5 text-[10px] uppercase hover:bg-slate-700"
|
|
134
|
-
onClick={() => {
|
|
135
|
-
// eslint-disable-next-line no-console
|
|
136
|
-
console.table(getPerfEntries());
|
|
137
|
-
}}
|
|
138
|
-
>
|
|
139
|
-
Dump
|
|
140
|
-
</button>
|
|
141
|
-
</div>
|
|
142
|
-
</div>
|
|
143
|
-
{rows.length === 0 ? (
|
|
144
|
-
<div className="py-2 text-slate-400">
|
|
145
|
-
No samples yet. Submit an action to populate the HUD.
|
|
146
|
-
</div>
|
|
147
|
-
) : (
|
|
148
|
-
<table className="w-full border-collapse">
|
|
149
|
-
<thead className="text-slate-400">
|
|
150
|
-
<tr>
|
|
151
|
-
<th className="pr-2 text-left font-semibold">action</th>
|
|
152
|
-
<th className="pr-2 text-right font-semibold">v</th>
|
|
153
|
-
<th className="pr-2 text-right font-semibold">total</th>
|
|
154
|
-
<th className="pr-2 text-right font-semibold">server</th>
|
|
155
|
-
<th className="pr-2 text-right font-semibold">post-ack</th>
|
|
156
|
-
<th className="pr-2 text-right font-semibold">sse</th>
|
|
157
|
-
<th className="text-right font-semibold">render</th>
|
|
158
|
-
</tr>
|
|
159
|
-
</thead>
|
|
160
|
-
<tbody>
|
|
161
|
-
{rows.map((row) => (
|
|
162
|
-
<tr
|
|
163
|
-
key={row.clientActionId}
|
|
164
|
-
className="border-t border-slate-800 align-top"
|
|
165
|
-
>
|
|
166
|
-
<td className="pr-2 text-slate-300">
|
|
167
|
-
{formatActionId(row.clientActionId)}
|
|
168
|
-
</td>
|
|
169
|
-
<td className="pr-2 text-right text-slate-400">
|
|
170
|
-
{row.version ?? "—"}
|
|
171
|
-
</td>
|
|
172
|
-
<td className="pr-2 text-right text-emerald-200">
|
|
173
|
-
{formatMs(row.totalMs)}
|
|
174
|
-
</td>
|
|
175
|
-
<td className="pr-2 text-right text-slate-200">
|
|
176
|
-
{formatMs(row.serverMs)}
|
|
177
|
-
</td>
|
|
178
|
-
<td className="pr-2 text-right text-amber-200">
|
|
179
|
-
{formatMs(row.postAckTailMs)}
|
|
180
|
-
</td>
|
|
181
|
-
<td className="pr-2 text-right text-slate-200">
|
|
182
|
-
{formatMs(row.sseMs)}
|
|
183
|
-
</td>
|
|
184
|
-
<td className="text-right text-slate-200">
|
|
185
|
-
{formatMs(row.renderMs)}
|
|
186
|
-
</td>
|
|
187
|
-
</tr>
|
|
188
|
-
))}
|
|
189
|
-
</tbody>
|
|
190
|
-
</table>
|
|
191
|
-
)}
|
|
192
|
-
</div>
|
|
193
|
-
);
|
|
194
|
-
};
|