contextl 1.2.22 → 1.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contextl",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "contextl — finds the most relevant files in your codebase for any change request. MCP server for AI coding agents.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -382,7 +382,7 @@ def query(
382
382
  ))
383
383
 
384
384
  # Down-rank test files unless the user specifically searched for tests
385
- is_test_query = "test" in query_str.lower() or "spec" in query_str.lower()
385
+ is_test_query = "test" in q.lower() or "spec" in q.lower()
386
386
  from impact_analysis import _is_test_file
387
387
  for r in results:
388
388
  if _is_test_file(r.path) and not is_test_query: