@absolutejs/rag 0.11.0 → 0.12.0

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,16 @@ 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.12.0 — 2026-09-18
10
+
11
+ ### Added
12
+
13
+ - **Add bounded multi-page website research with exact page citations, semantic links and image labels, media and caption evidence, redirect chains and explicit coverage limits.**
14
+
15
+ ### Changed
16
+
17
+ - **Expand website result and renderer contracts with semantic evidence, redirect hops and explicit readiness/coverage metadata; existing renderers may omit the new optional renderer fields.** (`WebFetchResult`, `WebReadResult`, `WebRenderer`, `readRAGWebpage`, `createPlaywrightWebRenderer`)
18
+
9
19
  ## 0.11.0 — 2026-09-18
10
20
 
11
21
  ### Added
package/README.md CHANGED
@@ -162,3 +162,18 @@ bounded. The reader does not bypass login, CAPTCHA or access restrictions, and
162
162
  reports these failures separately from incomplete rendering. A page read is not
163
163
  a crawl of every page on a domain. Host-supplied renderers/fetch implementations
164
164
  must enforce equivalent network controls.
165
+
166
+ ### Research related website pages with attributable evidence
167
+
168
+ `readRAGWebsite` from `@absolutejs/rag/web` reads a supplied URL and up to three
169
+ relevant same-origin customer, services and company pages by default. Pass the
170
+ optional Playwright renderer as for `readRAGWebpage`. `maxPages: 1` retains a
171
+ single-page read; `mode: "browser"` retries content missed by static extraction.
172
+ Results attribute text to exact page URLs and retain per-page redirects,
173
+ retrieval attempts, semantic image labels, link destinations, media URLs and
174
+ available caption text. Coverage includes unvisited relevant links and deadline
175
+ limits. HTTP redirects carry their actual status; client navigation is labeled
176
+ separately. Empty image labels are not proof of an absent client list, and media
177
+ URLs are not proof that a video was watched. Consumers must cite source URLs,
178
+ distinguish extracted evidence from inference, and finish the requested research
179
+ without treating a successful page fetch as complete company coverage.
package/changelog.json CHANGED
@@ -2,6 +2,27 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/rag",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "kind": "added",
9
+ "summary": "Add bounded multi-page website research with exact page citations, semantic links and image labels, media and caption evidence, redirect chains and explicit coverage limits."
10
+ },
11
+ {
12
+ "kind": "changed",
13
+ "summary": "Expand website result and renderer contracts with semantic evidence, redirect hops and explicit readiness/coverage metadata; existing renderers may omit the new optional renderer fields.",
14
+ "symbols": [
15
+ "WebFetchResult",
16
+ "WebReadResult",
17
+ "WebRenderer",
18
+ "readRAGWebpage",
19
+ "createPlaywrightWebRenderer"
20
+ ]
21
+ }
22
+ ],
23
+ "date": "2026-09-18",
24
+ "version": "0.12.0"
25
+ },
5
26
  {
6
27
  "changes": [
7
28
  {
@@ -1,5 +1,37 @@
1
1
  // @bun
2
+ var __create = Object.create;
3
+ var __getProtoOf = Object.getPrototypeOf;
2
4
  var __defProp = Object.defineProperty;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ function __accessProp(key) {
8
+ return this[key];
9
+ }
10
+ var __toESMCache_node;
11
+ var __toESMCache_esm;
12
+ var __toESM = (mod, isNodeMode, target) => {
13
+ var canCache = mod != null && typeof mod === "object";
14
+ if (canCache) {
15
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
16
+ var cached = cache.get(mod);
17
+ if (cached)
18
+ return cached;
19
+ }
20
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
21
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
+ if (mod && typeof mod === "object" || typeof mod === "function") {
23
+ for (let key of __getOwnPropNames(mod))
24
+ if (!__hasOwnProp.call(to, key))
25
+ __defProp(to, key, {
26
+ get: __accessProp.bind(mod, key),
27
+ enumerable: true
28
+ });
29
+ }
30
+ if (canCache)
31
+ cache.set(mod, to);
32
+ return to;
33
+ };
34
+ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
3
35
  var __returnValue = (v) => v;
4
36
  function __exportSetter(name, newValue) {
5
37
  this[name] = __returnValue.bind(null, newValue);
@@ -13,6 +45,7 @@ var __export = (target, all) => {
13
45
  set: __exportSetter.bind(all, name)
14
46
  });
15
47
  };
48
+ var __require = import.meta.require;
16
49
 
17
50
  // src/quality/quality.ts
18
51
  import { mkdir, readFile } from "fs/promises";
@@ -31417,5 +31450,5 @@ export {
31417
31450
  summarizeSQLiteCandidateCoverage
31418
31451
  };
31419
31452
 
31420
- //# debugId=9FE93518A40B2B4664756E2164756E21
31453
+ //# debugId=77D38FB1F044066A64756E2164756E21
31421
31454
  //# sourceMappingURL=index.js.map