@memnexus-ai/typescript-sdk 1.63.5 → 1.64.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.d.cts CHANGED
@@ -3954,6 +3954,8 @@ declare const searchRequest: z.ZodObject<{
3954
3954
  includeFacets: z.ZodOptional<z.ZodBoolean>;
3955
3955
  /** EXPERIMENTAL — dev-measurement only. Per-request override of the server serving-format mode, used by the eval harness to run control/treatment arms in one pass. Honored ONLY when the server has SERVING_FORMAT_PARAM_ENABLED=true (dev); otherwise silently ignored (no error). 'raw' serves the original content; 'claims_replace' serves bullet-joined claims as content with the original preserved in raw_content (falls back to raw per-result when a result has no claims). Not for production use. */
3956
3956
  servingFormat: z.ZodOptional<z.ZodEnum<["raw", "claims_replace"]>>;
3957
+ /** EXPERIMENTAL — dev-measurement only. Per-request override of the defensive claim-serving kill-switch (env CLAIM_DEFENSIVE_SERVING), used by the eval harness to run control/treatment arms in one pass. Honored ONLY when the server has CLAIM_DEFENSIVE_SERVING_PARAM_ENABLED=true (dev); otherwise silently ignored (no error). true forces the defensive path (stale-bullet suppression on clear conflict + clear date order); false forces the legacy annotate-only path. Absent → server default. Not for production use. */
3958
+ defensiveServing: z.ZodOptional<z.ZodBoolean>;
3957
3959
  }, "strip", z.ZodTypeAny, {
3958
3960
  query: string;
3959
3961
  limit?: number | undefined;
@@ -3995,6 +3997,7 @@ declare const searchRequest: z.ZodObject<{
3995
3997
  order?: "asc" | "desc" | undefined;
3996
3998
  includeFacets?: boolean | undefined;
3997
3999
  servingFormat?: "raw" | "claims_replace" | undefined;
4000
+ defensiveServing?: boolean | undefined;
3998
4001
  }, {
3999
4002
  query: string;
4000
4003
  limit?: number | undefined;
@@ -4036,6 +4039,7 @@ declare const searchRequest: z.ZodObject<{
4036
4039
  order?: "asc" | "desc" | undefined;
4037
4040
  includeFacets?: boolean | undefined;
4038
4041
  servingFormat?: "raw" | "claims_replace" | undefined;
4042
+ defensiveServing?: boolean | undefined;
4039
4043
  }>;
4040
4044
  declare const entity: z.ZodObject<{
4041
4045
  /** Entity name */
@@ -10446,6 +10450,7 @@ declare class MemoriesService extends BaseService {
10446
10450
  order?: 'asc' | 'desc';
10447
10451
  includeFacets?: boolean;
10448
10452
  servingFormat?: 'raw' | 'claims_replace';
10453
+ defensiveServing?: boolean;
10449
10454
  }): Promise<HttpResponse<{
10450
10455
  data: SearchResult[];
10451
10456
  meta: SearchMeta;
package/dist/index.d.ts CHANGED
@@ -3954,6 +3954,8 @@ declare const searchRequest: z.ZodObject<{
3954
3954
  includeFacets: z.ZodOptional<z.ZodBoolean>;
3955
3955
  /** EXPERIMENTAL — dev-measurement only. Per-request override of the server serving-format mode, used by the eval harness to run control/treatment arms in one pass. Honored ONLY when the server has SERVING_FORMAT_PARAM_ENABLED=true (dev); otherwise silently ignored (no error). 'raw' serves the original content; 'claims_replace' serves bullet-joined claims as content with the original preserved in raw_content (falls back to raw per-result when a result has no claims). Not for production use. */
3956
3956
  servingFormat: z.ZodOptional<z.ZodEnum<["raw", "claims_replace"]>>;
3957
+ /** EXPERIMENTAL — dev-measurement only. Per-request override of the defensive claim-serving kill-switch (env CLAIM_DEFENSIVE_SERVING), used by the eval harness to run control/treatment arms in one pass. Honored ONLY when the server has CLAIM_DEFENSIVE_SERVING_PARAM_ENABLED=true (dev); otherwise silently ignored (no error). true forces the defensive path (stale-bullet suppression on clear conflict + clear date order); false forces the legacy annotate-only path. Absent → server default. Not for production use. */
3958
+ defensiveServing: z.ZodOptional<z.ZodBoolean>;
3957
3959
  }, "strip", z.ZodTypeAny, {
3958
3960
  query: string;
3959
3961
  limit?: number | undefined;
@@ -3995,6 +3997,7 @@ declare const searchRequest: z.ZodObject<{
3995
3997
  order?: "asc" | "desc" | undefined;
3996
3998
  includeFacets?: boolean | undefined;
3997
3999
  servingFormat?: "raw" | "claims_replace" | undefined;
4000
+ defensiveServing?: boolean | undefined;
3998
4001
  }, {
3999
4002
  query: string;
4000
4003
  limit?: number | undefined;
@@ -4036,6 +4039,7 @@ declare const searchRequest: z.ZodObject<{
4036
4039
  order?: "asc" | "desc" | undefined;
4037
4040
  includeFacets?: boolean | undefined;
4038
4041
  servingFormat?: "raw" | "claims_replace" | undefined;
4042
+ defensiveServing?: boolean | undefined;
4039
4043
  }>;
4040
4044
  declare const entity: z.ZodObject<{
4041
4045
  /** Entity name */
@@ -10446,6 +10450,7 @@ declare class MemoriesService extends BaseService {
10446
10450
  order?: 'asc' | 'desc';
10447
10451
  includeFacets?: boolean;
10448
10452
  servingFormat?: 'raw' | 'claims_replace';
10453
+ defensiveServing?: boolean;
10449
10454
  }): Promise<HttpResponse<{
10450
10455
  data: SearchResult[];
10451
10456
  meta: SearchMeta;
package/dist/index.js CHANGED
@@ -6678,7 +6678,9 @@ var searchRequest = z.object({
6678
6678
  /** Include facet aggregation (topics, memoryType, effectiveState) in response (defaults to false) */
6679
6679
  includeFacets: z.boolean().optional(),
6680
6680
  /** EXPERIMENTAL — dev-measurement only. Per-request override of the server serving-format mode, used by the eval harness to run control/treatment arms in one pass. Honored ONLY when the server has SERVING_FORMAT_PARAM_ENABLED=true (dev); otherwise silently ignored (no error). 'raw' serves the original content; 'claims_replace' serves bullet-joined claims as content with the original preserved in raw_content (falls back to raw per-result when a result has no claims). Not for production use. */
6681
- servingFormat: z.enum(["raw", "claims_replace"]).optional()
6681
+ servingFormat: z.enum(["raw", "claims_replace"]).optional(),
6682
+ /** EXPERIMENTAL — dev-measurement only. Per-request override of the defensive claim-serving kill-switch (env CLAIM_DEFENSIVE_SERVING), used by the eval harness to run control/treatment arms in one pass. Honored ONLY when the server has CLAIM_DEFENSIVE_SERVING_PARAM_ENABLED=true (dev); otherwise silently ignored (no error). true forces the defensive path (stale-bullet suppression on clear conflict + clear date order); false forces the legacy annotate-only path. Absent → server default. Not for production use. */
6683
+ defensiveServing: z.boolean().optional()
6682
6684
  });
6683
6685
  var entity = z.object({
6684
6686
  /** Entity name */