← Public packages
@kody/kody-factory
Forkable multi-project software factory: signals, priority queue, project UI, sweep job. Agent runners and Sentry reach it by events.
Files
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'