Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.
TypeScript ai-sdkclaude-codeclicode-searchcodexcoding-agentscontext-retrievaldeveloper-toolsjevsemantic-searchtypescriptvercel-ai-gateway
Format the updated discovery tests
David Zhang9e3498b081bc
diff --git a/test/discovery.test.ts b/test/discovery.test.tsindex 3f6de1a..667f823 100644--- a/test/discovery.test.ts+++ b/test/discovery.test.ts@@ -394,10 +394,17 @@ testIfDocker("relationship judgments bind each directory and file to its own soujoin(root, "versions/implementations/handler.py"),"from Anchor import Anchor\nclass Alternative(Anchor):\n def run(self): return False\n",);- await writeFile(join(root, "versions/implementations/utility.py"), "def unrelated(): return False\n");+ await writeFile(+ join(root, "versions/implementations/utility.py"),+ "def unrelated(): return False\n",+ );await writeFile(join(root, "versions/misc/other.py"), "class Unrelated: pass\n");const result = await retrieve(- { root, query: "How does the primary implementation run?", signal: new AbortController().signal },+ {+ root,+ query: "How does the primary implementation run?",+ signal: new AbortController().signal,+ },{requests: 0,async evaluate(request) {@@ -419,7 +426,9 @@ testIfDocker("relationship judgments bind each directory and file to its own soureturn [key, 0.9];return [key,- ["versions/implementations", "versions/implementations/handler.py"].includes(item.path)+ ["versions/implementations", "versions/implementations/handler.py"].includes(+ item.path,+ )? 0.9: 0.1,];