Commit 25b6c8a
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 eaf08df commit 25b6c8a
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 | | |
| |||
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 197 | + | |
202 | 198 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
207 | 205 | | |
208 | 206 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 207 | + | |
| 208 | + | |
214 | 209 | | |
215 | | - | |
216 | | - | |
217 | | - | |
| 210 | + | |
| 211 | + | |
218 | 212 | | |
219 | | - | |
| 213 | + | |
| 214 | + | |
220 | 215 | | |
221 | 216 | | |
222 | 217 | | |
| |||
0 commit comments