* convert to nodenext in core * experimental vm modules * use imports * a few ts-ignores --------- Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
16 lines
455 B
TypeScript
16 lines
455 B
TypeScript
import type { ContextItemWithId, IndexingProgressUpdate } from "../index.js";
|
|
|
|
export type ToWebviewFromIdeOrCoreProtocol = {
|
|
configUpdate: [undefined, void];
|
|
getDefaultModelTitle: [undefined, string];
|
|
indexProgress: [IndexingProgressUpdate, void];
|
|
refreshSubmenuItems: [undefined, void];
|
|
isContinueInputFocused: [undefined, boolean];
|
|
addContextItem: [
|
|
{
|
|
historyIndex: number;
|
|
item: ContextItemWithId;
|
|
},
|
|
void,
|
|
];
|
|
};
|