mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 19:01:14 +00:00
7 lines
298 B
TypeScript
7 lines
298 B
TypeScript
// Shared identity for background exec rows in the durable task ledger.
|
|
export const BACKGROUND_EXEC_TASK_KIND = "exec";
|
|
|
|
export function isBackgroundExecTask(task: { runtime: string; taskKind?: string }): boolean {
|
|
return task.runtime === "cli" && task.taskKind === BACKGROUND_EXEC_TASK_KIND;
|
|
}
|