feat(coding-agent): added cursor navigation to message boundaries

- Added `moveCursorToMessageStart()` and `moveCursorToMessageEnd()` prompt actions for cursor navigation to message boundaries.
- Exposed editor methods for cursor movement to message start and end positions in InputController keybindings.
- Implemented message boundary navigation in Editor class with private helper methods for cursor positioning.
- Removed remote compaction settings test suite to align with feature deprecation.
This commit is contained in:
can1357
2026-03-14 13:38:29 +01:00
parent ca2860b200
commit b5faa7d4be
9 changed files with 75 additions and 37 deletions
@@ -535,6 +535,8 @@ export class InputController {
keybindings: this.ctx.keybindings,
copyCurrentLine: () => this.handleCopyCurrentLine(),
copyPrompt: () => this.handleCopyPrompt(),
moveCursorToMessageEnd: () => this.ctx.editor.moveToMessageEnd(),
moveCursorToMessageStart: () => this.ctx.editor.moveToMessageStart(),
moveCursorToLineStart: () => this.ctx.editor.moveToLineStart(),
moveCursorToLineEnd: () => this.ctx.editor.moveToLineEnd(),
});