Commit 637c6a1
committed
fix(session): correct terminal_id in session_runtime_bindings
The terminal_id field in SessionRuntimeBindingInfo was incorrectly
set to runtime.runtime_id (e.g. "runtime:ws-1:session-1") instead of
runtime.terminal_id (the actual workspace terminal ID). This caused
the frontend's resolveAgentPaneTerminalBinding to set terminalId to the
runtime ID, which never matched any workspace terminal in the list.
Fix: use runtime.terminal_id for terminal_id, and only use
runtime.runtime_id for terminal_runtime_id.1 parent 30d1509 commit 637c6a1
2 files changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3499 | 3499 | | |
3500 | 3500 | | |
3501 | 3501 | | |
3502 | | - | |
| 3502 | + | |
| 3503 | + | |
3503 | 3504 | | |
3504 | 3505 | | |
3505 | 3506 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 161 | + | |
| 162 | + | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
| 164 | + | |
167 | 165 | | |
168 | 166 | | |
169 | 167 | | |
| |||
789 | 787 | | |
790 | 788 | | |
791 | 789 | | |
792 | | - | |
| 790 | + | |
793 | 791 | | |
794 | 792 | | |
795 | 793 | | |
| |||
863 | 861 | | |
864 | 862 | | |
865 | 863 | | |
866 | | - | |
| 864 | + | |
867 | 865 | | |
868 | 866 | | |
869 | 867 | | |
| |||
0 commit comments