Flush final text before closing each AI SDK text block, surface event-processing failures to chat callers, and clear the remaining Companion OS check blockers.
fixes#273
Co-authored-by: Codex <noreply@openai.com>
Replace the old project-scoped file memory plumbing with runtime-native conversational memory and remove obsolete pi-memory-md shipping/wiring.
Co-authored-by: Codex <noreply@openai.com>
Remove shell-based memory tree inspection and pre-sync before memory pushes.
Switch sync update detection to git HEAD comparisons instead of localized output parsing.
Co-authored-by: Codex <noreply@openai.com>
Move the gateway runtime files into a dedicated core/gateway module and fix follow-up issues in session deletion, history import batching, message IDs, and legacy thread parsing.
Fixes#253
Co-authored-by: Codex <noreply@openai.com>