mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-26 17:06:23 +02:00
Add global search across knowledge and chats
Cmd+K / Ctrl+K opens a spotlight-style search dialog that searches knowledge files (by content and filename) and chat history (by title and message content). Results are grouped by type with filter toggles preselected based on the active sidebar tab. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5e2be4531a
commit
7329d0ad0d
5 changed files with 635 additions and 1 deletions
|
|
@ -396,6 +396,22 @@ const ipcSchemas = {
|
|||
req: z.object({ path: z.string() }),
|
||||
res: z.object({ data: z.string(), mimeType: z.string(), size: z.number() }),
|
||||
},
|
||||
// Search channels
|
||||
'search:query': {
|
||||
req: z.object({
|
||||
query: z.string(),
|
||||
limit: z.number().optional(),
|
||||
types: z.array(z.enum(['knowledge', 'chat'])).optional(),
|
||||
}),
|
||||
res: z.object({
|
||||
results: z.array(z.object({
|
||||
type: z.enum(['knowledge', 'chat']),
|
||||
title: z.string(),
|
||||
preview: z.string(),
|
||||
path: z.string(),
|
||||
})),
|
||||
}),
|
||||
},
|
||||
} as const;
|
||||
|
||||
// ============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue