@absolutejs/rag 0.22.13 → 0.22.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.
- package/CHANGELOG.md +6 -0
- package/changelog.json +15 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +3 -3
- package/dist/research/index.js +7 -4
- package/dist/research/index.js.map +5 -5
- package/dist/src/web/index.d.ts +1 -1
- package/dist/src/web/transport.d.ts +4 -0
- package/dist/web/index.js +7 -3
- package/dist/web/index.js.map +4 -4
- package/dist/web/playwright.js +4 -1
- package/dist/web/playwright.js.map +3 -3
- package/dist/web-index/index.js +7 -4
- package/dist/web-index/index.js.map +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ 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.22.14 — 2026-10-31
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Preserve web reader errors across built package entrypoints so inaccessible sources cannot abort usable research** (`createResearch`, `WebReadError`, `isWebReadError`)
|
|
14
|
+
|
|
9
15
|
## 0.22.13 — 2026-10-31
|
|
10
16
|
|
|
11
17
|
### Added
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/rag",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "fixed",
|
|
9
|
+
"summary": "Preserve web reader errors across built package entrypoints so inaccessible sources cannot abort usable research",
|
|
10
|
+
"symbols": [
|
|
11
|
+
"createResearch",
|
|
12
|
+
"WebReadError",
|
|
13
|
+
"isWebReadError"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"date": "2026-10-31",
|
|
18
|
+
"version": "0.22.14"
|
|
19
|
+
},
|
|
5
20
|
{
|
|
6
21
|
"changes": [
|
|
7
22
|
{
|
package/dist/index.js
CHANGED
|
@@ -153899,15 +153899,18 @@ import {
|
|
|
153899
153899
|
import { lookup as lookup3 } from "dns/promises";
|
|
153900
153900
|
import { isIP } from "net";
|
|
153901
153901
|
import { brotliDecompressSync, gunzipSync as gunzipSync2, inflateSync } from "zlib";
|
|
153902
|
+
var WEB_READ_ERROR = Symbol.for("@absolutejs/rag/WebReadError");
|
|
153902
153903
|
|
|
153903
153904
|
class WebReadError extends Error {
|
|
153904
153905
|
code;
|
|
153906
|
+
[WEB_READ_ERROR] = true;
|
|
153905
153907
|
constructor(code, message) {
|
|
153906
153908
|
super(message);
|
|
153907
153909
|
this.code = code;
|
|
153908
153910
|
this.name = "WebReadError";
|
|
153909
153911
|
}
|
|
153910
153912
|
}
|
|
153913
|
+
var isWebReadError = (error) => error instanceof Error && Reflect.get(error, WEB_READ_ERROR) === true && typeof Reflect.get(error, "code") === "string";
|
|
153911
153914
|
var isPublicWebAddress = (address) => isPublicNetworkAddress(address);
|
|
153912
153915
|
var validatePublicWebUrl = (raw) => {
|
|
153913
153916
|
let url;
|
|
@@ -157690,5 +157693,5 @@ export {
|
|
|
157690
157693
|
xaiEmbeddings
|
|
157691
157694
|
};
|
|
157692
157695
|
|
|
157693
|
-
//# debugId=
|
|
157696
|
+
//# debugId=EEEF0A2709D88AB264756E2164756E21
|
|
157694
157697
|
//# sourceMappingURL=index.js.map
|