(
private readonly eventBus: EventBus,
private readonly sessionManager: SessionManager,
private readonly cleanupService: Pick<TaskCleanupService, 'trigger'> | undefined = undefined,
private readonly workspaceGitWatcher: Pick<WorkspaceGitWatcherService, 'unwatchWorkspace'> = getWorkspaceGitWatcherService(),
)
| 248 | } |
| 249 | |
| 250 | throw new ValidationError('Task title is required'); |
| 251 | } |
| 252 | |
| 253 | function mergeAutosplitDescription( |
| 254 | body: string, |
| 255 | description: string | null | undefined |
| 256 | ): string | undefined { |
| 257 | if (body.length === 0) { |
| 258 | return description ?? undefined; |
nothing calls this directly
no test coverage detected