import { allocateWorkerWorktree } from './git-worktree-manager.js';
export async function createGitIntegrationWorktree(input) {
    const allocationInput = {
        repoRoot: input.repoRoot,
        missionId: input.missionId,
        workerId: 'integration',
        slotId: 'integration',
        generationIndex: 1,
        branchPrefix: 'sks-integration'
    };
    if (input.baseRef !== undefined)
        allocationInput.baseRef = input.baseRef;
    return allocateWorkerWorktree(allocationInput);
}
//# sourceMappingURL=git-integration-worktree.js.map