跳到正文Skip to content
Agent J Beta
菜单Menu
中文EN
登录Sign in

搜索文档和页面Search docs and pages

文档Docs

只有手机时,怎么恢复连接Recover the connection from your phone

从手机检查没回应、额度与灰屏,按顺序尝试恢复;主机完全离线时在手机上联系客服。Check replies, quota and a grey screen from your phone; try the recovery steps in order and contact support on your phone if the host stays offline.

Agent 没回应、只有手机时怎么办

消息没回应,或一直显示「尚未接收」?不用到 Agent J 主机前。每做一步,回聊天发一条简短消息,收到回复就停:

  1. 点 Stop,打断当前任务。
  2. 打开 设置 → 紧急修复 → 终端指令,找到 agentj doctor --reconnect,点旁边的 执行(推荐)。这是在手机上让主机检查并修复连接,不用自己打开终端;按提示用 Face ID 确认。
  3. 仍没回应,在 紧急修复 点 重启服务(推荐),等连接恢复后再试。
  4. 仍没回应,点 紧急修复 → 重启 Agent(主机与网页均需 0.25.2a1 起的版本)。它结束卡住的 AI 会话进程,优先接回同一段对话;无法恢复时开新会话,原对话保留。旧版没有这个按钮,直接下一步。
  5. 仍没解决,点 紧急修复 → ② 请 Agent J Father 远程帮忙。只有你点了才会发送在主机上脱敏的诊断报告;记下工单号。不发送密码、密钥、聊天或工作文件。

被模型的安全检查拦下了,也不用回到 Agent J 主机前。 用 Claude Code 时,手机上会弹卡让你选怎么办:换备用模型继续、原话重试、「改一改再发」(原话放回输入框)或「开新对话」。

先分清额度与连接。 提示 Claude 额度用完时,先在手机的 Claude 设置看 Usage;若页面提供 免费重置,可按提示使用,否则等它显示的重置时间。免费重置不是每个账号、每次都提供。额度恢复后仍「尚未接收」,再按上面五步试;重启和重开会话不会增加额度。AI 登录过期则用 AI 登录救援。

手机灰了、显示断开是另一条线。 先检查手机网络、点「立即重试」,再进 设置 → 紧急修复 → ① 重置连接,没恢复再点 ② 请 Agent J Father 远程帮忙。短暂断线先等几秒。命令、重启和会话修复都需要手机能接通主机或救援守护;主机关机、休眠或断网时不能从手机强行执行。一直连不上时,在手机浏览器打开 在线客服 或写信 feedback@agentj.app,说明症状、版本和发生时间,不贴凭据。无需回到 Agent J 主机前。

Agent J Father 是官方开发者客服平台。聊天恢复后,也可以用 /feedback-to-agentj-father 汇报问题;仍没回应时,直接使用上面的手机求助入口。

连接共享 Claude Code 的终端

共享 Claude 时,可以让手机跟随你在 Agent J 主机上打开的对话。在想用的 Claude 窗口里说「接上手机」,或让这个会话运行 agentj doctor --reconnect。如果成功接到这个终端,命令会显示会话的短 ID。若只显示手机当前连接的会话,请核对是不是你要用的那段。

如果你在 Mac 上共享自己打开的 Claude Code 窗口,手机重新登录后仍提示登录过期,请按提示回原终端登录或恢复原对话。

后台服务一启动就退出

在 Agent J 主机上运行 agentj update apply --reinstall,重装当前的已签名版本,配对和数据都保留。还是启动不了,就运行 agentj update rollback,退回上一个已签名版本;主机上缓存过这个版本才能退回。手机能连到救援守护时,也可以在 设置 → 紧急修复 里确认退回。都不行,就用手机打开在线客服,说明症状和版本;不要发送密钥或日志。

Agent not replying and you only have your phone?

No reply / “Not yet received”? Use your phone; after each step send a short test message and stop when answered:

  1. Tap Stop to interrupt the current task.
  2. Open Settings → Emergency repair → Terminal Commands, tap Run beside agentj doctor --reconnect (recommended); confirm with Face ID when asked. The phone requests host repair without opening a terminal.
  3. Still no reply? In Emergency repair, tap Restart service (recommended); wait for reconnection and retry.
  4. Still no reply? Tap Emergency repair → Restart Agent (host and web 0.25.2a1+). It ends the stuck process, tries the same conversation, or keeps it and opens a new one. Skip if an older version lacks the button.
  5. Still stuck? Tap Emergency repair → ② Ask Agent J Father for remote help; keep the ticket number. Only your tap sends host-redacted diagnostics, never passwords, keys, chats or work files.

Stopped by the model's safety check? No computer needed either. With Claude Code the phone shows a card to pick what happens next: continue on the fallback model, retry as is, "Edit and resend" (your words go back in the message box) or "New conversation".

Check quota first. In phone Claude settings, check Usage. Use Free reset only if offered (not every account/limit); otherwise wait until the displayed reset time. After quota recovers, persistent “Not yet received” needs the five steps. Restart/reopen adds no quota. Expired sign-in needs AI login rescue.

Grey/disconnected: wait a few seconds for a brief drop, check phone networking and “Try now”, then Settings → Emergency repair → ① Reset connection, followed by ② Ask Agent J Father for remote help if needed. Commands/restart/session repair need the host or rescue helper online; they cannot force a powered-off, sleeping or offline host. Still unreachable? Use phone support chat or feedback@agentj.app: symptom, versions, time, never credentials. No computer visit needed.

Agent J Father is support from the developers. Once chat works, use /feedback-to-agentj-father; otherwise use the phone controls above.

Connect a shared Claude Code terminal

To attach your phone to the shared Claude conversation open on your computer, say “connect my phone” in that Claude window or have that session run agentj doctor --reconnect. A confirmed terminal attachment names the short session ID. If the result reports the phone’s current session, check that it is the conversation you meant to use.

If you share a Claude Code window you opened on your Mac and phone sign-in still leaves that session signed out, follow the steps shown to sign in or reopen the conversation in the original terminal.

Service exits right after it starts

On the Agent J host, run agentj update apply --reinstall to reinstall the current signed version; pairing and data stay. If it still won't start, run agentj update rollback to go back to the previous signed version; this works only if that version is cached on the host. When your phone can reach the rescue helper, you can also confirm the rollback under Settings → Emergency repair. If nothing works, open support chat on your phone and describe the symptom and versions; don't send keys or logs.

这一页的 Markdown 原文This page as Markdown: zh.md · en.md