@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.
@@ -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-dYymOnwd.mjs").then((n) => n.t);
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());
@@ -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-dYymOnwd.mjs";
12
+ import { n as serve } from "../daemon-w2fE3UMz.mjs";
13
13
  import "../state-BIlxNRUn.mjs";
14
- import "../tools-BNBvJNph.mjs";
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.",