Interface: RehearsalContext

Defined in: rehearsal/types.ts:165

Context provided to analyzers for better impact assessment

Properties

agentContext?

optional agentContext?: Record<string, unknown>;

Defined in: rehearsal/types.ts:194

Additional context from the agent

currentBranch?

optional currentBranch?: string;

Defined in: rehearsal/types.ts:179

Current git branch (if in a git repo)

isGitRepo?

optional isGitRepo?: boolean;

Defined in: rehearsal/types.ts:174

Whether we’re in a git repository

sessionModifiedFiles?

optional sessionModifiedFiles?: string[];

Defined in: rehearsal/types.ts:184

Files that have been modified in this session

sessionStartTime?

optional sessionStartTime?: Date;

Defined in: rehearsal/types.ts:189

Start time of the current session (for time investment calculation)

workingDirectory

workingDirectory: string;

Defined in: rehearsal/types.ts:169

Working directory for the operation