From 263e340d07be4a9591ce78ab443b97bc2834120d Mon Sep 17 00:00:00 2001 From: Jacob Kim Date: Tue, 15 Jul 2025 17:44:31 -0700 Subject: [PATCH] feat: extend NextEditOutcome type to include final cursor position and the editable region start and end lines --- core/nextEdit/types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/nextEdit/types.ts b/core/nextEdit/types.ts index 0837c5494..26e2b156a 100644 --- a/core/nextEdit/types.ts +++ b/core/nextEdit/types.ts @@ -53,7 +53,10 @@ export interface NextEditOutcome extends TabAutocompleteOptions { originalEditableRange: string; completion: string; cursorPosition: { line: number; character: number }; + finalCursorPosition: { line: number; character: number }; accepted?: boolean; + editableRegionStartLine: number; + editableRegionEndLine: number; } export interface PromptMetadata {