Nothing to try yetTier: how much it should matter to you
1Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Headless ModeArea: what it touches
In DevelopmentKind: in v2.1.227,
In DevelopmentSection of the release
A per-turn sync callback in the headless loop is accepted but nothing in the CLI supplies one.
What
The headless streaming loop accepts an optional callback that runs before each turn and again after it, receiving the message IDs from that turn. It only runs when the embedding caller supplies one, and nothing in the CLI itself does.
Evidence
workerDirSync
Strings lifted out of the shipped bundle, so the claim above can be checked against them.