openclaw/src/tasks/runtime-internal.ts

33 lines
807 B
TypeScript

export {
cancelTaskById,
createTaskRecord,
deleteTaskRecordById,
ensureTaskRegistryReady,
findLatestTaskForOwnerKey,
findLatestTaskForFlowId,
findLatestTaskForRelatedSessionKey,
findTaskByRunId,
getTaskById,
getTaskRegistrySnapshot,
getTaskRegistrySummary,
listTaskRecords,
listTasksForFlowId,
listTasksForOwnerKey,
listTasksForRelatedSessionKey,
linkTaskToFlowById,
markTaskLostById,
markTaskRunningByRunId,
markTaskTerminalById,
markTaskTerminalByRunId,
maybeDeliverTaskTerminalUpdate,
recordTaskProgressByRunId,
resolveTaskForLookupToken,
resetTaskRegistryForTests,
isParentFlowLinkError,
setTaskCleanupAfterById,
setTaskProgressById,
setTaskRunDeliveryStatusByRunId,
setTaskTimingById,
updateTaskNotifyPolicyById,
} from "./task-registry.js";