diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index c6e4b440..72942467 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -24,6 +24,7 @@ ### Fixed - Auto-retry now handles "terminated" errors from Codex API mid-stream failures +- Follow-up queue (Alt+Enter) now sends full paste content instead of `[paste #N ...]` markers ([#912](https://github.com/badlogic/pi-mono/issues/912)) ## [0.49.3] - 2026-01-22 diff --git a/packages/coding-agent/src/modes/interactive/interactive-mode.ts b/packages/coding-agent/src/modes/interactive/interactive-mode.ts index ecd1708b..d325e4fb 100644 --- a/packages/coding-agent/src/modes/interactive/interactive-mode.ts +++ b/packages/coding-agent/src/modes/interactive/interactive-mode.ts @@ -2246,7 +2246,7 @@ export class InteractiveMode { } private async handleFollowUp(): Promise { - const text = this.editor.getText().trim(); + const text = (this.editor.getExpandedText?.() ?? this.editor.getText()).trim(); if (!text) return; // Queue input during compaction (extension commands execute immediately)