Skip to content

Open-source, local-first AI agent for real work.

347 B
Raw Blame
import { join } from "node:path";
import { createNodeLegacySessionHost } from "@vetta/runtime-node/host";

export function createCliHistoricalSessionHost(options: { readonly cwd: string; readonly agentDir: string }) {
	return createNodeLegacySessionHost({
		defaultCwd: options.cwd,
		sessionsDirectory: join(options.agentDir, "sessions"),
	});
}