Commit 174ba12
committed
fix(sdk): seed the custom-loop resume cursor without a continuation gate
The wire can omit the continuation flag on a run that still has prior
turns. The cursor scan doubles as the prior-state probe (a fresh
session has no turn-complete on .out and seeds nothing), so run it on
every custom-loop boot instead of gating on continuation or attempt
number, mirroring the snapshot-exists arm of chat.agent's boot check.1 parent 1a935dd commit 174ba12
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
248 | 251 | | |
249 | 252 | | |
250 | 253 | | |
| |||
0 commit comments