+
+
Connect Local Codex Runtime
+
+ Approve this pairing request to register your local Codex runtime with a workspace.
+
+
+
+ {loading || isLoading ? (
+
Loading pairing session...
+ ) : error ? (
+
+ {error}
+
+ ) : session ? (
+ <>
+
+
{session.runtime_name}
+
+ {session.device_name}
+ {session.runtime_version ? ` · ${session.runtime_version}` : ""}
+
+
+ {session.runtime_type}
+
+
+ Expires {formatExpiresAt(session.expires_at)}
+
+
+
+ {!user ? (
+
+
+ Sign in first, then choose which workspace should own this local runtime.
+
+
+ Sign in to continue
+
+
+ ) : session.status === "approved" || session.status === "claimed" ? (
+
+ This runtime is linked to a workspace. Return to the daemon window to finish setup.
+
+ ) : session.status === "expired" ? (
+
+ This pairing link expired. Restart the daemon to generate a new link.
+
+ ) : workspaces.length === 0 ? (
+
+ You do not have a workspace yet. Create one first, then reopen this pairing link.
+
+ ) : (
+
+
+
+
+
+
+
+
+ )}
+ >
+ ) : null}
+