feat(client): load local digital plan templates
This commit is contained in:
@@ -24,6 +24,7 @@ import {
|
||||
flushDigitalEmployeeSyncOutbox,
|
||||
getDigitalEmployeeSyncStatus,
|
||||
} from "../services/digitalEmployee/syncService";
|
||||
import { listDigitalEmployeePlanTemplates } from "../services/digitalEmployee/planTemplateService";
|
||||
|
||||
export function registerDigitalEmployeeHandlers(ctx: HandlerContext): void {
|
||||
ipcMain.handle("digitalEmployee:getSnapshot", async () => {
|
||||
@@ -54,6 +55,10 @@ export function registerDigitalEmployeeHandlers(ctx: HandlerContext): void {
|
||||
return buildSkillCapabilities();
|
||||
});
|
||||
|
||||
ipcMain.handle("digitalEmployee:getPlanTemplates", async () => {
|
||||
return listDigitalEmployeePlanTemplates();
|
||||
});
|
||||
|
||||
ipcMain.handle(
|
||||
"digitalEmployee:saveUiState",
|
||||
async (_, update: DigitalEmployeeUiStateUpdate) => {
|
||||
|
||||
Reference in New Issue
Block a user