mirror of https://github.com/openclaw/openclaw.git
11 lines
404 B
TypeScript
11 lines
404 B
TypeScript
import path from "node:path";
|
|
import { resolveTaskStateDir } from "./task-registry.paths.js";
|
|
|
|
export function resolveFlowRegistryDir(env: NodeJS.ProcessEnv = process.env): string {
|
|
return path.join(resolveTaskStateDir(env), "flows");
|
|
}
|
|
|
|
export function resolveFlowRegistrySqlitePath(env: NodeJS.ProcessEnv = process.env): string {
|
|
return path.join(resolveFlowRegistryDir(env), "registry.sqlite");
|
|
}
|