mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced 2026-07-22 06:42:03 +00:00
- 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
27 lines
520 B
TypeScript
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[];
|
|
}
|