feat: extend NextEditOutcome type to include final cursor position and the editable region start and end lines

This commit is contained in:
Jacob Kim 2025-07-15 17:44:31 -07:00
parent e3b61b9890
commit 263e340d07

View file

@ -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 {