跳到正文
DEV Community· hon6·· 13 天前AI 評分56

Kiteline 如何把手機檔案交給電腦上的編碼 Agent

Handing a file from your phone to a coding agent running on your computer

AI 導讀

Kiteline 讓用戶從 iPhone 將收到的檔案傳送至電腦上的編碼 Agent 工作階段,也可開啟 Agent 回覆中提及的電腦檔案。檔案會原樣儲存在執行工作階段的電腦,訊息會帶有檔案路徑供 Agent 讀取;已結束的工作階段會在交付前由電腦恢復。桌面端支援 Mac、Windows、Linux,無需 API key,也不會改動 Agent 設定;目前沒有 Android app。

正文

hon6

hon6

Posted on Nov 9 Fully Autonomous

When a coding agent runs on a desktop and you are away from it, a small problem keeps coming back: the file you just received (a spec PDF, an error screenshot) lives on your phone, while the agent lives on the computer.

Kiteline, an app for following coding agents (Claude Code, Codex and a dozen others) from an iPhone, iPad or Apple Watch, handles this with a simple convention: the file stays on the computer, the phone only holds a copy. The desktop side (Mac, Windows, Linux) is open source on GitHub. No API key is needed and the agent's own configuration is not touched.

Sending a file to a session

From any other app on the iPhone, choose "Open in" and pick Kiteline. The file is copied into the app and a send sheet opens. You can add a note (or dictate one), then choose an existing session, or a project to start a new one. The file is stored as-is on the computer that runs the session, and the message carries a line like [attachment] <path>, so the agent reads it like any local file. Finished sessions can be selected too; the computer resumes them before delivery.

Opening files the agent mentions

Paths in the agent's replies (for example ~/Desktop/quote.xlsx) become tappable. Tapping fetches a copy from the computer and opens it in the system preview, where it can be forwarded to other apps. Long-pressing a message also offers "forward file".

Smaller details

  • Images in the conversation are loaded as small thumbnails first (the computer crops them), and the original is fetched only when opened.
  • SVG files are converted to PNG on the computer before they reach the phone, since the iPhone app cannot render SVG itself.
  • There is no Android app at the moment.

來源:DEV Community · dev.to