@tekmidian/pai 0.9.6 → 0.9.8
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/FEATURE.md +8 -1
- package/README.md +232 -10
- package/dist/cli/index.mjs +4 -4
- package/dist/cli/index.mjs.map +1 -1
- package/dist/daemon/index.mjs +4 -4
- package/dist/{daemon-kp49BE7u.mjs → daemon-WQY1kwOF.mjs} +10 -10
- package/dist/{daemon-kp49BE7u.mjs.map → daemon-WQY1kwOF.mjs.map} +1 -1
- package/dist/daemon-mcp/index.mjs +6 -2
- package/dist/daemon-mcp/index.mjs.map +1 -1
- package/dist/{helpers-BEST-4Gx.mjs → helpers-OCVFgprQ.mjs} +9 -1
- package/dist/helpers-OCVFgprQ.mjs.map +1 -0
- package/dist/index.d.mts +0 -10
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{indexer-backend-CIIlrYh6.mjs → indexer-backend-DXkDh-kc.mjs} +2 -2
- package/dist/{indexer-backend-CIIlrYh6.mjs.map → indexer-backend-DXkDh-kc.mjs.map} +1 -1
- package/dist/skills/Advisor/SKILL.md +14 -4
- package/dist/{sync-BOsnEj2-.mjs → sync-CdHSL9Kc.mjs} +2 -2
- package/dist/{sync-BOsnEj2-.mjs.map → sync-CdHSL9Kc.mjs.map} +1 -1
- package/dist/{tools-8t7BQrm9.mjs → tools-gMHdjmHC.mjs} +6 -3
- package/dist/tools-gMHdjmHC.mjs.map +1 -0
- package/dist/{vault-indexer-TTCl1QOL.mjs → vault-indexer-iHRjcy6e.mjs} +2 -2
- package/dist/{vault-indexer-TTCl1QOL.mjs.map → vault-indexer-iHRjcy6e.mjs.map} +1 -1
- package/package.json +1 -1
- package/statusline-command.sh +41 -3
- package/dist/helpers-BEST-4Gx.mjs.map +0 -1
- package/dist/tools-8t7BQrm9.mjs.map +0 -1
|
@@ -4696,7 +4696,10 @@ async function startShim() {
|
|
|
4696
4696
|
"Defaults come from ~/.config/pai/config.json (search section). Per-call parameters override config defaults.",
|
|
4697
4697
|
"",
|
|
4698
4698
|
"Returns ranked snippets with project slug, file path, line range, and score.",
|
|
4699
|
-
"Higher score = more relevant."
|
|
4699
|
+
"Higher score = more relevant.",
|
|
4700
|
+
"",
|
|
4701
|
+
"Token-efficient workflow: use format='compact' first (~50 tokens/result),",
|
|
4702
|
+
"then memory_get on interesting results for full content. ~10x token savings."
|
|
4700
4703
|
].join("\n"), {
|
|
4701
4704
|
query: string().describe("Free-text search query. Multiple words are ORed together — any matching word returns a result, ranked by relevance."),
|
|
4702
4705
|
project: string().optional().describe("Scope search to a single project by slug. Omit to search all projects."),
|
|
@@ -4709,7 +4712,8 @@ async function startShim() {
|
|
|
4709
4712
|
"hybrid"
|
|
4710
4713
|
]).optional().describe("Search mode: 'keyword' (BM25, default), 'semantic' (vector cosine), or 'hybrid' (both combined)."),
|
|
4711
4714
|
rerank: boolean().optional().describe("Rerank results using a cross-encoder model for better relevance. Default: true."),
|
|
4712
|
-
recency_boost: number().int().min(0).max(365).optional().describe("Apply recency boost: score halves every N days. 0 = off. Default from config (typically 90). Applied after reranking.")
|
|
4715
|
+
recency_boost: number().int().min(0).max(365).optional().describe("Apply recency boost: score halves every N days. 0 = off. Default from config (typically 90). Applied after reranking."),
|
|
4716
|
+
format: _enum(["full", "compact"]).optional().describe("Output format. 'full' (default) includes snippets. 'compact' returns IDs + metadata only (~10x fewer tokens). Use compact first, then memory_get for full details on interesting results.")
|
|
4713
4717
|
}, async (args) => proxyTool("memory_search", args));
|
|
4714
4718
|
server.tool("memory_get", [
|
|
4715
4719
|
"Read the content of a specific file from a registered PAI project.",
|