@liendev/lien 0.28.0 → 0.28.1
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/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8475,7 +8475,7 @@ var NEVER = INVALID;
|
|
|
8475
8475
|
// src/mcp/schemas/search.schema.ts
|
|
8476
8476
|
var SemanticSearchSchema = external_exports.object({
|
|
8477
8477
|
query: external_exports.string().min(3, "Query must be at least 3 characters").max(500, "Query too long (max 500 characters)").describe(
|
|
8478
|
-
"Natural language description of what you're looking for.\n\nUse full sentences describing functionality, not exact names.\n\nGood examples:\n - '
|
|
8478
|
+
"Natural language description of what you're looking for.\n\nUse full sentences describing functionality, not exact names.\n\nGood examples:\n - 'How does the code handle user authentication?'\n - 'Where are email addresses validated?'\n - 'How are payment transactions processed?'\n\nBad examples:\n - 'auth' (too vague)\n - 'validateEmail' (use grep for exact names)"
|
|
8479
8479
|
),
|
|
8480
8480
|
limit: external_exports.number().int().min(1, "Limit must be at least 1").max(50, "Limit cannot exceed 50").default(5).describe(
|
|
8481
8481
|
"Number of results to return.\n\nDefault: 5\nIncrease to 10-15 for broad exploration."
|
|
@@ -8570,8 +8570,10 @@ var tools = [
|
|
|
8570
8570
|
`Search codebase by MEANING, not text. Complements grep - use this for discovery and understanding, grep for exact matches.
|
|
8571
8571
|
|
|
8572
8572
|
Examples:
|
|
8573
|
-
- "Where is authentication handled?" \u2192 semantic_search({ query: "
|
|
8574
|
-
- "How does payment work?" \u2192 semantic_search({ query: "
|
|
8573
|
+
- "Where is authentication handled?" \u2192 semantic_search({ query: "How does the code handle user authentication?" })
|
|
8574
|
+
- "How does payment work?" \u2192 semantic_search({ query: "How are payment transactions processed and validated?" })
|
|
8575
|
+
|
|
8576
|
+
IMPORTANT: Phrase queries as full questions starting with "How", "Where", "What", etc. Full questions produce significantly better relevance than keyword phrases.
|
|
8575
8577
|
|
|
8576
8578
|
Use natural language describing what the code DOES, not function names. For exact string matching, use grep instead.
|
|
8577
8579
|
|