feat: support accepts and reject logging
This commit is contained in:
parent
75a6ff2ccc
commit
994fd105f4
3 changed files with 6 additions and 0 deletions
|
|
@ -146,6 +146,8 @@ export type ToCoreFromIdeOrWebviewProtocol = {
|
|||
"autocomplete/cancel": [undefined, void];
|
||||
"autocomplete/accept": [{ completionId: string }, void];
|
||||
"nextEdit/predict": [AutocompleteInput, string[]];
|
||||
"nextEdit/reject": [{ completionId: string }, void];
|
||||
"nextEdit/accept": [{ completionId: string }, void];
|
||||
"llm/complete": [
|
||||
{
|
||||
prompt: string;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ export const WEBVIEW_TO_CORE_PASS_THROUGH: (keyof ToCoreFromWebviewProtocol)[] =
|
|||
"autocomplete/cancel",
|
||||
"autocomplete/accept",
|
||||
"nextEdit/predict",
|
||||
"nextEdit/reject",
|
||||
"nextEdit/accept",
|
||||
"tts/kill",
|
||||
"llm/complete",
|
||||
"llm/streamChat",
|
||||
|
|
|
|||
|
|
@ -104,6 +104,8 @@ class MessageTypes {
|
|||
"autocomplete/cancel",
|
||||
"autocomplete/accept",
|
||||
"nextEdit/predict",
|
||||
"nextEdit/reject",
|
||||
"nextEdit/accept",
|
||||
"tts/kill",
|
||||
"llm/complete",
|
||||
"llm/streamChat",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue