@remnic/core 9.6.12 → 9.6.14

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Orchestrator
3
- } from "./chunk-OP47QBUR.js";
3
+ } from "./chunk-5TYS6NTK.js";
4
4
  import "./chunk-J3XHPFEU.js";
5
5
  import "./chunk-JODHPNLN.js";
6
6
  import "./chunk-I74SUMNI.js";
@@ -68,7 +68,7 @@ import "./chunk-54V4BZWP.js";
68
68
  import "./chunk-KAWTOYAW.js";
69
69
  import "./chunk-QT2RZNRT.js";
70
70
  import "./chunk-LZTFCAKE.js";
71
- import "./chunk-FIOYURII.js";
71
+ import "./chunk-FV5FVO2J.js";
72
72
  import "./chunk-IAIPNEHD.js";
73
73
  import "./chunk-4463LUIE.js";
74
74
  import "./chunk-YVVQUAOO.js";
@@ -177,7 +177,7 @@ import {
177
177
  import {
178
178
  buildEventOrderRecallSection,
179
179
  shouldRecallEventOrderEvidence
180
- } from "./chunk-FIOYURII.js";
180
+ } from "./chunk-FV5FVO2J.js";
181
181
  import {
182
182
  pickFactEventTimeAnchor,
183
183
  resolveFactEventTime
@@ -22943,4 +22943,4 @@ export {
22943
22943
  blendGraphExpandedRecallScore,
22944
22944
  Orchestrator
22945
22945
  };
22946
- //# sourceMappingURL=chunk-OP47QBUR.js.map
22946
+ //# sourceMappingURL=chunk-5TYS6NTK.js.map
@@ -11,7 +11,46 @@ var DEFAULT_SCAN_WINDOW_TOKENS = 24e3;
11
11
  var DEFAULT_MAX_ITEMS = 24;
12
12
  function shouldRecallEventOrderEvidence(query) {
13
13
  const normalized = query.toLowerCase();
14
- return /\border in which\b/.test(normalized) || /\bsequence in which\b/.test(normalized) || /\breconstruct\b.*\btimeline\b/.test(normalized) || /\btimeline\b.*\bin order\b/.test(normalized) || /\bsequence\b.*\bin order\b/.test(normalized) || /\bintroduced\b.*\bin order\b/.test(normalized) || /\bwalk me through\b/.test(normalized) && /\bin order\b/.test(normalized) || /\bin order\b/.test(normalized) && /\b(?:develop(?:ed|ment)?|evolv(?:e|ed|ing)?|progress|throughout|conversations?|sessions?)\b/.test(normalized) || /\bprogress\b.*\bin order\b/.test(normalized) || /\bchronological(?:ly| order)?\b/.test(normalized) || isTimelineSummaryQuery(normalized);
14
+ if (/\border in which\b/.test(normalized) || /\bsequence in which\b/.test(normalized) || /\breconstruct\b.*\btimeline\b/.test(normalized) || /\btimeline\b.*\bin order\b/.test(normalized) || /\bsequence\b.*\bin order\b/.test(normalized) || /\bintroduced\b.*\bin order\b/.test(normalized) || /\bwalk me through\b/.test(normalized) && /\bin order\b/.test(normalized) || /\bin order\b/.test(normalized) && /\b(?:develop(?:ed|ment)?|evolv(?:e|ed|ing)?|progress|throughout|conversations?|sessions?)\b/.test(normalized) || /\bprogress\b.*\bin order\b/.test(normalized) || /\bchronological(?:ly| order)?\b/.test(normalized) || isTimelineSummaryQuery(normalized)) {
15
+ return true;
16
+ }
17
+ if (/\bwhich\b.*\bfirst\b/.test(normalized) || /\bwhat was the first\b/.test(normalized)) {
18
+ return true;
19
+ }
20
+ if (/\bhappened first\b/.test(normalized) || /\bwhich\b.*\bhappened\b/.test(normalized)) {
21
+ return true;
22
+ }
23
+ if (/\bhow many days\b/.test(normalized)) {
24
+ return true;
25
+ }
26
+ if (/\bwhen did\b/.test(normalized)) {
27
+ return true;
28
+ }
29
+ if (/\bwhich\b.*\blast\b/.test(normalized) || /\bthe last\b.*\bi\b/.test(normalized)) {
30
+ return true;
31
+ }
32
+ if (/\bwho\b.*\bfirst\b/.test(normalized)) {
33
+ return true;
34
+ }
35
+ if (/\bmost recent(?:ly)?\b/.test(normalized)) {
36
+ return true;
37
+ }
38
+ if (/\border of\b/.test(normalized) || /\bfrom earliest to latest\b/.test(normalized)) {
39
+ return true;
40
+ }
41
+ if (/\bhow long\b/.test(normalized)) {
42
+ return true;
43
+ }
44
+ if (/\bhow many (months|weeks|years)\b/.test(normalized)) {
45
+ return true;
46
+ }
47
+ if (/\bhow many\b.*\bbefore\b/.test(normalized)) {
48
+ return true;
49
+ }
50
+ if (/\bhow old\b.*\bwhen\b/.test(normalized)) {
51
+ return true;
52
+ }
53
+ return false;
15
54
  }
16
55
  async function buildEventOrderRecallSection(options) {
17
56
  const budget = normalizePositiveInteger(options.maxChars);
@@ -2241,4 +2280,4 @@ export {
2241
2280
  shouldRecallEventOrderEvidence,
2242
2281
  buildEventOrderRecallSection
2243
2282
  };
2244
- //# sourceMappingURL=chunk-FIOYURII.js.map
2283
+ //# sourceMappingURL=chunk-FV5FVO2J.js.map