Files
openclaw/src/tasks/runtime-internal.ts
likewen-tech 86328585fa fix(tasks): terminalize gateway agent run ledger
Terminalize Gateway-backed async task records from the run result while preserving aborted, failed, cancelled, and lost outcomes.\n\nThanks @likewen-tech.
2026-04-26 05:06:33 +01:00

38 lines
1003 B
TypeScript

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