跳到正文
DEV Community· hon6·· 43 分鐘前AI 評分62

Kiteline 如何用手機處理編碼智能體的三種等待情況

The three ways a coding agent waits for you, and handling them from your phone

AI 導讀

Kiteline 是一款開源桌面應用程式,配有 iPhone、iPad 和 Apple Watch 配套應用,讓用戶可用手機處理編碼智能體等待計劃審批、回答選項問題或執行命令授權的情況。

正文

Coding agents like Claude Code and Codex are fast, yet a lot of wall-clock time goes to them waiting on a person. They stop in three places:

  1. A plan is ready and needs approval before any code changes.
  2. A question with a few options the agent can't decide on.
  3. A command that needs permission to run.

If you're away from the keyboard, each of those turns minutes into half an hour. Kiteline, an open-source desktop app (Mac, Windows, Linux) with an iPhone, iPad and Apple Watch companion, puts all three on the phone. Here's how it's designed.

Three cards, not one generic prompt

The three waits need different judgments, so they render as three different cards rather than one "needs attention" banner:

  • Plan card: the full plan text, with Approve and Keep planning (add a note and let it revise).
  • Question card: each option with its description, single or multiple choice as the agent requested, plus an Other field for a free-form answer, then Skip or Confirm.
  • Permission card: the tool and the exact command, with Deny, Allow, and Allow and don't ask again in this session.

In the session list, sessions waiting on you sort to the top and say what they're waiting for. All three kinds push a notification, and the Apple Watch can approve too.

Answers go straight back to the session

Earlier versions delivered a phone action by bringing VS Code to the front and simulating paste and keystrokes. That interrupted whatever you were doing on the computer and could misfire when focus moved.

Current versions hand messages, approvals, answers and interrupts directly to the Claude Code session process: no window switching, no synthetic keys, and it works while the computer is locked. The VS Code dialog still shows, so whichever side answers first wins.

Not only Claude Code

Other agents connect through signed plugins, each declaring what it can do. Codex and OpenCode support full control. Kimi Code, CodeBuddy Code, Grok Build, Hermes and the Antigravity CLI can be replied to and approved from the phone when they run inside tmux. Apps without an external control interface, such as the WorkBuddy desktop app, are view-only, and the plugin page lists each gap with the reason.

After hours

Two small features make leaving an agent running less nerve-wracking: new tasks can be scheduled to start later, and the usage page totals requests and tokens per project and model, with an optional daily spend alert and daily spend cap.

Kiteline doesn't use your API keys or change agent settings. The desktop side is on GitHub under AGPL-3.0; the iPhone app is on the App Store as "Kiteline".

來源:DEV Community · dev.to