Skip to content

Commit 649d7d9

Browse files
committed
fix: route task publication through runtime facade
1 parent 7b25128 commit 649d7d9

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎src/agents/subagent-completion-delivery.ts‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ import {
1414
SessionDeliveryDeferredError,
1515
} from "../infra/session-delivery-queue-storage.js";
1616
import type { OpenClawStateDatabaseOptions } from "../state/openclaw-state-db.js";
17-
import { findTaskByRunId, getTaskById } from "../tasks/runtime-internal.js";
18-
import { publishTaskRecordAfterAtomicStore } from "../tasks/task-registry.js";
17+
import {
18+
findTaskByRunId,
19+
getTaskById,
20+
publishTaskRecordAfterAtomicStore,
21+
} from "../tasks/runtime-internal.js";
1922
import type { TaskRecord } from "../tasks/task-registry.types.js";
2023
import {
2124
admitSubagentCompletionDelivery,

‎src/tasks/runtime-internal.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export {
3939
markTaskRunningByRunId,
4040
markTaskTerminalById,
4141
maybeDeliverTaskTerminalUpdate,
42+
publishTaskRecordAfterAtomicStore,
4243
recordTaskProgressByRunId,
4344
resolveTaskForLookupToken,
4445
isParentFlowLinkError,

0 commit comments

Comments
 (0)