MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/server/src/services/task.service.ts:250–255  ·  view source on GitHub ↗
(
    private readonly eventBus: EventBus,
    private readonly sessionManager: SessionManager,
    private readonly cleanupService: Pick<TaskCleanupService, 'trigger'> | undefined = undefined,
    private readonly workspaceGitWatcher: Pick<WorkspaceGitWatcherService, 'unwatchWorkspace'> = getWorkspaceGitWatcherService(),
  )

Source from the content-addressed store, hash-verified

248 }
249
250 throw new ValidationError('Task title is required');
251}
252
253function mergeAutosplitDescription(
254 body: string,
255 description: string | null | undefined
256): string | undefined {
257 if (body.length === 0) {
258 return description ?? undefined;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected