@pyxmate/memory 0.41.0 → 0.44.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.
|
@@ -85,11 +85,6 @@ 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
88
|
if (params.enableMultiHop) {
|
|
94
89
|
throw new Error(
|
|
95
90
|
"enableMultiHop is embedded-only (the HTTP API does not forward it); use the embedded Memory class for iterative multi-hop retrieval"
|
|
@@ -101,6 +96,7 @@ var MemoryClient = class {
|
|
|
101
96
|
if (params.agentId) searchParams.set("agentId", params.agentId);
|
|
102
97
|
if (params.strategy) searchParams.set("strategy", params.strategy);
|
|
103
98
|
if (params.effort) searchParams.set("effort", params.effort);
|
|
99
|
+
if (params.enableRerank) searchParams.set("enableRerank", "true");
|
|
104
100
|
if (params.eventTimeRange) {
|
|
105
101
|
searchParams.set("eventTimeStart", params.eventTimeRange[0]);
|
|
106
102
|
searchParams.set("eventTimeEnd", params.eventTimeRange[1]);
|
package/dist/cli/pyx-mem.mjs
CHANGED
|
@@ -1111,6 +1111,9 @@ var inputShape7 = {
|
|
|
1111
1111
|
enumerationConcept: z10.string().trim().min(1).optional().describe(
|
|
1112
1112
|
'For count/list questions about a category, pass the language-agnostic/global category phrase here (for example, "fitness classes" or "\uC6B4\uB3D9 \uC218\uC5C5"). The embedding model resolves the caller-supplied hint across a broad range of languages.'
|
|
1113
1113
|
),
|
|
1114
|
+
enableRerank: z10.boolean().optional().describe(
|
|
1115
|
+
"Opt into multilingual cross-encoder reranking (hybrid strategy only). Sharply improves Korean/cross-lingual ordering at higher latency; leave off for the fast default path."
|
|
1116
|
+
),
|
|
1114
1117
|
...scopeShape
|
|
1115
1118
|
};
|
|
1116
1119
|
var searchMemoriesTool = {
|
|
@@ -1145,7 +1148,8 @@ var searchMemoriesTool = {
|
|
|
1145
1148
|
eventTimeEnd: args.eventTimeEnd,
|
|
1146
1149
|
asOf: args.asOf,
|
|
1147
1150
|
anchorTime: args.anchorTime,
|
|
1148
|
-
enumerationConcept: args.enumerationConcept
|
|
1151
|
+
enumerationConcept: args.enumerationConcept,
|
|
1152
|
+
enableRerank: args.enableRerank ? "true" : void 0
|
|
1149
1153
|
},
|
|
1150
1154
|
scope: args
|
|
1151
1155
|
});
|
|
@@ -1424,7 +1428,7 @@ var ALL_TOOL_NAMES = ALL_TOOLS.map((t) => t.name);
|
|
|
1424
1428
|
// src/mcp/server.ts
|
|
1425
1429
|
async function runMcpServer(opts) {
|
|
1426
1430
|
const fetchImpl = opts.fetchImpl ?? fetch;
|
|
1427
|
-
const version = opts.version ?? (true ? "0.
|
|
1431
|
+
const version = opts.version ?? (true ? "0.44.0" : "0.0.0-dev");
|
|
1428
1432
|
const server = new McpServer(
|
|
1429
1433
|
{ name: "pyx-memory", version },
|
|
1430
1434
|
{ 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-DKNGLNN4.mjs";
|
|
15
|
+
import "./chunk-UV2DFSKR.mjs";
|
|
16
16
|
import "./chunk-KSTI4M52.mjs";
|
|
17
17
|
export {
|
|
18
18
|
DashboardClient,
|
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-DKNGLNN4.mjs";
|
|
15
|
+
import "./chunk-UV2DFSKR.mjs";
|
|
16
16
|
import "./chunk-KSTI4M52.mjs";
|
|
17
17
|
|
|
18
18
|
// ../dashboard/src/hooks/use-consolidation-log.ts
|