@tekmidian/pai 0.9.11 → 0.9.13
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/cli/index.mjs +1 -1
- package/dist/daemon/index.mjs +2 -2
- package/dist/daemon-mcp/index.mjs +1 -1
- package/dist/daemon-mcp/index.mjs.map +1 -1
- package/dist/{daemon-dYymOnwd.mjs → daemon-w2fE3UMz.mjs} +21 -12
- package/dist/daemon-w2fE3UMz.mjs.map +1 -0
- package/dist/{tools-BNBvJNph.mjs → tools-CF0lB5lW.mjs} +4 -3
- package/dist/tools-CF0lB5lW.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/daemon-dYymOnwd.mjs.map +0 -1
- package/dist/tools-BNBvJNph.mjs.map +0 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -3794,7 +3794,7 @@ function cmdLogs(opts) {
|
|
|
3794
3794
|
}
|
|
3795
3795
|
function registerDaemonCommands(daemonCmd) {
|
|
3796
3796
|
daemonCmd.command("serve").description("Start the PAI daemon in the foreground").action(async () => {
|
|
3797
|
-
const { serve } = await import("../daemon-
|
|
3797
|
+
const { serve } = await import("../daemon-w2fE3UMz.mjs").then((n) => n.t);
|
|
3798
3798
|
const { loadConfig: lc, ensureConfigDir } = await import("../config-BuhHWyOK.mjs").then((n) => n.r);
|
|
3799
3799
|
ensureConfigDir();
|
|
3800
3800
|
await serve(lc());
|
package/dist/daemon/index.mjs
CHANGED
|
@@ -9,9 +9,9 @@ import "../kg-extraction-Uvr9fTlz.mjs";
|
|
|
9
9
|
import { t as PaiClient } from "../ipc-client-CoyUHPod.mjs";
|
|
10
10
|
import { i as ensureConfigDir, o as loadConfig } from "../config-BuhHWyOK.mjs";
|
|
11
11
|
import "../factory-BDBIfTDC.mjs";
|
|
12
|
-
import { n as serve } from "../daemon-
|
|
12
|
+
import { n as serve } from "../daemon-w2fE3UMz.mjs";
|
|
13
13
|
import "../state-BIlxNRUn.mjs";
|
|
14
|
-
import "../tools-
|
|
14
|
+
import "../tools-CF0lB5lW.mjs";
|
|
15
15
|
import "../detector-AzVtGLtL.mjs";
|
|
16
16
|
import { Command } from "commander";
|
|
17
17
|
|
|
@@ -4713,7 +4713,7 @@ async function startShim() {
|
|
|
4713
4713
|
]).optional().describe("Search mode: 'keyword' (BM25, default), 'semantic' (vector cosine), or 'hybrid' (both combined)."),
|
|
4714
4714
|
rerank: boolean().optional().describe("Rerank results using a cross-encoder model for better relevance. Default: true."),
|
|
4715
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.")
|
|
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. Each result includes 'id=<chunk_id>' which can be passed to memory_feedback.")
|
|
4717
4717
|
}, async (args) => proxyTool("memory_search", args));
|
|
4718
4718
|
server.tool("memory_get", [
|
|
4719
4719
|
"Read the content of a specific file from a registered PAI project.",
|