chore: add facades refactor: core module export refactor: inference plugin - deprecate function registering (#537) * refactor: revamp inference plugin as class - deprecate function registering * refactor: monitoring plugin - deprecate service registering (#538) refactor: revamp inference plugin as class - deprecate function registering chore: update import refactor: plugin revamp - model management chore: update build steps and remove experimental plugins refactor: remove pluggable electron chore: add sorting for conversations chore: build plugins for testing chore: consistent plugin directory name chore: docs chore: fix CI chore: update conversation prefix
14 lines
304 B
TypeScript
14 lines
304 B
TypeScript
export enum PluginType {
|
|
Conversational = "conversational",
|
|
Inference = "inference",
|
|
Preference = "preference",
|
|
SystemMonitoring = "systemMonitoring",
|
|
Model = "model",
|
|
}
|
|
|
|
export abstract class JanPlugin {
|
|
abstract type(): PluginType;
|
|
abstract onLoad(): void;
|
|
abstract onUnload(): void;
|
|
}
|