import { launchOrPreviewDevin } from './devin-launch.ts' import { createRunNow, type SpawnOrPreviewInput } from './run-core.ts' import { launcherOf } from './shared.ts' async function spawnOrPreview(input: SpawnOrPreviewInput) { if (launcherOf(input.automation) !== 'devin') { throw new Error(`${input.automation} is not a Devin automation`) } return await launchOrPreviewDevin(input) } /** * Devin-only cleanup runner used by docs-freshness and general-audit job * entries so those isolates do not import @kody/cursor. */ export default createRunNow(spawnOrPreview) export type { RunNowInput } from './run-core.ts'