IA · Agents de code · macOS et iOS · en développementAI · Coding agents · macOS and iOS · in developmentAI · 编程代理 · macOS 与 iOS · 开发中

Tether

Vos agents de code continuent de travailler sur votre Mac, et vous les gardez à portée de main depuis l'iPhone, l'iPad ou le Mac lui-même. Tether garde les sessions Claude Code vivantes dans ses propres terminaux, vous les rend exactement où elles en étaient, vous montre d'un coup d'œil quel agent vous attend, et vous laisse répondre à ses demandes d'autorisation. Sans serveur intermédiaire, sans compte, sans abonnement. Your coding agents keep working on your Mac, and you keep them within reach from the iPhone, the iPad or the Mac itself. Tether keeps Claude Code sessions alive in its own terminals, gives them back exactly where they were, shows at a glance which agent is waiting for you, and lets you answer its permission requests. No server in between, no account, no subscription. 你的编程代理在你的 Mac 上持续工作,而你可以通过 iPhone、iPad 或 Mac 本身随时掌握它们。Tether 在自己的终端中保持 Claude Code 会话持续运行,让你从中断处原样接续,一眼看出哪个代理在等你,并让你回复它的权限请求。没有中间服务器,无需账户,无需订阅。

Open source (MIT). En développement : la v1 n'est pas encore publiée, il n'existe ni DMG ni version App Store. Hôte : macOS 27. Clients : iPhone, iPad et iPhone Duo (iOS 27), et le Mac lui-même. Dépôt public prévu sur GitHub. Open source (MIT). In development: v1 is not released yet; there is no DMG and no App Store build. Host: macOS 27. Clients: iPhone, iPad and iPhone Duo (iOS 27), and the Mac itself. Public repository planned on GitHub. 开源(MIT)。开发中:v1 尚未发布,没有 DMG,也没有 App Store 版本。主机:macOS 27。客户端:iPhone、iPad 与 iPhone Duo(iOS 27),以及 Mac 本身。计划在 GitHub 上公开代码库。

Le cockpit de Tether sur Mac : huit sessions (Claude Code et un shell) sur un hôte de test, celle qui attend une autorisation en tête, puis attente de saisie, erreurs, en cours, au repos, shell et terminée ; à droite, l'état, l'agent, le dossier et la dernière activité de la session choisie.

Le problème, et pour quiThe problem, and who it is for问题所在,以及适用人群

Les agents de code comme Claude Code travaillent seuls pendant de longues minutes, puis s'arrêtent pour demander une autorisation : lancer une commande, modifier un fichier. Si personne n'est devant l'écran, l'agent attend. Le goulot d'étranglement n'est plus la machine, c'est l'humain qui doit dire oui ou non. Et dès qu'on quitte le bureau, un terminal sur téléphone perd la session quand le Mac se met en veille ou que le réseau change ; avec plusieurs agents en parallèle, on ne sait plus lequel a besoin de soi. Coding agents such as Claude Code work alone for long minutes, then stop to ask for permission: run a command, edit a file. If nobody is at the screen, the agent waits. The bottleneck is no longer the machine but the human who has to say yes or no. And once you leave the desk, a phone terminal loses the session when the Mac sleeps or the network changes; with several agents in parallel, you no longer know which one needs you. 像 Claude Code 这样的编程代理会独自工作很长时间,然后停下来请求授权:执行一条命令、修改一个文件。如果屏幕前没有人,代理就只能等待。瓶颈不再是机器,而是需要说“是”或“否”的人。一旦离开办公桌,手机上的终端会在 Mac 睡眠或网络切换时丢失会话;同时运行多个代理时,你也不知道哪一个需要你。

Développeur qui délègue à des agentsDeveloper delegating to agents把工作交给代理的开发者
Lance Claude Code sur un Mac, part en réunion ou au déjeuner, et veut que l'agent continue sans rester bloqué sur une question à laquelle il pourrait répondre en dix secondes depuis son téléphone.Starts Claude Code on a Mac, goes to a meeting or to lunch, and wants the agent to keep going instead of stalling on a question they could answer in ten seconds from their phone.在 Mac 上启动 Claude Code,然后去开会或吃午饭,希望代理继续工作,而不是卡在一个用手机十秒钟就能回答的问题上。
Qui fait tourner plusieurs agentsRunning several agents同时运行多个代理的人
Cinq sessions sur cinq projets. Veut voir d'un regard laquelle attend une autorisation, laquelle attend une réponse, laquelle a planté, sans ouvrir chaque terminal.Five sessions on five projects. Wants to see at a glance which one awaits approval, which one awaits an answer, which one crashed, without opening each terminal.五个项目、五个会话。希望一眼看出哪个在等待授权、哪个在等回复、哪个崩溃了,而无需逐个打开终端。
Qui veut garder la main sur ses donnéesKeeping control of one's data希望掌控自己数据的人
Ne veut pas que le contenu de ses sessions, de ses commandes ou de ses demandes d'autorisation transite par le serveur d'un éditeur tiers.Does not want the content of their sessions, commands or permission requests to pass through a third-party vendor's server.不希望会话内容、命令或权限请求经过第三方厂商的服务器。
Utilisateur d'iPhone, d'iPad et d'iPhone DuoiPhone, iPad and iPhone Duo useriPhone、iPad 与 iPhone Duo 用户
Veut un vrai terminal tactile sur le téléphone, une vue partagée sur l'iPad, et une mise en page qui suit l'iPhone Duo plié comme déplié.Wants a real touch terminal on the phone, a split view on the iPad, and a layout that follows the iPhone Duo folded or unfolded.希望手机上有真正的触控终端,iPad 上有分屏视图,并且布局能适应 iPhone Duo 的折叠与展开。

