Step 5-7: Extract async generators from run_stream, unify run() as wrapper
- _compression_events_preturn / _compression_events_midturn
- _consume_stream (uses StreamState)
- _execute_tools_with_sink
- run() is now a thin wrapper around run_stream() collecting StreamEnd
- Remove dead imports (json, LLMChunk)
- Mark god-object decomposition complete in architecture_weak_spots.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 7ecf1b1 commit fbc7cb11aacde14fa1d47804bba8d03cef50d289
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 16 May
Showing 3 changed files
View
docs/architecture_weak_spots.md
View
navi/core/agent.py
View
navi/core/agent_run_context.py