andy-stack_vaultkeeper-ai/Types/SearchTypes.ts
Andrew Beal cefc408b2e Add context passing between execution steps and enhance orchestration
- Add context_for_next_step parameter to CompleteStep for passing execution history
- Add context parameter to CompleteTask for preserving task completion state
- Update OrchestrationResult to handle context propagation between steps
- Add debug color differentiation for agent types (Main, Execution, Orchestration, Planning)
- Reorganize SearchTypes from Helpers to Types directory
- Add justification requirement for execution deviations
- Support reasonable deviations in orchestration plan validation
- Refactor dependency service with TryResolve utility
- Add whitespace cleanup to Semaphore class
2026-01-28 21:23:47 +00:00

27 lines
520 B
TypeScript

import { TFile } from "obsidian";
/**
* Represents text content read from a file with the page number
*/
export interface IPageText {
text: string;
pageNumber: number;
}
/**
* Represents a single snippet of matched content from a file
*/
export interface ISearchSnippet {
text: string;
matchIndex: number;
matchLength: number;
pageNumber: number;
}
/**
* Represents all matches found in a single file
*/
export interface ISearchMatch {
file: TFile;
snippets: ISearchSnippet[];
}