@crossworks/client-types 0.232.221 → 0.232.222

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 +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.221",
3
+ "version": "0.232.222",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/dto/rows.ts CHANGED
@@ -702,6 +702,19 @@ export type ContextSnapshot = {
702
702
  ms: number;
703
703
  cached: boolean;
704
704
  };
705
+ /** The decider's `version_grouping` use, when it ran on this turn. Part A
706
+ * (code): hits whose living successor is also in the pool. Part B (the
707
+ * model): passages judged a version of a higher-ranked passage from an
708
+ * unlinked node. `shadow`: counts only; `live`: dropped. */
709
+ versionGrouping?: {
710
+ mode: 'shadow' | 'live';
711
+ threshold: number;
712
+ wouldDrop: { superseded: number; versions: number };
713
+ /** Candidate pairs asked about (0 = no model call). */
714
+ pairs: number;
715
+ ms: number;
716
+ cached: boolean;
717
+ };
705
718
  };
706
719
 
707
720
  export type BackupFrequency = 'daily' | 'weekly';