Commit d563d21
committed
neo: Route fetch_objs through engine for unified command execution
Replace direct tmux_cmd() call in fetch_objs() with server.cmd() to
route all tmux commands through the server's engine. This provides:
- Control mode persistent connection applies to list-sessions/windows/panes
- attach_to validation now triggers on first fetch operation
- Consistent error handling across all tmux operations
- Single execution path for all commands (no more abstraction leak)
The attach_missing_session test now passes - engine initialization and
attach_to preflight checks happen when server.sessions is accessed.1 parent 1eaf801 commit d563d21
1 file changed
+13
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 184 | + | |
189 | 185 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
194 | 192 | | |
195 | 193 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 194 | + | |
| 195 | + | |
201 | 196 | | |
202 | | - | |
203 | | - | |
204 | | - | |
| 197 | + | |
| 198 | + | |
205 | 199 | | |
206 | | - | |
| 200 | + | |
| 201 | + | |
207 | 202 | | |
208 | 203 | | |
209 | 204 | | |
| |||
0 commit comments