@crossworks/client-types 0.237.9 → 0.237.13

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dto/rows.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.237.9",
3
+ "version": "0.237.13",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/dto/rows.ts CHANGED
@@ -788,6 +788,8 @@ export type ContextTraceRow = {
788
788
  /** Passages: 1-based rank in the vector arm / the keyword arm. */
789
789
  vr?: number;
790
790
  kr?: number;
791
+ /** Passages: 1-based rank in the window arm (passage windows on). */
792
+ wr?: number;
791
793
  /** Passages: forced into the tail by the keyword rescue floor. */
792
794
  rescued?: true;
793
795
  /** Raw cosine distance (Journal: 1 - similarity). */
@@ -812,6 +814,8 @@ export type ContextTrace = {
812
814
  mode: 'vector' | 'hybrid' | 'keyword';
813
815
  vectorPool: number;
814
816
  keywordPool: number;
817
+ /** Passages the window arm found (passage windows on), else absent. */
818
+ windowPool?: number;
815
819
  /** `off` = no query text; `silent` = no rare term passed the gate;
816
820
  * `and` = no rare term, every word ANDed; `rare` = the rare-term arm ran. */
817
821
  keyword: 'off' | 'silent' | 'and' | 'rare';