CodebaseContextService class

Service that provides codebase context to agents.

This service gathers relevant information about the codebase including:

  • Project structure and organization
  • Living Memory files (.spectra/)
  • Related files and dependencies
  • Common patterns and conventions

Constructors

CodebaseContextService({required Logger logger})

Properties

hashCode int
The hash code for this object.
no setterinherited
logger → Logger
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCodebaseContext(List<String> targetFiles) String
Gets comprehensive codebase context for a set of target files.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited