吸收数字员工日报产物闭环

This commit is contained in:
baiyanyun
2026-06-09 22:16:03 +08:00
parent ba806f779e
commit 0d2008b35c
11 changed files with 588 additions and 180 deletions

View File

@@ -10,6 +10,7 @@ import { isWindows } from "../services/system/shellEnv";
import {
recordDigitalEmployeeSnapshot,
recordDigitalEmployeeGovernanceCommand,
recordDigitalEmployeeDailyReport,
readDigitalEmployeeRuntimeRecords,
readDigitalEmployeeState,
readDigitalEmployeeUiState,
@@ -25,6 +26,7 @@ import {
listDigitalEmployeeRouteDecisions,
type DigitalEmployeeManagedService,
type DigitalEmployeeGovernanceCommandRecord,
type DigitalEmployeeDailyReportRecordInput,
type DigitalEmployeeMemoryUpsertInput,
type DigitalEmployeeRouteDecisionInput,
type DigitalEmployeeServiceStatus,
@@ -179,6 +181,13 @@ export function registerDigitalEmployeeHandlers(ctx: HandlerContext): void {
return recordDigitalEmployeeGovernanceCommand(command);
},
);
ipcMain.handle(
"digitalEmployee:recordDailyReport",
async (_, input: DigitalEmployeeDailyReportRecordInput) => {
return recordDigitalEmployeeDailyReport(input);
},
);
}
function buildSnapshot(ctx: HandlerContext): DigitalEmployeeSnapshot {