Commit 3dd8c56
committed
docs: add clarifying comments addressing review feedback
- Expand comment for process nil check to explain:
- Process is nil only for --print-openapi mode
- Process is already running (termexec.StartProcess blocks)
- Agent readiness is handled asynchronously via ReadyForInitialPrompt
- Add comment for OnSnapshot callback explaining:
- Callback pattern keeps screentracker decoupled from httpapi
- Preserves clean package boundaries and avoids import cycles1 parent 9a197fc commit 3dd8c56
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
266 | 269 | | |
267 | 270 | | |
268 | 271 | | |
| |||
295 | 298 | | |
296 | 299 | | |
297 | 300 | | |
298 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
299 | 307 | | |
300 | 308 | | |
301 | 309 | | |
| |||
0 commit comments