The SDK docs cover individual event types but don't explain how the CLI's tool-use loop works — how turns chain, who triggers each turn, and the difference between session.idle and session.task_complete. Proposing a new docs/features/agent-loop.md to cover this.
The SDK docs cover individual event types but don't explain how the CLI's tool-use loop works — how turns chain, who triggers each turn, and the difference between session.idle and session.task_complete. Proposing a new docs/features/agent-loop.md to cover this.