@devries-cameron20 / t3code Mirror · read-only / commits / 6790f85f53
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 17:15 UTC

fix(web): point pairing copy at Sharing & access (#27692)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

Pedro Navarrete committed Nov 13, 2026 at 03:29 UTC 6790f85f53a060a3c322089c3fac5dfcecdfc8b1
4 files changed +18 -20
apps/mobile/src/features/threads/LinkRequestCard.tsx
+5 -5
@@ -299,8 +299,8 @@ function LinkRequestSheet(props: {
299 >
300 <View className="gap-1">
301 <Text className="font-sans text-sm leading-5 text-foreground-muted">
302 - Agents here can then launch, message and wait on threads there. It appears in that
303 - machine's Connections, where it can be revoked.
302 + Agents here can then launch, message and wait on threads there. It appears under
303 + Authorized clients in that machine's Sharing & access, where it can be revoked.
304 </Text>
305 {item.url !== undefined && target.kind === "machine" ? (
306 <Text className="font-sans text-xs text-foreground-muted" numberOfLines={1}>
@@ -375,7 +375,7 @@ function LinkRequestSheet(props: {
375 {useExisting ? (
376 <Text className="font-sans text-sm leading-5 text-foreground-muted">
377 This environment is already linked to {targetName}. The agent can use that link as it
378 - is; change its access in Settings → Connections.
378 + is; change its access in Settings → Environments.
379 </Text>
380 ) : target.kind === "none" ? null : (
381 <>
@@ -394,8 +394,8 @@ function LinkRequestSheet(props: {
394 spellCheck={false}
395 />
396 <Text className="font-sans text-xs text-foreground-muted">
397 - Create a link on {targetName}: Settings → Connections → Create link, then paste
398 - its code here.
397 + Create a link on {targetName}: Settings → Sharing & access → Authorized clients →
398 + Create link, then paste its code here.
399 </Text>
400 </View>
401 )}
apps/server/src/cli/environment.ts
+3 -3
@@ -104,7 +104,7 @@ const environmentLinkCommand = Command.make("link", {
104 ),
105 }).pipe(
106 Command.withDescription(
107 - "Link another T3 Code environment, so agents here can work there. It shows up there under Settings → Connections, where it can be revoked.",
107 + "Link another T3 Code environment, so agents here can work there. It shows up there under Authorized clients in Settings → Sharing & access, where it can be revoked.",
108 ),
109 Command.withHandler((flags) =>
110 runWithPeerLinks(flags, (links) =>
@@ -145,7 +145,7 @@ const environmentUnlinkCommand = Command.make("unlink", {
145 ),
146 }).pipe(
147 Command.withDescription(
148 - "Forget a linked environment here. Revoke it in that environment's Connections to end its session there too.",
148 + "Forget a linked environment here. Revoke it in that environment's Sharing & access to end its session there too.",
149 ),
150 Command.withHandler((flags) =>
151 runWithPeerLinks(flags, (links) =>
@@ -153,7 +153,7 @@ const environmentUnlinkCommand = Command.make("unlink", {
153 const removed = yield* links.unlink(EnvironmentId.make(flags.environmentId));
154 yield* Console.log(
155 removed
156 - ? `Forgot ${flags.environmentId}. Revoke it in that environment's Connections to end its session there.\n`
156 + ? `Forgot ${flags.environmentId}. Revoke it in that environment's Sharing & access to end its session there.\n`
157 : `No linked environment ${flags.environmentId}.\n`,
158 );
159 }),
apps/web/src/components/chat/LinkRequestCard.tsx
+4 -4
@@ -297,7 +297,7 @@ function LinkRequestDialog(props: {
297 <WizardPopup>
298 <WizardHeader
299 title={pickMachine ? "Link a machine" : `Link ${targetName}`}
300 - description="Agents here can then launch, message and wait on threads there. Revoke it in that machine's Connections."
300 + description="Agents here can then launch, message and wait on threads there. Revoke it in that machine's Sharing & access."
301 >
302 {steps.length > 1 && !useExisting ? (
303 <WizardSteps
@@ -380,8 +380,8 @@ function LinkRequestDialog(props: {
380 spellCheck={false}
381 />
382 <span className="block text-xs text-muted-foreground">
383 - Create a link on {targetName}: Settings → Connections → Create link, then
384 - paste its code here.
383 + Create a link on {targetName}: Settings → Sharing & access → Authorized
384 + clients → Create link, then paste its code here.
385 </span>
386 </label>
387 )}
@@ -393,7 +393,7 @@ function LinkRequestDialog(props: {
393 {useExisting ? (
394 <p className="text-xs text-muted-foreground">
395 This environment is already linked to {targetName}. The agent can use that link as
396 - it is; change its access in Settings → Connections.
396 + it is; change its access in Settings → Environments.
397 </p>
398 ) : null}
399 {error !== null ? (
apps/web/src/components/settings/LinkedEnvironmentsSettings.tsx
+6 -8
@@ -103,7 +103,7 @@ function LinkedEnvironmentRow({
103 const [busy, setBusy] = useState(false);
104 const forget = async () => {
105 const confirmed = await (requestConfirmDialog(
106 - `Forget ${link.label}? Agents here stop working there. Revoke "T3 Code · …" in ${link.label}'s Connections to end the session there too.`,
106 + `Forget ${link.label}? Agents here stop working there. Revoke "T3 Code · …" in ${link.label}'s Sharing & access to end the session there too.`,
107 { variant: "destructive" },
108 ) ?? Promise.resolve(false));
109 if (!confirmed) return;
@@ -273,8 +273,8 @@ function LinkEnvironmentAction({ environmentId }: { readonly environmentId: Envi
273 <DialogHeader>
274 <DialogTitle>Link an environment</DialogTitle>
275 <DialogDescription>
276 - Agents here can then launch, message and wait on threads there. It appears in that
277 - environment's Connections, where it can be revoked.
276 + Agents here can then launch, message and wait on threads there. It appears under
277 + Authorized clients in that environment's Sharing & access, where it can be revoked.
278 </DialogDescription>
279 </DialogHeader>
280 <DialogPanel>
@@ -332,9 +332,7 @@ function LinkEnvironmentAction({ environmentId }: { readonly environmentId: Envi
332 value={pairingCode}
333 onChange={(event) => setPairingCode(event.target.value)}
334 placeholder={
335 - machine === null
336 - ? "From that environment's Connections, or t3 pair there"
337 - : "Paste the code"
335 + machine === null ? "From Sharing & access there, or t3 pair" : "Paste the code"
336 }
337 disabled={busy}
338 autoComplete="one-time-code"
@@ -343,8 +341,8 @@ function LinkEnvironmentAction({ environmentId }: { readonly environmentId: Envi
341 />
342 {machine !== null ? (
343 <span className="block text-xs text-muted-foreground">
346 - Create a link on {machine.label}: Settings → Connections → Create link, then
347 - paste its code here.
344 + Create a link on {machine.label}: Settings → Sharing & access → Authorized
345 + clients → Create link, then paste its code here.
346 </span>
347 ) : null}
348 </label>