feat: add VS Code-style file search and icon activity bar (#78)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Neil
2026-03-23 23:28:05 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 20cfa1f279
commit 1dff41c6d7
11 changed files with 979 additions and 68 deletions
+31
View File
@@ -203,3 +203,34 @@ export type GitDiffResult = {
originalContent: string
modifiedContent: string
}
// ─── Search ─────────────────────────────────────────────
export type SearchMatch = {
line: number
column: number
matchLength: number
lineContent: string
}
export type SearchFileResult = {
filePath: string
relativePath: string
matches: SearchMatch[]
}
export type SearchResult = {
files: SearchFileResult[]
totalMatches: number
truncated: boolean
}
export type SearchOptions = {
query: string
rootPath: string
caseSensitive?: boolean
wholeWord?: boolean
useRegex?: boolean
includePattern?: string
excludePattern?: string
maxResults?: number
}