Skip to content

feat: add /search across saved conversations - #9

Merged
autoantohaki merged 1 commit into
mainfrom
feat/search-saved-conversations
Oct 22, 2026
Merged

autoantohaki merged 1 commit into
mainfrom
feat/search-saved-conversations

Conversation

@autoantohaki

Copy link
Copy Markdown
Member

Requested by mau

Before: finding an old conversation meant opening saved files one by one.

After: /search <text> looks through the JSON files in conversations/ (the default /save location) and lists matching conversations by match count, with a short excerpt and the path to /load.

How: searchConversations(directory, query) does a case-insensitive scan of titles and messages, skipping files that fail to parse, and is exported for applications. Tests cover matching, unreadable files, a missing directory, and the command output.

@autoantohaki
autoantohaki force-pushed the feat/search-saved-conversations branch from 707219d to d8385d9 Compare October 22, 2026 01:31
@autoantohaki
autoantohaki merged commit 168bbe0 into main Oct 22, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant