diff --git a/runtimes/protocol/inlineCompletionWithReferences.ts b/runtimes/protocol/inlineCompletionWithReferences.ts index 5c39d1d2..e1fe03a4 100644 --- a/runtimes/protocol/inlineCompletionWithReferences.ts +++ b/runtimes/protocol/inlineCompletionWithReferences.ts @@ -21,10 +21,23 @@ interface OpenTabParams { openTabFilepaths?: string[] } +interface FileContext { + leftFileContent: string + rightFileContent: string + filename: string + fileUri?: string + programmingLanguage: string +} + +interface FileContextParams { + fileContextOverride?: FileContext +} + export type InlineCompletionWithReferencesParams = InlineCompletionParams & PartialResultParams & DocumentChangeParams & - OpenTabParams + OpenTabParams & + FileContextParams export const inlineCompletionWithReferencesRequestType = new ProtocolRequestType< InlineCompletionWithReferencesParams,