吸收数字员工日报产物闭环
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user