@pyxmate/memory 0.33.0 → 0.34.0
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/{chunk-6DZN7FYM.mjs → chunk-C2KBUNUM.mjs} +10 -0
- package/dist/{chunk-W5FHHTBQ.mjs → chunk-KQV3VYZO.mjs} +1 -1
- package/dist/cli/pyx-mem.mjs +1 -1
- package/dist/dashboard.mjs +2 -2
- package/dist/index.d.ts +28 -0
- package/dist/index.mjs +1 -1
- package/dist/react.mjs +2 -2
- package/package.json +1 -1
|
@@ -85,6 +85,16 @@ var MemoryClient = class {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
async search(params) {
|
|
88
|
+
if (params.enableRerank) {
|
|
89
|
+
throw new Error(
|
|
90
|
+
"enableRerank is embedded-only (the HTTP API does not forward it); use the embedded Memory class for cross-encoder reranking"
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
if (params.enableMultiHop) {
|
|
94
|
+
throw new Error(
|
|
95
|
+
"enableMultiHop is embedded-only (the HTTP API does not forward it); use the embedded Memory class for iterative multi-hop retrieval"
|
|
96
|
+
);
|
|
97
|
+
}
|
|
88
98
|
const searchParams = new URLSearchParams({ query: params.query });
|
|
89
99
|
if (params.limit) searchParams.set("limit", String(params.limit));
|
|
90
100
|
if (params.type) searchParams.set("type", params.type);
|
package/dist/cli/pyx-mem.mjs
CHANGED
|
@@ -1330,7 +1330,7 @@ var ALL_TOOL_NAMES = ALL_TOOLS.map((t) => t.name);
|
|
|
1330
1330
|
// src/mcp/server.ts
|
|
1331
1331
|
async function runMcpServer(opts) {
|
|
1332
1332
|
const fetchImpl = opts.fetchImpl ?? fetch;
|
|
1333
|
-
const version = opts.version ?? (true ? "0.
|
|
1333
|
+
const version = opts.version ?? (true ? "0.34.0" : "0.0.0-dev");
|
|
1334
1334
|
const server = new McpServer(
|
|
1335
1335
|
{ name: "pyx-memory", version },
|
|
1336
1336
|
{ instructions: PYX_MEMORY_INSTRUCTIONS, capabilities: { tools: {} } }
|
package/dist/dashboard.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
toGraphologyFormat,
|
|
12
12
|
transformGraphData,
|
|
13
13
|
unreachableHealth
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-KQV3VYZO.mjs";
|
|
15
|
+
import "./chunk-C2KBUNUM.mjs";
|
|
16
16
|
import "./chunk-KSTI4M52.mjs";
|
|
17
17
|
export {
|
|
18
18
|
DashboardClient,
|
package/dist/index.d.ts
CHANGED
|
@@ -556,6 +556,34 @@ interface MemorySearchParams {
|
|
|
556
556
|
asOf?: string;
|
|
557
557
|
/** Confidence threshold below which the system recommends abstention (0.0–1.0). Default: 0.3. */
|
|
558
558
|
abstentionThreshold?: number;
|
|
559
|
+
/**
|
|
560
|
+
* Rerank with the cross-encoder before final truncation (hybrid strategy
|
|
561
|
+
* only). The pipeline retrieves and dedups a deeper candidate pool (≥50),
|
|
562
|
+
* scores it through the cross-encoder, then truncates to `limit` —
|
|
563
|
+
* reranking after truncation cannot change top-`limit` set membership.
|
|
564
|
+
* EMBEDDED ONLY: `MemoryClient.search` rejects it (HTTP API does not
|
|
565
|
+
* forward it).
|
|
566
|
+
*/
|
|
567
|
+
enableRerank?: boolean;
|
|
568
|
+
/**
|
|
569
|
+
* Iterative multi-hop candidate generation (hybrid strategy only). After the
|
|
570
|
+
* first retrieval pass, non-oracle bridge entities are mined from the top
|
|
571
|
+
* seed passages, a second dense+lexical pass is seeded by those bridges, and
|
|
572
|
+
* both passes' ranked lists are fused into a single RRF before scoring and
|
|
573
|
+
* (optional) rerank-then-truncate. Grows the candidate pool to surface
|
|
574
|
+
* later-hop passages the single-pass query misses. Deterministic: no
|
|
575
|
+
* query-time LLM, fixed bridge order. Default off keeps the pipeline
|
|
576
|
+
* byte-identical. EMBEDDED ONLY: `MemoryClient.search` rejects it (the HTTP
|
|
577
|
+
* API does not forward it).
|
|
578
|
+
*/
|
|
579
|
+
enableMultiHop?: boolean;
|
|
580
|
+
/**
|
|
581
|
+
* Explicit bridge entities for the second multi-hop pass, bypassing mining.
|
|
582
|
+
* EVAL ONLY — used by the benchmark oracle-ceiling probe to isolate fusion
|
|
583
|
+
* capacity from mining quality; never set on a production path. Ignored
|
|
584
|
+
* unless `enableMultiHop` is also set.
|
|
585
|
+
*/
|
|
586
|
+
multiHopBridges?: string[];
|
|
559
587
|
/** Maximum sensitivity level to include in results. Entries above this level are excluded or redacted. */
|
|
560
588
|
maxSensitivity?: SensitivityLevel;
|
|
561
589
|
/** Tenant ID for multi-tenant isolation. */
|
package/dist/index.mjs
CHANGED
package/dist/react.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
toGraphologyFormat,
|
|
12
12
|
transformGraphData,
|
|
13
13
|
unreachableHealth
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-KQV3VYZO.mjs";
|
|
15
|
+
import "./chunk-C2KBUNUM.mjs";
|
|
16
16
|
import "./chunk-KSTI4M52.mjs";
|
|
17
17
|
|
|
18
18
|
// ../dashboard/src/hooks/use-consolidation-log.ts
|