# Function getTimeoutForTask

CLI Adapters exports - CLI integration with defensive parsing Split from index.ts for file size compliance (Issue #285)

- getTimeoutForTask(cli: string, complexity: CliTaskComplexity): number

  Get timeout for a task. Canonical source: `config/timeouts.ts`.

  #### Parameters

  - cli: string
  - complexity: CliTaskComplexity

  #### Returns number

  - Defined in packages/nexus-agents/src/cli-adapters/cli-timeout-profiles.ts:36