Extract WebSocket RPC client into shared runtime package

- Move ws RPC client and transport primitives into `@t3tools/client-runtime`
- Update web settings and environment code to use shared runtime types
- Keep reconnect and transport tests aligned with the new package boundary
This commit is contained in:
Julius Marminge committed 2026-04-17 19:48:34 -07:00
1 parent 3fe96f17b4
commit 1985d2c2ef
18 files changed
+1092 -1355

No files matched your search

@@ -6,6 +6,7 @@ import {
type DesktopServerExposureState,
type EnvironmentId,
} from "@t3tools/contracts";
import { WsRpcClient } from "@t3tools/client-runtime";
import { DateTime } from "effect";
import { useCopyToClipboard } from "../../hooks/useCopyToClipboard";
@@ -56,7 +57,6 @@ import {
type ServerClientSessionRecord,
type ServerPairingLinkRecord,
} from "~/environments/primary";
import type { WsRpcClient } from "~/rpc/wsRpcClient";
import {
type SavedEnvironmentRecord,
type SavedEnvironmentRuntimeState,