Skip to content

Commit 2464f5e

Browse files
committed
docs(website): update for v0.4.4 with test file hints
- Update homepage callout to v0.4.4 - Add 'Related Test Files' section to dev_search docs
1 parent 0355f76 commit 2464f5e

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

website/content/docs/tools/dev-search.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { Callout } from 'nextra/components'
2+
13
# dev_search
24

35
Semantic code search across your indexed repository. Find code by meaning, not just keywords.
@@ -51,6 +53,28 @@ dev_search(query, format?, limit?, scoreThreshold?)
5153
5254
Only returns results with 80%+ similarity.
5355

56+
## Related Test Files
57+
58+
<Callout type="info">
59+
**New in v0.4.4** — Search results now automatically show related test files.
60+
</Callout>
61+
62+
When search results include source files, dev_search checks for corresponding test files:
63+
64+
```
65+
1. [89%] function: authenticate (src/auth.ts:15)
66+
2. [84%] class: AuthMiddleware (src/middleware.ts:5)
67+
68+
---
69+
Related test files:
70+
• src/auth.test.ts
71+
• src/middleware.test.ts
72+
```
73+
74+
**Patterns detected:** `*.test.ts`, `*.spec.ts`
75+
76+
This surfaces test files without affecting semantic search rankings — tests are found by filename, not similarity.
77+
5478
## How It Works
5579

5680
1. **Query embedding** — Your query is converted to a vector using MiniLM-L6-v2

website/content/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Local semantic code search for Cursor and Claude Code via MCP.
1111
[Get Started](/docs) · [View on GitHub](https://github.com/lytics/dev-agent)
1212

1313
<Callout type="info">
14-
**v0.4.3**Now with git history search (`dev_history`), change frequency in `dev_map`, and improved tool descriptions. [See what's new →](https://github.com/lytics/dev-agent/releases)
14+
**v0.4.4**Search results now show related test files automatically. [See what's new →](https://github.com/lytics/dev-agent/releases)
1515
</Callout>
1616

1717
<Callout type="default">

0 commit comments

Comments
 (0)