fix fix: ui feat: intrusive error fix: errors fix: error handling fix: validation fix: naming fix: errors cleanup feat: fatal / non-fatal ui cleanup feat: fatal errors
19 lines
613 B
TypeScript
19 lines
613 B
TypeScript
import { ConfigValidationError } from "../config/validation.js";
|
|
import type { ContextItemWithId, IndexingProgressUpdate } from "../index.js";
|
|
|
|
export type ToWebviewFromIdeOrCoreProtocol = {
|
|
configUpdate: [undefined, void];
|
|
configError: [ConfigValidationError[] | undefined, void];
|
|
getDefaultModelTitle: [undefined, string];
|
|
indexProgress: [IndexingProgressUpdate, void];
|
|
refreshSubmenuItems: [undefined, void];
|
|
isContinueInputFocused: [undefined, boolean];
|
|
addContextItem: [
|
|
{
|
|
historyIndex: number;
|
|
item: ContextItemWithId;
|
|
},
|
|
void,
|
|
];
|
|
setTTSActive: [boolean, void];
|
|
};
|