> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dureai.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Terminal と file workflow

> Native CLI の挙動を保ちつつ、local と SSH pane で text、image、file を渡します。

Dure は provider の本物の terminal UI を chat abstraction に置き換えず、そのまま
埋め込みます。

| Workflow         | 現在の動作                                                              |
| ---------------- | ------------------------------------------------------------------ |
| 韓国語入力            | 通常の composition event を出さない macOS input method も IME relay で処理します。 |
| Remote clipboard | OSC 52 で信頼した tmux、Neovim などが local clipboard へ書き込めます。              |
| Image paste      | 一時 file を作り、SSH pane では upload 後に remote path を入力します。              |
| Finder file drop | local/SSH path をすべて準備してから一度だけ入力します。                                |

## Agent へ file を drop

Finder から terminal pane へ、最大5 file・合計50 MiB までドラッグできます。Dure は
空白、韓国語、shell 記号を含む path を安全に quote します。SSH では upload 完了後
に remote path を入力します。

途中で失敗した場合は作成した temporary artifact を削除し、terminal に途中の
command を残しません。

<Warning>
  OSC 52 は terminal program に system clipboard への書き込みを許可します。
  信頼できる CLI と remote environment にだけ有効化してください。
</Warning>

Transfer は convenience workflow であり security sandbox ではありません。
