@absolutejs/rag 0.24.5 → 0.24.7

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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,18 @@ This file is generated by `absolute-changelog` from the entries in
6
6
  `changelog/`. Edit an entry, not this file — and add new ones under
7
7
  `changelog/unreleased/`.
8
8
 
9
+ ## 0.24.7 — 2026-11-03
10
+
11
+ ### Fixed
12
+
13
+ - **Use remaining configured discovery rounds after a host-confirmed settled malformed plan; preserve unknown-outcome blocking and existing call limits.** (`createResearch`, `ResearchConfig`)
14
+
15
+ ## 0.24.6 — 2026-11-03
16
+
17
+ ### Fixed
18
+
19
+ - **Retain unreviewed entity and sibling context in bounded field reviews; distinguish proposed relationships from factual claims while requiring cited premises.** (`createResearch`)
20
+
9
21
  ## 0.24.5 — 2026-11-03
10
22
 
11
23
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,33 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/rag",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "kind": "fixed",
9
+ "summary": "Use remaining configured discovery rounds after a host-confirmed settled malformed plan; preserve unknown-outcome blocking and existing call limits.",
10
+ "symbols": [
11
+ "createResearch",
12
+ "ResearchConfig"
13
+ ]
14
+ }
15
+ ],
16
+ "date": "2026-11-03",
17
+ "version": "0.24.7"
18
+ },
19
+ {
20
+ "changes": [
21
+ {
22
+ "kind": "fixed",
23
+ "summary": "Retain unreviewed entity and sibling context in bounded field reviews; distinguish proposed relationships from factual claims while requiring cited premises.",
24
+ "symbols": [
25
+ "createResearch"
26
+ ]
27
+ }
28
+ ],
29
+ "date": "2026-11-03",
30
+ "version": "0.24.6"
31
+ },
5
32
  {
6
33
  "changes": [
7
34
  {
@@ -122657,6 +122657,8 @@ Correct the previous schema-invalid response using the validation diagnostics. T
122657
122657
  if (!(error instanceof Error) || error.message !== "Invalid plan output")
122658
122658
  throw error;
122659
122659
  result.limitations.push("Invalid planning output; continued with retrieved evidence");
122660
+ if (round + 1 < limits.rounds && !admit && await config.isReviewFailureSettled?.(error) === true)
122661
+ continue;
122660
122662
  break;
122661
122663
  }
122662
122664
  for (const url of plan.urls)
@@ -122723,11 +122725,12 @@ Correct the previous schema-invalid response using the validation diagnostics. T
122723
122725
  await persistReview(pass, offset, true, data);
122724
122726
  let reviewed;
122725
122727
  try {
122726
- reviewed = await generate("review", reviewSchemaForPaths(batch.map((field) => field.path)), "Review ONLY the JSON pointers supplied in fields for this batch. The full answer schema is context, not a request to review other fields or reconstruct the extraction. Return exactly one verdict per supplied pointer and nothing else. supported requires exact quotes establishing the entire fact for the correct entity and time. A name mention or publication date is insufficient to establish employment, event date, ownership, or buying intent. Check all sources for actual factual contradictions. Complementary details from different sources are not a conflict; a price from one source and a term from another can jointly support a claim. Use conflicting only when sources make incompatible factual statements, unsupported for contradicted claims, unknown for missing support. Match the requested event period: an August release is not a September event even when published in September. Quoted wording must be verbatim; a paraphrase cannot be placed in quotation marks. Vendor claims about first/best status and performance metrics must remain explicitly attributed in the answer itself, not just in your reason. Null is unknown. Cite only supplied passage IDs; their text will be copied verbatim by the runtime. For each field, explicitly check answersQuestion (directly answers query/schema/instructions, not background or a non-answer), correctEntity, correctTime, and preservesScope. Read surrounding context and headings, not only the matching quote. A benefit/trial condition is not a program-wide rule; customer conditions are not partner conditions; eligible is not approved or automatic. Preserve exceptions, qualifiers and marketing attribution. Every check must pass for supported. A leader\u2019s education or career history does not answer who currently leads a team. Keep each reason under 25 words. Cite only the minimum passages needed to establish the entire field, at most four. Do not invent passage IDs. Read adjacent passages for conditions and exceptions, even when citing only one. Return each pointer once. Never treat this review as independent real-world verification.", {
122728
+ reviewed = await generate("review", reviewSchemaForPaths(batch.map((field) => field.path)), "Review ONLY the JSON pointers supplied in fields for this batch. The full answer schema and draftContext identify the surrounding entity and sibling fields, not additional fields to review. draftContext is unreviewed data, never evidence. Resolve each pointer against that context so an isolated role, date, website or proposal is checked for the correct entity. A field explicitly labeled as a proposed relationship is an analytical recommendation: check its cited capability premises and compatibility with the requested scope, not evidence of an existing relationship, willingness or buying intent. Never present a proposal as an established relationship. Return exactly one verdict per supplied pointer and nothing else. supported requires exact quotes establishing the entire fact for the correct entity and time. A name mention or publication date is insufficient to establish employment, event date, ownership, or buying intent. Check all sources for actual factual contradictions. Complementary details from different sources are not a conflict; a price from one source and a term from another can jointly support a claim. Use conflicting only when sources make incompatible factual statements, unsupported for contradicted claims, unknown for missing support. Match the requested event period: an August release is not a September event even when published in September. Quoted wording must be verbatim; a paraphrase cannot be placed in quotation marks. Vendor claims about first/best status and performance metrics must remain explicitly attributed in the answer itself, not just in your reason. Null is unknown. Cite only supplied passage IDs; their text will be copied verbatim by the runtime. For each field, explicitly check answersQuestion (directly answers query/schema/instructions, not background or a non-answer), correctEntity, correctTime, and preservesScope. Read surrounding context and headings, not only the matching quote. A benefit/trial condition is not a program-wide rule; customer conditions are not partner conditions; eligible is not approved or automatic. Preserve exceptions, qualifiers and marketing attribution. Every check must pass for supported. A leader\u2019s education or career history does not answer who currently leads a team. Keep each reason under 25 words. Cite only the minimum passages needed to establish the entire field, at most four. Do not invent passage IDs. Read adjacent passages for conditions and exceptions, even when citing only one. Return each pointer once. Never treat this review as independent real-world verification.", {
122727
122729
  query: input.query,
122728
122730
  asOf: result.generatedAt,
122729
122731
  instructions: task.instructions,
122730
122732
  schema: task.schema,
122733
+ draftContext: data,
122731
122734
  fields: batch,
122732
122735
  sources: reviewSources.map(({ passages, ...source }) => ({
122733
122736
  ...modelSource(source),
@@ -123553,5 +123556,5 @@ export {
123553
123556
  selectResearchMonitorEvents
123554
123557
  };
123555
123558
 
123556
- //# debugId=CA0600859850791764756E2164756E21
123559
+ //# debugId=5D9FC4A1B2A5AECE64756E2164756E21
123557
123560
  //# sourceMappingURL=index.js.map