0.3.0-macos: Add terminal memory: capture command output in history
- Defer history commit on Enter until tab-completion bytes arrive - New cursor_line_text() to read fully completed command line - Capture ANSI-stripped command output (capped at 5KB) per entry - Store output alongside command history in local database - Backfill last history entry's output after shell response - Surface local FS errors (e.g. TCC permission) in SFTP sidebar