prompts/session_context library

Classes

InstructionFile
A project instruction file and its contents.
SessionContext
Facts about the environment the agent runs in, gathered once per session.

Constants

projectInstructionFileNames → const List<String>
File names that hold project instructions, checked in every directory from the filesystem root down to the workspace.

Functions

findInstructionFiles(String workspaceRoot, {String? homeDirectory}) → Future<List<InstructionFile>>
Collects instruction files from the user's home config and from every directory between the filesystem root and workspaceRoot, outermost first so that the most specific instructions come last.