@crossworks/client-types 0.232.232 → 0.232.233

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 +16 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.232",
3
+ "version": "0.232.233",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/dto/rows.ts CHANGED
@@ -728,6 +728,9 @@ export type ContextSnapshot = {
728
728
  chars: number;
729
729
  calls: number;
730
730
  failed: number;
731
+ /** Of `failed`: groups the open breaker kept from going out. */
732
+ skipped?: number;
733
+ /** Wall time of the whole fan-out (timeouts included). */
731
734
  ms: number;
732
735
  cached: boolean;
733
736
  };
@@ -745,12 +748,21 @@ export type ContextSnapshot = {
745
748
  similarity: number;
746
749
  chars: number;
747
750
  passage: boolean;
751
+ /** The complete body went out (not a passage, not cut). */
752
+ whole?: boolean;
753
+ /** Jev's score when journal_recall picked it. */
754
+ score?: number;
748
755
  }>;
749
756
  gap: { nodeId: string; similarity: number } | null;
750
757
  nearMisses: Array<{ nodeId: string; kind: string; similarity: number }>;
751
758
  chars: number;
752
- /** Facts and passages the block made redundant (dropped in `live`). */
753
- dedupe: { facts: number; chunkHits: number };
759
+ /** Facts, passages and content hits the tiers made redundant (dropped
760
+ * in `live`): only a whole entry (tier 1, or a whole tier 2 pick) makes
761
+ * its facts and hits redundant; a passage replaces its own chunk. */
762
+ dedupe: { facts: number; chunkHits: number; contentHits?: number };
763
+ /** Tier 1 for this agent: entries shown always-on, and those that did
764
+ * not fit and compete in tier 2 instead. */
765
+ tier1?: { shown: number; overflow: number; chars: number };
754
766
  /** The decider's `journal_recall` use, when it ran: Jev's scores over
755
767
  * the agent-lane rules. `shadow`: `picked` is what Jev WOULD send in
756
768
  * place of the similarity pick; `live`: it did. */
@@ -763,6 +775,8 @@ export type ContextSnapshot = {
763
775
  picked: Array<{ nodeId: string; score: number; chars: number }>;
764
776
  calls: number;
765
777
  failed: number;
778
+ /** Of `failed`: groups the open breaker kept from going out. */
779
+ skipped?: number;
766
780
  ms: number;
767
781
  cached: boolean;
768
782
  };