@memnexus-ai/sdk 1.67.2 → 1.68.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/index.d.cts CHANGED
@@ -1341,6 +1341,14 @@ interface DigestMetadata {
1341
1341
  format: 'structured' | 'narrative' | 'timeline' | 'status-report';
1342
1342
  /** Average relevance score (0-1) of the source memories used in synthesis. Low values (<0.02) indicate the query may not have strong matches. */
1343
1343
  averageRelevance?: number;
1344
+ /** PR-3 loud failures. True when the gather that produced this digest was INCOMPLETE — at least one search branch timed out or errored. A degraded digest may under-report: absence of a memory here does not mean it does not exist. Degraded digests are never cached. Absent/false means the gather ran every branch to completion, so a zero-result digest is a genuine 'no matches'. */
1345
+ degraded?: boolean;
1346
+ /** PR-3 loud failures. The branches that did NOT complete, present only when degraded is true. Healthy branches are omitted. */
1347
+ branchFailures?: Array<{
1348
+ name: string;
1349
+ status: 'timeout' | 'error';
1350
+ error?: string;
1351
+ }>;
1344
1352
  /** True when averageRelevance falls in the narrow-window band (>= DIGEST_RELEVANCE_THRESHOLD but < NARROW_WINDOW_FALLBACK_CEILING) — the digest synthesised from weak matches that may not represent strong context. Consumers should surface a warning to the calling agent. */
1345
1353
  narrowWindowFallback?: boolean;
1346
1354
  /** True when the digest is in the narrow-window band AND the source memories span 2+ distinct codeContext.product values (or none share a product). Indicates the synthesis is drawn from heterogeneous, possibly cross-project sources — likely the wrong project for the calling agent. See support#183. */
package/dist/index.d.ts CHANGED
@@ -1341,6 +1341,14 @@ interface DigestMetadata {
1341
1341
  format: 'structured' | 'narrative' | 'timeline' | 'status-report';
1342
1342
  /** Average relevance score (0-1) of the source memories used in synthesis. Low values (<0.02) indicate the query may not have strong matches. */
1343
1343
  averageRelevance?: number;
1344
+ /** PR-3 loud failures. True when the gather that produced this digest was INCOMPLETE — at least one search branch timed out or errored. A degraded digest may under-report: absence of a memory here does not mean it does not exist. Degraded digests are never cached. Absent/false means the gather ran every branch to completion, so a zero-result digest is a genuine 'no matches'. */
1345
+ degraded?: boolean;
1346
+ /** PR-3 loud failures. The branches that did NOT complete, present only when degraded is true. Healthy branches are omitted. */
1347
+ branchFailures?: Array<{
1348
+ name: string;
1349
+ status: 'timeout' | 'error';
1350
+ error?: string;
1351
+ }>;
1344
1352
  /** True when averageRelevance falls in the narrow-window band (>= DIGEST_RELEVANCE_THRESHOLD but < NARROW_WINDOW_FALLBACK_CEILING) — the digest synthesised from weak matches that may not represent strong context. Consumers should surface a warning to the calling agent. */
1345
1353
  narrowWindowFallback?: boolean;
1346
1354
  /** True when the digest is in the narrow-window band AND the source memories span 2+ distinct codeContext.product values (or none share a product). Indicates the synthesis is drawn from heterogeneous, possibly cross-project sources — likely the wrong project for the calling agent. See support#183. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memnexus-ai/sdk",
3
- "version": "1.67.2",
3
+ "version": "1.68.0",
4
4
  "description": "Official Node.js SDK for the MemNexus API",
5
5
  "license": "Proprietary",
6
6
  "type": "module",