# Interface TaskContext

Task context and constraints.

interface TaskContext {
workingDirectory?: string;
files?: string[];
history?: TaskHistoryItem[];
metadata?: Record<string, unknown>;
}

- Defined in packages/nexus-agents/src/core/types/agent.ts:60

##### Index

### Properties

workingDirectory?
files?
history?
metadata?

## Properties

### `Optional` workingDirectory

workingDirectory?: string

Working directory or scope

- Defined in packages/nexus-agents/src/core/types/agent.ts:62

### `Optional` files

files?: string[]

Relevant files

- Defined in packages/nexus-agents/src/core/types/agent.ts:64

### `Optional` history

history?: TaskHistoryItem[]

Previous messages in conversation

- Defined in packages/nexus-agents/src/core/types/agent.ts:66

### `Optional` metadata

metadata?: Record<string, unknown>

Additional metadata

- Defined in packages/nexus-agents/src/core/types/agent.ts:68