feat: Phase 7 - Waypoint Support
- Add get_folder_waypoint tool to extract waypoint blocks from folder notes - Add is_folder_note tool to detect folder notes by basename or waypoint markers - Implement waypoint edit protection in update_note to prevent corruption - Create waypoint-utils.ts with helper functions for waypoint operations - Add FolderWaypointResult and FolderNoteResult types - Update ROADMAP.md and CHANGELOG.md with Phase 7 completion - All manual tests passing
This commit is contained in:
@@ -124,6 +124,22 @@ export interface WaypointSearchResult {
|
||||
filesSearched: number;
|
||||
}
|
||||
|
||||
// Phase 7: Waypoint Support Types
|
||||
export interface FolderWaypointResult {
|
||||
path: string;
|
||||
hasWaypoint: boolean;
|
||||
waypointRange?: { start: number; end: number };
|
||||
links?: string[];
|
||||
rawContent?: string;
|
||||
}
|
||||
|
||||
export interface FolderNoteResult {
|
||||
path: string;
|
||||
isFolderNote: boolean;
|
||||
reason: 'basename_match' | 'waypoint_marker' | 'both' | 'none';
|
||||
folderPath?: string;
|
||||
}
|
||||
|
||||
// Phase 3: Discovery Endpoint Types
|
||||
export interface StatResult {
|
||||
path: string;
|
||||
|
||||
Reference in New Issue
Block a user