feat: add search command for querying indexed documentation#2
Merged
vildanbina merged 9 commits intomainfrom Mar 22, 2026
Merged
feat: add search command for querying indexed documentation#2vildanbina merged 9 commits intomainfrom
vildanbina merged 9 commits intomainfrom
Conversation
- Add yavy init for configuring AI tools with skills + MCP config - Move tests from src/ to tests/ mirroring source structure - Adopt @/ path aliases across all source and test files - Fix vitest 4 compat, markdown escaping, JSON error handling Confidence: high Scope-risk: broad
- make SKILL.md a lean index with links to project files instead of inlining details - remove hand-rolled .env parser from config.ts, use native process.env - add ProjectContext type to api client - remove skill-creator callout from generated files - update tests for new skill structure
- use null check instead of truthy for limit param (fixes limit=0 bug) - encode url path segments to prevent path injection - fix mcp config read/write key mismatch when both servers and mcpServers exist - escape backslashes and newlines in yaml frontmatter Constraint: all fixes are at API/output boundaries, no internal logic changes Confidence: high Scope-risk: narrow
vitest 4 depends on rolldown which requires node:util.styleText (added in node 21). node 18 is EOL since april 2025 and package.json already declares engines >= 20. Confidence: high Scope-risk: narrow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
yavy searchcommand so developers can query their indexed documentation directly from the terminal, without needing the MCP server.search()method onYavyApiClientcallingGET /api/v1/searchyavy search "query"command with--project,--limit,--jsonflagsRelated: vildanbina/yavy.dev#152, vildanbina/yavy.dev#168
Test plan