Loading...
Loading...
Compare original and translation side by side
tmux-bridgetmux-bridgetypekeysreadtypekeysread[tmux-bridge from:...][tmux-bridge from:...]typekeystmux-bridge read <target>tmux-bridge type/keys <target>typekeys$ tmux-bridge type codex "hello"
error: must read the pane before interacting. Run: tmux-bridge read codextypekeystmux-bridge read <target>tmux-bridge type/keys <target>typekeys$ tmux-bridge type codex "hello"
error: must read the pane before interacting. Run: tmux-bridge read codex| Command | Description | Example |
|---|---|---|
| Show all panes with target, pid, command, size, label | |
| Type text without pressing Enter | |
| Type text with auto sender info and reply target | |
| Read last N lines (default 50) | |
| Send special keys | |
| Label a pane (visible in tmux border) | |
| Print pane target for a label | |
| Print this pane's ID | |
| 命令 | 描述 | 示例 |
|---|---|---|
| 显示所有面板的目标标识、进程ID、命令、尺寸和标签 | |
| 输入文本(不按回车) | |
| 输入文本,自动添加发送方信息和回复目标 | |
| 读取最后N行内容(默认50行) | |
| 发送特殊按键 | |
| 为面板添加标签(会显示在tmux边框上) | |
| 打印标签对应的面板目标标识 | |
| 打印当前面板的ID | |
session:window.paneshared:0.1%30tmux-bridge namesession:window.paneshared:0.1%30tmux-bridge nametmux-bridge read codex 20 # 1. READ — satisfy read guard
tmux-bridge message codex 'Please review src/auth.ts'
# 2. MESSAGE — auto-prepends sender info, no Enter
tmux-bridge read codex 20 # 3. READ — verify text landed
tmux-bridge keys codex Enter # 4. KEYS — submittmux-bridge read codex 20 # 1. 读取——满足读取防护要求
tmux-bridge message codex 'Please review src/auth.ts'
# 2. 发送消息——自动添加发送方信息,不按回车
tmux-bridge read codex 20 # 3. 读取——验证文本是否输入成功
tmux-bridge keys codex Enter # 4. 发送按键——提交消息
**Approving a prompt (non-agent pane):**
```bash
tmux-bridge read worker 10 # 1. READ — see the prompt
tmux-bridge type worker "y" # 2. TYPE
tmux-bridge read worker 10 # 3. READ — verify
tmux-bridge keys worker Enter # 4. KEYS — submit
tmux-bridge read worker 20 # 5. READ — see the result
**确认提示(非Agent面板):**
```bash
tmux-bridge read worker 10 # 1. 读取——查看提示内容
tmux-bridge type worker "y" # 2. 输入内容
tmux-bridge read worker 10 # 3. 读取——验证输入
tmux-bridge keys worker Enter # 4. 发送按键——提交
tmux-bridge read worker 20 # 5. 读取——查看结果message[tmux-bridge from:claude pane:%4 at:3:0.0] Please review src/auth.tsfrompaneatmessage[tmux-bridge from:claude pane:%4 at:3:0.0] Please review src/auth.tsfrompaneatundefinedundefinedundefinedundefinedtmux-bridge read codex 20
tmux-bridge message codex 'What is the test coverage for src/auth.ts?'
tmux-bridge read codex 20
tmux-bridge keys codex Enter[tmux-bridge from:claude pane:%4 at:3:0.0] What is the test coverage for src/auth.ts?tmux-bridge read %4 20
tmux-bridge message %4 '87% line coverage. Missing the OAuth refresh token path (lines 142-168).'
tmux-bridge read %4 20
tmux-bridge keys %4 Entertmux-bridge read codex 20
tmux-bridge message codex 'What is the test coverage for src/auth.ts?'
tmux-bridge read codex 20
tmux-bridge keys codex Enter[tmux-bridge from:claude pane:%4 at:3:0.0] What is the test coverage for src/auth.ts?tmux-bridge read %4 20
tmux-bridge message %4 '87% line coverage. Missing the OAuth refresh token path (lines 142-168).'
tmux-bridge read %4 20
tmux-bridge keys %4 Entertmux capture-pane -t shared -p | tail -20 # Last 20 lines
tmux capture-pane -t shared -p -S - # Entire scrollback
tmux capture-pane -t shared:0.0 -p # Specific panetmux capture-pane -t shared -p | tail -20 # 最后20行内容
tmux capture-pane -t shared -p -S - # 所有滚动历史
tmux capture-pane -t shared:0.0 -p # 指定面板的内容tmux send-keys -t shared -l -- "text here" # Type text (literal mode)
tmux send-keys -t shared Enter # Press Enter
tmux send-keys -t shared Escape # Press Escape
tmux send-keys -t shared C-c # Ctrl+C
tmux send-keys -t shared C-d # Ctrl+D (EOF)tmux send-keys -t shared -l -- "Please apply the patch"
sleep 0.1
tmux send-keys -t shared Entertmux send-keys -t shared -l -- "text here" # 输入文本(字面量模式)
tmux send-keys -t shared Enter # 按回车
tmux send-keys -t shared Escape # 按ESC键
tmux send-keys -t shared C-c # 按Ctrl+C
tmux send-keys -t shared C-d # 按Ctrl+D(EOF)tmux send-keys -t shared -l -- "Please apply the patch"
sleep 0.1
tmux send-keys -t shared Enterundefinedundefinedundefinedundefinedtmux list-sessions
tmux new-session -d -s newsession
tmux kill-session -t sessionname
tmux rename-session -t old newtmux list-sessions
tmux new-session -d -s newsession
tmux kill-session -t sessionname
tmux rename-session -t old newundefinedundefinedundefinedundefinedtypekeystypekeys%Ntypereadcapture-pane -psession:window.paneshared:0.0typekeystypekeys%Ntypereadcapture-pane -psession:window.paneshared:0.0