@memnexus-ai/typescript-sdk 1.67.3 → 1.68.1

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.cjs CHANGED
@@ -7597,6 +7597,17 @@ var digestMetadata = import_zod.z.lazy(() => import_zod.z.object({
7597
7597
  format: import_zod.z.enum(["structured", "narrative", "timeline", "status-report"]),
7598
7598
  /** Average relevance score (0-1) of the source memories used in synthesis. Low values (<0.02) indicate the query may not have strong matches. */
7599
7599
  averageRelevance: import_zod.z.number().min(0).max(1).optional(),
7600
+ /** 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'. */
7601
+ degraded: import_zod.z.boolean().optional(),
7602
+ /** PR-3 loud failures. The branches that did NOT complete, present only when degraded is true. Healthy branches are omitted. */
7603
+ branchFailures: import_zod.z.array(import_zod.z.object({
7604
+ /** Search branch name (fulltext, semantic, topic, …) */
7605
+ name: import_zod.z.string(),
7606
+ /** How the branch failed */
7607
+ status: import_zod.z.enum(["timeout", "error"]),
7608
+ /** Error message when status is 'error'. Message only, never a stack. */
7609
+ error: import_zod.z.string().optional()
7610
+ })).optional(),
7600
7611
  /** 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. */
7601
7612
  narrowWindowFallback: import_zod.z.boolean().optional(),
7602
7613
  /** 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. */