@pyxmate/memory 0.29.1 → 0.30.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-C5HKNVI5.mjs → chunk-N2SLPBUH.mjs} +12 -1
- package/dist/{chunk-XPZ4DUON.mjs → chunk-O7RVFGUA.mjs} +1 -1
- package/dist/cli/pyx-mem.mjs +1 -1
- package/dist/dashboard.mjs +2 -2
- package/dist/index.d.ts +10 -0
- package/dist/index.mjs +1 -1
- package/dist/react.mjs +2 -2
- package/package.json +1 -1
|
@@ -319,7 +319,9 @@ var MemoryClient = class {
|
|
|
319
319
|
type: "progress",
|
|
320
320
|
stage: "enrichment",
|
|
321
321
|
filename: file.name,
|
|
322
|
-
|
|
322
|
+
imagesTotal: images.length,
|
|
323
|
+
imagesDescribed: 0,
|
|
324
|
+
message: `Describing extracted images (0/${images.length})`
|
|
323
325
|
};
|
|
324
326
|
const CONCURRENCY = 5;
|
|
325
327
|
for (let i = 0; i < images.length; i += CONCURRENCY) {
|
|
@@ -346,6 +348,15 @@ var MemoryClient = class {
|
|
|
346
348
|
signal
|
|
347
349
|
);
|
|
348
350
|
descriptions.push(...batchResults);
|
|
351
|
+
yield {
|
|
352
|
+
schemaVersion: 1,
|
|
353
|
+
type: "progress",
|
|
354
|
+
stage: "enrichment",
|
|
355
|
+
filename: file.name,
|
|
356
|
+
imagesTotal: images.length,
|
|
357
|
+
imagesDescribed: descriptions.length,
|
|
358
|
+
message: `Described ${descriptions.length}/${images.length} images`
|
|
359
|
+
};
|
|
349
360
|
}
|
|
350
361
|
}
|
|
351
362
|
let entities;
|
package/dist/cli/pyx-mem.mjs
CHANGED
|
@@ -15762,7 +15762,7 @@ var ALL_TOOL_NAMES = ALL_TOOLS.map((t) => t.name);
|
|
|
15762
15762
|
// src/mcp/server.ts
|
|
15763
15763
|
async function runMcpServer(opts) {
|
|
15764
15764
|
const fetchImpl = opts.fetchImpl ?? fetch;
|
|
15765
|
-
const version2 = opts.version ?? (true ? "0.
|
|
15765
|
+
const version2 = opts.version ?? (true ? "0.30.0" : "0.0.0-dev");
|
|
15766
15766
|
const server = new McpServer(
|
|
15767
15767
|
{ name: "pyx-memory", version: version2 },
|
|
15768
15768
|
{ 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-O7RVFGUA.mjs";
|
|
15
|
+
import "./chunk-N2SLPBUH.mjs";
|
|
16
16
|
import "./chunk-SSUYQJUI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
DashboardClient,
|
package/dist/index.d.ts
CHANGED
|
@@ -973,6 +973,16 @@ interface IngestProgressEvent {
|
|
|
973
973
|
filename?: string;
|
|
974
974
|
chunksStored?: number;
|
|
975
975
|
totalCharacters?: number;
|
|
976
|
+
/**
|
|
977
|
+
* Enrichment-stage denominator + numerator for the image-describe phase.
|
|
978
|
+
* The SDK knows the total image count before fanning out describeImage, so
|
|
979
|
+
* unlike `chunksStored` (a streamed count with no in-flight total) these let a
|
|
980
|
+
* consumer render a REAL percentage for the slowest stage ("image 7/8").
|
|
981
|
+
* Present only on enrichment-stage events emitted during/after image describe;
|
|
982
|
+
* absent for storing/parsing (whose totals are not known mid-stream).
|
|
983
|
+
*/
|
|
984
|
+
imagesTotal?: number;
|
|
985
|
+
imagesDescribed?: number;
|
|
976
986
|
message?: string;
|
|
977
987
|
}
|
|
978
988
|
/** Keepalive emitted while a stage is doing slow work (LLM, graph batch, etc). */
|
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-O7RVFGUA.mjs";
|
|
15
|
+
import "./chunk-N2SLPBUH.mjs";
|
|
16
16
|
import "./chunk-SSUYQJUI.mjs";
|
|
17
17
|
|
|
18
18
|
// ../dashboard/src/hooks/use-consolidation-log.ts
|