@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.
@@ -319,7 +319,9 @@ var MemoryClient = class {
319
319
  type: "progress",
320
320
  stage: "enrichment",
321
321
  filename: file.name,
322
- message: "Describing extracted images"
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;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MemoryClient
3
- } from "./chunk-C5HKNVI5.mjs";
3
+ } from "./chunk-N2SLPBUH.mjs";
4
4
 
5
5
  // ../dashboard/src/aggregations/consolidation-analytics.ts
6
6
  function analyzeConsolidationLog(entries) {
@@ -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.29.1" : "0.0.0-dev");
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: {} } }
@@ -11,8 +11,8 @@ import {
11
11
  toGraphologyFormat,
12
12
  transformGraphData,
13
13
  unreachableHealth
14
- } from "./chunk-XPZ4DUON.mjs";
15
- import "./chunk-C5HKNVI5.mjs";
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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MemoryClient,
3
3
  MemoryServerError
4
- } from "./chunk-C5HKNVI5.mjs";
4
+ } from "./chunk-N2SLPBUH.mjs";
5
5
  import {
6
6
  DEFAULTS,
7
7
  DEPRECATED_RAG_STRATEGIES,
package/dist/react.mjs CHANGED
@@ -11,8 +11,8 @@ import {
11
11
  toGraphologyFormat,
12
12
  transformGraphData,
13
13
  unreachableHealth
14
- } from "./chunk-XPZ4DUON.mjs";
15
- import "./chunk-C5HKNVI5.mjs";
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyxmate/memory",
3
- "version": "0.29.1",
3
+ "version": "0.30.0",
4
4
  "type": "module",
5
5
  "description": "SDK for pyx-memory — Memory as a Service for AI agents",
6
6
  "license": "MIT",