Le marché : piloter ses agents à distanceThe market: steering agents remotely市场:远程掌控代理

Les agents dans le terminalAgents in the terminal终端里的代理
Claude Code, Codex ou OpenCode tournent dans un terminal et exposent des « hooks » : des points d'accroche où un programme externe est prévenu d'un événement, et peut même répondre à une demande d'autorisation. C'est ce qui rend possible un pilotage à distance propre, sans lire l'écran.Claude Code, Codex or OpenCode run in a terminal and expose "hooks": points where an outside program is told about an event, and can even answer a permission request. That is what makes clean remote steering possible, without scraping the screen.Claude Code、Codex 或 OpenCode 在终端中运行,并提供“hooks”:外部程序可以在这些挂接点收到事件通知,甚至回复权限请求。这使得无需抓取屏幕即可干净地远程掌控代理。
Les clients de terminal mobilesMobile terminal clients移动终端客户端
Le besoin « terminal sur téléphone » est servi depuis longtemps par des clients SSH généralistes comme Termius (SSH, SFTP, Mosh, Telnet, sur mobile et ordinateur, offre gratuite et offres payantes à partir de 10 $ par mois facturés à l'année) ou Blink Shell sur iOS. Ils se connectent à n'importe quel serveur, mais ne savent rien des agents.The "terminal on the phone" need has long been served by general-purpose SSH clients such as Termius (SSH, SFTP, Mosh, Telnet, on mobile and desktop, a free plan and paid plans from $10 a month billed annually) or Blink Shell on iOS. They connect to any server, but know nothing about agents.“手机上的终端”需求长期以来由通用 SSH 客户端满足,例如 Termius(支持 SSH、SFTP、Mosh、Telnet,覆盖移动端与桌面端,提供免费方案,付费方案按年计费每月 10 美元起)或 iOS 上的 Blink Shell。它们可以连接任何服务器,但对代理一无所知。
Les apps pensées pour les agentsApps built for agents为代理而生的应用
Une catégorie plus récente vise précisément ce cas. Moshi se présente comme un terminal pour agents sur iPhone, iPad et Android, en SSH, Mosh ou Eternal Terminal, avec un « hook » côté machine qui remonte notifications, autorisations et consommation. C'est la référence à laquelle Tether se compare.A more recent category targets exactly this case. Moshi presents itself as a terminal for agents on iPhone, iPad and Android, over SSH, Mosh or Eternal Terminal, with a host-side hook that reports notifications, approvals and usage. It is the reference Tether measures itself against.一个较新的类别正好针对这一场景。Moshi 定位为面向代理的终端,支持 iPhone、iPad 与 Android,使用 SSH、Mosh 或 Eternal Terminal,并在主机端提供 hook,上报通知、授权与用量。它是 Tether 对标的参照。

Sources : pages citées en bas de page, lues le 2 décembre 2026. Prix américains, susceptibles de varier. Aucune taille de marché n'est avancée faute de source publique vérifiable.Sources: pages listed at the bottom, read on 2 December 2026. US prices, which may vary. No market size is given, for lack of a verifiable public source.来源:页面底部列出的网页,查阅日期为 2026 年 12 月 2 日。价格为美国价格,可能有所变动。由于缺乏可核实的公开来源,此处不提供市场规模数据。

Ce que fait TetherWhat Tether doesTether 的功能

Des sessions qui ne meurent pasSessions that do not die不会中断的会话

Un service intégré à l'app Mac, tetherd, possède les terminaux. Les sessions survivent à l'app fermée, à une connexion perdue, à la veille du Mac et à un changement de réseau. Ni tmux, ni screen.A service built into the Mac app, tetherd, owns the terminals. Sessions survive a closed app, a lost connection, Mac sleep and a network change. No tmux, no screen.Mac 应用内置的服务 tetherd 持有终端。即使应用关闭、连接中断、Mac 睡眠或网络切换,会话都会保留。无需 tmux 或 screen。

Reprendre où l'on en étaitResume where you were从中断处接续

Chaque octet affiché est numéroté. Au retour, l'app reçoit exactement ce qu'elle a manqué (jusqu'à 8 Mio par session), ou un redessin de l'écran si l'écart est plus grand. Une frappe n'est jamais envoyée deux fois.Every byte shown is numbered. Coming back, the app gets exactly what it missed (up to 8 MiB per session), or a repaint of the screen if the gap is larger. A keystroke is never sent twice.显示的每个字节都有编号。返回时,应用会准确收到错过的内容(每个会话最多 8 MiB);差距更大时则重绘屏幕。按键绝不会重复发送。

Un cockpit multi-agentsA multi-agent cockpit多代理驾驶舱

Sur Mac, iPhone et iPad, chaque session est classée par urgence : autorisation demandée, attente de saisie, erreur, en cours, au repos, terminée. Une boîte de réception regroupe les demandes en attente.On Mac, iPhone and iPad, every session is ordered by urgency: approval requested, waiting for input, error, running, idle, done. An inbox gathers pending requests.在 Mac、iPhone 和 iPad 上,每个会话按紧急程度排序:请求授权、等待输入、错误、运行中、空闲、已完成。收件箱汇总所有待处理的请求。

Autoriser depuis le téléphoneApprove from the phone在手机上授权

Une demande d'autorisation de Claude Code est retenue par le Mac et affichée en entier sur chaque appareil appairé. La première réponse valide l'emporte. Sans réponse possible, Claude Code affiche son invite habituelle : rien n'est jamais autorisé tout seul.A Claude Code permission request is held by the Mac and shown in full on every paired device. The first valid answer wins. When nobody can answer, Claude Code shows its usual prompt: nothing is ever approved on its own.Claude Code 的权限请求由 Mac 暂存,并完整显示在每台已配对设备上。第一个有效回复生效。若无人能回复,Claude Code 会显示它平常的提示:绝不会自动授权。

Des notifications sans serveurNotifications without a server无需服务器的通知

Le Mac contacte lui-même le service de notifications d'Apple avec votre clé. L'alerte ne dit que « une session attend votre autorisation » : aucune commande, aucun chemin, aucun nom de projet.The Mac contacts Apple's push service itself, with your key. The alert only says "a session needs your approval": no command, no path, no project name.Mac 使用你的密钥直接联系 Apple 推送服务。通知只会说“有会话等待你的授权”:不含命令、路径或项目名称。

Appairage par QR codeQR code pairing二维码配对

Le Mac affiche un QR code valable cinq minutes, l'iPhone le scanne. Ensuite chaque connexion est chiffrée et authentifiée des deux côtés. Un appareil se révoque depuis le Mac à tout moment.The Mac shows a QR code valid five minutes, the iPhone scans it. After that, every connection is encrypted and authenticated on both sides. A device can be revoked from the Mac at any time.Mac 显示一个五分钟内有效的二维码,iPhone 扫描即可。此后每条连接都经过双向加密与认证。可随时在 Mac 上撤销设备。

LAN ou TailscaleLAN or Tailscale局域网或 Tailscale

Le téléphone retient toutes les adresses du Mac (réseau local, Tailscale) et utilise la première qui répond. Au bureau comme en déplacement, sans ouvrir de port sur Internet.The phone remembers every address of the Mac (local network, Tailscale) and uses the first that answers. At the office or on the road, without opening a port to the Internet.手机会记住 Mac 的所有地址(局域网、Tailscale),并使用最先响应的那个。无论在办公室还是在外,都无需向互联网开放端口。

Un vrai terminal tactileA real touch terminal真正的触控终端

Rangée de touches (esc, ctrl, tab, flèches), gestes, presse-papiers et collage confirmé ; vue partagée et seconde fenêtre sur iPad ; écran extérieur et écran déplié sur iPhone Duo.Key row (esc, ctrl, tab, arrows), gestures, clipboard and confirmed paste; split view and a second window on iPad; cover and unfolded screens on iPhone Duo.按键栏(esc、ctrl、tab、方向键)、手势、剪贴板与确认粘贴;iPad 上的分屏与第二窗口;iPhone Duo 的外屏与展开屏。

Le Mac aussi est un clientThe Mac is a client tooMac 也是客户端

Depuis la barre de menus : le cockpit, des fenêtres de terminal natives sur les mêmes sessions (⌘N), la liste des appareils et l'installation des hooks Claude Code après relecture du changement.From the menu bar: the cockpit, native terminal windows on the same sessions (⌘N), the devices list, and installing the Claude Code hooks after reviewing the change.从菜单栏即可使用:驾驶舱、同一会话的原生终端窗口(⌘N)、设备列表,以及在审阅改动后安装 Claude Code hooks。

Sur chaque écranOn every screen每个屏幕上

Captures du simulateur et des tests automatisés, sur un hôte de test nommé « Smoke Mac » : aucune donnée réelle.Captures from the simulator and automated tests, on a test host named "Smoke Mac": no real data.截图来自模拟器与自动化测试,测试主机名为“Smoke Mac”:不含任何真实数据。

Une demande d'autorisation Claude Code sur Mac : la commande Bash et son entrée JSON en entier, le dossier, et les boutons Deny et Approve.
Fig. 1Fig. 1图 1Sur le Mac : la boîte de réception et la demande complète, avant de décider.On the Mac: the inbox and the full request, before deciding.在 Mac 上:收件箱与完整请求,先看清再决定。
La liste des sessions sur iPhone : la session qui attend une autorisation en tête avec un bouton Review.
Fig. 2Fig. 2图 2iPhone : qui vous attend, d'abord.iPhone: who needs you, first.iPhone:谁在等你,排第一。
Une carte d'autorisation sur iPhone : la commande, son entrée, Deny et Approve.
Fig. 3Fig. 3图 3Décider en voyant toute la demande.Decide with the whole request in view.看着完整请求做决定。
Un terminal sur iPhone après une reconnexion, avec le bandeau « Resumed. Nothing was lost. ».
Fig. 4Fig. 4图 4Reprise : la sortie manquée est rejouée, octet par octet.Resume: missed output is replayed, byte for byte.接续:错过的输出逐字节重放。
L'iPad en vue partagée : boîte de réception et sessions à gauche, carte d'autorisation à droite.
Fig. 5Fig. 5图 5iPad : la liste et le détail côte à côte.iPad: list and detail side by side.iPad:列表与详情并排。

Les alternatives, comparées honnêtementThe alternatives, compared honestly替代方案的客观比较

Le tableau résume ce que chaque éditeur dit sur son propre site, lu le 2 décembre 2026. « Non indiqué » signifie que la page lue ne le mentionne pas, pas que la fonction est absente. Tether est le plus étroit des quatre : il ne fait qu'une chose, mais sans serveur ni abonnement. The table sums up what each vendor says on its own site, read on 2 December 2026. "Not stated" means the page read does not mention it, not that the feature is missing. Tether is the narrowest of the four: it does one thing, but with no server and no subscription. 下表依据各厂商在自家网站上的说明整理,查阅日期为 2026 年 12 月 2 日。“未说明”表示所读页面没有提及,并不代表该功能不存在。Tether 是四者中范围最窄的:它只做一件事,但不需要服务器,也不需要订阅。

OptionOption方案 FormeForm形式 Sessions persistantesPersistent sessions持久会话 Agents et autorisationsAgents and approvals代理与授权 Serveur de l'éditeurVendor server厂商服务器 PrixPrice价格
Moshi Terminal pour agents : iPhone, iPad, Android ; app de bureau macOS, Linux, WindowsTerminal for agents: iPhone, iPad, Android; desktop app for macOS, Linux, Windows面向代理的终端:iPhone、iPad、Android;macOS、Linux、Windows 桌面应用 Avec Mosh ou ET (Pro), et tmux, Herdr ou Zellij côté machineWith Mosh or ET (Pro), and tmux, Herdr or Zellij on the host需 Mosh 或 ET(Pro),主机端需 tmux、Herdr 或 Zellij Oui, via moshi-hook ; 5 autorisations d'essai en gratuit, illimitées en ProYes, through moshi-hook; 5 trial approvals free, unlimited in Pro是,通过 moshi-hook;免费版可试用 5 次授权,Pro 不限 Le terminal passe en direct ; les événements (autorisations, alertes, usage) passent par les serveurs de Moshi, chiffrables de bout en boutThe terminal goes direct; events (approvals, alerts, usage) go through Moshi's servers, end-to-end encryptable终端直连;事件(授权、提醒、用量)经过 Moshi 服务器,可启用端到端加密 Gratuit ; Pro 14,99 $/mois, 89,99 $/an ou 199 $ à vieFree; Pro $14.99/month, $89.99/year or $199 lifetime免费;Pro 每月 14.99 美元、每年 89.99 美元,或终身 199 美元
Termius Client SSH généraliste, mobile et ordinateurGeneral-purpose SSH client, mobile and desktop通用 SSH 客户端,覆盖移动端与桌面端 Mosh pris en chargeMosh supported支持 Mosh Non indiquéNot stated未说明 Synchronisation entre appareils dans les offres payantesSync across devices in paid plans付费方案提供跨设备同步 Gratuit ; Pro 10 $/mois facturé à l'annéeFree; Pro $10/month billed annually免费;Pro 按年计费每月 10 美元
Blink Shell Terminal iOS (SSH, Mosh) ; moteur de rendu webiOS terminal (SSH, Mosh); web-based rendering engineiOS 终端(SSH、Mosh);基于网页的渲染引擎 Avec MoshWith Mosh借助 Mosh Non indiquéNot stated未说明 Non indiquéNot stated未说明 Non indiqué (code sous licence GPL-3)Not stated (GPL-3 licensed code)未说明(代码采用 GPL-3 许可)
Tether Hôte macOS + clients iPhone, iPad, Mac ; Mac uniquement comme machine hôtemacOS host + iPhone, iPad, Mac clients; Mac only as the host machinemacOS 主机 + iPhone、iPad、Mac 客户端;主机仅限 Mac Intégrées au service Mac, sans multiplexeur ; perdues si le service lui-même redémarreBuilt into the Mac service, no multiplexer; lost if the service itself restarts内置于 Mac 服务,无需多路复用器;若服务本身重启则会丢失 Claude Code seulement en v1, autorisations illimitéesClaude Code only in v1, unlimited approvalsv1 仅支持 Claude Code,授权次数不限 Aucun ; seul le service de notifications d'Apple, sans contenuNone; only Apple's push service, with no content无;仅使用 Apple 推送服务,且不含内容 Gratuit, open source (MIT) ; à compiler soi-mêmeFree, open source (MIT); build it yourself免费、开源(MIT);需自行编译

Moshi et Termius couvrent bien plus de terrain que Tether : Android, Apple Watch, n'importe quel serveur SSH, dictée, vue « chat », visionneuse de différences, une vingtaine d'agents pour Moshi. Tether ne prétend pas les remplacer sur ces points.Moshi and Termius cover far more ground than Tether: Android, Apple Watch, any SSH server, dictation, a chat view, a diff viewer, some twenty agents for Moshi. Tether does not claim to replace them on those points.Moshi 与 Termius 覆盖的范围远大于 Tether:Android、Apple Watch、任意 SSH 服务器、语音输入、聊天视图、差异查看器,Moshi 还支持约二十种代理。Tether 并不打算在这些方面取代它们。

Les avantagesThe advantages优势

Aucun intermédiaireNo middleman没有中间方

Les appareils parlent directement au Mac. Le seul tiers est Apple, pour réveiller le téléphone, avec un message sans contenu. Un contrôle automatique refuse tout autre domaine dans le code livré.Devices talk directly to the Mac. The only third party is Apple, to wake the phone, with a content-free message. An automated check rejects any other domain in the shipped code.设备直接与 Mac 通信。唯一的第三方是 Apple,用于唤醒手机,且消息不含内容。自动检查会拒绝交付代码中出现任何其他域名。

La persistance sans supplémentPersistence at no extra cost持久会话无需额外付费

La reprise de session n'est pas une option payante et ne dépend ni de tmux ni de Mosh : elle fait partie du service Mac.Session resume is not a paid option and depends on neither tmux nor Mosh: it is part of the Mac service.会话接续不是付费选项,也不依赖 tmux 或 Mosh:它是 Mac 服务的一部分。

Jamais d'autorisation impliciteNever an implicit approval绝不隐式授权

Une demande sans réponse reste en attente ou revient à l'invite locale ; une réponse rejouée ou périmée est rejetée. Si le Mac ne répond pas, Claude Code fonctionne comme sans Tether.An unanswered request stays pending or falls back to the local prompt; a replayed or stale answer is rejected. If the Mac does not answer, Claude Code works as it would without Tether.未回复的请求会保持待处理,或回退到本地提示;重放或过期的回复会被拒绝。若 Mac 无响应,Claude Code 的行为与没有 Tether 时一样。

Natif AppleNative to Apple原生 Apple 体验

SwiftUI sur les trois écrans, un vrai moteur de terminal (SwiftTerm), l'iPad en vue partagée et l'iPhone Duo pris en charge dès la v1.SwiftUI on all three screens, a real terminal engine (SwiftTerm), iPad split view and iPhone Duo supported from v1.三种屏幕均采用 SwiftUI,配备真正的终端引擎(SwiftTerm),从 v1 起即支持 iPad 分屏与 iPhone Duo。

Vos réglages respectésYour settings respected尊重你的设置

L'installation des hooks montre le changement exact, sauvegarde le fichier de réglages de Claude Code, fusionne au lieu d'écraser, et se défait de la même façon.Installing the hooks shows the exact change, backs up Claude Code's settings file, merges instead of overwriting, and undoes the same way.安装 hooks 时会显示确切改动,先备份 Claude Code 的设置文件,采用合并而非覆盖,并可用同样方式撤销。

Ouvert et vérifiableOpen and verifiable开放且可验证

Code sous licence MIT, protocole et formats de fichiers documentés, dépendances limitées aux licences MIT, Apache et BSD, vérifiées automatiquement.MIT-licensed code, documented protocol and file formats, dependencies limited to MIT, Apache and BSD licences, checked automatically.MIT 许可代码,协议与文件格式均有文档,依赖仅限 MIT、Apache 与 BSD 许可,并自动检查。

Les gains, décrits sans chiffres inventésThe gains, described without made-up numbers收益:不虚构数字

Tether n'a pas encore été mesuré en usage réel : les chiffres ci-dessous sont des objectifs fixés pour la v1, pas des résultats.Tether has not been measured in real use yet: the figures below are targets set for v1, not results.Tether 尚未在真实使用中测量:以下数字是为 v1 设定的目标,而非结果。

Moins d'agents à l'arrêtFewer stalled agents更少停滞的代理
Une demande d'autorisation arrive sur le téléphone au lieu d'attendre votre retour au bureau. Objectif v1 : la décision revient à l'agent en moins de 10 secondes dans 90 % des cas, temps de réflexion exclu.A permission request reaches the phone instead of waiting for you to get back to the desk. v1 target: the decision reaches the agent in under 10 seconds in 90% of cases, thinking time excluded.权限请求会送到手机上,而不是等你回到办公桌。v1 目标:在 90% 的情况下,决定在 10 秒内回到代理(不含思考时间)。
Reprendre sans relancerResuming without restarting无需重新启动即可接续
Plus de session perdue parce que le Mac s'est endormi ou que le téléphone est passé du Wi-Fi à la 5G. Objectif v1 : terminal de nouveau interactif en moins de 3 s sur le réseau local et 5 s via Tailscale.No more lost sessions because the Mac fell asleep or the phone moved from Wi-Fi to 5G. v1 target: terminal interactive again within 3 s on the local network and 5 s over Tailscale.不再因为 Mac 睡眠或手机从 Wi-Fi 切到 5G 而丢失会话。v1 目标:在局域网中 3 秒内、通过 Tailscale 5 秒内恢复终端交互。
Savoir où regarderKnowing where to look知道该看哪里
Avec plusieurs agents, le cockpit met en tête celui qui attend : on ouvre la bonne session au lieu de les parcourir toutes.With several agents, the cockpit puts the waiting one first: you open the right session instead of going through all of them.同时运行多个代理时,驾驶舱会把正在等待的那个排在最前:你直接打开正确的会话,而不必逐一查看。
Pas de facture, pas de dépendanceNo bill, no lock-in无账单,无锁定
Pas d'abonnement, pas de compte, pas de serveur à faire confiance. Le code est ouvert : il peut être audité, modifié, recompilé.No subscription, no account, no server to trust. The code is open: it can be audited, changed, rebuilt.无订阅、无账户、无需信任任何服务器。代码开放:可以审计、修改、重新编译。

Description techniqueTechnical description技术说明

PileStack技术栈
Swift 6 en concurrence stricte (avertissements traités comme des erreurs), SwiftUI, Xcode 27.1, projet généré par XcodeGen, toute la logique dans des paquets Swift testables seuls. Terminal : SwiftTerm 1.99.4, embarqué et figé. Réseau : Network.framework. Dépendances : swift-certificates et swift-nio (Apache-2.0).Swift 6 with strict concurrency (warnings as errors), SwiftUI, Xcode 27.1, project generated by XcodeGen, all logic in Swift packages testable on their own. Terminal: SwiftTerm 1.99.4, vendored and pinned. Network: Network.framework. Dependencies: swift-certificates and swift-nio (Apache-2.0).Swift 6 严格并发(警告视为错误)、SwiftUI、Xcode 27.1,项目由 XcodeGen 生成,所有逻辑位于可独立测试的 Swift 包中。终端:SwiftTerm 1.99.4,内嵌并锁定版本。网络:Network.framework。依赖:swift-certificates 与 swift-nio(Apache-2.0)。
ArchitectureArchitecture架构
Un seul service, tetherd, agent de lancement par utilisateur livré dans l'app Mac, détient tout l'état : terminaux, état des agents, autorisations, appairage, notifications. L'app Mac lui parle par un socket Unix local ; les apps iOS par TCP chiffré. Les deux parlent le même protocole. Cinq modules : TetherCore (modèles, protocole, aucune entrée-sortie), TetherTransport, TetherHost, TetherClient, TetherUI.A single service, tetherd, a per-user launch agent shipped inside the Mac app, holds all the state: terminals, agent state, approvals, pairing, notifications. The Mac app talks to it over a local Unix socket; the iOS apps over encrypted TCP. Both speak the same protocol. Five modules: TetherCore (models, protocol, no I/O), TetherTransport, TetherHost, TetherClient, TetherUI.单一服务 tetherd(随 Mac 应用提供的按用户启动代理)持有全部状态:终端、代理状态、授权、配对、通知。Mac 应用通过本地 Unix 套接字与之通信,iOS 应用则通过加密 TCP。两者使用同一协议。五个模块:TetherCore(模型与协议,无 I/O)、TetherTransport、TetherHost、TetherClient、TetherUI。
Protocole TSP v1TSP v1 protocolTSP v1 协议
Trames préfixées par leur longueur ; messages de contrôle en JSON, données en binaire par blocs de 64 Kio au plus ; trois files de priorité (contrôle et autorisations, saisie, flux) pour qu'une demande d'autorisation ne patiente jamais derrière un gros affichage ; version négociée, champs inconnus ignorés.Length-prefixed frames; control messages in JSON, data in binary chunks of at most 64 KiB; three priority lanes (control and approvals, input, bulk) so an approval request never waits behind a large output; negotiated version, unknown fields ignored.长度前缀帧;控制消息使用 JSON,数据以二进制块传输(每块最多 64 KiB);三条优先级通道(控制与授权、输入、批量输出),确保授权请求不会排在大量输出之后;版本经协商,未知字段会被忽略。
Reprise sans perteLossless resume无损接续
Inspirée d'Eternal Terminal : un compteur d'octets 64 bits par session, un anneau de 8 Mio en mémoire, un journal sur disque et un écran virtuel tenu à jour côté Mac. Au retour, l'app reçoit le delta exact ; s'il dépasse l'anneau, un redessin de l'écran. Les frappes sont dédupliquées par appareil.Modelled on Eternal Terminal: a 64-bit byte counter per session, an 8 MiB ring in memory, a journal on disk and a virtual screen kept up to date on the Mac. Coming back, the app gets the exact delta; if it exceeds the ring, a repaint of the screen. Keystrokes are deduplicated per device.借鉴 Eternal Terminal:每个会话一个 64 位字节计数器、内存中 8 MiB 的环形缓冲区、磁盘日志,以及在 Mac 端持续更新的虚拟屏幕。返回时,应用会收到精确的差量;若超出环形缓冲区,则重绘屏幕。按键按设备去重。
Sécurité et appairageSecurity and pairing安全与配对
TLS 1.3 mutuel avec des identités P-256 auto-signées et l'empreinte de clé publique (SPKI) épinglée des deux côtés. Le QR code porte l'empreinte du Mac, ses adresses et un code à usage unique de 5 minutes ; la preuve HMAC lie les deux certificats. Clés privées, clé APNs et jetons restent dans le Trousseau.Mutual TLS 1.3 with self-signed P-256 identities and the public-key fingerprint (SPKI) pinned on both sides. The QR code carries the Mac's fingerprint, its addresses and a 5-minute one-time code; the HMAC proof binds both certificates. Private keys, the APNs key and tokens stay in the Keychain.双向 TLS 1.3,使用自签名 P-256 身份,双方都固定公钥指纹(SPKI)。二维码包含 Mac 的指纹、地址以及 5 分钟有效的一次性代码;HMAC 证明同时绑定两个证书。私钥、APNs 密钥与令牌都保存在钥匙串中。
Hooks Claude CodeClaude Code hooksClaude Code hooks
Les hooks postent sur un écouteur local (127.0.0.1, jeton d'accès). Les événements deviennent un état d'agent unique par session. La demande PermissionRequest est mise en attente jusqu'à la réponse d'un appareil ; sans appareil disponible, le service répond « pas de décision » et Claude Code affiche son invite locale.Hooks post to a local listener (127.0.0.1, access token). Events become a single agent state per session. The PermissionRequest is held until a device answers; with no device available, the service answers "no decision" and Claude Code shows its local prompt.Hooks 向本地监听器(127.0.0.1,访问令牌)发送数据。事件被归并为每个会话唯一的代理状态。PermissionRequest 会被挂起,直到有设备回复;若没有可用设备,服务会回复“无决定”,Claude Code 则显示本地提示。
NotificationsNotifications通知
Le Mac appelle APNs en HTTP/2 avec un jeton ES256 signé par votre clé .p8. Trois types d'alertes (autorisation, attente de saisie, erreur), envoyées seulement aux appareils non connectés, avec des limites de fréquence. Pas encore de boutons dans l'alerte : la décision se prend dans l'app.The Mac calls APNs over HTTP/2 with an ES256 token signed by your .p8 key. Three kinds of alerts (approval, waiting for input, error), sent only to devices that are not connected, with rate limits. No buttons in the alert yet: the decision is made in the app.Mac 通过 HTTP/2 调用 APNs,使用由你的 .p8 密钥签名的 ES256 令牌。三类通知(授权、等待输入、错误),只发送给未连接的设备,并有频率限制。通知中暂无按钮:决定在应用中做出。
QualitéQuality质量
Tests par paquet, scripts de bout en bout sur simulateur (appairage, terminal, reprise, iPad, iPhone Duo, cockpit, notifications) et sur Mac (autorisations, hooks), contrôles automatiques des licences, de la télémétrie et des frontières entre modules.Per-package tests, end-to-end scripts on the simulator (pairing, terminal, resume, iPad, iPhone Duo, cockpit, push) and on the Mac (approvals, hooks), automated checks for licences, telemetry and module boundaries.按包测试,在模拟器上(配对、终端、接续、iPad、iPhone Duo、驾驶舱、通知)和 Mac 上(授权、hooks)运行端到端脚本,并自动检查许可、遥测与模块边界。
Limites connuesKnown limits已知限制
En v1, si le service tetherd lui-même redémarre, les sessions en cours se terminent (leur historique reste sur le disque). Un Mac en veille est injoignable : les alertes partent à son réveil. Seul Claude Code a des hooks. Les notifications exigent votre propre compte Apple Developer et votre clé APNs.In v1, if the tetherd service itself restarts, running sessions end (their history stays on disk). A sleeping Mac is unreachable: alerts go out when it wakes. Only Claude Code has hooks. Notifications require your own Apple Developer account and APNs key.在 v1 中,若 tetherd 服务本身重启,正在运行的会话会结束(其历史记录保留在磁盘上)。睡眠中的 Mac 无法连接:通知会在其唤醒后发出。只有 Claude Code 具备 hooks。通知需要你自己的 Apple Developer 账户与 APNs 密钥。

Guide d'utilisationUser guide使用指南

Tether n'est pas encore publié : il se compile depuis les sources, une fois le dépôt public ouvert.Tether is not released yet: it is built from source, once the public repository is open.Tether 尚未发布:待公开代码库开放后,需从源码编译。

1. Compiler1. Build1. 编译

Il faut un Mac Apple Silicon, Xcode 27.1 et XcodeGen.You need an Apple Silicon Mac, Xcode 27.1 and XcodeGen.需要一台 Apple Silicon Mac、Xcode 27.1 和 XcodeGen。

$ brew install xcodegen $ xcodegen generate $ xcodebuild -project Tether.xcodeproj -scheme TetherMac build $ xcodebuild -project Tether.xcodeproj -scheme TetheriOS -destination 'generic/platform=iOS Simulator' build

2. Démarrer sur le Mac2. Start on the Mac2. 在 Mac 上启动

  1. Lancez l'app : elle enregistre le service tetherd comme élément de connexion. Autorisez-le dans Réglages Système → Général → Ouverture si macOS le demande.Launch the app: it registers the tetherd service as a login item. Allow it in System Settings → General → Login Items if macOS asks.启动应用:它会将 tetherd 服务注册为登录项。若 macOS 询问,请在系统设置 → 通用 → 登录项中允许。
  2. ⌘N lance une session : Claude Code ou n'importe quelle commande, dans un dossier.⌘N starts a session: Claude Code or any command, in a folder.⌘N 启动会话:在某个文件夹中运行 Claude Code 或任意命令。
  3. Réglages → Agents : relisez le changement proposé, puis installez les hooks Claude Code. Le fichier de réglages est sauvegardé avant, et les hooks se retirent de la même façon.Settings → Agents: review the proposed change, then install the Claude Code hooks. The settings file is backed up first, and the hooks are removed the same way.设置 → Agents:审阅建议的改动,然后安装 Claude Code hooks。设置文件会先备份,hooks 也可用同样方式移除。

3. Appairer l'iPhone ou l'iPad3. Pair the iPhone or iPad3. 配对 iPhone 或 iPad

  1. Dans la barre de menus, Pair Device… (ou Réglages → Devices) affiche un QR code, valable cinq minutes.In the menu bar, Pair Device… (or Settings → Devices) shows a QR code, valid five minutes.在菜单栏中,Pair Device…(或 设置 → Devices)会显示一个五分钟内有效的二维码。
  2. Scannez-le avec l'app iOS. L'appareil apparaît dans la liste des appareils du Mac, d'où il se révoque à tout moment.Scan it with the iOS app. The device appears in the Mac's devices list, where it can be revoked at any time.用 iOS 应用扫描。设备会出现在 Mac 的设备列表中,可随时在那里撤销。
  3. Facultatif, pour être prévenu app fermée : Réglages → Notifications, importez votre clé APNs (Team ID, Key ID, fichier .p8). Elle reste dans le Trousseau.Optional, to be alerted with the app closed: Settings → Notifications, import your APNs key (Team ID, Key ID, .p8 file). It stays in the Keychain.可选,用于在应用关闭时收到通知:在设置 → Notifications 中导入你的 APNs 密钥(Team ID、Key ID、.p8 文件)。密钥保存在钥匙串中。

4. Au quotidien4. Day to day4. 日常使用

Le cockpitThe cockpit驾驶舱
La session qui attend une autorisation est en tête, avec un bouton Review. Viennent ensuite l'attente de saisie, les erreurs, les sessions en cours, au repos et terminées.The session waiting for approval comes first, with a Review button. Then waiting for input, errors, running, idle and done sessions.等待授权的会话排在最前,并带有 Review 按钮。随后依次是等待输入、错误、运行中、空闲与已完成的会话。
RépondreAnswering回复
La carte montre l'outil, la commande et son entrée complète. Approve ou Deny : la première réponse valide, depuis n'importe quel appareil, l'emporte ; les autres affichent « répondu ailleurs ».The card shows the tool, the command and its full input. Approve or Deny: the first valid answer, from any device, wins; the others show "answered elsewhere".卡片显示工具、命令及其完整输入。Approve 或 Deny:来自任意设备的第一个有效回复生效;其他设备会显示“已在别处回复”。
Le terminalThe terminal终端
Touchez une session pour l'ouvrir et taper. La rangée au-dessus du clavier donne esc, ctrl, tab et les flèches. Le dernier appareil qui tape fixe la taille du terminal.Tap a session to open it and type. The row above the keyboard gives esc, ctrl, tab and arrows. The last device to type sets the terminal size.点按会话即可打开并输入。键盘上方的按键栏提供 esc、ctrl、tab 与方向键。最后输入的设备决定终端尺寸。
Partir, revenirLeaving, coming back离开与返回
Fermez l'app, changez de réseau, laissez le Mac s'endormir : la session continue sur le Mac. En revenant, le bandeau « Resumed. Nothing was lost. » confirme que rien n'a été perdu.Close the app, change network, let the Mac sleep: the session keeps going on the Mac. Coming back, the "Resumed. Nothing was lost." banner confirms nothing was lost.关闭应用、切换网络、让 Mac 睡眠:会话会在 Mac 上继续运行。返回时,“Resumed. Nothing was lost.” 横幅会确认没有任何内容丢失。

Questions fréquentesFrequently asked questions常见问题

Où puis-je télécharger Tether ?Where can I download Tether?在哪里下载 Tether?

Nulle part pour l'instant : la v1 est en développement, sans version publiée ni App Store. Le code sera publié sous licence MIT et se compile avec Xcode.Nowhere yet: v1 is in development, with no release and no App Store build. The code will be published under the MIT licence and builds with Xcode.目前还没有:v1 仍在开发中,尚无发布版本,也没有 App Store 版本。代码将以 MIT 许可发布,可用 Xcode 编译。

Mes sessions passent-elles par un serveur ?Do my sessions go through a server?我的会话会经过服务器吗?

Non. Les appareils parlent directement au Mac, sur le réseau local ou via votre propre réseau Tailscale, en TLS 1.3 mutuel. Seul Apple voit passer une alerte, qui ne contient ni commande, ni chemin, ni nom de projet.No. Devices talk directly to the Mac, on the local network or through your own Tailscale network, over mutual TLS 1.3. Only Apple sees an alert go by, and it contains no command, path or project name.不会。设备通过局域网或你自己的 Tailscale 网络,以双向 TLS 1.3 直接与 Mac 通信。只有 Apple 会经手一条通知,其中不含命令、路径或项目名称。

Que se passe-t-il si je ne réponds pas à une autorisation ?What happens if I do not answer an approval?如果我不回复授权请求会怎样?

Rien n'est autorisé à votre place. La demande reste en attente, et si aucun appareil ne peut répondre, Claude Code affiche simplement son invite habituelle sur le Mac.Nothing is approved on your behalf. The request stays pending, and if no device can answer, Claude Code simply shows its usual prompt on the Mac.不会替你授权任何操作。请求会保持待处理;若没有设备能回复,Claude Code 只会在 Mac 上显示它平常的提示。

Faut-il tmux ou Mosh ?Do I need tmux or Mosh?需要 tmux 或 Mosh 吗?

Non. Le service Mac garde lui-même les terminaux et gère la reprise. La principale limite en v1 : si ce service redémarre, les sessions en cours se terminent.No. The Mac service holds the terminals itself and handles resume. The main v1 limit: if that service restarts, running sessions end.不需要。Mac 服务自己持有终端并负责接续。v1 的主要限制是:若该服务重启,正在运行的会话会结束。

Et Codex, OpenCode ou un simple shell ?What about Codex, OpenCode or a plain shell?Codex、OpenCode 或普通 shell 呢?

Ils tournent comme sessions persistantes, avec terminal et reprise. Les hooks, l'état d'agent et les autorisations ne concernent que Claude Code en v1.They run as persistent sessions, with terminal and resume. Hooks, agent state and approvals apply only to Claude Code in v1.它们可以作为持久会话运行,具备终端与接续功能。在 v1 中,hooks、代理状态与授权仅适用于 Claude Code。

Pourquoi faut-il ma propre clé APNs ?Why do I need my own APNs key?为什么需要我自己的 APNs 密钥?

Apple n'accepte les notifications que de l'équipe développeur qui signe l'app. Sans serveur relais, chaque personne qui compile Tether utilise donc sa propre équipe, son identifiant d'app et sa clé. Sans clé, tout le reste fonctionne et le cockpit montre les demandes en attente.Apple only accepts notifications from the developer team that signs the app. With no relay server, everyone who builds Tether therefore uses their own team, app identifier and key. Without a key, everything else works and the cockpit shows pending requests.Apple 只接受签名该应用的开发者团队发送的通知。由于没有中继服务器,每个自行编译 Tether 的人都需要使用自己的团队、应用标识符与密钥。没有密钥时,其他功能都正常,驾驶舱也会显示待处理的请求。

SourcesSources来源

Pages consultées le 2 décembre 2026 pour les sections marché et alternatives. Les faits sur Tether viennent de son dépôt (architecture, protocole, contrats, tests).Pages read on 2 December 2026 for the market and alternatives sections. Facts about Tether come from its repository (architecture, protocol, contracts, tests).市场与替代方案部分的网页查阅于 2026 年 12 月 2 日。关于 Tether 的事实来自其代码库(架构、协议、规格、测试)。

  1. Moshi — Home
  2. Moshi — Pricing
  3. Termius — Pricing
  4. Blink — mosh for iOS (GPL-3)
  5. Eternal Terminal — How it works
  6. Claude Code — Hooks
  7. Apple — Token-based connection to APNs
  8. SwiftTerm