Skip to content

Conversation

@ErBlack
Copy link
Contributor

@ErBlack ErBlack commented Jan 31, 2026

Description

Screencast

Checklist

- Merge branch \'contributions/merge-1769859857456\'
- Pull contributions
- AI Search Tool Content Search Parameter
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: obsidian Issues related to the obsidian extension AI Extension platform: macOS platform: Windows labels Jan 31, 2026
@raycastbot
Copy link
Collaborator

raycastbot commented Jan 31, 2026

Thank you for your contribution! 🎉

🔔 @marcjulianschwarz @KevinBatdorf @iancanderson @pernielsentikaer @ofalvai @AdamAdamsMusic @FServais @rakoort @MuuNU @theherk you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="ext/obsidian"
FORK_URL="https://github.com/ErBlack/raycast-extensions.git"
EXTENSION_NAME="obsidian"
REPO_NAME="raycast-extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@ErBlack ErBlack marked this pull request as ready for review January 31, 2026 11:47
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 31, 2026

Greptile Overview

Greptile Summary

This PR adds a searchContent parameter to the searchNote AI tool, enabling more powerful search capabilities including content search and tag filtering. The parameter defaults to true, allowing searches to include file content and tag filtering using the tag:tagname syntax. When set to false, it falls back to the original title/path-only search for faster results.

Key changes:

  • Added searchContent?: boolean parameter to the searchNote tool's Input type
  • Integrated existing searchNotesWithContent function for content/tag search functionality
  • Increased result limit from 10 to 50 notes (MAX_RESULTS constant)
  • Enhanced user feedback with search type information (content vs title/path-only)
  • Updated AI tool instructions in package.json to document the new parameter
  • Added raycast-env.d.ts to .gitignore as per best practices
  • Added contributor to contributors list

Confidence Score: 5/5

  • This PR is safe to merge with no issues found
  • The changes are well-implemented and follow best practices. The new searchContent parameter properly defaults to true for backward compatibility while enabling enhanced search capabilities. The code reuses existing, tested functions (searchNotesWithContent), includes proper logging, and provides clear user feedback. All custom instructions are followed: CHANGELOG uses {PR_MERGE_DATE} placeholder, raycast-env.d.ts is properly gitignored, and no manual type definitions are created.
  • No files require special attention

Important Files Changed

Filename Overview
extensions/obsidian/CHANGELOG.md Added new changelog entry with {PR_MERGE_DATE} placeholder, documenting the searchContent parameter feature
extensions/obsidian/package.json Added contributor and updated searchNote AI tool metadata with clearer descriptions about content search capabilities
extensions/obsidian/src/tools/searchNote.ts Added searchContent parameter enabling content/tag search, improved result limiting (10→50), and enhanced user feedback messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension extension fix / improvement Label for PRs with extension's fix improvements extension: obsidian Issues related to the obsidian extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants