mixpeek 0.81.217 → 0.81.218

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.
@@ -162,7 +162,7 @@ export interface CollectionModel {
162
162
  */
163
163
  'tiering_rules'?: Array<TieringRule>;
164
164
  /**
165
- * Number of documents currently in the collection. Automatically maintained by the system as documents are added or removed. Used for: Sorting, filtering, and pagination in list endpoints. Updated during batch processing and document operations.
165
+ * APPROXIMATE number of documents in the collection. This is NOT a stored counter maintained on every write — read endpoints DERIVE it from a live MVS count that is cached (~45s) and approximate (exact=False), so it can differ by a few from an exact documents/list enumeration and can lag very recent writes by the cache window. Use it for sorting/filtering and rough display; for an authoritative count, enumerate via documents/list. Do NOT treat a small document_count-vs-documents gap as row loss (BACKE-2988).
166
166
  * @type {number}
167
167
  * @memberof CollectionModel
168
168
  */
@@ -82,5 +82,11 @@ export interface StageParamsRerank {
82
82
  * @memberof StageParamsRerank
83
83
  */
84
84
  'max_concurrent_batches'?: number;
85
+ /**
86
+ * OPTIONAL. Per-retriever override for this rerank stage\'s hard cancellation ceiling (ms) — the wall-clock point at which the executor cancels the stage and degrades gracefully (returning the pre-rerank order rather than nothing). When None (default) the global stage-latency-budget ceiling applies (rerank = 10000ms). Set this to express intent a single fixed ceiling cannot: a batch evaluation where 30s is fine, versus a user-facing widget that must fail at 2s. Clamped to the gateway-safe maximum so it can never push the cancel past the upstream timeout.
87
+ * @type {number}
88
+ * @memberof StageParamsRerank
89
+ */
90
+ 'hard_timeout_ms'?: number;
85
91
  }
86
92
  //# sourceMappingURL=stage-params-rerank.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stage-params-rerank.d.ts","sourceRoot":"","sources":["../../models/stage-params-rerank.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAErF;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;IAC/C;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC"}
1
+ {"version":3,"file":"stage-params-rerank.d.ts","sourceRoot":"","sources":["../../models/stage-params-rerank.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAErF;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;IAC/C;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mixpeek",
3
- "version": "0.81.217",
3
+ "version": "0.81.218",
4
4
  "description": "Official Mixpeek TypeScript/JavaScript SDK for multimodal data processing and retrieval",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",