Commit cafe9ff
committed
docs(pty): note why AgentTerminalView needs no session key
Document that SessionChatInner is keyed by session.id (so the subtree
remounts on session switch) and AgentTerminalView disconnects its socket
on unmount — so the agent terminal never stays subscribed to a previous
session's room. Pre-empts the recurring review misread that flags a stale
subscription here.1 parent fdedbcb commit cafe9ff
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1204 | 1210 | | |
1205 | 1211 | | |
1206 | 1212 | | |
| |||
0 commit comments